[pr-docs] Say before writing code: a claim on the issue or an early draft pull request #271

Manually merged
TrustNo1 merged 1 commit from Jesper-A/Darner:up-docs-claim-early into main 2026-12-04 22:17:09 +00:00
Collaborator

Contributor role (optional)

  • Fluxer ID:

What it changes

  • The problem on main: read from the docs only. Today CONTRIBUTING.md mentions the early signal as an aside in step 2 ("Say on the issue, if there is one, that you're working on it, or open a draft pull request early"), and AGENTS.md has no step for it. Few people say they are working on something before a pull request appears, so two people can end up on the same fix.

This makes the early signal an explicit step:

  • CONTRIBUTING.md, step 2: before writing code, say on the issue that you're working on it; with no issue, open a draft pull request as soon as you have a first commit (WIP: at the start of the title, taken off when it's ready for review). It still says that this doesn't reserve the issue. New: if someone has already said they're on it or has a draft open, test or review theirs instead (as AGENTS.md step 4 already says). New: if a claim has had no activity for a while, ask on the issue before starting.
  • AGENTS.md, a new step 6 in the list before writing code: tell others with a comment on the issue or a draft pull request with the first commit; don't open an issue just for this (matching the existing rule about Fixes #).

No other rule changes. Two files, 7 lines added and 2 removed.

How it was tested

  • Tested revision: a623dffb6 (on main f3840d73d).
  • Commands and results: cargo xtask policy: ok.
  • Changes a default: no.
  • A/B result: not applicable (docs only).
  • Gates run on that revision: cargo xtask policy only; clippy and the workspace tests were not run (no code changed).
  • Gameplay: not applicable.
  • Hardware dependence: none (docs only).
  • Coverage gaps: none.

Checklist

  • I ran this change in the game, or say below why it can't be (docs, tests only).
    • Docs only.
  • This PR contains one change based on main.
  • The diff follows docs/asset-policy.md.
  • I recorded this PR's dependencies below.
    • Depends on: none

Checked for overlap

  • I searched the open pull requests for the same issue and for the files this touches.
  • Related PRs: #78 (changes AGENTS.md and CONTRIBUTING.md for this host), #203 (ours, adds a line to CONTRIBUTING.md), #205 (changes AGENTS.md). None changes the same lines as far as I can tell, but a small text conflict is possible.
  • Replaces or overlaps: none found.

Spec dependence

  • Likely general: documentation only.

This pull request was written with AI assistance (Claude Code).

## Contributor role (optional) - Fluxer ID: ## What it changes - The problem on main: read from the docs only. Today `CONTRIBUTING.md` mentions the early signal as an aside in step 2 ("Say on the issue, if there is one, that you're working on it, or open a draft pull request early"), and `AGENTS.md` has no step for it. Few people say they are working on something before a pull request appears, so two people can end up on the same fix. This makes the early signal an explicit step: - `CONTRIBUTING.md`, step 2: before writing code, say on the issue that you're working on it; with no issue, open a draft pull request as soon as you have a first commit (`WIP:` at the start of the title, taken off when it's ready for review). It still says that this doesn't reserve the issue. New: if someone has already said they're on it or has a draft open, test or review theirs instead (as `AGENTS.md` step 4 already says). New: if a claim has had no activity for a while, ask on the issue before starting. - `AGENTS.md`, a new step 6 in the list before writing code: tell others with a comment on the issue or a draft pull request with the first commit; don't open an issue just for this (matching the existing rule about `Fixes #`). No other rule changes. Two files, 7 lines added and 2 removed. ## How it was tested - Tested revision: a623dffb6 (on main f3840d73d). - Commands and results: `cargo xtask policy`: ok. - Changes a default: no. - A/B result: not applicable (docs only). - Gates run on that revision: `cargo xtask policy` only; clippy and the workspace tests were not run (no code changed). - Gameplay: not applicable. - Hardware dependence: none (docs only). - Coverage gaps: none. ## Checklist - [ ] I ran this change in the game, or say below why it can't be (docs, tests only). - Docs only. - [x] This PR contains one change based on `main`. - [x] The diff follows `docs/asset-policy.md`. - [x] I recorded this PR's dependencies below. - Depends on: none ## Checked for overlap - [x] I searched the open pull requests for the same issue and for the files this touches. - Related PRs: #78 (changes `AGENTS.md` and `CONTRIBUTING.md` for this host), #203 (ours, adds a line to `CONTRIBUTING.md`), #205 (changes `AGENTS.md`). None changes the same lines as far as I can tell, but a small text conflict is possible. - Replaces or overlaps: none found. ## Spec dependence - Likely general: documentation only. This pull request was written with AI assistance (Claude Code).
CONTRIBUTING.md step 2 and a new AGENTS.md step say to comment on the
issue, or open a draft pull request with a WIP: title, before writing code.

