mirror of
https://github.com/morluto/rea.git
synced 2026-11-05 06:45:22 +00:00
[GH-ISSUE #8167] [Feature] Recover individual Kuna decompiles that fail in a completed project export #4693
Open
opened 2026-10-31 00:52:32 +00:00 by bsakaguchi
·
10 comments
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#4693
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 (Oct 30, 2026).
Original GitHub issue: https://github.com/morluto/rea/issues/8167
Independent-attempt timeout and concurrency controls
On the same uncommitted independent-retry prototype, a test-only wrapper ran an inspectable stalled Node process in place of the standalone decompiler, with
REA_KUNA_TIMEOUT_MS=500. In both MCP profiles the explicit attempt returnedprovider_timeout; the original completed-project observation remained null, and after removing the stall a later explicit fresh Kuna attempt returned pseudocode. Both the original and later successful Evidence records were retained. The timeout error itself was not shown to become an Evidence record. The target SHA-2560e0ecf82c96e4918ee2ca1287dc25513d8fd13d5ab7fa5b98db00ad342f03930remained unchanged and the target was not run.A separate compact-profile control issued two concurrent fresh requests for the same function. The test wrapper recorded two standalone decompile launches; both succeeded and produced the same content-addressed Evidence ID. This is the prototype's current behavior, not a chosen concurrency contract: coalescing, explicit run receipts, admission bounds and cancellation of one versus both callers still require design and verification. Neither test establishes real Kuna timeout behavior or cross-platform cleanup.
Prototype discovery and CLI controls
The isolated prototype was extended to project its provider declaration through grouped
binary_sessioncapabilities and to expose the selection on the existingrea decompilecommand. With real Kuna 1.989 and Ghidra 12.1.4 in both MCP schema profiles, summary and complete status reported the declaration for Kuna's pseudocode operation and omitted it for Ghidra; the explicit request succeeded with Kuna and was refused with Ghidra. The SDK-advertised input and output schemas validated and successful status/results matched them. On the warm mixed-failure cache, real CLIdecompile --analysis independent_freshreturned the standalone body and its context limitation; the ordinary CLI command returned the project's null body and worker-failure limitation.The first discovery version put guidance only in the input field description. The compact schema omitted that description, so the tool description did not explain the choice there. After adding the guidance to the tool description, the actual compact and full catalogs exposed it. This is a concrete discoverability requirement, not an agent-selection experiment. The scratch implementation remains uncommitted: naming, the absent-versus-unsupported declaration, per-invocation freshness receipt, linking original failure Evidence, concurrent ownership, CLI snapshot and batch semantics, and interaction with #8786's grouped capability change remain unresolved. It is not ready for integration.
Snapshot and concurrent-cancellation prototype controls
With the uncommitted prototype and real Kuna 1.989 on macOS arm64, two separate CLI
decompile --analysis independent_fresh --snapshot <same path>invocations both launched a standalone decompile, as counted by a test-only wrapper. Their identical outputs had the same Evidence ID; the request parameter and single-function source remained in each result. This validates the tested Kuna live-cache route with one saved snapshot; it does not establish that every future provider's pre-open snapshot replay path honors this selection.A separate compact MCP control launched two independent requests using test-owned Node wrappers that waited before delegating the surviving request to real Kuna. Cancelling one request did not cancel the other; after releasing the survivor it returned pseudocode,
close_binarysucceeded, and both wrapper PIDs were stopped. This deliberately controlled process test covers one interleaving; slot saturation, simultaneous cancellation, unproven-stop retry and other hosts remain unverified. The prototype is still uncommitted and the contract/receipt and Evidence-link questions above remain open.Repeatable MCP-boundary prototype regressions
The uncommitted prototype now has three focused SDK/MCP tests using a synthetic Kuna fixture: compact and full profiles retain the original failed project observation alongside a new standalone result, report the provider declaration, and verify that two fresh requests launch two subprocesses; a controlled unproven-stop test retains the sole run slot, prevents a queued fresh request from launching, keeps close unsuccessful until the owner resolves, and succeeds on a fresh request after reopening. All three focused tests and
check:ci:fastpassed. This is production session and SDK plumbing with simulated provider/cleanup behavior, not proof of real Kuna unproven-stop behavior. The prototype remains uncommitted and its previously listed contract and replay gaps remain open.@morluto commented on GitHub (Oct 30, 2026):
A controlled Kuna 1.986 follow-up exercised warm-cache recovery across fresh MCP servers. A caller-owned test wrapper conditionally injected the upstream test-only worker stall at
0x100000410with a one-second watchdog fordecompile-project; it logged command invocations. This wrapper and its marker file are test instrumentation, not a normal release configuration or evidence of natural timeout frequency.procedure_pseudo_codereturned null with the worker-stall limitation.functionsordecompile-projectinvocation. REA again returned null with the retained stall limitation: the verified partial export was reused even though the injected failure was no longer active._adjustpseudocode. Direct unwrapped Kuna 1.986 single-function decompilation also returned that body. The clean cache and partial cache manifests had the same export key in separate directories. Both represent this controlled fixture; no elapsed-time or correctness ranking is claimed.The target digest was unchanged. An initial attempted injection using a custom environment variable did not take effect in the provider child; it produced a successful export and is excluded from the reproduction. The marker-driven second harness above demonstrated the actual stall and per-run invocation sequence. This confirms that a completed partial export can persist across server restarts and that a manually selected fresh cache can recover the function, without implying that an agent should delete caches or that a different cache provides an equivalent whole-program interpretation automatically.
@morluto commented on GitHub (Oct 30, 2026):
A further real MCP check exercised
decompile_allrecovery using the two isolated 1.986 cache contexts from the controlled reproduction above. I selected only the affected address and used a new owned output directory:decompile_allreported oneno_pseudocodefailure. The index and journal retained the provider's worker-stall limitation, and the top-level Evidence also included it.resume: trueretried the recorded failed function and reported the same failure; the journal appended another failed record.This shows that REA's export resume can recover a failed function once its provider supplies a result; retrying the same cached partial provider project does not itself produce one. The test selected one function only, so it does not establish handling of unrelated existing files or broader concurrency. The changed cache location was deliberate test configuration, not a recommendation to delete or mutate an existing cache. The source binary SHA-256 stayed unchanged. The stall was injected test instrumentation; no natural timeout frequency is claimed.
@morluto commented on GitHub (Oct 30, 2026):
A related mixed-batch follow-up using the same deliberately injected 1.986 partial cache exposed a separate result-projection problem: the failed function's item was
unreadable_outputwith doctor advice andprovider returned empty pseudocode, while the watchdog failure remained only in the batch-wide limitations. A batch-only exported Evidence bundle contained the batch record and no per-function records or links; a separateprocedure_pseudo_codecall associated the watchdog limitation with the selected function. The successful function and invalid selector remained distinguishable and counts were correct. This does not establish a natural stall or automatic recovery.Filed #8226 for retaining per-item provider-failure association; this issue remains about retrying the failed cached provider result. The target SHA-256 stayed unchanged.
@morluto commented on GitHub (Oct 31, 2026):
A real two-function MCP resume control checks the earlier one-function result without losing an already successful output. Using the same intentionally stalled 1.986 partial export and independently completed clean cache:
_adjustand_evaluate: one failed and one was written._adjust, left_evaluateskipped with the same output-file SHA-256, and failed again._adjust, wrote it successfully, and again left_evaluate's file digest unchanged. The journal retained both failures and the success; the final index recorded both written files.Separate
procedure_pseudo_codecalls for the successful_evaluatereturned identical text in both cache contexts, but their source project-export file digests differed. No general equivalence claim follows. The executable was unchanged and not executed; this uses a deliberately injected test stall, not a measured natural failure.The directory index and separately exported composed workflow Evidence do not retain the exact per-file project-export source in this control; #8260 tracks that separate provenance question. This does not change the fact that the journal retained output digests, per-function limitations and attempt history.
@morluto commented on GitHub (Oct 31, 2026):
Looping in @gensokyo-dev @kaoru0822-kitauji @N0zoM1z0 for visibility on the Ghidra, Kuna, and REA tool-design investigation.
@morluto commented on GitHub (Oct 31, 2026):
CLI mixed-result and resume control
I repeated the two-function recovery through the public
rea decompile-allCLI on REAb43c329df779708e43ae297f498a844e45d9c923and Kuna 1.986, using the previously prepared isolated partial and clean caches. The partial cache was produced with the same deliberately injected one-second worker stall described above; this does not establish a naturally occurring timeout.With a new output directory and the two entry addresses selected, the initial CLI call exited 0 with
written: 1,failed: 1; the index associated the failed entry with the worker-stall limitation and the complete CLI Evidence also included that limitation. Resuming against the same partial cache exited 0 withskipped: 1,failed: 1; the existing successful file's SHA-256 was unchanged. Resuming with the separately prepared clean cache exited 0 withskipped: 1,written: 1,failed: 0; the earlier successful file's digest was still unchanged. The append-only journal contained both failure attempts and the later success.This confirms the documented partial-result/resume behavior through the CLI as well as MCP. A zero exit reflects a completed export operation, so a caller must inspect the manifest counts; it does not mean every selected function was decompiled. The clean cache was deliberate test setup, not a general instruction to delete existing cache state or a claim that independently produced exports are equivalent. The target remained unchanged and was not executed. Exact per-file producer provenance across these cache contexts remains #8260.
@morluto commented on GitHub (Oct 31, 2026):
Snapshot and comparison after explicit clean-cache selection
On REA
a989c0ewith Kuna 1.986, I copied the previously documented deliberately stalled and clean cache trees into separate disposable directories. Using the same caller-owned launcher and target, the partial-cache session returned null pseudocode for_adjust, with the injected 1-second watchdog reason. Its complete function dossier had pseudocode unavailable and retained that reason.close_binary(snapshot_path)saved two Evidence records and no primitive/workflow cache entries.A fresh server explicitly configured with the clean cache reopened that snapshot. The historical dossier's pseudocode view still reported the original failure, while a new pseudocode request and dossier returned the real body. The same export key referred to different source export file digests; this check does not mean every partial export can be recovered by changing cache directories or that REA automatically retries it. Target and saved snapshot hashes remained unchanged; the target was not executed.
Comparing the retained failed dossier to the new successful dossier yielded pseudocode
unknownwith the watchdog reason, not an inferred code change. The exact assembly text dimension waschangedbecause the clean export added two; arg/; stackmetadata lines; the eight instruction rows were identical in this fixture. In a fresh target-free server,find_changed_behavioron the retained comparison returned one assembly static candidate, zero observed changes and overall behaviorunknown, retaining its warning that text/layout differences do not establish behavioral change. This is a useful limit on interpreting the candidate, not a claim that the comparison made a behavioral verdict. It also shows why a future retry should preserve both historical and replacement Evidence rather than silently rewriting the failed record.@morluto commented on GitHub (Oct 31, 2026):
A current-main batch recovery observation after #8323: on REA
2d5dec26c31662764c9adfe3ff996174901b8d49/ real Kuna 1.986, the previously prepared test-only stalled export now associates the watchdog caveat with the failed batch item. The item has structuredcode: capability_unavailable,category: unsupported_provider,retryable: false, andreason: provider returned null pseudocode;binary_sessionreportsprocedure_pseudo_codeavailable. In a separate server with the explicitly selected clean cache, the same provider and target returned that function's body. The original failed record remains intact offline.This does not mean the operation is globally unsupported: the capability report describes the operation, while the batch error describes this item. It raises an agent-UX question for recovery: can a caller distinguish an item with a provider-reported processing failure from an entry that has no analyzable body without interpreting provider prose? The current source observation is null plus caveats, so a repair must preserve the provider's actual facts and avoid inventing a typed timeout by parsing text. The clean-cache control is explicit test setup, not a recommendation to clear or silently replace a cache. The stall was injected and no target executed.
@morluto commented on GitHub (Nov 3, 2026):
Combined-control follow-up on the draft independent retry (#8793) and directory-source facts (#8805): I applied both branches in a disposable checkout and exercised real Kuna 1.989 through compact and full MCP profiles on macOS arm64. The two branches applied cleanly except for a test-only conflict where both append snapshot regressions; I retained both. Focused combined tests: 35 passed, 2 skipped.
With a test-only injected worker panic in a two-function project export, the original pseudocode was null. An explicit
independent_freshrequest returned text and both observations remained in the Evidence bundle; a later ordinary pseudocode request still returned the project's null. Callingdecompile_allagainst that same partial project wrote the other function and recorded this one as failed, including the partial project's source digest. After opening a fresh server against a separately built clean cache, resume retained the first output and its original source, then wrote the failed function with the clean project's different source digest. The earlier failed source remained in the journal. The target and retained file digests were unchanged; no target was executed.This confirms an intentional current limitation of the drafts: a successful independent observation is not automatically substituted into
decompile_all, so a caller cannot use that observation to complete the same partial-cache export through the existing directory workflow. Whether a directory export should accept explicit per-function sources or a retry policy is a separate design question; any solution must preserve provenance and avoid silently treating standalone and project contexts as equivalent. The injected failure does not establish natural frequency.@morluto commented on GitHub (Nov 3, 2026):
A real Kuna 1.989 import-slot control narrows how a future directory retry policy should choose work. On macOS arm64, I compiled an owned Mach-O that calls
puts(the target was not run). Kuna's inventory listed both the code stub at0x1000004acand the loader-written slot at0x100004000underputs.Through the combined #8793/#8805 MCP prototype after project export,
procedure_pseudo_code(0x100004000)returned null with the provider limitation that this inventory entry has no body. An explicit independent attempt for that slot returnedexecution_failure; direct Kuna also refused the selector, explaining that the import slot holds a loader-written pointer rather than a function body. By contrast, both ordinary and independent pseudocode requests for the code stub returned text. The target hash remained unchanged.This is a distinct observed reason for null from the injected worker-failure case: an automatic retry of every null would also launch an unnecessary, failing standalone decompile for a no-body entry. A possible opt-in directory recovery therefore needs a provider-owned distinction between an actual failed function and an entry with no body, rather than matching prose or treating all nulls as retryable. The prototype does not yet provide such a typed distinction. One fixture, one Kuna version and one host were tested; this does not establish a natural failure rate.
Correction after inspecting the project reader: absence of a block proves only that the entry is not in the export. It does not prove every omitted inventory entry has no body. The direct Kuna refusal independently identifies this specific import slot as bodyless; a general typed result should preserve
not-in-exportas unknown rather than label all omissionsno-body.