Docs: add a contributor onboarding guide #580

Open
lucaseddd wants to merge 3 commits from upstream-pr/580 into main
lucaseddd commented 2026-11-24 05:12:33 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by lucaseddd on 2026-11-24T05:12:33Z.


Addresses the contributor onboarding part of #22. Add a GitHub-discoverable guide for choosing an unclaimed task, running a source-only check, and writing a reproducible report that follows the asset policy.

Verified on Windows 10 at d2a4bae: cargo test --locked -p victory-formats returned 20 passed, 0 failed, 3 ignored (external reference fixtures). Only documentation changes.

<!-- greyfinch-sync:Marvisak/VIctory:issue:6575136070 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/580). Originally posted by [lucaseddd](https://github.com/lucaseddd) on 2026-11-24T05:12:33Z. --- Addresses the contributor onboarding part of #22. Add a GitHub-discoverable guide for choosing an unclaimed task, running a source-only check, and writing a reproducible report that follows the asset policy. Verified on Windows 10 at d2a4bae: cargo test --locked -p victory-formats returned 20 passed, 0 failed, 3 ignored (external reference fixtures). Only documentation changes.
mercuryVM commented 2026-11-24 09:05:41 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by mercuryVM on 2026-11-24T08:40:49Z.

Review: APPROVED


Read only for review (docs). The branch builds and tests at ef5bdd2 (264 passed, 0 failed) on Windows 11, RTX 5070, MSVC.

The guide is accurate:

  • cargo xtask install-hooks, cargo xtask policy [--staged] and cargo test -p victory-formats all exist.
  • The formats suite does use synthetic fixtures only, with 3 tests ignored that need external references.
  • The reporting section points at docs/asset-policy.md and says to keep proprietary captures and dumps out, which is the main thing a newcomer needs.

One addition worth considering: note that cargo fmt --all --check fails on main today, so contributors format only what they touch. Otherwise the first thing a careful newcomer runs reformats a hundred unrelated lines.

AI-assisted (Claude Code).

<!-- greyfinch-sync:Marvisak/VIctory:review:6036065199 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/580#pullrequestreview-6036065199). Originally posted by [mercuryVM](https://github.com/mercuryVM) on 2026-11-24T08:40:49Z. **Review:** APPROVED --- Read only for review (docs). The branch builds and tests at ef5bdd2 (264 passed, 0 failed) on Windows 11, RTX 5070, MSVC. The guide is accurate: - `cargo xtask install-hooks`, `cargo xtask policy [--staged]` and `cargo test -p victory-formats` all exist. - The formats suite does use synthetic fixtures only, with 3 tests ignored that need external references. - The reporting section points at `docs/asset-policy.md` and says to keep proprietary captures and dumps out, which is the main thing a newcomer needs. One addition worth considering: note that `cargo fmt --all --check` fails on main today, so contributors format only what they touch. Otherwise the first thing a careful newcomer runs reformats a hundred unrelated lines. AI-assisted (Claude Code).
lucaseddd commented 2026-11-24 12:04:27 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by lucaseddd on 2026-11-24T11:15:45Z.


Thanks for reviewing the guide and running the checks. I confirmed that the current main still reports existing formatting differences and added a note to format only the Rust files touched by a contribution.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7129869372 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/580#issuecomment-7129869372). Originally posted by [lucaseddd](https://github.com/lucaseddd) on 2026-11-24T11:15:45Z. --- Thanks for reviewing the guide and running the checks. I confirmed that the current main still reports existing formatting differences and added a note to format only the Rust files touched by a contribution.
mercuryVM commented 2026-11-24 13:01:44 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by mercuryVM on 2026-11-24T12:08:17Z.

Review: APPROVED


Read only, not built: the new commit 7ca84cc adds four lines to CONTRIBUTING.md (format only the files you touch, since cargo fmt --all --check already reports differences on main). That's accurate. I see the same pre-existing fmt --check differences here, and the advice keeps reviews readable.

AI-assisted (Claude Code).

<!-- greyfinch-sync:Marvisak/VIctory:review:6038913436 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/580#pullrequestreview-6038913436). Originally posted by [mercuryVM](https://github.com/mercuryVM) on 2026-11-24T12:08:17Z. **Review:** APPROVED --- Read only, not built: the new commit 7ca84cc adds four lines to `CONTRIBUTING.md` (format only the files you touch, since `cargo fmt --all --check` already reports differences on main). That's accurate. I see the same pre-existing `fmt --check` differences here, and the advice keeps reviews readable. AI-assisted (Claude Code).
lucaseddd commented 2026-11-24 13:02:03 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by lucaseddd on 2026-11-24T12:24:34Z.


Thanks @mercuryVM for checking the formatting note against main and reviewing 7ca84cc.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7131397839 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/580#issuecomment-7131397839). Originally posted by [lucaseddd](https://github.com/lucaseddd) on 2026-11-24T12:24:34Z. --- Thanks @mercuryVM for checking the formatting note against main and reviewing 7ca84cc.
Marvisak commented 2026-11-25 02:05:57 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T01:23:08Z.


Automated triage for the maintainers.

Recommended for a maintainer's look. 2212a95 addresses both earlier points. The paragraph about formatting differences on the current main is gone, and only "format only the Rust files you touch" is left. The asset-policy paragraph now also says that code, comments, tests and docs must not name the console SDK or copy identifiers from its headers. I checked the commands against main: cargo xtask install-hooks, cargo xtask policy / --staged (xtask/src/main.rs, policy::run) and the victory-formats tests all exist, and the links to README.md and docs/asset-policy.md resolve. At 45 lines it fits the "docs stay short" rule. Whether VIctory wants a separate CONTRIBUTING.md at all is the maintainer's call. #112 also adds one, as part of a larger Linux build change.

One small fix: a stray line break splits the last sentence ("observations in text and" / "keep game files…"). It renders correctly but could be joined.

CI: passing.


Generated by Claude Code

<!-- greyfinch-sync:Marvisak/VIctory:comment:7149490414 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/580#issuecomment-7149490414). Originally posted by [Marvisak](https://github.com/Marvisak) on 2026-11-25T01:23:08Z. --- <!-- victory-triage v1 head=2212a95d703cd38f875255657fc4fbafa68a01ef verdict=merge-candidate at=2026-11-25T02:20:29Z --> Automated triage for the maintainers. **Recommended for a maintainer's look.** `2212a95` addresses both earlier points. The paragraph about formatting differences on the current `main` is gone, and only "format only the Rust files you touch" is left. The asset-policy paragraph now also says that code, comments, tests and docs must not name the console SDK or copy identifiers from its headers. I checked the commands against `main`: `cargo xtask install-hooks`, `cargo xtask policy` / `--staged` (`xtask/src/main.rs`, `policy::run`) and the `victory-formats` tests all exist, and the links to `README.md` and `docs/asset-policy.md` resolve. At 45 lines it fits the "docs stay short" rule. Whether VIctory wants a separate `CONTRIBUTING.md` at all is the maintainer's call. #112 also adds one, as part of a larger Linux build change. One small fix: a stray line break splits the last sentence ("observations in text and" / "keep game files…"). It renders correctly but could be joined. CI: passing. --- _Generated by [Claude Code](https://claude.ai/code)_
fuzeofficlal commented 2026-11-26 02:07:10 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by fuzeofficlal on 2026-11-26T01:31:06Z.


Documentation and policy check at head 2212a95d703c merged cleanly onto main (63bcca43c6a0):

  • Cross-checked every link (README.md, docs/asset-policy.md), command (cargo xtask install-hooks, cargo xtask policy, cargo xtask policy --staged, cargo test --locked -p victory-formats), and formatting/policy rule against current main (63bcca43) — all accurate and up to date.
  • Verified: cargo xtask policy (192 files ok), cargo test --locked -p victory-formats (46/46 passed, 5 ignored).

LGTM.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7179850499 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/580#issuecomment-7179850499). Originally posted by [fuzeofficlal](https://github.com/fuzeofficlal) on 2026-11-26T01:31:06Z. --- Documentation and policy check at head `2212a95d703c` merged cleanly onto `main` (`63bcca43c6a0`): - Cross-checked every link (`README.md`, `docs/asset-policy.md`), command (`cargo xtask install-hooks`, `cargo xtask policy`, `cargo xtask policy --staged`, `cargo test --locked -p victory-formats`), and formatting/policy rule against current `main` (`63bcca43`) — all accurate and up to date. - Verified: `cargo xtask policy` (`192 files ok`), `cargo test --locked -p victory-formats` (**46/46 passed**, 5 ignored). LGTM.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/580:upstream-pr/580'
git switch 'upstream-pr/580'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/580'
git switch 'upstream-pr/580'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/580'
git switch 'upstream-pr/580'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/580'
git switch 'main'
git merge --squash 'upstream-pr/580'
git switch 'main'
git merge --ff-only 'upstream-pr/580'
git switch 'main'
git merge 'upstream-pr/580'
git push origin 'main'
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
Marvisak/VIctory!580
No description provided.