mirror of
https://github.com/morluto/rea.git
synced 2026-11-05 06:45:22 +00:00
[GH-ISSUE #7695] [Bug] Retained analysis-view guidance omits working view families and selectors #4617
Open
opened 2026-10-31 00:51:23 +00:00 by bsakaguchi
·
1 comment
No Branch/Tag specified
main
codex/procedure-reference-stacked
release-please--branches--main--components--rea-agents
release-please--branches--main--components--rea-agents--release-notes
codex/kuna-independent-retry
codex/byte-search-overlay-coverage
codex/open-failure-target-receipt
codex/kuna-xref-evidence
codex/ghidra-ambiguous-procedure-recovery
codex/function-source-bundle
codex/trace-function-integration-prototype
codex/snapshot-source-closure
codex/recorded-evidence-array-pages
codex/evidence-recovery-redesign
codex/trace-feature-address-scope
codex/call-discovery-scope
codex/ghidra-literal-candidate-evidence
codex/decompile-directory-independent-retry
codex/retry-provenance-base
codex/value-flow-capability-experiment
codex/ghidra-containing-instruction
cursor/readme-discord-button-ef9f
dependabot/github_actions/actions/setup-node-7.1.0
dependabot/github_actions/actions/upload-artifact-7.0.2
dependabot/npm_and_yarn/npm-minor-and-patch-d8d97ce6df
codex/kuna-1989
fix/8559-native-ui-fixture-ownership
fix/8555-go-verifier-mcp-ownership
codex/provider-capability-recovery
fix/8642-rizin-target-stdin
codex/ghidra-memory-effect-scope
codex/ghidra-annotation-entry-selector
codex/ghidra-readonly-recovery
codex/ghidra-regex-verifier-recovery
codex/evidence-discovery-view-guidance
fix/8545-bulk-append-overflow
fix/8428-navigation-refusal-alternatives
codex/address-context-recovery
codex/matching-member-limitations
codex/unknown-scope-contract
codex/evidence-view-guidance
feat/8373-native-trace-views
codex/ghidra-snapshot-verifier-binding
codex/elf-export-visibility
codex/evidence-view-recovery
codex/native-reference-cli-help
codex/provider-candidate-observation-scope
codex/kuna-session-verification
codex/ghidra-switch-lifetime-guidance
codex/pseudocode-paging-discovery
codex/clarify-evidence-view-support
codex/kuna-xrefs-selector-recovery
codex/context-capacity-recovery
codex/evidence-closure-large-links
codex/same-function-evidence-identity
codex/ghidra-verifier-inspected-jdk
codex/audit-guided-workflows
codex/crash-prompt-retained-dossiers
codex/analysis-view-error-recovery
codex/kuna-verifier-target-selection
codex/ghidra-selected-project-call-coverage
codex/docs-native-analysis-scope
codex/ghidra-java-socket-boundary
codex/ghidra-retained-snapshot-verifier
codex/ghidra-search-inventory-facts
fix/8284-zero-argument-parameter-bindings
fix/8198-ui-action-handler-offset
fix/8257-elf-entry-label-identity
fix/8304-deferred-output-schema-projection
fix/8277-call-path-computed-target-uncertainty
fix/pr-8089-conflicts
fix/ci-static-duplicate-export
dependabot/npm_and_yarn/lint-staged-17.6.0
dependabot/github_actions/actions/download-artifact-8.0.2
dependabot/npm_and_yarn/write-file-atomic-8.0.0
dependabot/npm_and_yarn/canonicalize-5.1.0
dependabot/github_actions/actions/cache/restore-6.1.0
dependabot/npm_and_yarn/toon-format/toon-4.4.0
dependabot/github_actions/actions/deploy-pages-5.0.1
codex/review-fixes-pr-2403
codex/review-fixes-pr-2400
codex/process-terminal-width
codex/test-brittleness-cleanup
verify/7167-browser-connect-macos
fix/7167-browser-connect
feat/native-matching-allowance-setting
feat/browser-scenario-dry-run
test/managed-caller-parameters-20261024
codex/parser-fortythird-boundaries
fix/6926-pinvoke-platform-decorations-20261023
fix/6889-har-body-encoding-20261023
fix/6888-sqlite-schema-budget-20261023
fix/dependency-security-gates-6708
cursor/evidence-overwrite-rebase-b4ac
feat/4057-verify-native-exports
fix/windows-acl-observer-overhead-20261022
cursor/erlang-beam-restack-4476
cursor/pe-certificate-review-bf32
fix/6116-javascript-application-fs-errors
fix/6061-unmapped-runtime-script-unknown
feat/browser-scenario-summary
fix/pe-certificates
codex/verify-3407
cursor/rebase-5699
cursor/rebase-5352
cursor/rebase-5600
cursor/fix-cli-schema-omission-10a8
codex/audit-hopper-shutdown-reasons-20261021
fix/demangle-swift-omitted-record
fix/nib-boolean-value-types
cursor/cancellation-partial-observation-a5ac
fix/ib-object-limit-reasons
fix/electron-fuse-limit-advice
fix/kuna-doctor-dangling-cache
fix/fixed-budget-refusal-advice
fix/js-ipc-listener-dedup
fix/js-return-member-provenance
fix/dmg-integrity-retry-advice
fix/ida-doctor-readiness
fix/kuna-version-probe-output-drain
fix/legacy-swift-runtime-name-matching
fix/dylib-lazy-load-commands
fix/browser-scenario-startup-cancel
fix/swift-nested-punycode-classification
fix/compare-unselected-scopes
fix/objc-method-budget-coverage
fix/dmg-mounted-root-observations
audit/ci-tests-20261019-round2
release/6.7.0
fix/wabt-cleanup-retry-resolution
fix/electron-fuse-elf-pe-architecture
fix/native-plist-descriptor-ownership
fix/kuna-caller-cleanup-ownership
experiment/atomic-codemode-20261016
review/first-contributor-3776
fix/call-resolution-full-read-cycles
fix/member-mutation-selection-repeat
experiment/atomic-re-tools-20261015
perf/member-mutation-lazy-origins
perf/static-network-mutation-index
fix/hopper-startup-lifecycle
audit/3050-windows-proof-20261015
feat/windows-window-capture-2183
audit/3049-windows-proof-20261015
audit/3735-macos-fixtures-20261015
fix/batch-decompile-null-pseudocode
fix/kuna-inventory-honors-jobs
experiment/browser-codemode-tool-design-20261015
fix/hopper-clean-runtime-argv
codex/review-2049-27f1b367
review-fixes/pr-2787-routing
fix/3360-scoped-this-emitters
fix/3367-replaced-global-effects
fix/3838-compact-any-value-items
test/hopper-download-probe-20261015
codex/windows-runtime-creation-red-green-20261015
codex/windows-readonly-root-red-green-20261015
codex/windows-root-share-red-green-20261015
codex/exp-1685-win-mcp-startup
codex/bug-sweep-20261015
investigate/2190-windows-package-phases
investigate/3543-macos-cli-deadline
perf/3281-reverse-tools-feedback-quality
fix/3406-hopper-doctor-fixture
fix/3341-wrapper-require-test-context
fix/3301-owned-uninstall-fixtures
fix/3164-compiler-input-ownership
fix/pcap-cleanup-stdout-newline-20261014
perf/interface-builder-summary
codex/review-fixes-pr-1977
fix/ghidra-effective-jvm-platform
fix/docs-turkish-rust-link-20261013
fix/main-maintenance-ci-20261010
fix/recover-binary-session-process-effects
codex/review-fixes-pr-2457
codex/ci-required-cancellation-gate
fix/main-format-baseline-20261013
fix/setup-preserve-entry-fields
cursor/restore-main-checks-1ffc
fix/ghidra-bridge-hashmap-import
codex/shared-ci-jadx-json-default-20261013
codex/shared-ci-ghidra-test-groups-20261013
codex/shared-ci-java-fixture-format-20261013
codex/fix-intrinsic-invocation-boundaries
test/release-preflight-reusable-jobs
test/js-parameter-provenance-expectation
fix/linux-hopper-verification-current
test/2419-ghidra-elf-probe-size
followup/pr-1544-native-ida
codex/fold-pr-2230-contribution
docs/readme-responsible-use
fix/issue-2064
fix/issue-2050
fix/issue-2053
fix/issue-1968
fix/issue-1945
experiment/codemode-bridge-20261011
fix/tool-effects-negative-wording-1904-20261012
fix/1842-electron-interop-provenance
feat/recover-javascript-multi-input
refactor/website-i18n-prep
fix/nativeaot-pe-virtual-extent
fix/browser-verifier-ci-hang
fix/pe-resources-input-selection
docs/beginner-friendly-guides
docs/beginner-setup-guide
fix/javascript-analysis-worker-1563
fix/1649-ghidra-duplicate-names
fix/javascript-export-keys-integration-1369
test/maintenance-boundary-contracts-20261011
review/javascript-export-keys-1369
review/process-live-progress-1483
test/javascript-1495-growth-ratio
fix/ci-escape-timing
docs/normalized-terminal-geometry-1450
release/6.3.0
archive/release-6.3.0-pr1381
release/6.2.0
fix/electron-preload-dynamic-override
fix/javascript-self-referential-bundler-edges
release/6.1.0
cursor/grok-client-cherry-pick-0b56
feat/signature-posture
feat/dyld-shared-cache
feat/artifact-integrity-policy
feat/pkg-inventory
release/6.0.0
chore/sync-release-5.0.0
release/5.0.0
cursor/cloud-agent-node-787e
fix/javascript-xhr-open-endpoints
review/pr-711-realpath-fallback-wording
cleanup/replay-confinement
codex/test-suite-performance
codex/issue-foundations
codex/address-open-issues-2026-07-20
agent/javascript-vite-rollup-esbuild-adapters
agent/process-cleanup
agent/triage-integration
agent/unknown-commands-registry
feat/mcp-identity-metadata
morlvps/issue_cleanup
codex/installer-redesign
morl/roadmap-investigation-core
morl/roadmap-investigation-docs
release-please--branches--main--components--rea
rea-agents-6.8.0
rea-agents-6.7.0
rea-agents-6.6.0
experiment/atomic-codemode-wait-runtime-20261016
rea-agents-6.5.0
rea-agents-6.4.0
rea-agents-6.3.0
rea-agents-6.2.0
rea-agents-6.1.0
rea-agents-6.0.0
rea-agents-5.0.0
rea-agents-4.1.0
rea-agents-4.0.1
rea-agents-4.0.0
rea-agents-3.2.1
rea-agents-3.2.0
rea-agents-3.1.0
rea-agents-3.0.0
rea-agents-2.7.0
rea-agents-2.6.0
rea-agents-2.5.1
rea-agents-2.5.0
rea-agents-2.4.0
rea-agents-2.3.0
rea-agents-2.2.0
rea-agents-2.1.0
rea-agents-2.0.0
rea-agents-1.7.0
rea-agents-1.6.0
rea-agents-1.5.0
rea-agents-1.4.0
rea-agents-1.3.0
rea-agents-1.2.0
rea-agents-1.1.0
rea-agents-1.0.0
rea-agents-0.5.0
rea-agents-0.4.0
rea-agents-0.3.0
rea-0.2.1
rea-0.2.0
Labels
Clear labels
area: bridge
area: bridge
area: build
area: build
area: build
area: cli
area: domain
area: evidence
area: mcp
area: native
area: providers
area: runtime
area: server
area: setup
area: tests
bug
design
documentation
enhancement
enhancement
enhancement
experiment
help wanted
i18n
invalid
P0: critical
P1: high
P2: medium
P2: medium
P2: medium
P3: low
performance
provider-request
pull-request
Mirrored from GitHub Pull Request
question
roadmap
triage
No labels
area: bridge
area: bridge
area: build
area: build
area: build
area: cli
area: domain
area: evidence
area: mcp
area: native
area: providers
area: runtime
area: server
area: setup
area: tests
bug
design
documentation
enhancement
enhancement
enhancement
experiment
help wanted
i18n
invalid
P0: critical
P1: high
P2: medium
P2: medium
P2: medium
P3: low
performance
provider-request
pull-request
question
roadmap
triage
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Dependencies
No dependencies set.
Reference
morluto/rea#4617
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @coygeek on GitHub (Oct 28, 2026).
Original GitHub issue: https://github.com/morluto/rea/issues/7695
Before submitting
Area
MCP or agent integration
Observed behavior
After
initialize,notifications/initialized, andtools/listagainstnode scripts/rea.mjs mcp, I observed that theinspect_analysis_viewdescription names none of these supported view kinds:android-jni,devicetree,function-matches,gpu-code-objects,native-context,native-observation, andsource-to-bundle.The default compact profile advertises the tool's
viewinput as exactly{"type":"object"}. SelectingREA_MCP_INPUT_SCHEMA_PROFILE=fulladvertises 45 distinct view kinds, including those seven, beside exactly the same description. The description directs callers to choose a compatible parent operation described below, then gives extensive family-specific instructions while leaving these families out.Two omitted kinds worked through that same public interface. I called
inspect_gpu_code_objects({path, detail:"summary"})on a small CUBIN fixture, deleted the file, then calledinspect_analysis_viewwith its returnedparent_evidence_idandview:{kind:"gpu-code-objects",collection:"targets",offset:0,limit:5}. It returned one target row. The correspondinginspect_devicetreesummary andview:{kind:"devicetree",collection:"nodes",offset:0,limit:5}returned two node rows after that fixture was deleted. Both retained workflows succeeded with default and full profiles.The same guidance also omits two accepted Android facets (
componentsandcomponent-summary) and four selector names (entry_kinds,storage_validation,query_labels_hex, andquery_index). These are further examples of the description's incomplete guidance, included in this single report. I checked their advertised schemas and source wiring, but did not execute those projections.Reproduction
The discovery mismatch and both retained workflows reproduced in three completed default/full probe pairs, including one execution of this exact script. Every completed server exited 0; each emitted four ordinary successful-tool JSON logs on stderr.
Expected behavior
The view tool should accurately guide callers to the documented retained continuations that its producers advertise. Correct the incomplete family, facet, and selector guidance, or provide accurate general guidance that routes callers to the authoritative descriptions. Preserve the working views and their accepted inputs.
An exhaustive prose inventory is not required. The compact-profile documentation explains reduced schema presentation and retained root-schema guidance; it does not explicitly require the separate MCP tool description to name every kind or selector. The reported discrepancy is the incomplete detailed guidance relative to the supported continuations, not a request to make compact input schemas exhaustive.
Impact and scope
P3 wording and capability-discovery defect. The view tool's own instructions understate the available continuations, particularly when the compact profile removes nested input guidance. Other producer descriptions and guides provide information today, and the full profile exposes the canonical selector structure. The two exercised projections work correctly. No lost Evidence, wrong analysis fact, failed projection, or blocked core workflow was observed.
The five other missing kinds, Android component facets, and four selectors were not runtime-replayed. Actual model tool-selection behavior and the frequency of callers being misled are unknown. Successful static CUBIN inventory does not establish GPU execution, kernel decoding, or runtime compatibility.
REA version
Exact
node scripts/rea.mjs --versionoutput:Source baseline:
65f1c447344a423fa2785847dbcea1e9a9e2454a.Runtime and platform
Node.js v24.22.1; macOS 27.0.1; Darwin arm64. Verification used the assignment's prepared build and dependencies. No dependency installation, analysis engine, GUI, live service, or target execution was required. The tools inspected local synthetic fixture artifacts.
Target and artifact context
A 288-byte synthetic ELF64 little-endian CUDA CUBIN containing a section-name table and one text section, used for inventory only. A 131-byte synthetic FDT v17 blob with one compatible property, a root node, and a child named memory@80000000. The reproduction embeds both fixtures as Base64 and deletes each before reading its retained view. No compiler, GPU, external decoder, or acquisition is needed.
Interface
MCP
Earliest failure stage
Transport or result projection
Relevant output or evidence
Selected output from the exact script above:
The default
unique kinds: 0means the reduced schema contains no kind literals; it does not mean the server accepts no views. An explicit check of the seven strings against the captured default description also found none. The descriptions captured from both profiles were byte-for-byte equal. The raw successful pages identified the original producer operations, returned targetsm_80for the CUBIN, and returned paths/and/memory@80000000for the DTB.The full schema's
inventory/occurrencesbranch includedentry_kinds; itsmodel-artifact/tensorsbranch includedstorage_validation; and itspcap/dns-addressesbranch includedquery_labels_hexandquery_index. The reproduction prints those property lists. Their absence from this description is a schema/prose observation, not a claim that their runtime behavior failed.Supporting source at the baseline:
src/contracts/analysisViewToolContracts.ts:16-22owns the description and binds the shared input/output contracts.src/server/toolRegistrationOptions.ts:18-32copies the description into registration, andsrc/server/registerAnalysisViewTool.ts:23-41registers the named public handler.src/domain/analysisView/analysisView.ts:1604-1642registers the retained projectors for these families.src/domain/analysisView/gpuCodeObjectsView.ts:32-48defines the GPU collection union.src/domain/analysisView/devicetreeView.ts:19-29defines DTB views and the exact node-path requirement for property pages.src/contracts/gpu/gpuToolContracts.ts:20andsrc/contracts/native/binaryDiagnosticsToolContracts.ts:78provide the GPU and DTB producer handoffs.src/contracts/android/androidToolContracts.ts:29,src/contracts/applicationToolContracts.ts:148, andsrc/contracts/sessionToolContracts.ts:113provide the JNI, source-comparison and function-matching handoffs.src/contracts/officialToolContracts.ts:165-215andsrc/contracts/enhancedToolContracts.ts:60describe the native observation/context continuations.docs/mcp-contracts.md:254-266documents native-observation/native-context paging. Lines 468-475 document source-to-bundle retained continuation. Lines 1314-1326 establish compact as the default and full as opt-in. Lines 1361-1386 describe compact input presentation; “root description” there refers to JSON Schema guidance, not an explicit exhaustive-list requirement for the tool description.src/domain/analysisView/artifactInventoryView.ts:50-70and:461-504,src/domain/model/modelArtifactQuery.ts:19-27, andsrc/domain/analysisView/pcapCaptureView.ts:38-51and:224-238define or consume the four selector spellings.src/domain/analysisView/androidPackageView.ts:201-313implements component selection and summary projection. These locators corroborate intended selectors; the additional projections were not executed in this verification.docs/tool-design.md:327-332calls for updating canonical contracts and relevant documentation together. Lines 353-357 caution that schema validity and keyword checks do not establish successful agent tool selection; this report makes no such claim.Typed outcome or recovery expected
Keep both successful retained controls and all other supported view contracts. Make the discovery instructions accurate without disabling views or promising complete source coverage from an exhausted page.
Analysis or suspected cause
Source-derived: the tool stores one long description independently of the canonical view union and family request schemas. That representation permits accepted inputs to grow while the detailed prose remains incomplete. This verification did not establish which individual changes introduced the omissions.
Possible corrections include adding only the missing family paragraphs, reconciling all detailed lists, or using accurate general wording with authoritative family-specific routing. General routing is the preferred approach because it follows the existing incomplete-list fixes and avoids requiring another exhaustive list to stay synchronized. The desired closure includes the facets and selectors above as part of this same guidance correction.
Additional context
Live duplicate searches covered open/closed issues, issue comments, and open/closed/merged PRs using inspect_analysis_view, description, omits, view kinds, gpu-code-objects, devicetree, android-jni, native-context, source-to-bundle, function-matches, and analysisViewToolContracts. No existing report with this closure condition was found.
Open #7646 concerns the separate inspect_desktop_application producer description omitting the omissions collection. Its report explicitly notes that the consumer description already names that collection. Correcting that producer does not supply this report's missing consumer guidance, and correcting this consumer does not repair that producer list.
Closed #5733 concerned opening supported-parent and refusal lists omitting pcap. Its closure comment confirms those lists were replaced with general wording; the present baseline retains the pcap paragraph. This report does not allege that the pcap fix regressed. Closed #6225 concerned independently stored CLI help and likewise accepted general wording. PRs #6246, #6248 and #6351 were superseded rather than fixes for the current missing MCP guidance. #7388/PR #7446 concern a prefix-variance limit; #7612 concerns an Evidence-ID typo in a DTB guide; #1695 concerns selector validation parity. Their restoration checks differ.
Related omissions in the same description (verified separately; they share one closure, a corrected
inspect_analysis_viewdescription or a reliable route to its guidance): the Android guidance names themanifestfacet but notcomponentsorcomponent-summary, whichinspect_android_packageanddocs/android-analysis.mddocument; and the selector guidance does not nameentry_kinds,storage_validation,query_labels_hexorquery_index. In a default-profile stdio session,entry_kindson a retained ZIP inventory selected the file-only and directory-only occurrences, andstorage_validationon a retained safetensors inspection selected only the consistent or only the unknown-dtype tensor; empty arrays selected nothing. The DNS selectors were confirmed in the full schema and source-checked only, and the Android projections were not executed because the JADX/JDK setup was unavailable.Triage assessment
@morluto commented on GitHub (Oct 31, 2026):
Additional native-provider control: on a self-built Mach-O, real Ghidra 12.1.4 and Kuna 1.986 MCP sessions both successfully used
procedure_calleesEvidence andget_call_graphEvidence withinspect_analysis_view/native-context/result-limitations. The primitive response correctly retained null plus a not-applicable explanation; graph responses returned provider-specific recorded limitation rows. Neither test establishes that an autonomous agent would select the workflow.I also inspected
tools/listone6d0618979f0df3f1d5db218b0fc7b5e6a9cf3f9: the compactinspect_analysis_viewschema advertisesviewonly as an object, and its description names neithernative-contextnornative-observation. Theprocedure_calleesandget_call_graphdescriptions name the view kinds, while the full input-schema profile exposes thenative-contextbranch.docs/mcp-contracts.mddocuments the explicit request and facets. This confirms an existing workaround and adds native runtime evidence to this report rather than suggesting a separate wrapper or implying the operations are absent. The target was not executed and its digest was unchanged.