Skip to content

fix(wire): run-0 pre-flight — declared-region curation at the delivery#124

Merged
Polichinel merged 1 commit into
developmentfrom
fix/run0-declared-region-curation
Jul 24, 2026
Merged

fix(wire): run-0 pre-flight — declared-region curation at the delivery#124
Polichinel merged 1 commit into
developmentfrom
fix/run0-declared-region-curation

Conversation

@Polichinel

Copy link
Copy Markdown
Collaborator

Pre-flight for run 0 caught: the real run-0 payload has 64,818 cells — the full model grid — including exactly the 76 declared land_gaul exclusions (C-30). Uncurated, the sidecar builder fails loud (by design). The producer correctly doesn't know partner curation, so the delivery applies it: frame_extraction.drop_units + coverage.excluded_for(region) (the pinned frozenset — declared, never inferred) on assembled frames in contract-mode read.

Dry-run proof on the real run-0 data (2 real months, full N, real lookup, upload disabled): curated 64,742 cells, §6 gate passed at 128 draws, 2 shards + 64,742-row sidecar + correct manifest staged, zero store calls.

Tests: exclusion removes only declared cells, empty exclusion is identity, absent-from-payload exclusions are a no-op. Suite green.

🤖 Generated with Claude Code

…y (C-30 exclusions applied to contract-mode frames)

The real run-0 payload carries the producer's full model grid (64,818 cells)
incl. exactly the 76 declared land_gaul GAUL-uncovered exclusions; uncurated it
fails loud at the sidecar builder. Curation is partner-product policy, so it
lands at the anti-corruption layer: frame_extraction.drop_units applies the
explicit coverage.excluded_for(region) frozenset (declared, never inferred) to
assembled frames in the contract read; empty exclusion = identity. Dry-run
proven on the real run-0 arrays: 64,742 curated cells, §6 gate passed at 128
draws, sidecar+manifest staged, zero store calls. ADR post-adoption entry added.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@Polichinel
Polichinel merged commit 5c678d9 into development Jul 24, 2026
4 checks passed
@Polichinel
Polichinel deleted the fix/run0-declared-region-curation branch July 24, 2026 01:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant