[Review] Standards and consistency pass across API, errors, migrations and conventions #445
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of the v4.6.0 release-readiness gate.
What
Make the codebase internally consistent, so a reader who has learned one corner can predict the others. Inconsistency is a correctness risk, not an aesthetic one — it is what makes a reviewer skim past the case that differs.
Areas
API surface
{"detail": "..."}everywhere, with 4xx/5xx used asCLAUDE.mdstatesErrors and failure modes
UndecryptableSettingErrorfor exactly this)Migrations
webapp/CLAUDE.mdmatchesalembic history, including the headProject conventions
CLAUDE.mdandwebapp/CLAUDE.mdstill match reality, and are followedMethod
Prefer a lint rule or a test over a written convention wherever one is possible. #429's
Dockerfile/docker-compose.ymlversion check is the model: two files that must agree, with a test that fails when they drift — that is worth more than a sentence in a document, because it cannot be forgotten.Acceptance criteria
alembic historyexactly, and a check enforces itCLAUDE.mdfiles reflect actual practice; anything no longer true is corrected rather than left aspirational