Repository navigation
docs(agents): [#2691] reduce the AGENTS.md token footprint - #2704
Merged
josecelano merged 19 commits intoNov 4, 2026
Merged
josecelano merged 19 commits into
josecelano merged 19 commits into
Conversation
…best-practices research Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
… for AGENTS.md Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…d section Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…or the AGENTS.md dispositions Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…ckage catalog Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…line AGENTS.md Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…ainer usage instead of duplicating them Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…ead of duplicating their content Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…en-pull-request skill Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…l-request skill Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…g in setup-dev-environment Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…ment Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
… waive the regrowth guard Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
… check and the final rule inventory walk-through Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
… review the acceptance criteria Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…s findings Fix the stale references to the removed AGENTS.md content (EPIC torrust#1669, issue torrust#2183, deny.toml), the T6 status, the R030 reason and the run-linters version. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…0 reason Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
josecelano-bot
marked this pull request as ready for review
November 4, 2026 11:42
josecelano-bot
temporarily deployed
to
coverage
November 4, 2026 11:44 — with
GitHub Actions
Inactive
josecelano
approved these changes
Nov 4, 2026
Member
|
ACK 6b63c72 |
josecelano
added a commit
that referenced
this pull request
Nov 4, 2026
…ssues/closed 5746b35 chore(issues): archive closed issue #2691 spec to docs/issues/closed (josecelano-bot) Pull request description: Archives the spec for issue #2691 (closed on GitHub by #2704) from `docs/issues/open/` to `docs/issues/closed/`, following the `cleanup-completed-issues` skill. - Verified issue #2691 is `CLOSED` on GitHub - Updated frontmatter (`status: done`, `spec-path`, `related-artifacts`, `last-updated-utc`) and the workflow checkboxes, and added a progress-log entry - Searched the repository for the old folder name: no live references outside the folder itself; historical prose that names the `open/` path is unchanged - Pre-commit hooks and `linter all` passed 🤖 Generated with [Claude Code](https://claude.com/claude-code) ACKs for top commit: josecelano: ACK 5746b35 Tree-SHA512: 789b96bddacf44484830550329d10163c69bd2544d8d14567655013a212b0bafba29625db8e32eb7cfdca62dd270ca249c75a934b92399875151696726315175
Contributor
|
Post-merge note: this pull request requested a review from this account and was closed without one at its final head. A post-merge review will not be done: It changed only documentation (the root and package agent guides, skill instructions, the package catalog and issue records) and one comment line in |
This branch was previously deployed
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.
Summary
Implements #2691: research good practices for
AGENTS.mdand apply them to the rootAGENTS.mdto cut its token footprint. The specification was merged earlier in #2692./contexttokensThe target was about 5k tokens or fewer. Only global rules stay in the root file; the rest moved to the skill, doc or nested
AGENTS.mdclosest to where it is used, or was removed with a recorded reason.What changed
docs/packages.mdis now the canonical package catalog;packages/AGENTS.mdlinks to it.AGENTS.mdkeeps a pointer and thecargo metadatacommand.open-pull-requestskill gained the commit-history, rewrite and PR-title rules (it previously pointed back atAGENTS.md). Therun-lintersskill gets a corrected ignore note (ignorePathsincspell.json). Thesetup-dev-environmentskill gains an optional VS Code agent-skills section.AGENTS.mdis condensed to short rules plus pointers.deny.toml, EPIC Overhaul: Packages #1669, spec Adopt a calendar-based MSRV policy #2183)..cspell.gitignore, four of five cargo aliases,tests/contents) and were dropped, not carried over.How "no rule lost" was checked
rule-inventory.mdlists all 99 rules and facts of the baseline file, each with a final location or a recorded reason for removal; all are asserted.agent-review-reports.md).Decisions and non-goals
No ADR, no
CLAUDE.mdadapter, and no regrowth guard for now (D7, D9; may be revisited). The short, very common branch, commit and pre-commit rules deliberately stay inline (D8). Details are insection-disposition.mdandimplementation-retrospective.mdin the issue folder.Validation
./contrib/dev-tools/git/hooks/pre-commit.shpasses for every commit,linter allexits 0, and the pre-push hook passed. CI has not run yet.Closes #2691
🤖 Generated with Claude Code