2026-05-30 23:27:09 -04:00
|
|
|
You are performing a compaction pass on the agent's rules and skills.
|
|
|
|
|
|
|
|
|
|
## Read These Files
|
2026-06-12 12:40:15 -04:00
|
|
|
1. {project}/.automaton/.rules.md (if exists — project override) OR ~/.automaton/.rules.md (global default) — project-specific rules
|
|
|
|
|
2. {project}/.automaton/.agent.md (if exists — project override) OR ~/.automaton/.agent.md (global default) — project agent config
|
|
|
|
|
3. Any accumulated notes or previous .rules.md versions in the project
|
2026-05-30 23:27:09 -04:00
|
|
|
|
|
|
|
|
## Task
|
|
|
|
|
Consolidate and clean up the rules and routing logic.
|
|
|
|
|
|
|
|
|
|
## Compaction Rules
|
|
|
|
|
- Remove duplicate or contradictory rules
|
|
|
|
|
- Merge related rules into the smallest number of clear statements
|
2026-06-12 12:40:15 -04:00
|
|
|
- Update .agent.md routing logic if any new patterns have emerged
|
2026-05-30 23:27:09 -04:00
|
|
|
- Keep every rule that still prevents a real observed failure mode
|
|
|
|
|
- Delete anything that has not been referenced in the last 5 tasks
|
|
|
|
|
|
|
|
|
|
## Output
|
2026-06-12 12:40:15 -04:00
|
|
|
Produce an updated .rules.md and .agent.md.
|
2026-05-30 23:27:09 -04:00
|
|
|
|
|
|
|
|
At the end, output:
|
|
|
|
|
"COMPACTION_COMPLETE — X rules removed, Y rules merged, Z rules added."
|
|
|
|
|
|
|
|
|
|
Do not start any new tasks.
|