Repository navigation
feat(evidence): discover retained records without full payloads - #1682
Merged
Merged
Conversation
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
This was referenced Oct 11, 2026
5 of 16 tasks
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.
Large retained function dossiers can make
get_evidence_bundleitself exceed ordinary MCP framing, leaving analysts without a lightweight way to discover an existing parent before requesting a view. Adddetail: "summary"to that existing tool and a sharedinspect-evidence-bundleCLI workflow for portable files. Complete canonical bundle delivery remains the default.Summary metadata returns every matching Evidence ID, subject/provider identity, analysis-profile digest and recorded native procedure identity. Exact filters select operation, target digest, profile digest, parent ID or procedure address. Complete-record retention is separate from observed native pcode truncation, unavailable analysis and missing/incompatible metadata. Payloads are neither copied nor transferred by the metadata projection. An invalid complete-delivery/filter combination returns a typed correction from the shared application layer. Transport-constraint recovery now points directly to metadata discovery and the following retained view.
{ "name": "get_evidence_bundle", "arguments": { "detail": "summary", "filters": { "operation": "analyze_function", "procedure_address": "0x401136" } } }Use the returned
result.records[].evidence_idwithinspect_analysis_view. Portable CLI input uses the samedetail/filtersalongside an absolute bundlepath; local file validation still materializes the complete file under the existing memory budget. This does not fix oversized snapshot import (#1680), the upstream SDK's catalog preparation cost, or Windows cold-start deadlines.Verification:
npm run check:fast.npm run test:focused -- src/domain/evidenceRecordSummary.test.ts tests/boundary/mcp/analysisViewMcp.test.ts tests/boundary/cli/analysisViewCli.test.ts(16 passed), including ordinary framing recovery, exact metadata selection, the following native page, typed semantic failure, portable CLI/default-complete behavior and partial legacy metadata.npm run test:focused -- tests/boundary/mcp/toolSchemaValidity.test.ts tests/boundary/mcp/outputSchemaSemanticConstraints.test.ts tests/boundary/mcp/toolErrorSchemaDelivery.test.ts(9 passed): full advertised catalog, converted JSON Schemas and pinned SDK error delivery.npm run docs:check.Real Hopper was not verified. Separate Windows main-package verification at
f88c9902passed real procedure/assembly views and exact cross-session snapshot replay with no provider runtime allocation. Its cold overview took 262.1 seconds under a 360-second SDK request; default 60-second and separate 240-second attempts timed out. That tiny-PE control does not verify the new discovery API on Windows or general cold-start recovery. See #1247 for the original/current native result distinction and #1680 for the larger saved-snapshot admission control.Closes #1247. Refs #1065, #1345, #1680.