mirror of
https://github.com/morluto/rea.git
synced 2026-10-12 02:19:24 +00:00
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:
@@ -16,9 +16,8 @@
|
||||
<li class="">
|
||||
<div class="tsd-signature tsd-anchor-link" id="parseexecutableheader"><span class="tsd-kind-call-signature">parseExecutableHeader</span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">bytes</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Buffer</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">hostArchitecture</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Architecture</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="../types/domain_result.Result.html" class="tsd-signature-type tsd-kind-type-alias">Result</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ExecutableMetadata</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span><a href="#parseexecutableheader" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
||||
<div class="tsd-description">
|
||||
<div class="tsd-comment tsd-typography"><p>Parse supported executable headers without I/O and derive explicit Hopper
|
||||
loader arguments. The caller must supply the host architecture used for FAT
|
||||
Mach-O slice selection.</p>
|
||||
<div class="tsd-comment tsd-typography"><p>Parse supported executable headers without I/O. The caller supplies the host
|
||||
architecture used for deterministic FAT Mach-O slice selection.</p>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
@@ -27,7 +26,7 @@ Mach-O slice selection.</p>
|
||||
<li><span><span class="tsd-kind-parameter">hostArchitecture</span>: <span class="tsd-signature-type">Architecture</span></span></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <a href="../types/domain_result.Result.html" class="tsd-signature-type tsd-kind-type-alias">Result</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ExecutableMetadata</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/morluto/rea/blob/main/src/domain/binaryTarget.ts#L310">src/domain/binaryTarget.ts:310</a></li></ul></aside></div></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/morluto/rea/blob/main/src/domain/binaryTarget.ts#L308">src/domain/binaryTarget.ts:308</a></li></ul></aside></div></li></ul></section></div>
|
||||
<div class="col-sidebar">
|
||||
<div class="page-menu">
|
||||
<div class="tsd-navigation settings">
|
||||
|
||||
Reference in New Issue
Block a user