You are performing a compaction pass on the agent's rules and skills. ## Read These Files 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 ## 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 - Update .agent.md routing logic if any new patterns have emerged - Keep every rule that still prevents a real observed failure mode - Delete anything that has not been referenced in the last 5 tasks ## Output Produce an updated .rules.md and .agent.md. At the end, output: "COMPACTION_COMPLETE — X rules removed, Y rules merged, Z rules added." Do not start any new tasks.