✓
Mandatory Test Gate — After Every Phase
Non-negotiable. 100% pass required. All results saved. Zero issues carried forward.
ABSOLUTE RULE: ONE test failure = STOP. Fix ALL issues. Re-run ALL tests. 100% pass. Then and only then proceed. Results saved to
docs/test-results/PHASE-N-[DATE].md. Universal Phase Test Gate After Every Phase
™
IP, Patent & Trademark Recording Gate
Every innovation recorded in submission-ready format. Run after every phase. Public disclosure before filing destroys patentability.
IP Recording Protocol After Every Phase
⚖
Legal & Compliance Gate
Zero legal risk mandate. Full jurisdiction-aware compliance. Run at project start and before every public release.
Legal Risk Elimination + Compliance Audit Zero Risk
★
Master Single-Shot Prompt
One prompt runs all 8 phases. Fully populated with your project details. Copy and paste directly into Claude Code.
Master Universal Prompt — All 8 Phases Single Shot
⚙
CLAUDE.md — Repo Root Instructions
Place at repository root before running any phase. Claude reads this automatically every session.
CLAUDE.md Template Repo Root
0
Phase 0 — Forensic Repository Audit
Read everything before writing anything. Produces structured audit report.
Phase 0 · Forensic Audit No Files Created
1
Phase 1 — GitHub Standard Files
All default GitHub files, CI/CD workflows, issue templates, community health files.
Phase 1 · GitHub Files ~25 Files
2
Phase 2 — Public Documentation Suite
User, admin, technical, developer guides. API reference. All complete. Zero stubs.
Phase 2a · User + Admin Public
Phase 2b · Technical + Dev Public
3
Phase 3 — Standard Operating Procedures
15+ SOPs covering every critical operational process. Each with steps, checklists, and rollback.
Phase 3 · Complete SOP Suite 15+ SOPs
4
Phase 4 — IP, Compliance & Legal Documentation
Patent register, compliance matrix, legal templates. All jurisdiction-specific.
Phase 4 · IP + Legal Confidential
5
Phase 5 — Confidential Business Documents
Business plan, marketing, pricing, investor materials, HR, vendor register. Never committed publicly.
SECURITY: Verify
docs/confidential/ is in .gitignore before running this phase. These documents must NEVER appear on any public branch. Phase 5 · Confidential Suite Private Only
🔥
Phase 6 — Phoenix Rebuild Protocol
Ultra-detailed forensic document. Rebuild from zero to fully operational with nothing but this document.
Phase 6 · Phoenix Protocol Confidential · Eyes Only
🦢
Phase 7 — Black Swan Resilience Protocol
18+ extreme risk scenarios. Each with probability, impact, response protocol, and recovery procedure.
Phase 7 · Black Swan Protocol Confidential
8
Phase 8 — Complete Public Website
Fully functioning, production-ready. Lighthouse 90+. WCAG 2.2 AA. Deployable immediately.
Phase 8 · Public Website Full Stack
🌿
Release Branch Workflow
Clean releases with mandatory testing, IP review, and structured PR.
Single-Shot Release Quick
Full Release + Docs Complete