Building a Set of Rules for My Dark Software Factory

By Joel Dare - Written August 13, 2026

My plan is to create a set of rules for my Dark Software Factory. Something I can put in the README at the root of the monorepo or into the CLAUDE.md file. The rules that govern every move the LLM makes.

I started with Haiku 4.5 as the model on this since I expected it to read over 200 short documents.

Here’s the prompt I started with:

I’m building a dark software factory. Loop through each of the md files in the root directory. Make a bullet list of rules for the dark factory. Example: “- Write minimal code”.

That went way too fast, so I tried again:

Make a list of every file. Go through them one at a time. Update this list with my personal philosophies about software, coding, or business.

That also went very fast, about 40 seconds. So, I asked it how many files it read. It had read 21. The ones it thought were most likely to contain the information. So, I asked it to read every file.

This is when I learned that Haiku 4.5 does not have an auto mode. I would need to manually approve every command.

Read every file. Continue adding to the list.

Haiku turned out to be the wrong model for the job. It consistently returned quick answers, ignoring my instructions to “read every file”. Always generating a list of files likely to contain this information instead of reading all of them.

For this project, and with no auto mode, the result was a painfully slow process compared to what I’m used to.

Reviewing the List

Reading through the list was awesome. It really did capture my philosophies well.

But, in this case, I’m trying to make a list of instructions for my Dark Software Factory. I needed to prune and edit the list for that purpose.

While editing manually, I found it hard to remove things that didn’t really apply to LLMs. These are my own philosophies and I believe in them. But, I know they aren’t all helpful and I need to reduce the list to the most important points and remove duplication. I need a simple list.

So, I switched to Opus 5, created a new session, and asked it to shorten the list for me.

Here’s a list of personal philosophies on software, coding & business. I’m building a list of philosophies to give to my Dark Software Factory. Reduce this list to a smaller set that would be useful to an LLM. Keep the most important items. Remove duplication.

[Pasted text +507 lines]

Once Opus had reduced it to the smaller list, I continued to edit manually, removing things I didn’t think made sense.

Here are the results after editing.

Rules for the Dark Software Factory

Build

Ship

Write

Own the Platform

Privacy and Data

Working with AI

Working Style

The Dark Factory Series

  1. Creating a Minimal Dark Factory
  2. My Dark Factory Software Stack
  3. Building a Set of Rules for My Dark Software Factory
Leave a Comment
(formrobin.com)

JoelDare.com © Dare Companies Dotcom LLC

Terms - Privacy