feat(mcp): compact job waiting and evidence delivery - #70
Merged
Conversation
tulayha
marked this pull request as ready for review
August 3, 2026 19:04
This was referenced Aug 3, 2026
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
wait_jobobservation contracts for HTTP and MCPget_job_evidenceand bounded follow-up materializationsearch_momentsandquery_videoinput fields explicit in the public skill and tool descriptionWhy
The previous agent flow repeatedly fetched full job results while waiting, and structured MCP output could hide inline images from Codex and Claude. Evidence-board rendering also changed the raw progress stage for every artifact, waking the agent repeatedly during a single search. The projected delivery target was then discarded when concise evidence text was composed, allowing a run to finish with an unlinked “View evidence board” label despite the board existing.
Result
Agents can wait on compact tokenized status, fetch completed evidence once, inspect boards and selected follow-up artifacts, and present an actual local image path, HTTPS download, or MCP resource. Raw diagnostic progress remains available while internal render/validate/publish transitions no longer cause separate wakeups.
Validation
48 passed, including7subtests3 passed, including3subtestsgit diff --checkpassed