|
16 | 16 | `grep -rnP '[\x{2010}-\x{2015}\x{2212}]' README.md root/ tests/ docs/` |
17 | 17 | - **No trailing whitespace** (`311b320`, `62d1a34`). |
18 | 18 | - **Every commit must be signed.** The repo has `commit.gpgsign=true` and the key signs without a prompt. Never pass `--no-gpg-sign`. |
19 | | -- **Conventional commit subjects**: `feat(broker):`, `fix(stream):`, `docs:`, `chore:`. Bodies explain the why, in the style of the existing log. |
| 19 | +- **Every commit on this branch uses the `fix(<scope>):` subject.** Not `feat:`, not `docs:`, not `chore:`. `.releaserc.json` runs semantic-release off `main`, where `feat:` cuts a minor version and this branch is a bugfix for a shipped lockout, so it takes a patch. Scopes follow the existing log: `broker` for the Python service, `stream` for the gate and the stream path, `mod` for the s6 and image layer. Bodies explain the why, in the style of the existing log. |
20 | 20 | - **Run the full suite and the linter before every commit:** |
21 | 21 | ```bash |
22 | 22 | python3 -m unittest discover -s tests -q && ruff check . |
@@ -482,7 +482,7 @@ Expected: all pass (127 now), `All checks passed!`. |
482 | 482 |
|
483 | 483 | ```bash |
484 | 484 | git add root/root/broker.py tests/test_broker.py |
485 | | -git commit -m "feat(broker): report the stream gate mode at startup and on /status |
| 485 | +git commit -m "fix(broker): report the stream gate mode at startup and on /status |
486 | 486 |
|
487 | 487 | Running with the gate off is a real exposure, so it is stated rather than |
488 | 488 | left to be deduced: the startup line names what is reachable (the |
@@ -574,7 +574,7 @@ Expected: no syntax error, all tests pass, `All checks passed!`. |
574 | 574 |
|
575 | 575 | ```bash |
576 | 576 | git add README.md root/etc/s6-overlay/s6-rc.d/init-pcsx2-config/init.sh |
577 | | -git commit -m "docs: say plainly that the stream gate ships off |
| 577 | +git commit -m "fix(stream): document that the stream gate ships off |
578 | 578 |
|
579 | 579 | The Security section stated the token gate as settled fact, which stopped |
580 | 580 | being true the moment STREAM_GATE landed. It now names the exposure in |
|
0 commit comments