Weei HanandClaude Sonnet 5 e8a827f0da M0: add .env.local.example
Exempts .env*.example from the .env* gitignore rule so the template
is trackable while real .env.local stays ignored.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FcktbLXSSXzx23GCue813e
2026-07-30 20:43:15 +08:00
2026-07-30 14:35:52 +08:00
2026-07-30 20:43:15 +08:00
2026-07-30 20:43:15 +08:00
2026-07-30 14:35:52 +08:00

SOP Governance Tool — Spec Pack (Stage 1)

Complete specification suite for the single-tenant SOP governance tool, written to be dropped into the project repository and used by Claude Code.

Reading order (human)

# File What it answers
1 docs/01-PRD.md What we're building, for whom, and what we're deliberately NOT building
2 docs/02-FRD.md Every functional requirement with testable acceptance criteria (FR-x.x)
3 docs/03-architecture.md Stack, directory layout, and the 6 architectural decisions (AD-1…AD-6)
4 docs/04-database-schema.md Full Postgres DDL, JSON shapes, RLS policy matrix, seed plan
5 docs/05-api-spec.md Every mutation & AI route with request/response examples and error codes
6 docs/06-ui-ux.md Screen-by-screen specs, design tokens, mobile staff experience
7 docs/07-development-plan.md M0M7 milestones, weekly rhythm, scope-cut order
8 CLAUDE.md Session-by-session implementation plan + working rules for Claude Code

How to use with Claude Code

  1. Create your repo, copy this whole folder in (CLAUDE.md at repo root, docs/ alongside).
  2. Open Claude Code in the repo. It reads CLAUDE.md automatically.
  3. Say: "Read CLAUDE.md and docs/07-development-plan.md, then start Session S1."
  4. One session at a time. Run each milestone's checklist before moving on.

Scope guardrails

  • Stage 1 only: one company, fixed roles, 1-level approval, minimal incident log (report + review, no escalation workflows), no billing, no WhatsApp API (share links manually).
  • Stage-2 ready by design: org_id on every table + RLS from day one — multi-tenant SaaS later is an evolution, not a rewrite.
  • If a feature isn't in 02-FRD.md, it is out of scope. Add it to a "later" list, don't build it.

Parent documents: BRD v1.1 · Solo-Founder Roadmap (Stage 0 → 1 → 2).

S
Description
No description provided
Readme
266 KiB
Languages
TypeScript 54.3%
CSS 24.8%
PLpgSQL 17.7%
JavaScript 3.2%