Commit d3dcfd9
test(C6): pin CLI start refused while a web session is grace-detached
Council item C6 (SIGNOFF-M2/ARBITRATION.md), matrix gap #1 of 3 (the
other two -- C1's interleaving, C4's restart-with-live-child -- are
closed by those items' own tests). No code change: claim_blocks_cli_start
never consults _grace state, only pid liveness, so this cell was already
correct by construction. The test exists to pin that the two mechanisms
compose correctly, not to fix a defect.
Test: TestWebThenCli::
test_cli_start_is_refused_while_a_web_session_is_detached_within_grace --
schedules a real grace-release timer for a web claim with a live pid,
confirms has_pending_release() is true, then asserts a CLI start still
refuses with the existing message and logs no reclaim.
Evidence: reviews/2026-09-02-full-repo-review/evidence/M2/step-9/C6/.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>1 parent 6188f3a commit d3dcfd9
2 files changed
Lines changed: 44 additions & 0 deletions
File tree
- docs/architecture
- packages/studyloop/tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
101 | 111 | | |
102 | 112 | | |
103 | 113 | | |
| |||
Lines changed: 34 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
435 | 435 | | |
436 | 436 | | |
437 | 437 | | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
438 | 472 | | |
439 | 473 | | |
440 | 474 | | |
| |||
0 commit comments