Repository navigation
upstreaming: bind complete dossiers to worker tasks - #5011
Merged
Merged
Conversation
luhenry
marked this pull request as ready for review
November 20, 2026 21:33
luhenry
force-pushed
the
upstreaming-pipeline
branch
from
November 20, 2026 21:34
3f69599 to
9f30b88
Compare
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.
Summary
Fix recurring dispatcher queue failures without discarding the complete investigation dossier.
Recent dispatcher failures were caused by embedding the complete refreshed dossier in the Work payload. The spookyhash payload was 24,691 bytes, above gh-aw's 16,384-byte queue payload limit.
This change keeps the complete dossier committed as durable evidence under:
The queue receives a bounded projection plus an immutable reference containing:
riseproject-dev/python-wheelsas the repository;raw.githubusercontent.comURL.Before the model starts, trusted worker setup uses the read-only job token to fetch that exact-ref file, restricts it to the expected repository and evidence path, verifies its SHA-256 and evidence identity, and writes the complete dossier to:
The worker prompt requires reading the complete local dossier whenever present. The bounded queue projection still preserves evidence IDs, review response IDs, exact paths, proposal/path coverage, architecture precedent, build and dependency findings, and risks. Full source-by-source research remains available in the verified local file and immutable URL.
Trusted dispatcher preparation also rejects any payload above a 15,500-byte safety budget before queue staging. The current spookyhash payload is reduced from 24,691 bytes to 7,903 bytes.
Validation
git diff --checkpasses.