myxce/src/scheduler
Rongsong Shen da6ba96eb4
feat(scheduler-sim-repl-verbosity): task 6.2 - implement dynamic REPL prompt
Adds repl_build_prompt(), building the readline() prompt fresh each
loop iteration: the plain "(sim) " before any session begins, else
"(sim session=<N> t=<ISO8601-ts>) " using the bare session count (not
+1, matching info session's convention) and the existing
repl_format_ts_human(). Both of task 6.1's tests pass.

repl.c grew 808->852 lines (6.5% over the 800-line cap). Review
empirically tried extracting repl_build_prompt() into a new
repl_prompt.c: it works, but requires updating 19 sibling white-box
test files' #include lists, and even then repl.c only drops to 814
lines - still over cap. Given the function is a small 15-line
formatter and the split doesn't even achieve compliance, accepted in
place rather than forcing disproportionate churn.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YAWMhfRJFnmmnG8h97yUDd
2026-09-02 16:14:52 +00:00
..
include feat(scheduler): reconcile mem reservation against real usage 2026-08-31 07:02:32 +00:00
src feat(scheduler-sim-repl-verbosity): task 6.2 - implement dynamic REPL prompt 2026-09-02 16:14:52 +00:00
testsuite feat(scheduler-sim-repl-verbosity): task 6.1 - RED-phase REPL prompt tests 2026-09-02 15:49:41 +00:00
CLAUDE.md docs(scheduler): document driver-equivalence invariant, scope decision-parity fix spec 2026-08-22 02:52:00 +00:00
meson.build feat(scheduler-sim-repl-verbosity): task 2.2 - implement Round Rollup logic 2026-09-02 12:08:31 +00:00