refactor(lock): Consolidate utilities and fix circular dependencies

Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
google-labs-jules[bot]andPR0M3TH3AN committed 2026-02-25 17:09:10 +00:00
1 parent 244dbe1511
commit e7b858d84a
330 files changed
+34090 -3976

No files matched your search

+1
View File
@@ -84,6 +84,7 @@ try {
writeFileSync(path.join(sessionDir, 'retrieve.json'), JSON.stringify(artifact, null, 2));
writeFileSync(path.join(sessionDir, 'retrieve.ok'), 'MEMORY_RETRIEVED\n');
writeFileSync(path.join(latestDir, 'retrieve.ok'), 'MEMORY_RETRIEVED\n');
writeFileSync(path.join(latestDir, 'retrieve.json'), JSON.stringify(artifact, null, 2));
// Format retrieved memories as readable markdown sections.
// Prefer m.summary (compact excerpt) over m.content (full blob) for prompt injection.
const memoriesMarkdown = retrieved.length > 0
+1
View File
@@ -108,6 +108,7 @@ try {
writeFileSync(path.join(sessionDir, 'store.json'), JSON.stringify(artifact, null, 2));
writeFileSync(path.join(sessionDir, 'store.ok'), 'MEMORY_STORED\n');
writeFileSync(path.join(latestDir, 'store.ok'), 'MEMORY_STORED\n');
writeFileSync(path.join(latestDir, 'store.json'), JSON.stringify(artifact, null, 2));
// 4. Output success marker to stdout (for scheduler verification)
console.log('MEMORY_STORED');