Files
aevolution/schemas/ecology/census-pending-migrations-v1.md
dingo d3a867a662
Foundation / checks (ecs) (push) Successful in 2m20s
Foundation / checks (deploy) (push) Successful in 4m7s
Foundation / checks (network) (push) Successful in 21m2s
Foundation / checks (client) (push) Successful in 22m21s
Foundation / checks (tsan) (push) Successful in 28m57s
Foundation / postgres-tools (push) Canceled after 0s
Foundation / server-image (push) Canceled after 0s
Foundation / image (push) Canceled after 0s
Foundation / checks (postgres) (push) Canceled after 38m8s
Foundation / checks (checks) (push) Canceled after 38m19s
feat(persistence): admit durable maturing wildlife migrations
2026-10-19 11:57:00 -04:00

2.6 KiB

Pending migration evidence in registered census snapshots v1

Semantic adapter contract, schema 52; ADR-0156. No biological codec/rule change or client endpoint.

ADR-0161/schema 54 admits both exact bundle-10/trace-1 and bundle-11/trace-2 handoffs. Verification uses the retained pair, never the latest head's rule. Mixed pairs, unknown versions and unavailable replay evidence fail the whole registered query. Ghosts add no stock under either rule.

  • Capture source/destination pending pointer union, history domain, complete region registry and exact current heads in one read-only repeatable-read view.
  • Inventory order is ascending request UUID. Maximum 64 requests; a 65th response fails the whole query. Missing or inconsistent metadata never becomes empty.
  • Every request must have its expected source pointer, a destination pointer iff staged, neither abort nor commit, and consistent retained trace/manifests.
  • Endpoints must belong to the captured registry/frame. Source manifest must equal the captured source head's manifest; a staged destination must also match. Prepared destination cuts remain optimistic and may differ from its latest head. Both predecessor builds must be in the caller's retained build allowlist.
  • After capture, replay source-side predecessor/capsule bytes exactly. For a stage, independently replay destination-side predecessor/capsule bytes and compare the complete derived ghost with its verified retained object. Metadata hashes or matching aggregate inventory alone are insufficient.
  • Return the verified canonical trace (members/material included) and staged flag. External request references use the returned history domain/world/request tuple; a copied request UUID alone does not identify a branch. Capsules/ghosts own no additional stock; census totals remain the regional heads' totals. Error returns no partial census/inventory. SQL/capture failure preserves transaction cleanup; missing/corrupt/false objects remain uncertainty.
  • Concurrent prepare/stage/abort/commit belongs to a later view. Already captured immutable evidence remains verifiable after settlement. A later read sees its new pointer state and heads atomically. No timeout/lease-expiry settlement.
  • This inventories the existing active pointers, not every historical preparation or every possible viable store. No live authority, accepted global freshness or terminal-extinction record is created. Caller-declared snapshots remain scoped observations without this registered-inventory guarantee.