The Setu Card
Every user's universal public identity at qrsetu.com/:slug. Server-rendered DOM, edge-cached, readable with no account and no app. The platform's core differentiator, not a module.
A proactive business assistant for Indian SMBs. Two frontend stacks, one shared TypeScript core, one Supabase backend — and the guardrails that keep it enterprise-grade.
The single source of truth for how QRSETU is built and operated.
⭐ Start at Current Architecture State
It is the one index of what is decided, what is built, and what is open — and it exists because on 2026-08-07 a decision taken the previous day was verified to exist in five source files and to have reached no ADR and no overview page (QRS-384). Across 114 portal documents, per-page freshness is not achievable by discipline; one authoritative index plus supersession banners is. Trust that page over any other — and if a document contradicts it, report the document as stale rather than following it.
Authority, highest first (since 2026-09-23, QRS-1288): (1) the enforcement point — a migration,
release.json, a parity contract, a test; (2) the portal page that a.claude/rulesrule orCLAUDE.md's routing table points at; (3) the repo-rootCLAUDE.mdfor the rule text itself (its rules are generated from Operating rules); (4) the state record and memory, as pointers. Where a page andCLAUDE.mddisagree about a fact, the page is the SSOT andCLAUDE.mdis the one to fix — "if it isn't documented, it isn't done."
The platform was redesigned from first principles on 2026-08-07/08 (ADR-0020 … ADR-0025), and the database baseline is authored but not yet applied to Dev — verified 2026-08-08: public holds 0 tables. Two consequences for anyone reading:
profiles, capabilities and subscription_tiers as things that were decided. A reference or architecture page naming them as current is a bug. The full retired-vocabulary list is in the glossary, and npm run check:docs gates it.[ENFORCED] — applies to all new code now; migrate existing code when you touch it.[TRANSITIONAL] — current reality the program is moving away from; do not add to it.legacy/ — the retired Vite SPA. Reference only; never the current shape of anything.