diff --git a/LESSONS.md b/LESSONS.md index 160e20c94..621609ce9 100644 --- a/LESSONS.md +++ b/LESSONS.md @@ -611,14 +611,8 @@ it doesn't.** open for the reporter. - Seen 1× (2026-10-05). -**One commit, one goal.** -- 653cb8ee bundled ZCode sign-in with WSL session deletion. -- 5464a362 capped six pages at 1200px when #860 asked for a speed display. -- A fix found on the way goes in its own commit. 1e0829b1 hid the ja/de fix - inside a Usage change, beside two issues (#925, #928). -- 76dc5aed bundled a Routing animation fix, a scrollbar fix and bringing the - GUI tests up to date. -- Seen 2× (2026-10-05, 2026-10-06). +**One commit, one goal** is in the code standards since 10-28. See +[Moved to the code standards](#moved-to-the-code-standards). **A squash merge's message is written, not GitHub's default.** Give `gh pr merge --squash` a `--subject` and a `--body-file` holding the PR's @@ -664,6 +658,10 @@ These were seen on three or more days. The rules and their evidence are in [docs/code-standards.md](docs/code-standards.md); a review still checks each one. +- **One commit, one goal** (10-05, 10-06, 10-28). On 10-28 6e080ca04 + answered psikent (/v1/models says every model takes tools) and windy + (a group's Context hint names the member a longer conversation skips) + under one subject that names only the first. - **Never let magpie's default override a value the user set themselves** (10-05, 10-10, 10-17). On 10-17 5a2414acd brought every plugins.yml without `settled` up once, Essentials to All. A user who had run diff --git a/docs/code-standards.md b/docs/code-standards.md index ee53db3c0..68a5ac398 100644 --- a/docs/code-standards.md +++ b/docs/code-standards.md @@ -218,6 +218,15 @@ left two GUI tests red, found by 2dcc51417 the same evening. When a community commit is applied without a body, the review commit says what was run against that author's code. +One commit has one goal. Two reports fixed together are two commits, +each with its own record, so a revert takes back one and keeps the other, +and a review can tell which test guards which change. A fix found on the +way goes in a commit of its own. 653cb8ee bundled ZCode sign-in with WSL +session deletion, and 1e0829b1 hid a ja/de fix inside a Usage change. On +10-28 6e080ca04 put psikent's /v1/models tools flag and windy's routing +group Context hint, two reports in two layers (gateway, GUI), under one +subject that names only the first. + A checkout, a worktree and the logs in it belong to the session that made them. Work in a worktree of your own (`git worktree add --detach`), never check out, commit from or clean another session's, and after committing