Refresh shared global agent instructions for current-generation models - #18
Open
ngs wants to merge 1 commit into
Open
Refresh shared global agent instructions for current-generation models#18ngs wants to merge 1 commit into
ngs wants to merge 1 commit into
Conversation
Refresh the shared global agent instructions for current-generation models. The file now states its own scope: boundaries and facts only. - Move the commit/push and remote-explicit rules out of the model-usage section into their own "Git — what needs explicit permission" section; they are authorization boundaries, not model-selection policy. - Drop the stale claim that PR bodies only accept images via browser drag and drop; keep the prohibition on committing assets into a repository. - Compress the PR-title and heredoc-escaping guidance, which restated the same rule across several bullets. - Generalize repository references so no work-organization name remains in this public repo, per the file's own private-details rule.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Agent instruction files encode assumptions about the weaknesses of whichever model was current when they were written. As models improve, some of those lines stop earning their place — while a different category of rule gets more important, because a more capable model is more likely to run ahead on its own.
This is a pass over
rc.d/agents/AGENTS.md(the single shared global instruction file behind~/.claude/CLAUDE.md,~/.codex/AGENTS.md, and~/.gemini/config/AGENTS.md) with that lens.Criteria used
Kept, unchanged in substance:
git commit/git push, the automated-flow exception, explicitgit push origin <branch>, repository hygiene, the public/private disclosure rule. These are about what the agent may decide alone, and they matter more, not less, with a more capable model.Pruned or compressed:
Changes
Git — what needs explicit permissionsection. The commit/push authorization rules were living at the bottom of the model-selection section, where they read as a footnote to a policy about quota. They are the most important lines in the file and now have their own heading. Text unchanged.<<'EOF'write it as it should render". The rule is retained.Note for the author
Line 5 of the file before this change named a work organization by its GitHub org name, which the file's own "No private-repo details in public dotfiles" section forbids in this public repo. It is generalized here to "Work-organization repositories". Worth a look to confirm the generalized wording is still unambiguous for you in practice.
AGENTS.mdat the repo root was reviewed and left untouched — it is entirely repo-specific facts (zsh gotchas, CI lint behaviour, *env pins, GnuPG, symlink and clean-filter conventions) with nothing model-era in it.