New-feature checklist
- Is it an area with a registry key, a default (off unless core) and an “off” behaviour (hidden, refused, no reports, no jobs)? Does a purge exist and keep payments?
- Which capability does it need? Is every list scoped to the tenant and the role, and does the UI hide what the role cannot use?
- Does every state change write an audit entry, go through the one workflow or availability module, and respect immutable evidence?
- Is every endpoint in OpenAPI (shown in Swagger UI and ReDoc, passing
redocly lint) with typed errors, throttles withRetry-After, and the same authority for web and native? Are the generated types regenerated? - Does money record first, in minor units with currency, idempotently, with webhook verification and Stripe, Razorpay and offline paths? Are secrets write-only and encrypted?
- Does it add analytics as counts-only, tagged
client, with any outside provider off until consent? - Do public pages hide private fields? Are links opaque? Is anything personal encrypted and classified?
- Are all strings translatable, both themes checked, tokens only, loader and motion rules followed, the accessibility floor met?
- Are files under 300 lines, one responsibility each?
- Are tests added (never deleted), the guide article and docs (with screenshots) updated, the version bumped, and the merge left to the maintainer?
- Does the installer or update path still work: one-line install, backup first, rollback, and (if it adds a service) the hybrid and no-Redis choices?
- Is the decision recorded in
docs/decisions.mdwith its reason, and arehandover/CONTINUE-HERE.mdandhandover/TODO.mdupdated? - Does the pipeline cover it (lint, types, unit, integration, contract, guards, e2e, security, build), all green?
Part of Space Works product rules, published from docs/product-rules.md. Edit it there.