This change was made with AI assistance (Claude Code).
Jesper-A changed title from WIP: [pr-docs] Say before writing code: a claim on the issue or an early draft pull request to [pr-docs] Say before writing code: a claim on the issue or an early draft pull request 2026-12-04 13:08:32 +00:00
First-time contributor

Independent documentation and policy review of a623dffb67d4 (full head a623dffb67d4064c01ee3bdd6e9dccadad3c1240), based on main f3840d73d3504c30218debfbc8795b9225447317. Not run in-game (documentation-only change).

Environment

  • Windows 11 Pro 26H2 (build 26300.10075), Intel Core i9-14900K, NVIDIA RTX A2000 12GB (driver 621.47), Rust 1.98.1 (x86_64-pc-windows-msvc), MSVC 19.44.35230.

Measured results

  • cargo xtask policy: PASS (asset policy: 555 files ok).
  • Clippy and workspace tests were not run; this PR changes documentation only. Gameplay is not applicable.

Code-read audit

  • The new guidance correctly sends contributors to test/review an existing claim rather than opening competing work (AGENTS.md:26,28; CONTRIBUTING.md:37-44), and preserves the clarification that a claim does not reserve the issue (CONTRIBUTING.md:41-42).
  • The no-issue route specifies a WIP: draft after the first commit and instructs contributors not to create an issue just to claim work (AGENTS.md:28; CONTRIBUTING.md:39-41).

Finding

  • CHANGES NEEDED — The new timing instruction contradicts its no-issue route. Both files say to tell others “before writing code,” but when there is no issue, the prescribed signal is a draft PR “with the first commit” / “as soon as you have a first commit” (AGENTS.md:28; CONTRIBUTING.md:39-41). That signal necessarily follows writing code, so contributors receive incompatible instructions. Make the timing explicit: comment on an existing issue before coding; if there is no issue, open the draft after the first commit.

Verdict: CHANGES NEEDED.

AI-assisted: yes (GitHub Copilot, Auto mode).

Independent documentation and policy review of `a623dffb67d4` (full head `a623dffb67d4064c01ee3bdd6e9dccadad3c1240`), based on `main` `f3840d73d3504c30218debfbc8795b9225447317`. Not run in-game (documentation-only change). ### Environment - Windows 11 Pro 26H2 (build 26300.10075), Intel Core i9-14900K, NVIDIA RTX A2000 12GB (driver 621.47), Rust 1.98.1 (`x86_64-pc-windows-msvc`), MSVC 19.44.35230. ### Measured results - `cargo xtask policy`: **PASS** (`asset policy: 555 files ok`). - Clippy and workspace tests were not run; this PR changes documentation only. Gameplay is not applicable. ### Code-read audit - The new guidance correctly sends contributors to test/review an existing claim rather than opening competing work (`AGENTS.md:26,28`; `CONTRIBUTING.md:37-44`), and preserves the clarification that a claim does not reserve the issue (`CONTRIBUTING.md:41-42`). - The no-issue route specifies a `WIP:` draft after the first commit and instructs contributors not to create an issue just to claim work (`AGENTS.md:28`; `CONTRIBUTING.md:39-41`). ### Finding - **CHANGES NEEDED — The new timing instruction contradicts its no-issue route.** Both files say to tell others “before writing code,” but when there is no issue, the prescribed signal is a draft PR “with the first commit” / “as soon as you have a first commit” (`AGENTS.md:28`; `CONTRIBUTING.md:39-41`). That signal necessarily follows writing code, so contributors receive incompatible instructions. Make the timing explicit: comment on an existing issue before coding; if there is no issue, open the draft after the first commit. **Verdict: CHANGES NEEDED.** AI-assisted: yes (GitHub Copilot, Auto mode).
TrustNo1 manually merged commit 551e041e3c into main 2026-12-04 22:16:56 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
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
TrustNo1/Darner!271
No description provided.