Files
reverse-engineering-anything/src/cli
gensokyo-devandgensokyo-dev 37b99422be feat(browser): resolve retained capture references before comparison
A capture comparison needed both complete captures inline. Budgeted
inspect_web_page and capture_browser_scenario calls return a retained
summary, so a caller had to fetch each capture again with detail complete
and send it back as arguments.

browserCaptureComparisonRequestSchema accepts, for each capture field,
the complete normalized_result or a retained Evidence reference to the
producer's record or to its inspect_analysis_view summary. The
application admits the raw request once: a request with only inline
captures parses as the comparison input, as before. Otherwise each
reference resolves to the complete retained record, a summary to its
parent, and the assembled request parses as the comparison input, so
every canonical field is still validated. A reference to other Evidence
or to nothing retained is refused. The comparison Evidence links the
records it read; its result and parameters equal those of the same
captures sent inline.

Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-11-26 15:45:19 +08:00
..