Problem
package.json defines format:check (oxfmt --check), but .github/workflows/ci.yml never runs it. CLAUDE.md makes "formatted" a pre-PR requirement, yet CI can't catch an unformatted PR.
Proposed fix
Add - run: pnpm format:check to the unit job, next to pnpm lint.
Scope and risk
One line. The tree is formatted today (oxfmt --check: "All matched files use the correct format", 642 files), so this won't turn CI red.
Validation
The CI run on the PR is green, and a deliberately unformatted commit makes it fail.
Found in a read-only audit of main @ 3264354.
Problem
package.jsondefinesformat:check(oxfmt --check), but.github/workflows/ci.ymlnever runs it.CLAUDE.mdmakes "formatted" a pre-PR requirement, yet CI can't catch an unformatted PR.Proposed fix
Add
- run: pnpm format:checkto theunitjob, next topnpm lint.Scope and risk
One line. The tree is formatted today (
oxfmt --check: "All matched files use the correct format", 642 files), so this won't turn CI red.Validation
The CI run on the PR is green, and a deliberately unformatted commit makes it fail.
Found in a read-only audit of
main@ 3264354.