Quality bar

A change is done only when every line below is true. If one is not, it is not done yet.

Top rule

All backend code is Rust: server, API, plugins, tools, tests, and build tools like the docs site and the token generator. The Android app stays Kotlin; the app's web page stays HTML/CSS/JS. See Code style rule 1.

CheckWhat it meansHow to check
WorksIt does what the task asked, end to endRun it: curl the route, or use the app
TestedA new test covers it, and old tests passcargo test -j1 -- --test-threads=2 (Testing)
LoggedNew actions, errors and choices write a log line or audit eventLogging
SafeThe safety rules still holdSafety
CleanNo new build warnings; match nearby stylecargo build -j1 shows no new warnings. Lint (cargo clippy) is not set up yet: a gap
No secretsNo token, key, passphrase or personal data in code, tests, logs or docsRead your diff; search it for sk-, token, Bearer
SmallOne change does one thingThe diff fits in one review
ReviewedSomeone (a person or a second agent) ran the review checklistThe review notes
DocsPages for the part you changed match the codeWriting docs
BatteryApp changes do not wake the phone moreAndroid battery

Small changes

Before you say "done"

  1. Run the tests and read the result.
  2. Read your whole diff once, top to bottom.
  3. Say what you did not check, and any risk you know of.

The full change flow is in Change flow. The hard code rules are in Code style.