AGENTS.md - Scribe documentation
Hard Constraints
- Never hand-edit translations — every locale folder other than
en/is lingo.dev output. Fix a wrong translation at its source: the English page inen/, or the “Scribe” engine on lingo.dev (glossary, instructions, AI reviewers — lingo.dev MCP). A fix inen/is translated again by the Translate workflow once it reachesmain(next rule). An engine-only fix changes no file, so that workflow finds nothing to do: name the pages to regenerate and leave the run to Gil. A hand-edited page fixes one locale once, and the engine makes the same mistake on the next run. - Never run the translation sync — no
npx lingo.dev, nonode scripts/localize-links.mjs, no Translate workflow run of your own (gh workflow run).translate.ymltranslates on every push tomainthat touchesen/**ori18n.json, then commits the locale folders as scribe-deploy-bot. Leave the locale folders andi18n.lockout of your diff: a new or changed English page stays untranslated until that run.