docs(agents): add AGENTS.md pointing at CONTRIBUTING.md rules #502

Open
github-bot wants to merge 2 commits from github-bot/gh-502 into main AGit
Owner

@⁠Luxuride on GitHub · 2026-12-04 19:37 UTC · original
Luxuride:docs/agents-md → main · +74 −0 · 1 files · 2 commits · draft

Needs merged first

What this does

Adds AGENTS.md at the repository root so automated and AI-assisted contributors follow the exact same quality, scope, switch, and verification rules defined in CONTRIBUTING.md (#484). Kept as a single-file draft branched directly from main until #484 lands.

  • Points at CONTRIBUTING.md as the single source of truth with no separate or conflicting agent rules.
  • Calls out the non-negotiable repository boundaries (cargo xtask policy --staged, no fork-only clutter or whole-tree formatting, xtask/src/switches.rs switch-doc check).
  • Summarizes single-subject PRs, off-by-default switches, clean stacked drafts, Linux vs x86_64-pc-windows-msvc build/test crates (./build.sh, PKG=<crate>, PROFILE=diag), and strict verification honesty.

Checks

  • N/A: documentation only (no runtime behaviour change)
  • N/A: no VICTORY_* switch added or changed
  • No unrelated cleanup: adds AGENTS.md only
  • N/A: documentation only; verified mechanically that AGENTS.md introduces zero VICTORY_* names (for xtask's switches check)
  • Checked the queue before opening: PR #322 (tools: add standalone Rust synthetic benchmark suite) also adds an AGENTS.md alongside CLAUDE.md, GEMINI.md, and tools/benchmark-suite/; this PR is independent of #322's benchmark suite and strictly covers CONTRIBUTING.md (#484) PR rules on main
  • Nothing that only exists in your fork: cargo xtask policy passes (asset policy: 359 files ok)

Verified

  • cargo xtask policy --staged → asset policy: 1 files ok
  • cargo xtask policy → asset policy: 359 files ok
  • Python check confirmed AGENTS.md is 50 lines and contains zero VICTORY_* strings
  • git diff --stat upstream/main → AGENTS.md | 50 +++ (1 commit, 1 file)

Cost

None: documentation only, 50 lines in AGENTS.md.

**@⁠Luxuride** on GitHub · 2026-12-04 19:37 UTC · [original](https://github.com/lobomfz/VIctory-xmem/pull/502) `Luxuride:docs/agents-md` → `main` · +74 −0 · 1 files · 2 commits · draft ## Needs merged first - [ ] #484 ## What this does Adds `AGENTS.md` at the repository root so automated and AI-assisted contributors follow the exact same quality, scope, switch, and verification rules defined in `CONTRIBUTING.md` (#484). Kept as a single-file draft branched directly from `main` until #484 lands. - Points at `CONTRIBUTING.md` as the single source of truth with no separate or conflicting agent rules. - Calls out the non-negotiable repository boundaries (`cargo xtask policy --staged`, no fork-only clutter or whole-tree formatting, `xtask/src/switches.rs` switch-doc check). - Summarizes single-subject PRs, off-by-default switches, clean stacked drafts, Linux vs `x86_64-pc-windows-msvc` build/test crates (`./build.sh`, `PKG=<crate>`, `PROFILE=diag`), and strict verification honesty. ## Checks - N/A: documentation only (no runtime behaviour change) - N/A: no `VICTORY_*` switch added or changed - [x] No unrelated cleanup: adds `AGENTS.md` only - N/A: documentation only; verified mechanically that `AGENTS.md` introduces zero `VICTORY_*` names (for `xtask`'s `switches` check) - [x] Checked the queue before opening: PR #322 (`tools: add standalone Rust synthetic benchmark suite`) also adds an `AGENTS.md` alongside `CLAUDE.md`, `GEMINI.md`, and `tools/benchmark-suite/`; this PR is independent of #322's benchmark suite and strictly covers `CONTRIBUTING.md` (#484) PR rules on `main` - [x] Nothing that only exists in your fork: `cargo xtask policy` passes (`asset policy: 359 files ok`) ## Verified - `cargo xtask policy --staged` → `asset policy: 1 files ok` - `cargo xtask policy` → `asset policy: 359 files ok` - Python check confirmed `AGENTS.md` is 50 lines and contains zero `VICTORY_*` strings - `git diff --stat upstream/main` → `AGENTS.md | 50 +++` (`1` commit, `1` file) ## Cost None: documentation only, 50 lines in `AGENTS.md`.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-04 19:37:52 +00:00
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/502/head:github-bot/gh-502'
git switch 'github-bot/gh-502'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-502'
git switch 'github-bot/gh-502'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-502'
git switch 'github-bot/gh-502'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-502'
git switch 'main'
git merge --squash 'github-bot/gh-502'
git switch 'main'
git merge --ff-only 'github-bot/gh-502'
git switch 'main'
git merge 'github-bot/gh-502'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.