docs: M5d-2: after gate: ok, do not sum test results

Task 01 told Ornith to add up every `test result:` N passed. A greedy
sed kept the last digit (1512 became 1022) and it stopped with the
correct T1 and given test uncommitted. T50/T59: the last line of
make gate is the count; summing is not a stop.

Co-Authored-By: Grok 4.6 <noreply@x.ai>
This commit is contained in:
2026-10-03 12:56:14 -07:00
co-authored by Grok 4.6
parent ccf56c8aa7
commit 2a48b7f36d
11 changed files with 34 additions and 26 deletions
+3 -2
View File
@@ -216,7 +216,8 @@ The test still forbids `m2b()`, `m3a()` and `m5a()` in `main.rs`. Do not weaken
`crates/loopd/src/main.rs` and `crates/loopd/tests/ask_memory_tool.rs`. `git status --short`
shows the new test and `config/heartbeat.md`.
- [ ] **6. Run the gate.** `cargo fmt --all`, then `make gate`, timeout 600000 ms. Last line
`gate: ok`. Test count **1526** (1518 before, plus 8).
`gate: ok`. Test count **1526** (1518 before, plus 8). After `gate: ok`, do not add up
`test result:` lines.
- [ ] **7. Log and commit.** Task cell `M5d2/03-loopd-heartbeat-config`. Stage with
`git add crates/loopd config/heartbeat.md docs/implementer-log.md Cargo.lock`, then commit
as `AGENTS.md` says.
@@ -231,7 +232,7 @@ The test still forbids `m2b()`, `m3a()` and `m5a()` in `main.rs`. Do not weaken
## Stop and report if
- The branch check fails; a "before" block is not found exactly once; step 2 differs; `cargo
check` warns; a test fails; the gate count is not 1526; you leave the `m5c()` count at 1;
check` warns; a test fails; the gate's last line is not `gate: ok`; you leave the `m5c()` count at 1;
you join `heartbeat.prompt` onto `system.md`'s directory instead of the config file's parent;
you reject an empty `summarise` list; you check names inside `parse`.