refactor(domain): remove provider-specific target and snapshot state
Move Hopper loader derivation and compatibility projection into the Hopper adapter so BinaryTarget carries only provider-neutral identity and format metadata. Introduce bounded canonical analysis-profile commitments, exact provider/profile snapshot v2 bindings, legacy snapshot rejection guidance, and backward-compatible profiled Evidence v2 records. Partition cache and replay behavior by target, concrete provider build, and profile while preserving custom Hopper loader overrides. Propagate profiles consistently through CLI, MCP, composed workflows, and session lifecycle; preserve the 78-tool contract and legacy loaderArgs response projection. Add migration documentation, generated API updates, property regressions, package verification, and real Hopper coverage.
This commit is contained in:
@@ -4,12 +4,12 @@ Status: Ghidra is approved as the direction for REA's next full read-only
|
||||
analysis provider. This note does not claim that Ghidra support is implemented
|
||||
or shipped.
|
||||
|
||||
Implementation remains gated on explicit target-to-provider binding, a generic
|
||||
analysis-profile commitment for evidence and snapshots, bounded provider
|
||||
ownership, and a multi-fixture conformance suite. A provider is not a drop-in
|
||||
replacement for Hopper: every capability must be mapped explicitly, with
|
||||
truthful `unavailable` or degraded results where the engine cannot provide
|
||||
equivalent semantics.
|
||||
The provider-neutral target, analysis-profile commitment, Evidence provenance,
|
||||
and snapshot v2 foundation are implemented. Ghidra runtime work remains gated
|
||||
on explicit target-to-provider binding, bounded provider ownership, and a
|
||||
multi-fixture conformance suite. A provider is not a drop-in replacement for
|
||||
Hopper: every capability must be mapped explicitly, with truthful `unavailable`
|
||||
or degraded results where the engine cannot provide equivalent semantics.
|
||||
|
||||
[ADR-0001](adr/0001-provider-selection-and-analysis-profiles.md) fixes the
|
||||
provider registry, deterministic selection, target binding, analysis profile,
|
||||
@@ -46,8 +46,8 @@ follow.
|
||||
|
||||
## Recommended order
|
||||
|
||||
1. Add explicit provider selection, target binding, and analysis-profile-aware
|
||||
snapshot identity without changing existing Hopper behavior.
|
||||
1. Add explicit provider selection and target binding on top of the
|
||||
analysis-profile-aware snapshot identity without changing Hopper behavior.
|
||||
2. Implement the bounded read-only Ghidra provider described above and admit
|
||||
capabilities individually through the shared conformance corpus.
|
||||
3. Connect Electron/native-add-on application findings to the selected native
|
||||
|
||||
Reference in New Issue
Block a user