mirror of
https://github.com/morluto/rea.git
synced 2026-10-26 17:35:11 +00:00
Add web-bundle analysis view projection for completed analyze_web_bundle Evidence to page endpoint observations and static inferences without re-analyzing captures.
- Implement projectWebBundleView in src/domain/analysisView/webBundleView.ts supporting endpoints, inferences, and summary collections.
- Support filtering by indices, values, script_keys, mechanisms, and inference kinds (such as endpoint_candidate), with field projection.
- Preserve duplicate endpoint string literals across distinct source positions, original producer order, and partial producer completeness without upgrading to complete when page collection is exhausted.
- Preserve source_index on endpoint and inference rows to guarantee row identity across boundaries.
- Unify summary counts calculation across view shapes and remove unused delivery definitions.
- Enforce the 1 MiB transport byte budget with typed resource errors and byte_limited indicators.
- Wire web-bundle request and result schemas into inspect_analysis_view and analyze_web_bundle summary delivery contracts.
- Add comprehensive domain unit tests and MCP boundary tests with advertised schema discovery and validation.
Closes #6198
(cherry picked from commit 6b1d5d42c6)