Add deterministic transactional lifecycle command scheduler
This commit is contained in:
+4
-3
@@ -28,13 +28,14 @@ independent reviews; dependent tasks begin after their contracts are settled.
|
||||
| 1.3 Canonical local snapshot and restore | simulation/snapshot.cpp, schemas/proof-snapshot.md | 1.2, ADR-0008 | Bounded versioned byte format; validate before publish | Round trip, corruption, overflow, truncation, version rejection | Unsafe parsing, native padding |
|
||||
| 1.4 Freeze deterministic reference result | tests/simulation_tests.cpp | 1.3 | Continuous and restored runs match agreed fingerprint | Golden fingerprint and seeded property ensembles | Test only comparing same broken implementation |
|
||||
| 1.5 Evaluate mature ECS adoption | experiments/ecs/, ADR-0005, ADR-0021 | 1.2, biological component workload sketch | Measured iteration/lifecycle/serialization cost and scoped choice | Opt-in row/EnTT sparse/dense/churn comparison with canonical equality; production decision needs richer biology | Premature general framework |
|
||||
| 1.6 Establish scheduler and input phases | simulation/scheduler/, core/time/ | 1.4–1.5 | Explicit phase DAG, one writer, immutable jobs and stable merge | Reordered completion gives equal state; command ordering tests | Hidden concurrency nondeterminism |
|
||||
| 1.6 Establish scheduler and input phases | simulation/scheduler.*, ADR-0022 | 1.4–1.5 | Sequential phase DAG, one writer, immutable bounded commands and atomic commit; parallel jobs deferred | Permuted delivery gives equal state; admission, rollback and recovery tests | Hidden ordering and partial mutation |
|
||||
| 1.7 Add spatial contract | simulation/spatial/, units ADR | 1.5–1.6 | Local coordinates and bounded neighborhood queries | Boundary/wrap/precision properties and brute-force comparison | Planet precision leaking into local physics |
|
||||
|
||||
The first increment implements 1.1–1.4 as a proof. M1.5 now has an isolated
|
||||
comparison and scoped recommendation; see engineering/ECS_EVALUATION.md for
|
||||
measured versus still-unmeasured coverage. M1.6–1.7 remain separate work; no
|
||||
scheduler or generic ECS placeholder is counted as completion.
|
||||
measured versus still-unmeasured coverage. M1.6 implements the sequential command
|
||||
boundary in ADR-0022; no parallel job execution is claimed. M1.7 spatial queries
|
||||
are next. A generic ECS or job framework is not required to complete this proof.
|
||||
|
||||
## M2 — Minimal energy ecosystem
|
||||
|
||||
|
||||
Reference in New Issue
Block a user