Project large local Evidence captures through the authenticated file-source boundary and add guarded opt-in sibling-pair path inference. Preserve request cancellation, resource ownership and file-relative validation diagnostics. Validated relevant source and compiled CLI/MCP/environment boundaries, static/build/docs/catalog gates, and a real isolated Gitea 28.2.0 capture through CLI, default stdio MCP and HTTP replay. Current-head automated review passed; unrelated long-running platform jobs may still be pending. Co-authored-by: Edgar Arakelyan <edgar.arakelyan@scale.com> Co-authored-by: Kaoru0822 <208281322+kaoru0822-kitauji@users.noreply.github.com> Co-authored-by: gensokyo-dev <gensokyo-dev@users.noreply.github.com>
1000 B
1000 B
Plan
- Add the
evidence-filesource toanalysisViewSourceSchema(src/domain/analysisView/analysisView.ts). - Add
inspectAnalysisViewWithFiles/inspectAnalysisViewValidatedWithFilestoAnalysisViewService: read withreadJsonFile, authenticate withparseEvidence, then project through the retained path with a lookup that returns the file's Evidence. The synchronous path refuses an unread file source. - Route the CLI command (with
source.pathresolved against the working directory) and the MCP tool through the file-aware entry point. - Add
sibling-pair-variancetoTEMPLATE_RULES, with its merge pass beforesibling-variance, its parameter names and its segment-limit limitation. - Document both in the tool contract,
docs/cli.mdanddocs/web-network-captures.md. - Tests: service (file equals inline; a capture refused inline is accepted from a file; refusals), CLI and MCP boundaries, and the pair rule's merges and non-merges.