Skip to content

Rules carried over from the old plan, and parked work ​

Rules ​

RuleReasonWhere it is enforced
Nothing contractual (quotes, contracts, payment links, account creation) goes out without an explicit owner actionMistakes cost money or legal trouble.Procedures that send are owner-only and take an explicit confirmation.
Access rules live in one place on the serverHiding a button is not security.packages/api/src/access.ts
Out-of-scope records return "not found"Nobody can discover what exists by guessing ids.notFound() in the access module
Form needs consent and shows a privacy noticeUK data protection.Public form, milestone 4
Integrations optional, with a manual fallbackThe agency must work if Stripe, email or the scraper is down.packages/api/src/integrations/
Never invent figuresMissing data is shown as missing.not_configured results; "couldn't load" states
Sent quotes and signed contracts are immutable snapshotsPrice changes apply only to future documents.freezeSnapshot + template triggers (Versioning)
Migrations are append-onlyHistory is never rewritten.bun run db:check, CI
No secrets in code or chat; use deployment secretsKeeps credentials out of the repo and AI tools.Varlock schemas, Alchemy secrets
Any button that starts background work first shows what it will doA click never starts work the user can't see.UI convention
New ideas go on roadmap.md, not into the change in handKeeps each change small and reviewable.Roadmap

Not in this build (parked) ​

Native/Expo app; the Reroot app bridge; AI assistant/@ai agents; Meta/TikTok ads management and the growth dashboard; inbound social comment scraping; business map and sweeps; automated post-metric fetching; Google sign-in for clients; Google Drive; voice/auto-dialling; UK bank holidays in date maths (use plain calendar days until added).

Internal documentation. Not for clients.