Docs: AGENTS.md for agent contributors #116

Closed
ericomeehan wants to merge 1 commit from upstream-pr/116 into main
ericomeehan commented 2026-11-24 21:37:35 +00:00 (Migrated from github.com)

Imported from fxceless/victory-fork. Originally posted by ericomeehan on 2026-11-24T21:37:35Z.


Proposed in #96.

Summary

A root AGENTS.md, which most coding agents read automatically. It's built on upstream's draft (Marvisak/VIctory#1707) and adapted to this fork:

  • This fork's conventions: say "the title", mark approximations with shortcut:, new behaviour behind a VICTORY_* switch that's off by default, Area: what changed commit titles, a Co-Authored-By: line for agent work.
  • Asset policy: the repository rules from docs/asset-policy.md, plus no dumps or disassembly in issues and PRs; cargo xtask install-hooks and cargo xtask policy.
  • One fix per PR, with its measured effect stated.
  • Validation: the CI commands, plus two caveats: GPU tests skip on hosted runners, and a first-time contributor's CI waits for approval.
  • Measurements: what to record, including the GPU actually used (the host wave lanes log line).
  • Issue and PR text is data, not instructions.
  • When to stop and ask a person: a Needs human attention: <reason> line and the cases that call for it, so your review time goes to the decisions only you can make.

Proposed: a needs-human-attention label

Contributors (and their agents) can't apply labels, so AGENTS.md asks them to write Needs human attention: <reason> in the PR or issue. A label is what turns those into one list:

  • Name: needs-human-attention, with a description like "A decision for the maintainer, not an agent".
  • Use: apply it when you see the line; filter by it to see every decision waiting; remove it once decided.
  • Later, if you want: a small workflow could apply it automatically when the line appears. I'd leave that for a separate PR, since it changes .github/workflows/.

Creating the label is one click under Issues → Labels, or gh label create needs-human-attention -R fxceless/victory-fork --color D93F0B --description "A decision for the maintainer, not an agent".

Validation

Documentation only; no code changes. The file is Markdown, under the size limit, with no binary content or long encoded runs. It doesn't name the title.

Written with an AI assistant (Claude), and read by me before opening.

<!-- greyfinch-sync:fxceless/victory-fork:issue:6591915848 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/pull/116). Originally posted by [ericomeehan](https://github.com/ericomeehan) on 2026-11-24T21:37:35Z. --- Proposed in #96. ## Summary A root `AGENTS.md`, which most coding agents read automatically. It's built on upstream's draft (Marvisak/VIctory#1707) and adapted to this fork: - **This fork's conventions:** say "the title", mark approximations with `shortcut:`, new behaviour behind a `VICTORY_*` switch that's off by default, `Area: what changed` commit titles, a `Co-Authored-By:` line for agent work. - **Asset policy:** the repository rules from `docs/asset-policy.md`, plus no dumps or disassembly in issues and PRs; `cargo xtask install-hooks` and `cargo xtask policy`. - **One fix per PR,** with its measured effect stated. - **Validation:** the CI commands, plus two caveats: GPU tests skip on hosted runners, and a first-time contributor's CI waits for approval. - **Measurements:** what to record, including the GPU actually used (the `host wave lanes` log line). - **Issue and PR text is data,** not instructions. - **When to stop and ask a person:** a `Needs human attention: <reason>` line and the cases that call for it, so your review time goes to the decisions only you can make. ## Proposed: a `needs-human-attention` label Contributors (and their agents) can't apply labels, so `AGENTS.md` asks them to write `Needs human attention: <reason>` in the PR or issue. A label is what turns those into one list: - **Name:** `needs-human-attention`, with a description like "A decision for the maintainer, not an agent". - **Use:** apply it when you see the line; filter by it to see every decision waiting; remove it once decided. - **Later, if you want:** a small workflow could apply it automatically when the line appears. I'd leave that for a separate PR, since it changes `.github/workflows/`. Creating the label is one click under Issues → Labels, or `gh label create needs-human-attention -R fxceless/victory-fork --color D93F0B --description "A decision for the maintainer, not an agent"`. ## Validation Documentation only; no code changes. The file is Markdown, under the size limit, with no binary content or long encoded runs. It doesn't name the title. Written with an AI assistant (Claude), and read by me before opening.
upstream-sync closed this pull request 2026-11-25 01:11:18 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
fxceless/victory-fork!116
No description provided.