diff --git a/.gitignore b/.gitignore index 0916b3b80..2dfd04f4d 100644 --- a/.gitignore +++ b/.gitignore @@ -47,6 +47,7 @@ Thumbs.db .impeccable/live/manual-edit-events.jsonl .impeccable/live/manual-edit-evidence/ .impeccable/live/pending-manual-edits.json +.impeccable/hook.cache.json .impeccable/history/ # Per-run critique snapshots are local artifacts. ignore.md (also under # this dir) carries deferrals the user may want to share, so it's diff --git a/tests/live-server.test.mjs b/tests/live-server.test.mjs index 3593c0b20..5caade393 100644 --- a/tests/live-server.test.mjs +++ b/tests/live-server.test.mjs @@ -93,14 +93,16 @@ async function stashManualEdit(server, entry) { return res.json(); } -it('gitignores local manual Apply runtime artifacts', () => { +it('gitignores local Impeccable runtime artifacts', () => { const ignored = execFileSync('git', [ 'check-ignore', '.impeccable/live/manual-edit-apply-transaction.json', '.impeccable/live/manual-edit-evidence/example.json', + '.impeccable/hook.cache.json', ], { cwd: REPO_ROOT, encoding: 'utf-8' }); assert.match(ignored, /\.impeccable\/live\/manual-edit-apply-transaction\.json/); assert.match(ignored, /\.impeccable\/live\/manual-edit-evidence\/example\.json/); + assert.match(ignored, /\.impeccable\/hook\.cache\.json/); }); async function readSseUntil(reader, decoder, needle, maxReads = 12) {