fix(wire): run-0 pre-flight — declared-region curation at the delivery#124
Merged
Merged
Conversation
…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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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_gaulexclusions (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