FrankenMining

Bedrock: authority cells, objects, sync and the runtime

4,580 words14 subsections12 tables1 listingPlan version 0.1

On this page14
26.1 Verdict: one authority mechanism26.2 Per-context authority (cells)26.3 Leases, fencing and cross-cell references26.4 Topology: hybrid cells with certified sync26.5 Persistence ladder and durable formats26.6 The runtime: asupersync region tree and capabilities26.7 Budgets, durable obligations, cancellation, supervision and the lab26.8 The telemetry segment log26.9 Alien-artifact compilation (B4 §9; families 12, 35 + hashing, 31)26.10 Proof obligations26.11 Failure modes and deterministic fallbacks26.12 Gates and kills26.13 Galaxy-brain cards26.14 Open questions

Source: Brenner pass B4 (planning/brenner/B4_substrate_and_integration.md). Each verdict below survived a refuter-first test, and each has a cheap discriminating experiment and a kill gate.

26.1 Verdict: one authority mechanism

FrankenMining has one authority mechanism for its own facts:

  1. an append-only delta ledger partitioned into single-writer authority cells; and
  2. a content-addressed object store (CAS) for large immutable objects: 4 MiB chunks, a fanout-16 Merkle tree per object, and root-last publication.

fgdb, fsqlite and frankensearch are derived projections only: rebuildable, high-water-marked and never consulted as truth. FA is a separate product and the book of record (§21).

Hypotheses tested (B4 SQ1).

ID Hypothesis Outcome
H1-A fgdb as authority for evidence-shaped contexts Falsified for 3 of 5 contexts. Assays have writers at more than one node; drillhole intervals need a spatial index, which fgdb rejects for 1.0 ("a declared index over a Point property fails closed", S8; a post-1.0 Z-order route is recorded upstream); reserve effective dates need valid time before fgdb ships it. Splitting authority across two engines for the remaining two would recreate FA's "two storage engines in one book" smell.
H1-C (forced third) fsqlite as relational authority Falsified as authority. FOR SYSTEM_TIME AS OF works only for :memory:, so recorded-time history would be hand-rolled, and federation would rest on last-writer-wins changesets, which the doctrine forbids for semantic state. Retained as the best projection store.
H1-B One FM-owned mechanism; everything else projects Survives, conditional on GATE-STORE-01, with KILL-4 as the fallback

Commit-time witnesses without a database.

  • A batch carries its deltas plus witnesses: assertions about the state it was computed against, for example "sample smp_X exists and is not superseded" or "the conservation residual is within tolerance".
  • The cell's narrow combiner checks every witness at commit against an in-memory keyed index, which is rebuilt from the cell log at open. A failed witness refuses the batch (exit 6), and the caller recomputes.
  • This is optimistic concurrency without a database. The largest cell's working set is a site assay cell at about 10⁷ intervals × 48 B ≈ 0.5 GB (TARGET; RISK-16 (scale) covers sharding by project or year if it grows).

26.2 Per-context authority (cells)

A cell is (context, scope) with exactly one writer node. Cell classes use the CELL- prefix.

Cell class Context Authority Projections (derived) Write rate (TARGET) Scope
CELL-EVID Evidence and claims Delta ledger (FMT-LEDGER-1); originals in CAS fgdb evidence graph (GQL, FOR SYSTEM_TIME AS OF SEQ, CALL fnx.*); frankensearch (quill + hash only) 10–10³ batches/day/site per site; per enterprise function
CELL-DRILL Drillholes, samples, assays, QA/QC Typed ledger records (collar, survey, interval, sample, dispatch, result, QC insertion, certificate); lab originals in CAS fsqlite tables + R-tree over 3-D interval boxes; desurveyed traces as CAS objects; fgdb lineage 10³–10⁴ results/day/site per site (brownfield); per project (greenfield)
CELL-BELIEF Subsurface belief objects CAS roots named by the ledger, with lineage, ModelCard and evidence colour in-memory VdbGrid tiles; grade–tonnage tables in fsqlite 1–10 roots/day; objects 10⁸–10¹⁰ B per model domain
(none) Spatial indexes Never authority fsqlite R-tree/geopoly; owned BVH/VDB; Z-order keys rebuild only per projection
CELL-TEL High-rate telemetry Site segment log: columnar CAS segments + per-source index. Transitions (load, dump, delay, TARP state) go to the site ledger. fsqlite segment catalog; 1-min rollups replicated upstream 10³–10⁵ msg/s/site per site per source family
CELL-PLAN Plans and schedules Ledger (versions, scenario labels, approvals) + CAS (shells, schedules, designs) fsqlite (period queries); fgdb (plan↔evidence lineage) 10–10² versions/day LOM: enterprise; short-term: site
CELL-FLOW Material-flow and reconciliation Ledger with conservation at commit (PO-BED-6, INV-005) fsqlite; FA external summaries (§21.3) 10²–10³ movements/day/site per site
CELL-RSV Reserves register and QP/CP attestations Enterprise ledger cell; attestation records; reports in CAS fgdb; FA disclosure documents and Statistical accounts 10⁰–10¹ per quarter enterprise (regional where residency requires)
CELL-DEC Decision ledger Enterprise cell; rows typed as S0 DecisionRow + EvidenceRow (FMT-LEDGER-1), schema-compatible with franken_decision::DecisionAuditEntry and franken_evidence::EvidenceLedger through fmine-decide's converter, so the format never depends on a runtime version fgdb 10⁰–10² per day enterprise
CELL-POST Posting slots Enterprise finance node cell; slot records and FA receipts only — §21.3 per FA book
CELL-QUAR Quarantined submissions Agent uploads, Avathon write-backs, foreign imports pending review none until adopted — per source
(FA) Accounting FA book (fgdb inside FA), a separate product — §21 per FA book

The census rule. Every context gets exactly one writer scope. The only contested case was assay corrections made at the enterprise. They are routed as correction requests (evidence in an enterprise cell) that the site writer adopts or refuses. There are no shared writes.

26.3 Leases, fencing and cross-cell references

  • INV-CELL-1 (= INV-004). Each cell has exactly one lease-holding writer. A fencing epoch rises on every lease transfer, and it is persisted before the lease is used.

  • Every batch carries (cell, epoch, seq, prev_hash). Receivers refuse an epoch lower than the highest they have seen (PO-BED-1).

  • Lease transfer (for example, moving an exploration project cell from a regional node to a new site node):

    1. the old holder seals and publishes its last batch;
    2. a transfer record names the new holder and epoch + 1;
    3. the new holder starts writing only after that record is anchored.

    A crash in the middle leaves the cell read-only until fmine doctor confirms which epoch is live.

  • Split brain (two writers) shows up as an epoch regression at a receiver. Lower-epoch batches are quarantined and a conflict record is opened for human resolution. Nothing is merged automatically.

  • Cross-cell references are (cell, seq, digest) triples. A consumer resolves them only at an anchor it holds, otherwise the knowledge state is stale or not_observable (INV-012).

  • The gluing check. The enterprise view is the union of site logs, and it is coherent iff every cross-cell reference resolves.

    • This compiles to a dangling-reference checker that runs on every anchor publication. A dependent Claim whose reference dangles is not published.
    • This is the only use of descent/sheaf mathematics in Bedrock. Anything beyond a checker would be ornamental, and is not adopted.

26.4 Topology: hybrid cells with certified sync

Hypotheses tested (B4 SQ2).

  • H2-A, central enterprise authority, is falsified by arithmetic and safety.
    • Raw telemetry at 10⁵ msg/s × 200 B is 160 Mbit/s, which is 3–16× a 10–50 Mbit/s satellite uplink.
    • Sites must keep TARP and QA/QC obligations live through multi-day outages.
    • Residency law forbids centralizing some data classes.
  • H2-B, site-sovereign everything, is falsified for enterprise-born facts. LOM plans, the reserves register, decisions and postings are created centrally. Giving each site a writable copy invents multi-master conflicts.
  • H2-C, hybrid per-context cells, survives.

Node roles.

Role Holds leases for Notes
site Site cells (drill, flow, telemetry, short-term plans, site evidence) ISA-95 Level 3/3.5 only, never Levels 0–2. Accepts no inbound Internet connections.
regional In-country enterprise cells where residency requires it One per residency jurisdiction that needs it
enterprise LOM plans, reserves register, decisions, posting slots Co-located with the FA book it posts to (fad takes the book writer lease, B4 S6)
relay Nothing Store-and-forward only; useful on intermittent links

