feat(wire): S6/#111 — contract-mode Hop-A inbound (await-all-targets, declared identity)#120
Merged
Merged
Conversation
…await-all-targets, declared identity) source_selection.fetch_run: store as an injected three-method port (DIP, fake-able); selection filters + manifest name template pinned to pipeline-core's shipped publisher constants (re-verified 2026-07-20, golden-string tested); newest manifested run wins; a missing declared target refuses loud (§4.2a await-all-targets); every header's provenance.ensemble must equal the launch declaration (identity fails loud, never falls back); fetched-by-name manifests verified by CONTENT (names are locators, §3.3). track_a_source.frames_for_target now returns (frame, headers) — the producer-minted provenance rides through for the sink's §10.2 pass-through. Part of epic #105. Closes #111. 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.
Story S6 of epic #105.
What
unfao/wire/source_selection.py—fetch_run(store, *, expected_targets, expected_ensemble): store is a three-method port (fake-able, DIP); filters/template pinned to pipeline-core's shipped constants (SHARD_TYPE/MANIFEST_TYPE/FORECAST_CATEGORY/MANIFEST_NAME_TEMPLATE, re-verified in their code 2026-07-20) and golden-string tested; newest manifested run; await-all-targets (§4.2a); declared-ensemble identity per header (fails loud, never falls back); name-fetched manifests verified by content (§3.3).unfao/track_a_source.py—frames_for_targetreturns(frame, headers): provenance pass-through for §10.2 (nothing minted downstream).AC (all met)
test_track_a_sourceresult, headers ride along.Closes #111. Epic #105 · Tracking #114.
🤖 Generated with Claude Code