mirror of
https://github.com/morluto/rea.git
synced 2026-11-05 07:47:29 +00:00
Open
opened 2026-11-01 21:13:01 +00:00 by bsakaguchi
·
0 comments
No Branch/Tag specified
main
release-please--branches--main--components--rea-agents
release-please--branches--main--components--rea-agents--release-notes
codex/procedure-reference-stacked
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#6661
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 @morluto on GitHub (Nov 1, 2026).
Original GitHub issue: https://github.com/morluto/rea/issues/8593
Before submitting
Area
Evidence, artifacts, or reconstruction
Observed behavior
With real Ghidra,
inspect_native_instructioncan complete with a typed incoming-reference collection larger than the default MCP response budget. REA returns a retained Evidence ID, butinspect_analysis_viewrejects that parent, so the typed rows cannot be paged through MCP.xrefsreturns the addresses on this fixture, without their reference kinds.Reproduction
audit_targetfunction and 24,000 initialized function-pointer slots to it (a stress fixture, not a prevalence claim). Open it with Ghidra 12.1.4 and callinspect_native_instructionat0x1000003c0through compact stdio MCP on #8591 head6c7592d1f.resource_constraintfor the 10 MiB response budget and retained IDev_c364358aa1b3734ab638d329ac975c39a5486c939947669ee2e93343f3a62761.inspect_analysis_viewwith that ID andsummaryreturnsunsupported_target: this parent operation does not support analysis views.export_evidence_bundlesucceeds. The saved instruction Evidence contains 24,001 incoming rows, all GhidraDATAreferences. The same target'sxrefsreturns 24,001 untyped addresses in a 727,419-byte SDK-serialized response.A 3,000-slot control returned 3,001 typed instruction references successfully, with a 1,737,893-byte SDK-serialized response. Both binaries remained unchanged and were not executed.
Expected behavior
Provide a bounded, discoverable way to select retained instruction reference observations and their kind/provenance without repeating analysis. Preserve the instruction's own status, exact source and target identities, reference ordering, source limitations, and the difference between recorded-row coverage and complete discovery. Consider both code and data addresses; a function-only workaround cannot be assumed to apply to every selected address.
Impact and scope
An agent using the documented typed alternative to
xrefscan receive an overflow error without an MCP page continuation for the completed typed observation. Exporting the complete Evidence bundle is a working file-based recovery. The 24,000-row case is an intentionally large fixture; no frequency, token-cost, autonomous-agent behavior, other schema profile or provider completeness claim is made.REA version
#8591
6c7592d1fbfc796159ba9be1441e9b6a00b29b08, based on maind3ab0faf52a02ff5a618f3ed7beb608b78752abd.Runtime and platform
Node 24.22.1, macOS arm64, Ghidra 12.1.4, JDK 21, compact stdio MCP.
Target and artifact context
Source-built Mach-O arm64, SHA-256
3e15b3d7c8ff848d4399d2f9ab27f09269efca437a72706be8070968cb410016; unchanged and not executed.Interface
MCP
Earliest failure stage
MCP response delivery and retained Evidence recovery.
Relevant output or evidence
The output reported
resource_constraint, retained Evidence ID andboundary: mcp-response; the attempted summary view reportedunsupported_target. The bundle contained all 24,001 typed incoming rows.A separate real Ghidra control on draft #8588
0fabb2f7busedprocedure_referenceswithdetail: summaryand its paged view. It returned 24,001 incoming rows in 25 page calls; all 24,001(source, target, type)triples matched the exported instruction observation on this fixture. That is a useful function-specific alternative, not a guarantee of identical semantics for other targets or a shipped main-branch view. On #8591, completeprocedure_referencesitself also exceeded the response budget.Typed outcome or recovery expected
Design a bounded instruction-observation view or another shared selection contract; compare it with #8587/#8588 before adding a new tool. Exercise full and compact output schemas, non-function data addresses, empty and unavailable collections, duplicate rows, byte limits, retained/offline handoff, and unchanged parent Evidence.
Analysis or suspected cause
Source inspection shows the Ghidra bridge constructs an instruction's
incoming_referencesarray, while the current analysis-view owner registry does not recognizeinspect_native_instructionparents. This is distinct from #8587's procedure-wide reference pages and #8510's missing Kuna pointer rows.Additional context
cc @gensokyo-dev @kaoru0822-kitauji @N0zoM1z0
Draft bounded view
Draft #8594 adds an instruction-reference view and an overflow continuation. Real full and compact Ghidra stdio MCP controls reconstructed all 24,001 typed incoming rows and original indices from the retained parent; an exact data-address control also matched its complete incoming references. An offline CLI request read the final row from the exported bundle. The fixture remained unchanged and unexecuted. Separate synthetic controls distinguish absent, null and empty incoming collections and check oversized-row recovery. This draft does not establish real Hopper, other-host or autonomous-agent behavior; full source generation precedes page delivery.
One-shot CLI discovery and provenance
On #8594
c5978bb26, the stockrea inspect-native-instruction <target> <address> --detail summary --evidence_output <new-file> --jsonrejected--detailas an unknown flag and wrote no file. A separate default CLI control on a selected Ghidra project with a historical analysis report returned an instruction Evidence record linked to that history Evidence, but no linked source record in its one-shot output. A large complete JSON result can be redirected to a file and paged offline with #8594, but that does not itself save the linked source closure.Consider reusing the shared CLI Evidence delivery contract for a compact instruction summary and explicit complete bundle, retaining the exact linked source closure before the session closes. The summary should still answer the instruction question (status and decoded identity/flow), rather than only displaying its reference list. Related: #8590 (default one-shot source availability) and #8589 (final-close cancellation after capture). The observed unknown flag is not a violation of the current CLI contract; this is a design opportunity.
Unmerged CLI summary experiment
In an isolated temporary integration of #8594
c5978bb26and #85852a0415cd5(one view-registry conflict resolved for the experiment), an unmerged CLI prototype reused the existing Evidence-output and source-closure owners and added an instruction summary. On the unexecuted 48,000-slot Ghidra fixture,--detail summary --evidence_output <new-file>returned 4,610 bytes of JSON with the decoded mnemonic, bytes, flow and 48,001 incoming-reference count; the local bundle held the complete instruction record. The offline instruction-reference view read its final row. This is one output-size observation, not a token, time, CPU or memory benchmark.On a separate caller-owned existing Ghidra project with analysis-history Evidence, the prototype bundle contained both the instruction and its exact linked history source. A missing output path was rejected before opening a nonexistent target, and an existing output bundle remained byte-identical after refusal. Target hashes were unchanged; targets were not executed. Real full/compact MCP controls also validated the summary for decoded code and data against the fetched output schemas.
This experiment is not included in either PR or a proposed final contract. It has not established late-cancellation/cleanup source handoff (#8589), oversized-summary recovery, full provider/platform coverage, or a resolution of the overlapping source-closure changes in #8297/#8585. A follow-up prototype preserves structured operands, optional decoder context, and flow (including direct destinations and classification evidence) in the summary; reference collections remain in the complete parent and paged views. On the same 48,000-slot fixture the summary JSON was 5,104 bytes and preserved the
sub sp, sp, #0x10register and immediate observations; the complete bundle retained all 48,001 incoming references. A separate direct-call control preserved Ghidra’s0x100000410address operand and direct destination in both full and compact MCP schemas, and a data-address and target-free bundle handoff also passed. The target bytes were unchanged. Five focused MCP tests andcheck:fastpassed in the temporary integration. The earlier 4,610-byte observation describes the superseded counts-only summary; these byte counts are not a token or performance benchmark.Source handoff after publication refusal
A real Ghidra control of the unmerged CLI prototype selected the existing project and requested a summary bundle at a pre-existing test-owned sentinel file. The command exited 1 with
invalid_requestand correctly left the sentinel unchanged. Its completed partial instruction (ev_a1a56314a70a2e5dac960218f8fc94616aba3017c17c7c0c55ed57cec9b309d7) linked the historicalhealthrecord (ev_bd8f42f000d2c1f6f9e24e412d5303b694a5dc2b286d3193b73e000e8ebb60a8), but the error contained no linked source record or publication receipt. The suggested retry at another path requires a new one-shot analysis; it cannot guarantee the same project or source. No cleanup fault or cancellation was injected in this control.The shared publisher receives the captured sources but projects publication failure with only the primary partial observation. This is a source-derived explanation for the prototype; it does not establish all CLI commands or #8297 have the same behavior. Consider failure delivery together with #8589 before treating successful source-closure export as complete recovery.