myxce/.kiro/specs/scheduler-sim-repl-verbosity
Rongsong Shen 3d08a43a35
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
2026-09-02 13:12:04 +00:00
..
design.md feat(scheduler-sim-repl-verbosity): task 3.2 - implement Event Echo Gate 2026-09-02 13:00:09 +00:00
requirements.md docs(scheduler-sim-repl-verbosity): expand spec with Requirements 5.5, 6, 7 2026-09-02 08:40:43 +00:00
research.md docs(scheduler-sim-repl-verbosity): add approved spec (requirements/design/tasks) 2026-08-22 02:45:52 +00:00
spec.json docs(scheduler-sim-repl-verbosity): expand spec with Requirements 5.5, 6, 7 2026-09-02 08:40:43 +00:00
tasks.md feat(scheduler-sim-repl-verbosity): task 4.1 - RED-phase sim_print_decision Gate tests 2026-09-02 13:12:04 +00:00