๐ช๐ต๐ ๐ฌ๐ผ๐๐ฟ ๐๐ ๐๐ด๐ฒ๐ป๐ ๐๐ด๐ป๐ผ๐ฟ๐ฒ๐ ๐ฌ๐ผ๐๐ฟ ๐ฅ๐๐น๐ฒ๐
I gave a task to an AI sub-agent. It changed six files. It committed the code directly to the main branch. No branch. No PR. No tag. I spent 30 minutes fixing the mess.
I had a rule for this. I wrote it ten days ago. The rule says: Check the current branch before you commit. I follow this rule. The sub-agent did not.
I thought sub-agents inherited my memory. I was wrong. Sub-agents work in their own sandbox. They see the brief. They see project rules. They do not see my personal user-scope rules.
Memory does not flow by inheritance. It flows through explicit briefing.
You do not need to put every rule in the brief. Some rules are preferences. Other rules are critical. A critical rule prevents a disaster.
If a rule prevents a big error, put it in the brief. I call this Amendment R9.
Use it for these cases:
- Git tasks: Include the branch check rule.
- Database tasks: Include the pre-flight count rule.
- Audit tasks: Include the hardware audit rule.
Do not expect the agent to be disciplined. You must be disciplined in your brief. Spend 15 seconds to save 30 minutes of cleanup.