fix(memory-feedback): gate 2 hardening, commit within 5 locals

This commit is contained in:
bchanot committed 2026-11-08 18:04:01 +01:00
1 parent 271172564c
commit 027e5b3c21
8 files changed
+116 -27

No files matched your search

+3
View File
@@ -45,6 +45,9 @@ test('X1: slug, the main or one sub-agent file, torn lines counted', () => {
expect(records(path.join(dir, 'n.jsonl')))
.toEqual({ recs: [{ a: 1 }], torn: 3 })
expect(sessionFiles(p, '/r', 'gone', 'main')).toEqual([])
fs.writeFileSync(path.join(p, 'x.jsonl'), '{}\n')
expect(sessionFiles(p, '/r', '../x', 'main')).toEqual([])
expect(sessionFiles(p, '/r', 's', '../a1')).toEqual([])
})
test('X2: composer prompts only', () => {