feat(scheduler-core): implement simulation decision verification (task 11.4)

Add sim_verify.c (sim_decision_eq/sim_log_mismatch: real structural
comparison of dispatch/pend decision payloads, not a jobid shortcut) and
wire it into sim_loop.c's ReplaySession drain loop via decode_ReplaySession_ptr()
(first real consumer of the generated capnp decode path). --sim-verify now
detects and reports genuine decision divergence with logical-time + detail,
per Req 5 AC 15/18.
This commit is contained in:
Rongsong Shen 2026-08-07 00:55:34 +00:00
parent b8d2f5f48d
commit a6083d803e
Signed by: rshen
SSH key fingerprint: SHA256:8Vf2pZ3h6rJa7EhGK+WaAQ9Mta/apZvteW6g9U/WKKk
7 changed files with 1469 additions and 12 deletions

View file

@ -16,6 +16,7 @@ scheduler_srcs = [
'src/recording_session.c',
'src/sim.c',
'src/sim_loop.c',
'src/sim_verify.c',
'src/schedobj.c',
'src/plugin.c',
'src/resource.c',