fix(native): page every retained function dossier collection (#1507)

inspect_analysis_view is the recovery path when an analyze_function
dossier exceeds the MCP response budget, but its native facets covered
only procedure, pseudocode, assembly, callers/callees, references, and
value flow. Basic blocks, comments, unresolved calls, referenced strings
and names, and the native API record could not be read from retained
Evidence at all; basic blocks grow with the function just like assembly.

These are now facets: collections page by rows, and native_api is a
singleton. A dossier without an unresolved_calls record reports "not
recorded" rather than the value-flow failure reason.

Refs #1247 and #1065.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Kaoru0822
2026-10-10 01:31:15 -07:00
committed by GitHub
co-authored by Claude Opus 5.5
parent f63f12d8ff
commit 911323c5dd
6 changed files with 95 additions and 9 deletions
+6
View File
@@ -82,10 +82,16 @@ const nativeViewSchema = z.strictObject({
"procedure",
"pseudocode",
"assembly",
"basic_blocks",
"comments",
"callers",
"callees",
"incoming_references",
"outgoing_references",
"unresolved_calls",
"referenced_strings",
"referenced_names",
"native_api",
"value_flow_summary",
"value_flow_operations",
"value_flow_def_use",