Files
rea/docs/getting-started
morluto 95190b1ebc fix(snapshot): replay every one-shot Ghidra read and say when a live result cannot replay (#14249)
* fix(snapshot): replay every one-shot Ghidra read and say when a live result cannot replay

One-shot CLI --snapshot replayed only Ghidra decompile: the documentless
exception was limited to procedure_pseudo_code, and DirectAnalysis passed
the one-shot context only for that operation. Every read-only Ghidra
query of the call's own Program now records its replay entry, keyed as
before by target identity, provider profile, operation and parameters.

Providers that declare their results live (Hopper, IDA, Kuna) still run
every call. With --snapshot, their result now carries a limitation that
says it was saved but cannot replay, and why.

Fixes #14182

* fix(snapshot): disclose unsaved function, workflow and skipped replay entries

The not-saved notice covered only direct observations, and only by
policy. rea function and composed workflows now report it too, and the
notice also follows what recording will actually keep: a result with
reference truncation or classifications, a full cache without this
query, or a session whose metadata write invalidated its snapshot. The
cache answers that question from the same predicate its record uses.

* fix(snapshot): word composed-command notices for recomposition and unwritten snapshots

decompile-all and trace-native-ui-action never write the snapshot, so
their notice now says nothing was recorded. Other composed commands say
the answer is composed again on repeat, starting the provider only for
source reads the snapshot lacks. The snapshot write and the notice share
one set of unwritten commands.
2026-11-23 23:07:38 -05:00
..