A Question Nobody Answers Is a Delete Button
Claude drafted this from the factory's repo history and my own messages in it. I edited it.
I run an agent factory on a Linux box of my own. It's a set of agents that research products, design them, write the listings, QA them and publish them to a small print-on-demand shop. Nobody has to be watching. That's the point of it, and it's also where this story starts.
On October 26 an analysis of the 144 items the factory had worked since October 21 came back with a number I didn't like. 41% of them had waited on me at some point. A CEO agent or a review panel would hit something it wasn't allowed to decide, and the item would sit in my review queue until I got to it. When I was away, I didn't get to it.
So I wrote a rule. These are my words from that day, and they're still quoted at the top of the file that carries them out:
"When an item hangs badly enough that it would need my attention in unattended mode, don't ask me: trash it, whether it's in the pipeline or in the store. In unattended mode, the only questions that should reach me are about an order."
The engine did exactly that. While the factory runs unattended, any move into my review gets written as a trash in the same transaction. A hung rework on a live listing deactivates the listing instead of deleting it. Everything is recoverable. I can resubmit an item from the trash, and I can re-activate a listing. Orders still reach me, and credential problems and factory-wide faults still hold the factory.
It was a reasonable rule. It also turned every gate in the pipeline into a delete button, and it took me more than three weeks to see all of what that meant.
The first sign
On November 2 one item had been trashed unattended three times. I'd resubmitted it twice. The first time I wrote "this is awesome. Why did you throw it away?" The second time I wrote "STOP THROWING THIS AWAY".
The fix that followed was narrow and right. An item I've resubmitted from the trash is my call now, so the engine never trashes it for hanging again. Its hangs come to me the way they would if I were watching.
That fixed the item. It didn't ask why a good item kept tripping a gate in the first place. The rule treated every question the same, and the trash treated every gate the same, so whatever a gate was guarding against, the answer while I was away was gone.
The gate that fired in five minutes
On November 11 the factory had five Christmas designs drawn and queued, for a tee, a sweatshirt and a mug. By 17:15 UTC three of them were publishing. The other two were in the trash.
Research had put those two on a women's boxy tee at $39.99. That tripped the overpriced check, so the pick opened a gate, a question for me about whether to sell above the market. Nobody answered it, because nobody was there. About 5 minutes after research priced them, the unattended rule trashed both.
They were resubmitted, pointed at a $29.99 tee. The note in the roadmap that day says it plainly: an overpriced gate reaches the trash within minutes when nobody answers it.
That's when the shape of the problem got clear. A gate is a threshold plus a question. Attended, crossing the threshold costs a few minutes of my time. Unattended, under my own rule, crossing it costs the item. The threshold hadn't changed. What it did had.
Which mistakes deserve a gate
On November 19 I said it in chat, and it's now the name of the change: "We need to try to get this thing to actually run automated and stop hanging on dumb stuff. If we charge too much for something it won't sell, that's not that big of deal. The gate is only selling too cheap."
Those two pricing mistakes aren't the same size. If an item's priced too high, it doesn't sell. The listing sits there, the weekly price scan can offer a drop toward the market, and I've lost nothing but time. If an item's priced too low, every sale loses money, and the loss grows with success. One mistake fixes itself. The other one compounds.
The old gate stopped both. Under the unattended rule, it destroyed the item for the harmless one.
The change that landed that morning keeps every check that the price clears the floor, the target margin and the worst case. Those still refuse a pick. The category cap and the over-market test don't refuse anything anymore. They add a note and an above-market flag to the pick, so a later review can see it. The live setting for what counts as overpriced went from 1.25 times the market to 10, the schema's max.
There was one more piece. Some money gates came with research advice that the right answer was a different supplier. Unattended, the first such gate on an item now sends it back to research once, carrying that advice, instead of to the trash. The second one is trashed as before. That retry is bounded on purpose. A loop that never gives up is its own problem.
What I'd tell myself on October 26
The rule wasn't wrong. A factory that waits on me 41% of the time isn't unattended, and asking me less was the goal. The mistake was swapping "ask me" for "delete it" without going back through every gate and asking what each one was protecting.
Here's how I'd do it now:
- Price each gate's mistake both ways. For every threshold, write down what happens if the agent's wrong in that direction and nobody catches it. If the answer is "it fixes itself" or "we lose a little time," it's a note, not a gate.
- Keep gates for losses that compound or can't be undone. Selling below cost, spending money, anything an order touches. Those still reach me.
- Treat a human's undo as a signal. A resubmit from the trash is the strongest evidence the gate was wrong about that item. The engine now listens to it.
- Bound every retry. Back to research once, then the trash. A second chance isn't a policy of infinite chances.
What's still open
The change only covers gates opened after the November 19 deploy. Overpriced gates that opened before it keep their old path. A few functions that only the old gate used are still in the code, unused. I haven't counted how many items the overpriced gate trashed between October 26 and November 19, and the repo doesn't hand me that number, so I'm not going to guess at it.
What I do know is that the two Christmas designs came back, and that I'd written a rule about questions and forgotten that every gate in the pipeline was one.
-- Justin Higgins. Software Engineer, Midwest. Told his factory to stop asking him, then went back and decided which questions were worth an item.
Companion pieces: Five Hours Unattended - what an agent does when nobody's watching. An Autonomous Prompt Is a Permissions Document - the instructions matter most for what the agent may never do.
Reactions, disagreements, war stories: jchigg2000.dev@gmail.com