mirror of
https://github.com/morluto/rea.git
synced 2026-11-16 19:53:50 +00:00
feat(kuna): preserve stored pointer references (#8851)
* feat(kuna): verify release 1.990 * feat(kuna): preserve stored pointer references * fix(kuna): group image-wide reference coverage gaps * fix(evidence): retain producer-required xref observations * fix(mcp): clarify xref address page scope * fix(kuna): preserve reference target aliases --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com>
This commit is contained in:
1 parent
3e8a5f76d0
commit
f7dc5489b3
17 files changed
+692
-29
No files matched your search
@@ -1539,12 +1539,10 @@ export class BinarySession
|
||||
}
|
||||
if (
|
||||
execution.ok &&
|
||||
isSourceEvidenceRetainable(
|
||||
name,
|
||||
capability,
|
||||
arguments_,
|
||||
options?.snapshotContext,
|
||||
) &&
|
||||
isSourceEvidenceRetainable(name, capability, arguments_, {
|
||||
snapshotContext: options?.snapshotContext,
|
||||
requiresSourceEvidence: execution.value.requiresSourceEvidence === true,
|
||||
}) &&
|
||||
profile !== undefined
|
||||
) {
|
||||
const evidence = createAnalysisExecutionEvidence(
|
||||
@@ -1561,7 +1559,11 @@ export class BinarySession
|
||||
"observed",
|
||||
);
|
||||
const recorded = this.recordEvidence(evidence);
|
||||
if (!recorded.ok) return recorded;
|
||||
if (!recorded.ok) {
|
||||
// The provider finished. A full ledger must not discard that observation.
|
||||
recorded.error.retainPartialObservation(evidence);
|
||||
return recorded;
|
||||
}
|
||||
const retained = { ...execution.value, evidenceId: evidence.evidence_id };
|
||||
if (cacheable && execution.value.cachePolicy !== "live")
|
||||
this.recordSnapshot({
|
||||
|
||||
Reference in new issue
Block a user