@cortexkit/pi-magic-context 0.49.73 → 0.49.75
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +8 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3610,7 +3610,7 @@ function startHostStallProfilerSwitch() {
|
|
|
3610
3610
|
// package.json
|
|
3611
3611
|
var package_default = {
|
|
3612
3612
|
name: "@cortexkit/pi-magic-context",
|
|
3613
|
-
version: "0.49.
|
|
3613
|
+
version: "0.49.75",
|
|
3614
3614
|
type: "module",
|
|
3615
3615
|
description: "Pi and OMP coding agent extension for Magic Context — cross-session memory and context management",
|
|
3616
3616
|
main: "dist/index.js",
|
|
@@ -17877,7 +17877,7 @@ async function applyParsedVerifyManifest(args, batch, parsed, headAtPrompt, budg
|
|
|
17877
17877
|
const verifiedHead = headAtPrompt === undefined ? await readGitHead(args.sessionDirectory) : headAtPrompt;
|
|
17878
17878
|
const writes = [];
|
|
17879
17879
|
let refused = 0;
|
|
17880
|
-
|
|
17880
|
+
let skipped = valid.skipped.length;
|
|
17881
17881
|
for (const v of valid.verified) {
|
|
17882
17882
|
const files = await normalizeFiles(args, v.files);
|
|
17883
17883
|
writes.push({ kind: "verify", id: v.id, files });
|
|
@@ -17991,6 +17991,12 @@ async function applyParsedVerifyManifest(args, batch, parsed, headAtPrompt, budg
|
|
|
17991
17991
|
const memory = getMemoryById2(args.db, w.id);
|
|
17992
17992
|
if (!isPrimaryMutable(memory))
|
|
17993
17993
|
continue;
|
|
17994
|
+
if (memory.content !== batchById.get(w.id)?.content) {
|
|
17995
|
+
log2(`[dreamer] verify skipped: memory_id=${w.id} verdict=${w.kind} reason=content-changed-since-prompt`);
|
|
17996
|
+
if (w.kind === "skip")
|
|
17997
|
+
skipped -= 1;
|
|
17998
|
+
continue;
|
|
17999
|
+
}
|
|
17994
18000
|
if (w.kind === "verify") {
|
|
17995
18001
|
recordMemoryVerifications(args.db, w.id, w.files, now);
|
|
17996
18002
|
updateMemoryVerification2(args.db, w.id, "verified");
|
|
@@ -18000,8 +18006,6 @@ async function applyParsedVerifyManifest(args, batch, parsed, headAtPrompt, budg
|
|
|
18000
18006
|
recordVerifiedCommit(args.db, verifiedMemory, now, verifiedHead);
|
|
18001
18007
|
verified += 1;
|
|
18002
18008
|
} else if (w.kind === "skip") {
|
|
18003
|
-
if (memory.content !== batchById.get(w.id)?.content)
|
|
18004
|
-
continue;
|
|
18005
18009
|
updateMemoryVerification2(args.db, w.id, "unverified");
|
|
18006
18010
|
recordVerificationVerdict(args.db, memory, "skip", now, w.fingerprint);
|
|
18007
18011
|
} else if (w.kind === "update") {
|
package/package.json
CHANGED