mirror of
https://github.com/jjbrunton/Sauci.git
synced 2026-10-31 18:19:43 +00:00
chore(agents): prohibit em dashes
This commit is contained in:
1 parent
7b3de48dbd
commit
2481956c11
2 files changed
+8
No files matched your search
@@ -36,6 +36,7 @@ MCP service in one npm/Turborepo workspace.
|
|||||||
mechanical one-line edit whose coordination cost exceeds the work.
|
mechanical one-line edit whose coordination cost exceeds the work.
|
||||||
11. Use high-effort reviewers only for the risk triggers in
|
11. Use high-effort reviewers only for the risk triggers in
|
||||||
`docs/agents/routing.md`.
|
`docs/agents/routing.md`.
|
||||||
|
12. Agents must not use em dash characters in text they add to this repository.
|
||||||
|
|
||||||
## Repository map
|
## Repository map
|
||||||
|
|
||||||
|
|||||||
@@ -40,6 +40,13 @@ for (const file of allFiles) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!scoped) {
|
if (!scoped) {
|
||||||
|
const agentsFile = path.join(root, 'AGENTS.md');
|
||||||
|
const agents = await readFile(agentsFile, 'utf8');
|
||||||
|
const noEmDashRule = 'Agents must not use em dash characters in text they add to this repository.';
|
||||||
|
if (!agents.includes(noEmDashRule)) {
|
||||||
|
fail(agentsFile, 'agent writing rule against em dash characters is missing', `restore: ${noEmDashRule}`);
|
||||||
|
}
|
||||||
|
|
||||||
const packageJson = JSON.parse(await readFile(path.join(root, 'package.json'), 'utf8'));
|
const packageJson = JSON.parse(await readFile(path.join(root, 'package.json'), 'utf8'));
|
||||||
const codexConfigFile = path.join(root, '.codex', 'config.toml');
|
const codexConfigFile = path.join(root, '.codex', 'config.toml');
|
||||||
const codexConfig = await readFile(codexConfigFile, 'utf8');
|
const codexConfig = await readFile(codexConfigFile, 'utf8');
|
||||||
|
|||||||
Reference in new issue
Block a user