Skip to content

The design language that makes your AI harness better at design.

JavaScript

Fix the applier contract regex: .mjs filenames contain periods

Paul Bakaus10d16c3c87e4
diff --git a/tests/live-reference.test.mjs b/tests/live-reference.test.mjs
index 63e353f2b..e9df0e261 100644
--- a/tests/live-reference.test.mjs
+++ b/tests/live-reference.test.mjs
@@ -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`/);