Complete M7.4b lineage checkpoint profile; M7.4 done
ADR-0062 adds a canonical LineageArchive codec (parents before children, organisms by id, FNV) that decodes by replaying admit/record_birth/ record_death and requires byte-identical re-encoding; it never overwrites an existing archive. LineageRegion binds the environmental producer and consumer accounts to archived organisms with identity high-waters, enforces closure (lifecycle vs deaths, exact living set, tick bounds) and records deaths in the tick that causes them. Checkpoint profile 2 (environmental-lineage-v1, history profile 1) publishes that container; schema v4 admits it with a 4,268,144-byte cap and requires each commit to keep its predecessor's profile, RNG, history and durability declarations. Linux adds provision/publish/recover for the profile on the shared publication path. Qualification found WSL2 stepping CLOCK_REALTIME back ~0.5 s every ~32 s, which made two 1 s-lease tests flaky under ASan. Tests now wait on database-time expiry; ADR-0060 records the slewed-clock requirement. Validated: Windows CTest 57/57; Linux GCC Debug/Release, clang-tidy and ASan/UBSan CTest 57/57 each; PostgreSQL suites 2x Release, 2x analysis, 5x ASan; SQL and C++ mutations each caught. No Docker/Gitea CI, remote store, process kill or deployment. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -259,7 +259,8 @@ API. Absence is also reversible: a lineage with no carrier can gain one again.
|
||||
|
||||
Capacity is bounded and admission fails loudly at the limit. Refusing to record is
|
||||
not deleting; a silent drop would be. Durable storage, retention tiers and
|
||||
cross-version migration are M7 and M8 work, and nothing here is serialized. NPC
|
||||
cross-version migration are M7 and M8 work. M7.4b (ADR-0062) serializes the
|
||||
whole archive canonically for history-capable region checkpoints. NPC
|
||||
mutation stays undecided, because the archive records an origin event and never an
|
||||
actor.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user