feat(agents): write project output in English #155
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/english-output"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
The policy named no language for what agents write, so a user who chats
in Italian, or any other language, could get commit messages, files,
pull requests, and issues in that language, or a mix across one
repository and its history.
What changed
AGENTS.md§ Writing for readers opens with a rule: what the projecttracks, its commit messages and branch names, and what agents write
for its forge are in English, whatever language the user chats in or
others write in. Translations and test data in another language keep
it. A work folder's documents may follow the chat's language, keeping
the headings, table columns, IDs, and keywords the work-folder check
reads;
drafts/, which a task applies, stay in English.implement-featureeval case asks in Italian, with an Italianpreamble of its own:
evals/run.shnow uses a case'spreamble.mdinplace of the shared one when the case holds it. Its grader fails a
branch whose commit messages or added lines hold common Italian words.
UPGRADING.mdmigration, since an added rule reachesadopted repositories through the ordinary merge;
document-reviewer'sbrief is unchanged, as its rule-finding sentence already reaches the
rule.
How to verify
bash tests/agent-config/evals-graders.sh: "implement-feature failsan Italian commit message" and "implement-feature fails Italian text
the branch adds" pass; both fail on
main.bash tests/agent-config/evals-runner.sh: the run test checks that acase's own preamble comes first; it fails on
main.evals/run.sh --policy HEAD --case implement-featurepasses, withok: the branch writes in English.Run on the tip, all passing:
bash tests/verify-agent-config.sh(268tests),
bash tests/check-work-folder.sh(46),.agents/hooks/shellcheck.sh repo,prettier --check '**/*.md',scripts/verify-agent-config.sh, andgit diff --check main. One evalattempt on this branch's policy passed in 167 seconds for 1.13 USD: the
agent answered in Italian and committed in English. The case was not run
on
main's policy.Considerations
words that are not English words, so it catches Italian prose, not
every other language.
eval does not fully isolate the rule's effect from the repository's
own language.