[PR #5200] [CLOSED] docs(agents): agents sign with a closing note, and every commit and PR title is conventional #6136

Closed
opened 2026-11-03 06:13:55 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/5200
Author: @some-du6e
Created: 10/31/2026
Status: ❌ Closed

Base: main ← Head: docs/agents-md-disclosure-note


📝 Commits (3)

  • 2ef98dc docs(agents): agents sign with a closing note, not a header and a co-author line
  • 812c8a3 fix(release): drop the conventional-commit prefix from release-note lines
  • 266d4dd docs(agents): a pull request needs no issue and no claim

📊 Changes

9 files changed (+134 additions, -131 deletions)

View changed files

📝 .github/pull_request_template.md (+3 -1)
📝 AGENTS.md (+106 -117)
📝 CONTRIBUTING.md (+12 -9)
📝 docs/how-horizon-is-built.md (+1 -1)
📝 docs/security.md (+1 -1)
📝 tests/test_claim_command.py (+1 -1)
📝 tests/test_release_train.py (+6 -0)
📝 tools/ci/claim_command.py (+1 -1)
📝 tools/release_train.py (+3 -0)

📄 Description

AGENTS.md (and CLAUDE.md, its symlink) had gotten long and partly stale, and the way agents mark their work was noisy: a 🤖 Opened by … header on every PR, a 🤖 Agent: prefix on every comment, a Co-Authored-By line on every commit, and a "Generated with" footer too. This switches to a single closing note, makes the rest of the page shorter, and makes conventional commits the rule for every commit and PR title.

What agents now do

  • PRs and issues open with the problem, then what was done, and end with > [!NOTE] / > Filed by <model> using <harness>.
  • Comments and reviews end with > [!NOTE] / > This comment was written by an AI agent (<model>, <harness>).
  • Commits carry no agent attribution line.
  • Commit messages and PR titles are <type>(<scope>): <description> (feat fix perf refactor docs test build ci chore revert), with the description written for players. This is in AGENTS.md and CONTRIBUTING.md.
  • A PR no longer needs an issue or a claim first. Agents were opening an issue and /claiming it just to satisfy the rule, after the code was already written. /claim stays for reserving an issue (optional, in CONTRIBUTING.md), and an issue assigned to someone else is still theirs. The claim parser still accepts the old 🤖 Agent: /claim.

The rewrite

  • Stale counts are gone (harness and example totals, field and file counts). A "blast radius" line replaces them, and the numbers in it won't go out of date.
  • The crate table now has horizon-hdr and horizon-mod-registry, and horizon-mod-registry is listed as its own workspace.
  • Rules are written as what to do instead of "never X". The deprecated in-frame path is now one short paragraph under "Single player is the server thread".
  • The subsystem → files table is kept; it's the lookup agents use most.

Release notes: PR titles become the players' Nightly notes as written, so tools/release_train.py bullet() now drops a conventional prefix and capitalises what's left (fix(mobs): stop zombies… → - Stop zombies…). Existing Area: description titles like Launcher: … are left alone. There's a new test in tests/test_release_train.py.

The PR template, docs/security.md, docs/how-horizon-is-built.md and the claim parser's comments are updated to the new format. Still unchanged: tools/supervise.py and tools/parity_main.py, which write their own Co-Authored-By and 🤖 Agent: lines. I can move them over in a follow-up if you want.

pr_ready (tools/pr_ready.py --quick, against origin/main at d55e66d65, 50 s)

Check Result
Scope ✅ 9 files, +128 −122
Public tree ✅ (1 s)
Python tests ✅ 496 passed (49 s)
Rust, launcher, theme ➖ untouched
Parity ➖ not run (--quick): no Rust change
Label skip-release

Note

Filed by Opus 5.5 using Claude Code.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/5200 **Author:** [@some-du6e](https://github.com/some-du6e) **Created:** 10/31/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `docs/agents-md-disclosure-note` --- ### 📝 Commits (3) - [`2ef98dc`](https://github.com/horizon-rust/horizon/commit/2ef98dc3536f05579f75c2507dd7961b5834d89b) docs(agents): agents sign with a closing note, not a header and a co-author line - [`812c8a3`](https://github.com/horizon-rust/horizon/commit/812c8a3e1cff6ca78b632e8872f0b3b2f2dd3346) fix(release): drop the conventional-commit prefix from release-note lines - [`266d4dd`](https://github.com/horizon-rust/horizon/commit/266d4ddf18f5c378701472f4426bf8a3af5e3798) docs(agents): a pull request needs no issue and no claim ### 📊 Changes **9 files changed** (+134 additions, -131 deletions) <details> <summary>View changed files</summary> 📝 `.github/pull_request_template.md` (+3 -1) 📝 `AGENTS.md` (+106 -117) 📝 `CONTRIBUTING.md` (+12 -9) 📝 `docs/how-horizon-is-built.md` (+1 -1) 📝 `docs/security.md` (+1 -1) 📝 `tests/test_claim_command.py` (+1 -1) 📝 `tests/test_release_train.py` (+6 -0) 📝 `tools/ci/claim_command.py` (+1 -1) 📝 `tools/release_train.py` (+3 -0) </details> ### 📄 Description AGENTS.md (and CLAUDE.md, its symlink) had gotten long and partly stale, and the way agents mark their work was noisy: a `🤖 Opened by …` header on every PR, a `🤖 Agent:` prefix on every comment, a `Co-Authored-By` line on every commit, and a "Generated with" footer too. This switches to a single closing note, makes the rest of the page shorter, and makes conventional commits the rule for every commit and PR title. **What agents now do** - PRs and issues open with the problem, then what was done, and end with `> [!NOTE]` / `> Filed by <model> using <harness>.` - Comments and reviews end with `> [!NOTE]` / `> This comment was written by an AI agent (<model>, <harness>).` - Commits carry no agent attribution line. - Commit messages and PR titles are `<type>(<scope>): <description>` (`feat fix perf refactor docs test build ci chore revert`), with the description written for players. This is in AGENTS.md and CONTRIBUTING.md. - A PR no longer needs an issue or a claim first. Agents were opening an issue and `/claim`ing it just to satisfy the rule, after the code was already written. `/claim` stays for reserving an issue (optional, in CONTRIBUTING.md), and an issue assigned to someone else is still theirs. The claim parser still accepts the old `🤖 Agent: /claim`. **The rewrite** - Stale counts are gone (harness and example totals, field and file counts). A "blast radius" line replaces them, and the numbers in it won't go out of date. - The crate table now has `horizon-hdr` and `horizon-mod-registry`, and `horizon-mod-registry` is listed as its own workspace. - Rules are written as what to do instead of "never X". The deprecated in-frame path is now one short paragraph under "Single player is the server thread". - The subsystem → files table is kept; it's the lookup agents use most. **Release notes**: PR titles become the players' Nightly notes as written, so `tools/release_train.py` `bullet()` now drops a conventional prefix and capitalises what's left (`fix(mobs): stop zombies…` → `- Stop zombies…`). Existing `Area: description` titles like `Launcher: …` are left alone. There's a new test in `tests/test_release_train.py`. The PR template, `docs/security.md`, `docs/how-horizon-is-built.md` and the claim parser's comments are updated to the new format. Still unchanged: `tools/supervise.py` and `tools/parity_main.py`, which write their own `Co-Authored-By` and `🤖 Agent:` lines. I can move them over in a follow-up if you want. **pr_ready** (`tools/pr_ready.py --quick`, against origin/main at d55e66d65, 50 s) | Check | Result | | --- | --- | | Scope | ✅ 9 files, +128 −122 | | Public tree | ✅ (1 s) | | Python tests | ✅ 496 passed (49 s) | | Rust, launcher, theme | ➖ untouched | | Parity | ➖ not run (--quick): no Rust change | | Label | `skip-release` | > [!NOTE] > Filed by Opus 5.5 using Claude Code. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:13:55 +07:00
Sign in to join this conversation.
No milestone
No project
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.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#6136
No description provided.