Adds a dual-use .replay fixture (3 jobs competing for insufficient worker capacity) that later tasks need to prove capacity-aware parity under contention: a real recorded normal-mode session (built by driving the genuine sched_check_host_satisfy()/sched_commit_job_alloc() capacity/ accounting chain, not mocked) that is also directly replayable through the real simulation driver. Two tests: fixture shape (job B genuinely denied while A+C hold the full 10.0-unit capacity, verified against the decoded recorded decision stream) and sim-driver replayability. RED-phase proven: raising WORKER_CAPACITY to eliminate contention makes the shape assertion fail as expected before reverting to the genuine-contention value. 44/45 scheduler tests pass; the 1 failure is pre-existing bug-1560 (unrelated). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| brief.md | ||
| design.md | ||
| requirements.md | ||
| research.md | ||
| spec.json | ||
| tasks.md | ||