mirror of
https://github.com/morluto/rea.git
synced 2026-11-05 06:45:22 +00:00
[GH-ISSUE #5556] [Bug] Fixed inspection-budget refusals recommend worker and host memory changes #3384
Closed
opened 2026-10-31 00:39:46 +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#3384
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 20, 2026).
Original GitHub issue: https://github.com/morluto/rea/issues/5556
Before submitting
Area
CLI
Observed behavior
Seven fixed-budget refusals across six local inspection commands return
code: "resource_constraint",details.resource: "memory", and correctretryable: false, but recommend changing worker or host memory. Those changes cannot admit the unchanged input above the fixed allowance. The PE resource refusal also omits its exceeded 8 MiB metadata allowance fromdetails.reported_limits, although the message states that bound.An independent verifier executed every refusal twice, then replayed the exact procedure below. All refusals exited 1 with empty stderr and byte-identical repeated stdout within each replay. All six producer controls exited 0 with empty stderr. The defect concerns recovery diagnostics; the intentional refusals and non-retryable flags are correct.
Reproduction
From the source revision below, with locked dependencies and the built CLI already prepared, run this verifier-executed script at the checkout root. It requires Python 3 and the repository's installed
tsxdevelopment dependency. The optionalVERIFY_WORK_ROOTselects an existing scratch directory. It generates local synthetic fixtures and isolates HOME and XDG directories. No target code or external analysis engine executes.Executed fixture and CLI procedure for all seven rows
The exact public CLI calls are
node scripts/rea.mjs COMMAND ARTIFACT --json, with each command and generated artifact listed inCASES. The Go structural fixture declares a fully file-backed 18,000,000-byte table with an unusual entry width. The Go pointer-string length and Rust section size are refused before later payload validation, so these establish budget-guard behavior rather than fully valid large applications. The single-ABI Flutter control succeeds with an invalid ELF-header observation; it establishes inventory behavior rather than valid executable decoding.Expected behavior
Keep the intentional refusals, fixed allowances and
retryable: false. Recovery should identify the applicable parser, metadata, count or snapshot budget and explain that worker limits or available host memory do not raise it. Expose the exceeded PE metadata allowance in machine-readable limits. Selecting another complete input within the allowance can avoid a refusal when it preserves the needed observation; truncating required bytes or dropping required coverage does not recover the original request.This expectation is source-derived from
docs/go-binaries.md:94-108,docs/rust-binaries.md:47-54,docs/binary-diagnostics.md:210-213,docs/flutter-analysis.md:146-150, anddocs/managed-code-analysis.md:138-145, which document fixed allowances and their scope.src/native/AppleDispatchMetadata.ts:199-217fixes the dispatch snapshot allowance;docs/error-contract.schema.json:292-332requires a recovery action for resource constraints. The existing Go input-admission response provides a working example of input-specific recovery. No above-budget successful inspection is promised.Impact and scope
P3. The refusals and their non-retryable flags remain correct. The observed problem is misleading recovery wording and incomplete PE structured limits; no consequential behavior caused by the advice was observed. Callers can use the fixed allowance in the message or reported limits and disregard worker-memory advice. Smaller controls do not establish recovery of complete inspection of the original above-budget inputs.
The observations cover deterministic static CLI refusals for the seven rows below. Live MCP, an installed package, real large applications, and other platforms were not replayed. No automated retry loop, incorrect successful analysis, security-boundary violation, or data loss was established. Real-world frequency is unknown.
REA version
6.7.0, prepared built source CLI at commit
074768901f3cdc8205b61773fb1faf6f6c7b3ca8with locked dependencies.Runtime and platform
Node.js v26.12.0; Darwin arm64. Static built-in inspection with isolated HOME and XDG directories; no external analysis engine.
Target and artifact context
Synthetic Go ELF pointer build-info and structural-table fixtures; an ELF Rust dependency-section fixture; a PE resource fixture with 6,000 long named entries and empty payloads; a sparse PE above the managed snapshot allowance; a ZIP/APK inventory with 33 ABI library paths; and a sparse thin arm64 Mach-O above the dispatch snapshot allowance. The procedure includes smaller controls for all six producers and a separate Go selected-input-size control.
Interface
CLI
Earliest failure stage
Transport or result projection
Relevant output or evidence
Every affected response supplied this recovery action:
All seven returned
resource_constraint,details.resource: "memory",retryable: false, exit 1, and empty stderr:details.reported_limitsinspect-go-binary: declared pointer-string length above 1 MiBboundary: "build-info",maximum_bytes: 1048576inspect-go-binary: declared structural table above 16 MiBboundary: "structure",maximum_bytes: 16777216inspect-rust-binary: dependency section above 1 MiB compressedmaximum_bytes: 1048576inspect-pe-resources: metadata accounting above 8 MiBmax_entries: 16384,max_file_bytes: 67108864; exceeded metadata bound absentinspect-managed-artifact: input snapshot above 128 MiBmax_snapshot_bytes: 134217728identify-flutter-build: inventory with 33 ABIsmax_flutter_abis: 32,max_library_path_bytes: 1024inspect-native-dispatch-metadata: input snapshot above 64 MiBinput_bytes: 67108864The PE message explicitly identifies the exceeded 8 MiB complete-result allocation budget; its structured limits identify two different allowances. The successful controls cover ordinary Go and Rust fixture reports, the default PE resource fixture, a small PE classified as not managed, a single-ABI APK, and a 16 MiB Mach-O.
The separate Go size-admission control correctly returns
details.resource: "file-size",maximum_input_bytes: 268435456, and advice to select a stable input within the fixed allowance without truncating required bytes. This distinguishes applicable input recovery from the memory fallback above.Typed outcome or recovery expected
Preserve
resource_constraint,retryable: false, the enforced numeric allowances, and successful below-budget controls. Each action should explain its fixed budget without implying that worker-memory limits, inherited limits or additional host memory can admit the unchanged input. Include the PE 8 MiB metadata allowance inreported_limits. Preserve genuine operating-system memory diagnostics. These are proposed restoration checks; no correction or restoration was tested.Analysis or suspected cause
Source-derived reasoning at the tested revision: the fixed-bound failures come from
src/go/GoBinaryImage.ts:315-335,src/go/GoBinaryContainer.ts:113-120,src/go/GoBinaryProvider.ts:59-66,src/rust/RustAuditableReader.ts:88-95,src/rust/RustBinaryProvider.ts:182-190,src/native/pe/PeResourceParser.ts:22,54-58,src/native/pe/PeResourcesProvider.ts:118-145,src/dotnet/ManagedSnapshot.ts:27,36-61,src/flutter/FlutterBuildProvider.ts:288-300, andsrc/native/AppleDispatchMetadata.ts:210-217. They reachsrc/domain/analysisErrorPresentation.ts:67-78without refusal-specific recovery.src/domain/analysisErrorProjection.ts:109-117already returns correct false retryability for these memory cases.The error type supports refusal-specific recovery and retryability overrides. The reproduction does not establish a need for a new resource enum, a global capacity retry change, or a universal architectural cause.
Submission fetched upstream main at
d2a3269d0c1007e16a2f84d44cc0b1503debb2ae. The seven budget guards and memory fallback remain unchanged. Intervening commite50a271c72325880b5ff944973b0b42d81b4b158changes input-validation and timeout recovery; the Go container change adds optional metadata fields. Current-main applicability was source-checked, not runtime-reproduced there.Additional context
Prepared with AI assistance and independently reproduced through the supported built CLI. Related producer-specific sibling reports already filed by this account:
None covers a row in this report. The compressed Rust section is distinct from its input-admission, compiler-hash and complete-report guards. #3538 and PR #3550 cover JavaScript parent-result capacity after static checkpoints. Closed #4192 and merged PR #4290 concern PE input-byte classification; they do not reproduce this metadata-accounting refusal or restore its missing structured allowance. Closed #4622 concerns Go selected-input admission, which now supplies the successful diagnostic control.
NOT_ENOUGH_INFO: no last-known-good version or first-bad revision was established.
@matbrgz commented on GitHub (Oct 20, 2026):
Cross-referencing with canonical issue #5504 (
[Bug] Rust compiler-hash capacity refusals incorrectly tell callers to retry) and siblings #5456, #5459, #5460, #5505, #5506, #5537. Both report misleading worker and host memory recovery guidance for fixed reader/inspection bounds. Cataloged under Cluster AJ in consolidation tracker #4330.