Files
nxnative/.github/pull_request_template.md
seedds ae031161a5 Front ends can follow main: docs/frontends.md says what git shows, and a Front-ends: line in a commit says what only its author knows
nxnative has no releases or tags, and a day's work is about 50 commits, so a project that builds on main cannot tell which of them matter to it (issue #905, from v0lumehi of NX2Apple, who proposed such a line). Of the 53 commits up to 7dc00e4d none touched docs/frontends.md, the settings schema or settings.tsv, while they added 2 NSP script options, 21 environment switches and 6 shader chain changes.

"Following main" in docs/frontends.md gives the git commands for what git can show: the contract, the script's options, the environment switches, the chain. A commit needs no note for those; a line per chain change would be noise, with 47 of them in a week. What git cannot show takes a line in the commit message, Front-ends: break, interface or new, found with git log --grep='^Front-ends:'. It is a plain line and not a git trailer on purpose: a Fixes line in the same paragraph stops git reading the block as trailers. The section also says that a line's absence is no proof: 7c23cc0, the break the issue names, would have carried none, since its author did not know. So kept data that a change would strand moves by itself, as the previous commit's saves do, and CONTRIBUTING.md says so. No CHANGES file: every landing would edit it, and it would repeat git log.

AGENTS.md takes the rule and stays within its word limit: its Language bullet no longer lists what "everything" covers, and the scripts bullet drops "the others need not". The PR template gets a section to delete in most PRs.

Checked: test_docs; the commands on those commits.

Front-ends: new: commit messages from here on carry Front-ends: lines; docs/frontends.md, Following main, says how to read them.

Fixes #905
2026-11-04 22:00:23 +08:00

1.7 KiB

What and why

Checked

  • Tests:
  • Games run, with title ID and version:
  • Devices and OS:
  • For a change to the shader chain, the host or a tool that every game uses: the scripts/regress.py check --games report on the games it most likely reaches (regress.py impact helps), or why none (06-dev-loop.md)
  • Measurements before and after, where the change is about speed, memory or power

Front ends

Docs

  • The finding is in its game note or its docs/reference/<subsystem>.md entry, and python3 dm/tools/docs_symptoms.py was run (the symptom index)
  • A chain tool changed: dmsh_chain.py --header was run and dm/gfx/nvn/dmsh_chain.h is part of the change
  • No game files, keys or data extracted from a game in the change or the attachments