test(mentor): cancel-ack fake + deferred teardown
CI / ci (push) Canceled after 0s
CI / ci (push) Canceled after 0s
The fake ACP engine's hangOnPrompt mode slept oblivious to session/cancel, so a cancelled turn was only observable through teardown and the pass bar's Cancel rail was never individually discriminated. hangOnPrompt now holds the turn reading: session/cancel answers the hanging prompt with stopReason "cancelled" (the real engine's contract); stdin EOF without a cancel answers end_turn so the child exits. New pin 'cancelling a held pass ends the turn cancelled with no advance' (RED->GREEN; bounded polls, so an emptied cancelPass fails the pin instead of hanging the suite). Every fake-spawning test (27 rigs across ACPClientTests + PassRunTests) tears down via defer at rig creation — a cancelled or interrupted test cannot leak the child; trailing happy-path teardowns removed, mechanism/bound teardowns kept and commented. Harness docs updated to match; 316 tests green. Closes #124
This commit is contained in:
1 parent
4d33676a08
commit
154bb8a114
6 files changed
+191
-34
No files matched your search
@@ -5,6 +5,7 @@ Complete history of session logs in this directory, newest first. One-line summa
|
||||
<!-- write-log: full-index -->
|
||||
| Date | Type | File | Summary |
|
||||
|------|------|------|---------|
|
||||
| 2026-10-20 | issue | [20261020-issue124-cancel-ack-fake-deferred-teardown_log.md](20261020-issue124-cancel-ack-fake-deferred-teardown_log.md) | #124 cancel-acknowledging hangOnPrompt fake, Cancel-rail pin (RED→GREEN), defer-at-rig-creation teardown ×27 rigs — 316 tests green |
|
||||
| 2026-10-20 | issue | [20261020-issue25-apply-skip-fix-cards-trust-ui_log.md](20261020-issue25-apply-skip-fix-cards-trust-ui_log.md) | #25 Apply/Skip Fix Cards: ranked ≤10 ceiling, adoptText apply rail, blocking ask, audit fanout with 11 fixes — 316 tests green |
|
||||
| 2026-10-20 | issue | [20261020-issue24-pass-guard-matrix_log.md](20261020-issue24-pass-guard-matrix_log.md) | #24 close-out: verified against landed #23, pinned the full runPass guard matrix + cancelPass, finish-audit fanout — 299 tests green |
|
||||
| 2026-10-20 | issue | [20261020-issue23-museion-tools-mcp-server-dogfood-hardening_log.md](20261020-issue23-museion-tools-mcp-server-dogfood-hardening_log.md) | #23 museion-tools MCP server + fix-card store, Fix Cards palette, dogfood fixes (prompt timeout, persona, debug filter), 3-reviewer audit round — 296 tests green |
|
||||
|
||||
Reference in new issue
Block a user