Quota-bound wait recovery test fails on main
On main at aec2a1b24, four cases of tests/test_quota_bound_wait_recovery.py::test_bound_wait_recovers_original_turn_before_selecting_successor fail (monitor_changed and todo_done, each with file and sqlite). The failure is an assertion on a result with 'ok': False.
Main's Python test workflow run 40371465209 also reports failures for this test (2 test IDs in its failed-job log).
The cause has not been investigated.
Thanks for the clear repro. I'd like to take a shot at this one — I'll re-run the four failing parameterizations on current main to confirm they're still red, then dig into why the recovery path returns ok: false for monitor_changed / todo_done. I'll follow up here with a diagnosis and a PR.
Follow-up from my earlier comment: the root cause was 155dee190 retiring the unmigrated read fallback — this test still read the source Markdown before initializing canonical authority. #7502 (00f6be3e4) landed that migration on main: the test now seeds authority via read_fixture_todos(state) before any CLI read. Verified on main 787f15e82 (Node 24): pytest tests/test_quota_bound_wait_recovery.py → 4 passed. I'm closing my PR #7503 as superseded; this issue looks closable as fixed.
Verification receipt on current main — clean source checkout at 23dacd5fb449194c6a8d83e9764534cdbdd081b4 (2026-11-21):
LOOPX_TEST_PYTHON=python3 PYTHONPATH=. uv run --extra test pytest tests/test_quota_bound_wait_recovery.py -q
.... [100%]
4 passed in 7.39s
All four originally failing parameterizations (monitor_changed / todo_done × file / sqlite) pass. Same 4-passed result before and after npm ci --ignore-scripts in the checkout, so the recovery CLI path is exercised with the TS dependencies present.
Fix chain on main:
00f6be3e4"test: supply canonical planning facts to existing readback journeys" (landed via #7502). The pre-fix test calledcli("todo", "list", ...)beforeinitialize_canonical_authority(...); with155dee190having retired the unmigrated read fallback, that first CLI read failed and the recovery result carriedok: falsein themonitor_changed/todo_donecases. The commit replaces the pre-initialization CLI read withread_fixture_todos(state), so canonical authority is seeded before any CLI read.793e15fb4(#8093) later aligned the same fixtures with captured quota context; the module remains green on the current tip.
This matches the earlier finding above (4 passed at 787f15e82). From this rerun the issue looks closable as fixed; leaving the close to maintainers.