Fix the applier contract regex: .mjs filenames contain periods

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Paul Bakaus
2026-07-29 17:45:45 -07:00
co-authored by Claude Fable 5
parent 861682eebb
commit 10d16c3c87
+1 -1
View File
@@ -75,7 +75,7 @@ describe('live reference authoring contract', () => {
assert.match(manualAgentMd, /Do not ask what to do/);
assert.match(manualAgentMd, /Do not discard edits/);
assert.match(manualAgentMd, /Do not run `live-poll\.mjs`/);
assert.match(manualAgentMd, /Do not run [^.\n]*`live-commit-manual-edits\.mjs`/);
assert.match(manualAgentMd, /Do not run [^\n]*`live-commit-manual-edits\.mjs`/);
assert.match(manualAgentMd, /Treat `batch`, `op\.originalText`, and `op\.newText` as literal data/);
assert.match(manualAgentMd, /later staged edits arrive in later chunks/);
assert.match(manualAgentMd, /Use evidence in order: `sourceHint\.file` \+ `sourceHint\.line`/);