chore(scheduler-sim-decision-parity): mark feature complete

All 10 tasks (13 checkboxes including container headers) complete.
spec.json phase -> implementation-complete.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Rongsong Shen 2026-08-22 13:11:34 +00:00
parent 3c4091d88b
commit ca01509f1b
No known key found for this signature in database
GPG key ID: 5BCDAAE0123E9FE2
2 changed files with 5 additions and 5 deletions

View file

@ -1,9 +1,9 @@
{
"feature_name": "scheduler-sim-decision-parity",
"created_at": "2026-08-21T08:30:00Z",
"updated_at": "2026-08-22T04:41:00Z",
"updated_at": "2026-08-22T13:10:00Z",
"language": "en",
"phase": "tasks-generated",
"phase": "implementation-complete",
"approvals": {
"requirements": {
"generated": true,

View file

@ -1,6 +1,6 @@
# Implementation Plan
- [ ] 1. Foundation: shared accounting surface and contention test data
- [x] 1. Foundation: shared accounting surface and contention test data
- [x] 1.1 Make resource-in-use accounting callable from either driver
- Relocate the resource re-accounting service (currently tied to the normal-mode-only driver struct) so it operates on the mode-agnostic core state shared by both drivers, mirroring the same relocation already done for the job-picker resolution service
- Update all three existing call sites to the new signature: the normal-mode round handler's accounting call, the scheduler's own session-begin path's accounting call, and the scheduler's decision-commit path's call into the job-allocation-commit function that is part of this same relocated group
@ -16,7 +16,7 @@
- _Requirements: 2.1, 2.2_
- _Boundary: Scheduler test suite (contention fixture)_
- [ ] 2. Core: round-boundary accounting and decision reconciliation
- [x] 2. Core: round-boundary accounting and decision reconciliation
- [x] 2.1 Give simulation mode the same round-boundary accounting sequence normal mode uses
- Replace simulation mode's single combined session-start call with the same two-step sequence (reset accounting, then unblock the picker) the normal-mode driver already uses, opening an interleaving point between them
- Call the relocated resource re-accounting service (task 1.1) in that interleaving point, in the same relative position the normal-mode driver already calls it
@ -61,7 +61,7 @@
- _Depends: 2.1, 2.4_
- _Boundary: Sim Driver Round-Boundary Accounting, Recorded-Decision Reconciliation_
- [ ] 4. Validation
- [x] 4. Validation
- [x] 4.1 (P) Prove capacity-aware parity under contention
- Using the resource-contention fixture (task 1.2), replay it in simulation mode and compare worker and shared resource-in-use totals against the equivalent normal-mode recording at every round
- Assert simulation mode never makes a scheduling decision (dispatch where normal mode pended, or vice versa) that the normal-mode recording of the same state did not also make