Sync design.

  • Pull-based from the enterprise and relay side, through outbound-initiated sessions from the site (the IEC 62443 conduit pattern).
  • Logs reconcile by version vector in O(#cells). Objects reconcile by plain chunk manifests (want/have).
  • Every applied range is checked against a SyncCert (§26.9 A2), which proves the replica is a prefix of the writer's log.
  • CAS chunks move over QUIC/TLS through ATP. RaptorQ is consumed as is (it adds ≈ 2–5% on lossy GEO links).
  • Raw telemetry is site-sovereign and never leaves the site by default. 1-minute rollups replicate.
  • The residency planner treats registries/residency.toml as a hard constraint and refuses a transfer before any bytes move (§31.2).

26.5 Persistence ladder and durable formats

Ladder (after FSS §13.2). The same semantic test suite runs against every rung.

Rung Implementation Status
L0 In-memory reference, fmine-ledger::reference Semantic oracle
L1 Append-only segment files (FMT-SEG-1: magic, CRC32C per record, hash chain, MMR peak footer) Production
L2 fsqlite persistence under unchanged ledger semantics Only if L1 fails GATE-STORE-01 (KILL-4)

Durable formats. All are hand-written, little-endian and versioned, and live in S0 so that formats never depend on a runtime version. Readers accept versions N and N−1. Migration is a journaled rewrite into new CAS objects (never in place), with golden fixtures per version, a fuzz target per decoder and a fmine verify reconstruction command.

FMT Content Notes
FMT-LEDGER-1 Delta batch {cell, epoch, seq, prev_hash, anchor, deltas[], witnesses[]} Canonical order; SHA-256 chain, which aligns with ATP Merkle hashing
FMT-SEG-1 Ledger segment file Magic FMNE + kind; CRC32C per record; MMR peak list in the footer
FMT-CAS-1 Chunk and manifest 4 MiB default chunk; fanout-16 Merkle; root-last
FMT-TELSEG-1 Columnar telemetry segment Codec id per column; bounds; min/max footer
FMT-BM-1 Block-model projection VDB tile layout + attribute columns + ModelCard digest
FMT-ANCHOR-1 Anchor / high-water mark FSS LedgerAnchor fields (ledger_epoch, commit_sequence, adapter_registry_epoch, schema_epoch, policy_epoch, privacy_epoch, state_root) with site_lineage → cell_id, plus residency_epoch
FMT-SYNC-1 Sync frames Version vector, consistency proof, chunk want/have
FMT-POST-1 Posting slot + Merkle-folded detail Maps to FA fa:external-subledger-detail:v1 rows (§21.3)
FMT-CERT-1 FM result certificate Inputs closure, code revision, seed, determinism class, output digest
FMT-ENV-1 Robot NDJSON envelope The only format where serde is permitted (§30.1); serde is otherwise confined to the fmine-decide adapter closure (L-4)
FMT-EXPORT-1 Export projection rows (Avathon, partners) Anchor + certificate on every row (§32.3)

26.6 The runtime: asupersync region tree and capabilities

The runtime is asupersync at the suite pin, 0.5.0 (§27.5). The capability rows below are compile-time narrowings, written CapSet<SPAWN, TIME, RANDOM, IO, REMOTE>.

ProcessRegion(fmined, role ∈ {site, regional, enterprise, relay})
└── NodeRegion{node_id, role}                                        supervisor: rest_for_one
    ├── AuthorityRegion                                               rest_for_one (projections restart after the writer)
    │   ├── LedgerWriterRegion{cell}*      CapSet<0,1,0,1,0>  lease + fencing; TIME only as journaled TimeEvidence
    │   └── ObjectStoreRegion              CapSet<0,0,0,1,0>  CAS stage → verify → root-last publish
    ├── IngestRegion (site)                                           one_for_one
    │   ├── TelemetryRegion{source}*       CapSet<0,1,0,1,0>  bounded edges; segment builder
    │   └── ImportQuarantineRegion{fmt}*   CapSet<0,0,0,1,0>  read-only staging; parsers; no TIME or RANDOM
    ├── ComputeRegion                                                 one_for_one
    │   ├── LawRegion                      CapSet<0,0,0,0,0>  stripped Cx: conservation, QA/QC, posting laws
    │   └── EstimationRunRegion*           CapSet<1,0,0,0,0>  tiles may spawn; seeds explicit; no IO
    ├── ProjectionRegion                   CapSet<1,0,0,1,0>  fsqlite / fgdb / frankensearch projectors
    ├── SyncRegion                                                    one_for_all per peer
    │   ├── PeerSessionRegion{peer}*       CapSet<1,1,0,1,1>  the ONLY REMOTE-capable region besides FinanceBridge
    │   └── TransferRegion{root}*          CapSet<0,1,0,1,1>  CAS chunks over QUIC/ATP
    ├── FinanceBridgeRegion (enterprise)   CapSet<0,1,0,1,0>  spawns the `fa` subprocess; local socket only
    ├── EffectRegion                       CapSet<0,1,0,0,0>  prepares EFFECT-* documents; never actuates
    └── OperationsRegion                   CapSet<1,1,0,1,0>  doctor, repair plan/apply, CLI socket, MCP, TUI feed
  • Engines in layers K and E receive Cx<cap::None> (plus SPAWN for estimation tiles). They get times and seeds as inputs, which is what makes replay deterministic (INV-010).
  • Defect S3(a) at 0.5.0: a restricted Cx<cap::None> can call open_child_region and receive Cx<cap::All>. So xtask check-caps bans open_child_region outside fmine-runtime, and a lab test asserts each region's runtime capability mask (PO-BED-8, §31.4).

26.7 Budgets, durable obligations, cancellation, supervision and the lab

Budgets. Budget{deadline, poll_quota, cost_quota, priority} composes by meet.

Region Deadline cost_quota Priority On exhaust
LedgerWriter commit 250 ms — 200 Refuse the batch (exit 6); the caller retries with the same batch id
Telemetry segment seal 1 s 64 MiB per segment 180 Seal early; downsample with a continuity receipt; never drop silently
EstimationRun per run (e.g. 4 h) blocks × realizations 80 Cancel; partial results are never published (root-last)
PeerSession window link window bytes per window 120 Drain; persist the chunk receipt; resume next window
FinanceBridge post 120 s (debug FA); 10 s TARGET — 150 Indeterminate → reconcile by idempotency key; never re-post blindly

Durable obligations. asupersync obligations are lifted so that they survive crashes.

ID Reserved when Must resolve by
OB-SYNC-ACK A batch is shipped An enterprise ack naming (cell, seq, mmr_root). Until then the site retains it and re-offers.
OB-SEAL Chunks are staged The root is published, or the staged set is aborted
OB-POST A posting slot is reserved FA EntryRef + certificate digest recorded, or a refusal recorded (§21.3)
OB-REVIEW A Workpaper is prepared A human Reviewed{against} attestation or an explicit rejection
OB-EFFECT An effect is prepared A human authority-token decision, then actuals reconciled (§31.3)
OB-LAB A sample is dispatched The assay is received, or the sample is declared lost with a QA/QC finding (§12)
OB-TARP A trigger is raised Acknowledged and escalated per the TARP (§14.4)
OB-COMMIT An ESIA, permit or agreement commitment falls due at its frequency Attested evidence of performance, or a recorded miss (§18.2)

Cancellation (request → drain → finalize), shown for a sync session:

  1. Request: stop offering new batches and chunks.
  2. Drain: finish the in-flight chunk, persist a receipt of the chunk hashes received, flush the ProgressCertificate.
  3. Finalize: publish no root unless complete, release the transfer lease, record a quiescence proof.

A hard kill leaves OB-SEAL live, so the next session resumes from the receipt. This gives resumability without relying on 0.6.0 ATP journaling (defect S3(e)).

Supervision (Spork). There is one AppSpec per role, compiled to a CompiledSupervisor.

  • Restart intensity is 5 restarts per 60 s per child; beyond that the failure escalates.
  • An escalated PeerSession marks the peer stale and keeps local authority running.
  • An escalated LedgerWriter puts the node into read-only degraded mode (writes refuse with exit 4). A writer is never silently restarted onto a possibly torn segment. fmine doctor must first verify the hash chain.

LabRuntime. Every protocol (sync, posting, effect, ingest backpressure) has #[lab_test] suites with:

  • virtual time;
  • seeded schedules: seeds 0..999 in CI and 10⁴ nightly, with DPOR;
  • chaos: link drop p ∈ {0.01, 0.2}, and a crash at every reserve/commit/publish boundary;
  • asupersync oracles (task leak, obligation leak, quiescence, region tree, cancellation protocol);
  • FM oracles PO-BED-1, 2, 3, 4 and 10.

The same seed must give the same trace digest. A failing seed retains a CrashPack for replay.

26.8 The telemetry segment log

  • Telemetry is the one high-rate context, and the arithmetic in GB-35 forces its design: batch into columnar segments, seal on a timer (250 ms), and keep the raw stream at the site.
  • Transitions are facts; samples are evidence. A truck's load and dump events, a delay code and a TARP state change are ledger records. The 10 Hz payload-weighing trace behind a load event is segment data, referenced by (segment root, offset range).
  • Backpressure.
    • Every ingest edge is bounded.
    • Under overload, segments seal early and downsampling engages with a continuity receipt stating exactly what was dropped and why. Data is never dropped silently.
    • A raw ring buffer retains the original stream while disk allows.
  • Rollups default to 1 minute and replicate. 5,000 signals at 16 B per minute is ≈ 0.12 GB/day, about 1% of a 10 Mbit/s link.

26.9 Alien-artifact compilation (B4 §9; families 12, 35 + hashing, 31)

Family Impact Conf. Effort Score Admitted
31 Queueing capacity budgets 4 4 1 16 yes (A3)
Merkle/MMR certificates 5 5 2 12.5 yes (A2)
12 Concurrency and obligation automata 5 4 2 10 yes (A1)
05 Descent/gluing 2 4 1 8 checker only (§26.3)
RaptorQ erasure tuning 2 3 3 2 no; consume ATP as is

A1 · Protocol automata.

  • registries/automata/{sync,posting,effect,ingest,lab,tarp}.toml hold states, labelled transitions, guards, and the obligation each transition reserves or resolves.
  • CI checks:
    • every state is reachable;
    • no non-terminal state is dead;
    • every non-terminal state has a cancel edge;
    • the Petri token-conservation invariant holds: reserved = committed + aborted + live, per obligation kind;
    • the transition log replays deterministically.
  • At runtime, every transition goes through one step(state, event) → Result<state, Refusal> table. There are no ad-hoc state flips anywhere in the code.

A2 · Merkle/MMR certificates.

  • Each cell is a hash-chained log with a Merkle Mountain Range over batch digests.
  • SyncCert{cell, epoch, from_seq, to_seq, mmr_root_before, mmr_root_after, consistency_proof} proves that a replica is a prefix of the writer's log in ⌈log₂ n⌉ hashes (Certificate-Transparency style).
  • CAS roots are fanout-16 Merkle trees. FA rows carry slice MMR roots (§21.3).
  • Checked null: Merkle set reconciliation is not needed on the hot path (GB-36). Merkle structures earn their keep as proofs, not as diff engines.

A3 · Queueing budgets.

  • Per-site ingest is modelled as M/D/1 with a Kingman correction for bursty arrivals. The FA writer and the human reviewer are modelled as servers too (GB-28).
  • Monitors on the fmine doctor page:
    • a Little's-law audit (L = λW within 5%);
    • an arrival-drift alarm when the 5-minute λ exceeds 1.3× the planned peak.

26.10 Proof obligations

PO Statement Verification Failure → fallback
PO-BED-1 Single writer Per cell, at most one lease holder per epoch; receivers refuse lower epochs LabRuntime DPOR over lease transfer + crash; fencing unit tests Lower-epoch batches quarantined; conflict record; human resolution
PO-BED-2 Prefix consistency An enterprise replica of a cell is always a prefix of the writer's log SyncCert verified on every apply; fmine-verify offline Stop applying that cell; mark stale; doctor
PO-BED-3 Root-last No CAS root is visible unless all its chunks are verified Crash at every stage boundary in the lab The partial set stays staged; OB-SEAL resumes
PO-BED-4 Exactly-once posting ≤ 1 live original per FA slot; Petri token = 1 FA-ACC-02/03/12; automaton check Exit-6 conflict → alarm; freeze the bridge
PO-BED-5 Obligation closure Closing a region implies every OB-* is resolved or persisted durably Leak oracle; durable-obligation replay The node will not report quiescent; doctor lists the obligations
PO-BED-6 Conservation at commit Per flow node and period, Σin − Σout − Δstock = 0 within the registered measurement tolerance, else refusal (no plug) Property and metamorphic tests (split and merge stockpiles) Refusal exit 3; reconciliation case opened (§20)
PO-BED-7 Queue stability ρ_ingest ≤ 0.7 at the planned P95 rate; P(queue > K) ≤ 10⁻⁶ per hour GATE-INGEST-01; Little audit Degrade to coarser rollups with continuity receipts
PO-BED-8 Non-escalation and noninterference K/E crates never obtain IO or REMOTE; wall-scoped queries reveal nothing across walls, including counts and absence Lint + runtime-mask lab test + wall differential tests Build fails; projection quarantined
PO-BED-9 Determinism Same inputs + seed + code revision + determinism class ⇒ same certificate digest (INV-010) Determinism lanes in CI (§29) Digest drift blocks release
PO-BED-10 Bridge idempotency Replaying the outbox after any crash leaves FA state unchanged (already_recorded) FA-ACC-12; 1,000 seeds Indeterminate → reconcile by key, never re-key

26.11 Failure modes and deterministic fallbacks

# Failure Detection Fallback
F1 Satellite link down for days Session timeouts; version-vector age The site keeps full authority. The enterprise marks those cells stale(age). Decisions needing fresh site data return exit 9 or refuse. OB-SYNC-ACK queues.
F2 fad down, or its lease held elsewhere FA exit 6 FA-REF-018; socket error The bridge appends canonical intents to the outbox and replays later under the same keys (PO-BED-10)
F3 FA law refusal (exit 3/7) Robot refusal object Slot → Refused; human triage; never auto-edit and re-key
F4 Ingest overload Queue > K; ρ monitor Seal early; downsample with a continuity receipt; raw ring buffer if disk allows
F5 Projection corrupt or behind Doctor digest check; high-water mark Discard and rebuild from the ledger. Answers state their high-water mark; freshness-required queries refuse.
F6 Split brain Epoch regression at a receiver Quarantine lower-epoch batches; record a conflict; humans adopt or refuse
F7 Torn segment after a crash Hash-chain or CRC failure at open Read-only degraded mode; repair plan truncates to the last verified record (evidence retained); history is never rewritten
F8 Lifted-code drift or an upstream bug GATE-FSIM-DRIFT; golden hash Freeze at the lifted version; re-lift by bead; no dependency switch
F9 Residency or MNPI breach attempt Planner/caveat check Refuse before bytes move (exit 7); AccessEvent recorded
F10 Missing or expired human authority token Token verification Refuse (exit 7); no alternative path exists
F11 asupersync pin mismatch in a closure One-package-id CI gate Merge blocked; coordinated bump only (GATE-PIN-06)
F12 Dangling cross-cell reference Gluing checker on anchor publish Consumer state not_observable or stale; the dependent Claim is not published

26.12 Gates and kills

Gate Threshold (TARGET) When
GATE-STORE-01 Ledger → fsqlite projection rebuild of 10⁵ holes / 10⁷ intervals in ≤ 15 min on the reference site node; as-known-at and bbox answers from one anchor M1
GATE-SYNC-01 1,000 seeded lab runs (link drop; crash at every boundary): 0 divergence, 0 duplicate applies, 100% SyncCert verified, 0 obligation leaks M1
GATE-SYNC-02 7-day partition catch-up in ≤ 2 h at 10 Mbit/s and 50% availability M5 (first needed when ≥ 2 sites sync; the M2 pilot ingests snapshots)
GATE-INGEST-01 10⁵ msg/s sustained for 1 h: ρ ≤ 0.7, 0 unreceipted loss, p99 ingest-to-durable ≤ 2 s M4 (synthetic), M5 (site)
GATE-BM-01 Lifted VdbGrid: 10⁸ active cells × 8 B payload, resident memory ≤ 2.5× payload, deterministic iter_active digest M1
Kill Trigger Fallback
✖ KILL-4 Owned ledger persistence GATE-STORE-01 fails, or witness checks prove infeasible in memory Rung L2: fsqlite persistence under unchanged ledger semantics
✖ KILL-5 Telemetry rate GATE-INGEST-01 fails at 10⁵ msg/s Edge pre-aggregation; publish the supported rate honestly

KILL-1 (FA scale) is in §21.3, KILL-2 (fgdb projection) and KILL-3 (frankensim dependency) are in §27, and KILL-6 (OMF purity) is in §32.

26.13 Galaxy-brain cards

GB-35 · Telemetry: fgdb as authority fails by arithmetic; the segment log passes with room to spare.

  • Equation. ρ = λ·S; the Kingman wait is W_q ≈ (ρ/(1−ρ))·((C_a² + C_s²)/2)·S.
  • Substituted (segment log).
    • 10⁵ msg/s × 200 B = 20 MB/s. Sealing every 250 ms gives λ = 4 seals/s.
    • S = encode 5 MB at 400 MB/s (12.5 ms) + compress (≈ 12 ms) + fsync (2 ms TARGET on rugged NVMe) ≈ 27 ms.
    • ρ = 4 × 0.027 = 0.11. W_q ≈ 0.124 × 0.25 × 27 ms ≈ 0.8 ms.
  • Substituted (fgdb as authority). One publication per message, two fsyncs, no group commit: μ ≤ 250/s, so ρ = 4 at 10³ msg/s and 400 at 10⁵. It is unstable at the bottom of the stated range.
  • Upstream. Raw 160 Mbit/s against a 10–50 Mbit/s uplink is 3–16× over capacity, while 1-minute rollups use about 1% of a 10 Mbit/s link.
  • Intuition. Telemetry must be site-sovereign, batched into segments and summarized upstream. No database choice changes that.
  • Assumptions. 200 B messages; 2 ms fsync; timer-driven seals (C_a ≈ 0).
  • Flip. A measured S > 175 ms at 10⁵ msg/s gives ρ > 0.7 → KILL-5.

GB-36 · Sync over satellite, and why Merkle diffs are a checked null.

  • Catch-up after a 7-day partition. (0.05 GB deltas + 0.12 GB rollups) × 7 ≈ 1.2 GB. At 10 Mbit/s and 50% availability that is 1.2·10⁹ × 8 / 5·10⁶ ≈ 32 min, inside GATE-SYNC-02's 2 h.
  • Anti-entropy per round. 12 cells × (24 B version-vector entry + 24 hashes × 32 B) ≈ 9.5 KB.
  • Block model.
    • 10⁸ blocks × 20 attributes × 4 B = 8 GiB = 2,048 chunks, so the manifest is 64 KiB.
    • A Merkle diff with 30% changed (d = 614) costs d × depth × fanout × 32 B = 614 × 3 × 16 × 32 ≈ 0.94 MB, worse than sending the whole manifest. A Merkle diff wins only if d ≪ N/48.
    • Moving the 2.4 GB of changed chunks takes 32–64 min.
  • Intuition. Use version vectors for logs and plain manifests for objects. Merkle/MMR structures are for proofs.
  • Flip. If telemetry segments (N ≈ 10⁶) ever had to replicate, Merkle diffs would come back into play. So would residency rules that forbid even rollups.

26.14 Open questions

  • OPEN-B4-01 (narrowed 2026-10-29). Statutes are now cited row by row for 12 countries × 6 data classes (W3, E501–E549; §31.2). Hard localisation in force: Zambia personal data (DPA 2021 s.70), Tanzania geoscience export (Mining Act s.35(6)) and personal data (PDP Regulations 2023 reg. 20 permit), DRC personal data (Code du numérique art. 201) and Mali personal data (Loi 2013-015 art. 11). Pakistan has no data-protection statute in force; Reko Diq is governed by its mineral agreement and BMR 2002 (BMMA 2025 s.122(4)): records are kept in Balochistan (r.56) and the State holds data rights (r.71). Counsel is still needed on the eight clauses of W3 §7. Unknown pairs still default to in_country_only.
  • OPEN-B4-05. If fgdb ships valid time, constraints and a catalog, does the decision ledger or reserves register ever move to fgdb authority? The default is no (one mechanism).
  • OPEN-B4-10. Reference site node hardware (fsync distribution, RAM). Every TARGET in this section depends on it.