Skip to content

claude.md: record the conventions and the traps worth knowing - #11

Merged
viict merged 1 commit into
masterfrom
conventions
Aug 10, 2026
Merged

claude.md: record the conventions and the traps worth knowing#11
viict merged 1 commit into
masterfrom
conventions

Conversation

@viict

@viict viict commented Aug 10, 2026

Copy link
Copy Markdown
Owner

Writes down two things that were only in people's heads.

Commits and history — the commit shape (scope: imperative description, where the
scope is where the change lives, not what kind of change it is), one logical change per
commit, fold fix-ups in before merge, don't squash a feature branch, don't rewrite
published history.

Traps that have already cost a day — the four that keep recurring: grep -c FAILED
missing a suite that failed to compile (check the test count), CI's clippy being newer
than the local one, the pty capture compositing stale rows, and repeating an unverified
claim. Plus the corpus checks (TREAD_*_CORPUS) that are in the suite but skipped unless
pointed at real code, and what each of them has caught.

Also brings three stale statements in line with what ci.yml actually runs:

  • the cross-check target list now includes aarch64-pc-windows-msvc (CI has checked it
    since the ci.yml commit; README.md and docs/windows.md already said so)
  • cargo clippy --all-targets -- -D warnings is in the pre-flight list, since CI gates on it
  • cargo fmt is not run on this tree — stated, so it stops being folklore

Docs only; no code touched. cargo test green (1308 + the integration binaries, 0 failed).

Pairs with #12 — that branch's CONTRIBUTING.md defers to these two sections
rather than restating them, so the pair cannot drift. Either can merge first.

The commit shape, the fix-up-before-merge rule, and the four traps that have
each cost a day. Also brings the cross-check target list and the clippy/fmt
gates in line with what ci.yml actually runs.
@viict
viict merged commit 7f522fa into master Aug 10, 2026
7 checks passed
@viict
viict deleted the conventions branch August 13, 2026 16:30
@viict viict self-assigned this Aug 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant