Name provider mirrors by arrival order

This commit is contained in:
Meta Vens 2026-07-13 02:54:24 +01:00
commit a9a8a00367
7 changed files with 62 additions and 45 deletions

View file

@ -936,6 +936,12 @@ are overwrite mirrors. Arrival order is therefore the only fact Epiphany can
observe. A truthful fix requires a Bifrost-owned contract revision; Epiphany
must not synthesize provider chronology from receipt IDs or local clocks.
The executable API now says this plainly: all seven Bifrost/GitHub mirror
loaders are named `load_arrival_latest_*`. The old `load_latest_*` names were
deleted without compatibility aliases. Persisted `/latest` keys remain the
provider-facing storage contract, but Rust callers can no longer confuse their
meaning with provider event order.
The same inspection found 33 consecutive duplicate `#[cfg(test)]` attributes
on provider constructors/writers and their re-exports. One gate already makes
each item test-only; the second owned nothing. The duplicates are removed.

View file

@ -286,6 +286,11 @@ receipt contracts expose no provider timestamp or monotonic revision, so local
33 duplicate `#[cfg(test)]` residues found around provider writers/re-exports
were removed; one test gate remains on every test-only item.
All seven Bifrost/GitHub mirror loader APIs are now named
`load_arrival_latest_*`; no misleading `load_latest_*` aliases remain. The
persisted `/latest` key spelling is retained as external storage compatibility,
not interpreted as provider chronology.
The latest structural count is 32 closure family branches, 744 remaining
substring assertions in the closure region, and 1,284 lines in
`closure_contracts.rs`. Do not blindly generate a struct forest for every