feat(scheduler-sim-repl-verbosity): task 4.1 - RED-phase sim_print_decision Gate tests
Adds 3 tests in a new test_sim_print_decision_gate.c covering the old unconditional per-decision echo (sim_loop.c's sim_print_decision()) no longer duplicating the Round Rollup's per-round summary under `continue` mode (Requirement 2.3), while `step` mode and headless (non-interactive) batch runs stay completely unaffected (Requirements 5.1, 5.4). This is exactly the duplication bug-1610 reported. 1 of 3 tests fails as expected RED evidence (continue-mode bare "[sim] PEND jobid=..." line still appears alongside the Round Rollup's own summary today); the other 2 (step-mode and headless regression checks) correctly pass since they pin already-correct, unaffected behavior. New file rather than extending either sibling: test_repl_round_rollup.c is already 1022 lines (222 over the 800-line cap), and test_repl_event_echo.c (704 lines) deliberately keeps its fixtures job-free (bug-1595 discipline), which this task's decision-producing fixtures cannot follow. No production code touched (sim_loop.c/repl.c/repl_rollup.c/repl_break.c untouched) - tests only, per this task's RED-phase boundary. The actual gate implementation is task 4.2. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YAWMhfRJFnmmnG8h97yUDd
This commit is contained in:
parent
cc78d09140
commit
3d08a43a35
3 changed files with 735 additions and 1 deletions
|
|
@ -45,7 +45,7 @@
|
|||
- _Boundary: Event Echo Gate_
|
||||
|
||||
- [ ] 4. (P) Integration: retire the redundant per-decision echo during continuous execution — Depends: 2.2
|
||||
- [ ] 4.1 (P) Write failing tests confirming the old per-decision echo no longer duplicates the new round summary
|
||||
- [x] 4.1 (P) Write failing tests confirming the old per-decision echo no longer duplicates the new round summary
|
||||
- Cover: during continuous execution, no bare per-decision line appears outside the round summary; while single-stepping, full per-decision detail still prints exactly as before; a non-interactive (headless) replay's decision output is unaffected
|
||||
- Observable: the new test cases fail while the old unconditional per-decision print path still runs alongside the new round summary
|
||||
- _Requirements: 2.3, 5.1, 5.4_
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue