Skip to content

fix: scope analyst evidence and align agent phase prompts - #174

Merged
devhims merged 5 commits into
mainfrom
fix/transcript-warning-scope
Oct 9, 2026
Merged

devhims merged 5 commits into
mainfrom
fix/transcript-warning-scope

Conversation

@devhims

@devhims devhims commented Oct 9, 2026 •

Copy link
Copy Markdown
Owner

Problem / Motivation

A multi-video request can produce misleading warnings when an isolated analyst treats its input as the entire research result. For example, a call assigned the 10-second frame can report that the 60-second frame is missing even when another batch handles it. Transcript analysts can similarly warn about other videos or infer incomplete captions from a short transcript.

What changed

Transcript, frame and storyboard analysts now receive explicit instructions to extract evidence from their assigned source or images. Broader questions provide relevance context. Findings and warnings must stay within that local scope, while the finalizer assesses the combined evidence and overall request coverage.

Research prompts now use evidence-collection guidance when a separate finalizer owns the answer. The legacy answer-producing path retains its writing instructions. Routing explicitly requires visual research when saved transcripts cannot establish the requested visual facts. Final-answer instructions also clarify that stored-context gathering has already finished.

Tests

TypeScript checking and 335 automated tests passed. Eleven live Fireworks cases passed across transcript scope, visual scope, genuine readability limitations and routing with saved transcripts. Synthetic image fixtures make the visual checks repeatable.

These are prompt changes, so live checks cannot guarantee every model response. Production validation remains after deployment. Previously saved analyses retain their existing warnings.

@vercel

vercel Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
video2ctx-web Ready Ready Preview Oct 9, 2026 10:52am UTC

@devhims devhims changed the title fix: scope transcript analyst warnings to the assigned video fix: scope analyst evidence and align agent phase prompts Oct 9, 2026
The frame analyst drops sentences now covered by the shared visual scope
guidance. The transcript analyst states its scope and warning rules once
each. Shared visual guidance no longer claims relevanceContext always
carries the research question. The comparison routing rule names
visualEvidence and drops repeated branches. Research evidence guidance
drops a closing line the completion instruction already provides, and
topic research step 6 no longer duplicates step 7.
@devhims
devhims merged commit e3aa8f8 into main Oct 9, 2026
10 of 18 checks passed
@devhims
devhims deleted the fix/transcript-warning-scope branch October 9, 2026 11:00

This branch was successfully deployed

1 active deployment
Preview — b3c90ad9 Deployed Oct 9, 2026 by vercel[bot]
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