The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
fix(locale): reject missing canonical agent declarations
affaan-mde5119dcb689
diff --git a/tests/ci/locale-agent-frontmatter.test.js b/tests/ci/locale-agent-frontmatter.test.jsindex 83ba42ec3..caca19cb1 100644--- a/tests/ci/locale-agent-frontmatter.test.js+++ b/tests/ci/locale-agent-frontmatter.test.js@@ -138,7 +138,7 @@ function main() {const fields = frontmatter(filePath);if (!fields) continue;const want = canonical.get(file).model;- if (want !== undefined && fields.model !== undefined && fields.model !== want) {+ if (want !== undefined && fields.model !== want) {drift.push(`${rel(filePath)}: ${fields.model} != ${want}`);}}@@ -156,9 +156,9 @@ function main() {if (!fields) continue;const want = toolSet(canonical.get(file).tools);const have = toolSet(fields.tools);- if (want === null || have === null) continue;+ if (want === null) continue;if (!sameSet(want, have)) {- drift.push(`${rel(filePath)}: [${[...have]}] != [${[...want]}]`);+ drift.push(`${rel(filePath)}: ${have === null ? '<missing>' : `[${[...have]}]`} != [${[...want]}]`);}}assert.deepStrictEqual(