Plan Chest
The blueprint behind The Athanor. The seven steps, the gates, and the checks — kept on file.
The Drawers
Station first
station-first fails when you start work without naming the decisions, specs, and checks you read.
Plan gate
plan-gate fails when you write code for a 2+ module change before the human approves the plan; fails when the plan does not name the files, the order, the risks, and what is out of scope.
Spec
spec fails when there is no spec file; fails when the spec contains implementation detail; fails when the acceptance criteria are not checks that can fail.
Test first
test-first fails when you implement before the human reviews the test; fails when the test-writer and the implementer are the same agent.
Implement
implement fails when the prompt describes the task instead of the outcome; fails when the work counts as done without the human explaining it back (learn mode) or reviewing it (ship mode).
Review pass
review-pass fails when the review does not name specific risks; fails when no falsifying test is produced; fails when an unplanned file is found and not flagged.
Ledger
ledger fails when the result is not filed with the commit hash, push result, and test results; fails when a live-use miss is found and not logged the same day.
The seven steps
-
Station first
Read the dharma — the rules, decisions, and checks on file — before touching the work. Name what you read.
station-first fails when you start work without naming the decisions, specs, and checks you read.
-
Plan gate
For work that touches two or more modules, write the plan before writing code. List the files, order of work, risks, and what is out of scope. The human approves the plan. Small tasks skip the plan gate.
plan-gate fails when you write code for a 2+ module change before the human approves the plan; fails when the plan does not name the files, the order, the risks, and what is out of scope.
-
Spec
Keep one spec file per feature. Use a few hundred words to state what the feature does, its success criteria, and its non-goals. Leave implementation details out.
spec fails when there is no spec file; fails when the spec contains implementation detail; fails when the acceptance criteria are not checks that can fail.
-
Test first
Write a test and show that it fails before implementation. Show it to the human for review. A different agent implements the change after the human approves the test.
test-first fails when you implement before the human reviews the test; fails when the test-writer and the implementer are the same agent.
-
Implement
Describe the outcome the model should produce. The model builds it. In ship mode, the human reviews the result. In learn mode, the work is complete once the human explains the result in their own words.
implement fails when the prompt describes the task instead of the outcome; fails when the work counts as done without the human explaining it back (learn mode) or reviewing it (ship mode).
-
Review pass
Review the work once for specific security risks, edge cases, and efficiency. Ask for a test that could prove the change wrong. Flag any file outside the approved plan, especially a new file created by splitting existing code.
review-pass fails when the review does not name specific risks; fails when no falsifying test is produced; fails when an unplanned file is found and not flagged.
-
Ledger
File the commit hash, push result, and test results. Log any problem that the checks missed in live use on the day it is found.
ledger fails when the result is not filed with the commit hash, push result, and test results; fails when a live-use miss is found and not logged the same day.
The gates
Each step has a check that can fail. When a check fails, the chain stops and the work goes back to that step.
The human writes the plan and spec and judges the work. At L5, the human alone decides whether to merge, send, or publish. The machine assists.
The Two Tongues
Human words
A model coming to the work cold has to read a message with no shared language. Imagine arriving in 3000 BC and meeting an Egyptian who communicates only in hieroglyphs.
The blueprint lets the model read the work without prior context, and the human can read what the model writes back.
Machine checks
The Machine Scroll — the database where the same blueprint is kept as structured records — keeps the same blueprint in a form a model can read. Each check has a name and a condition that can fail.
- Decisions
- 65
- Requirements
- 70
- Checks
- 70