This repo follows METHOD. All work flows through the backlog and cycle loop. The agent must follow the loop honestly — no skipping phases, no post-hoc design docs.
Phase 1 — Pull and design (when the human says "pull <item>"):
- Create a
cycle/<id>branch offmain(e.g.,cycle/0003-dt-policy). All cycle work happens on this branch. - Move the backlog file to
docs/design/<next-cycle>/. - Write the design doc from
docs/method/design-template.md. Include all required sections: why, human/agent hills and playback scenarios, implementation outline, tests to write first, risks, postures, non-goals. - STOP. Present the design doc to the human for review. Do not proceed until the human approves the design.
Phase 2 — RED / GREEN (when the human approves the design):
- RED — write failing tests. Even for design cycles, write shell or script assertions that verify the expected outcome. Playback questions become test cases.
- Run the tests. Confirm they fail.
- GREEN — do the work. Make the tests pass.
- Run the tests. Confirm they pass.
Phase 3 — Playback (when the work is done):
- Run through every playback question. Record the witness (test output, ls output, whatever proves the answer).
- Present the playback to the human. Both sponsors must say yes.
Phase 4 — Close (when both sponsors agree):
- Write the retro in
docs/method/retro/<cycle>/. Include drift check, new debt, cool ideas. - Commit the cycle packet.
- Push the
cycle/<id>branch and open a PR tomain.
ls docs/method/backlog/asap/— what to pull next.ls docs/method/backlog/*/— full backlog view.ls docs/design/— active cycles.ls docs/method/retro/— completed cycles.ls docs/method/graveyard/— rejected ideas.
| Code | Domain |
|---|---|
KERNEL |
Core simulation: WARP graph, scheduling, commit, parallel execution |
MATH |
Deterministic math: IEEE 754, trig oracle, collision, geometry |
PLATFORM |
Tooling: WASM, xtask, CI, benchmarks, CAS, Wesley |
DOCS |
Documentation: guides, specs, living docs, course material |
Cycles are numbered sequentially: 0001, 0002, etc. The directory
name is <number>-<slug>/ (e.g., 0001-roadmap-migration/).
cargo test # full test suite
cargo clippy --all-targets # lint (zero warnings policy)
cargo fmt -- --check # format check
cargo xtask # developer CLI (subcommands vary)Echo is a deterministic simulation engine. All floating-point
operations must be canonicalized per docs/SPEC_DETERMINISTIC_MATH.md.
No global state, no rand, no system time, no unordered containers
in deterministic paths. CI enforces this via scripts/ban-globals.sh
and scripts/ban-nondeterminism.sh.