diff --git a/AGENTS.md b/AGENTS.md index aae2900d..c72a2249 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -24,3 +24,4 @@ Decisions live in `docs/decisions.md`: - loop-claude: a loop running main's script stops once at the cut-over - rebuild: a chunk into `rebuild` takes no comprehension scoring run - loop-claude: a `claude` that cannot start is a failed worker run, retried +- bin/: mypy checks `loop_claude`'s types in the tests diff --git a/docs/decisions.md b/docs/decisions.md index 5f10207f..2a66a4fb 100644 --- a/docs/decisions.md +++ b/docs/decisions.md @@ -79,3 +79,7 @@ ## loop-claude: a `claude` that cannot start is a failed worker run, retried 2026-09-28, larv-review, declining a product-owner nit to exit at once when `claude` is missing. Serves goal 4. Claude Code's updater repoints `~/.local/bin/claude` at each new version under running loops, and a start that meets it mid-update fails with the same error as a broken install; the retry costs two minutes on the second and saves an unattended loop on the first. Valid while Claude Code updates by repointing its link. + +## bin/: mypy checks `loop_claude`'s types in the tests + +2026-09-29, lilleman. Serves goal 4. An unchecked annotation goes stale when a body gains a return type, and a reader trusts it; the suite already needs `uv`, which fetches a pinned mypy. Valid while `loop_claude` carries annotations.