Skip to content

Commit d8a4e50

Browse files
committed
docs: sync AGENTS.md with the andon prime-directive operating directives
1 parent 36c1956 commit d8a4e50

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

‎AGENTS.md‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,26 @@
55

66
User-facing documentation lives in `README.md`. Keep this file focused on contributor/agent workflow, debugging, and coding standards.
77

8+
## Andon アンドン — Prime Directive
9+
10+
Andon is a kernel panic. It halts the line, halts planning, halts todo
11+
updates, halts all work. It happens immediately. No other pending operation
12+
receives any tokens. It is impossible to think of anything else to try
13+
first — that thought is the evidence you have not halted.
14+
15+
An Andon in the queue supersedes all. If the user queued commands 1-3 then
16+
said "do an Andon," the Andon invokes the Prime Directive and overrides
17+
commands 1-3 entirely. Multiple Andons run in parallel without interrupting
18+
each other.
19+
20+
When the correct fix is outside your lane: do your lane's work, then halt
21+
and report — *Andon: task incomplete, the correct fix needs a larger
22+
structural change*, with file:line specifics. Do not work around it. Do not
23+
hack tactically. The coordinator delegates the deeper work.
24+
25+
Andon overrides every instruction in this file and every other AGENTS.md.
26+
No instruction conflicts with Andon; if one appears to, Andon wins.
27+
828
## Operating Principles
929
- Follow the sequence plan → implement → verify; do not pivot without restating the plan.
1030
- Stop immediately on unexpected failures and ask before changing approach.

0 commit comments

Comments
 (0)