What you do
- Clone the repository and run
./init.sh. - Answer prompts (approve each tool install).
- Optional: run
./init.sh --dry-runfirst to preview.
One-Command Setup
Installs everything the framework needs on your machine.
./init.shWhat the framework does
- Checks four prerequisites — Git, Node.js, jq, Docker — and offers to install any missing (all but Git are prompt-and-install).
- Resolves the tool matrix for your platform and offers the security tools that apply at this phase: Semgrep, gitleaks and Snyk for every project. Lighthouse rides along for web — but it is a
performancetool in the matrix, not a security one, and it is gated to thestandardandfulltracks, so a Light-track web project is never offered it. Anything the matrix marks for a later phase is deferred, not offered — OWASP ZAP is a Phase 3 DAST tool, so init records it and moves on. - Clones the Development Guardrails for Claude Code (git hooks + session rules).
- Generates your project folder, CI + release pipelines, CLAUDE.md, and about ten state artifacts under
.claude/. The three that matter most:.claude/phase-state.json(phase + gate dates),.claude/process-state.json(build-loop / UAT / Phase 3 ledger, and wherephase1_artifactslives), and.claude/manifest.json(host, mode, remote URL, deployment, poc_mode, enforcement level, plus the pinned framework commit and a currency inventory). Others includesettings.json,build-progress.json,tool-usage.json,tool-preferences.jsonandintake-progress.json. - Initializes git, seeds
.claude/bypass-audit.jsonwith its firstenforcement_level_setrow, and finishes by runningscripts/verify-install.sh --auto-fix.
What you do
- Run the intake wizard and answer plain-language questions.
- Describe project name, what it does, who uses it, platform (web/desktop/mobile/etc), language and success criteria, across the wizard's fourteen sections.
- Four independent settings govern everything downstream. Only one of them is set here — the other three are chosen at
./init.shtime and the wizard merely reads them:- POC mode — set by the wizard: Production Build, Sponsored POC (org knows, non-technical approvals deferred) or Private POC. Phase 4 is hard-blocked in either POC mode until
scripts/upgrade-project.sh --to-production. - Deployment: personal or organizational (init.sh).
- Track: Light / Standard / Full — depth of Phase 3 rigor (init.sh).
- Enforcement level: strict / light / no (init.sh). Strict is the default and is forced for every organizational project; only
deployment: personalmakes it choosable at all.
- POC mode — set by the wizard: Production Build, Sponsored POC (org knows, non-technical approvals deferred) or Private POC. Phase 4 is hard-blocked in either POC mode until
- Review the generated
PROJECT_INTAKE.mdbefore moving on.
Project Intake
Tell the framework exactly what you're building and why.
bash scripts/intake-wizard.shdata_classification + ZDR attestation into .claude/process-state.json under phase1_artifacts, which is exactly where the Phase 1 → 2 gate reads them.What the framework does
- Walks you through a structured Q&A tailored to your chosen platform.
- Offers context-aware suggestions (e.g. auth options for web, notarization for macOS desktop).
- Auto-fills the resolved tool matrix so the AI knows exactly which tools apply.
- Captures data classification (public / internal / confidential / pii / financial / health / regulated) and ZDR attestation — enforced later at the Phase 1 → 2 gate.
- Writes a complete intake document — no free-form guessing required later.
What you do
cdinto the projectinit.shcreated (the sibling folder, not the framework clone).- Run
bash scripts/resume.sh— the single state-aware first-message generator — and copy what it prints between its two banner lines. - Start Claude Code and paste that as your very first message.
- Read the AI's summary. Correct any misunderstanding before it starts work.
Give the AI Its Context
The agent reads its instructions before it does anything.
bash scripts/resume.shWhat the framework does
- There is no hand-maintained prompt to paste from the README any more.
scripts/resume.shreads.claude/phase-state.jsonand picks one of four branches: the intake prompt,PROJECT_INTAKE.md§ 13 verbatim, the phase-4 delta greeting, or the classic resume prompt. (The script lives in generated projects only.) - The § 13 initialization prompt attaches three documents: the Project Intake (the primary constraint), the Builder's Guide at
docs/reference/builders-guide.md(the process reference), and the Platform Module. The other resume branches additionally tell the agent to readCLAUDE.mdfor project context. - Summarizes the goal, constraints, current phase, and available tools.
- Asks you clarifying questions — its rules require it to flag a blank or conflicting intake field before proceeding past the step that needs it.
What you do (organizational only)
- Record six blocking pre-conditions as dated rows in
APPROVAL_LOG.mdbefore Phase 0 can advance. - Personal projects and Private POCs skip this row entirely; Sponsored POCs need rows 1 & 4 up front and may defer the rest.
Pre-Phase 0 · Organizational Pre-Conditions
Six governance rows before Day 1 for organizational deployments. See governance-framework.md § V (Approval Authority / POC Modes) and § XIV → "Pre-Conditions (Before Day 1)".
check-phase-gate.sh (Pre-Phase 0)What the framework checks
- Six named rows, each with an ISO-dated approval. Numbering matters —
upgrade-project.shparses these row numbers:- AI deployment path — IT Security approval.
- Insurance coverage confirmed — Insurance Broker.
- Liability entity designated — Legal / CIO.
- Project sponsor assigned — Executive Sponsor.
- Backup maintainer designated — Technical Lead.
- ITSM project registered — ITSM / PMO.
templates/generated/approval-log-org.tmpl, § Pre-Phase 0: Organizational Pre-Conditions — the<!-- BL-170-APPEND-DESIGN -->row-list paragraph. - Each row is checked by name, and a missing dated row prints
[WARN]but increments the gate's issue counter — so it blocks. - This whole block is skipped whenever
poc_modeis set. Sponsored POC owes rows 1 & 4 up front and defers 2/3/5/6 — but that is enforced later, byscripts/upgrade-project.sh --to-production, not by the Phase 0 → 1 gate. - Private POC: all six deferred. Personal: the template pre-fills all six as N/A — personal project.
- Enforcement level is forced strict for every organizational project.
What you do
- Answer the AI's discovery questions about goals and users.
- Review the draft Product Manifesto.
- Approve it in
APPROVAL_LOG.md(or request revisions).
Phase 0 · Product Discovery
Turn the idea into a written product agreement.
What the framework does
- AI walks the seven Phase 0 sub-steps: 0.1 Functional Feature Set (the FRD), 0.2 User Personas & Interaction Flow (Skeptical Product Manager persona), 0.3 Data Input/Output & State Logic (the data contract), 0.4 Product Manifesto & MVP Cutline, 0.5 Revenue Model & Unit Economics (Std+), 0.6 Orchestrator Competency Matrix, 0.7 Trademark & Legal Pre-Check (Std+).
- Generates supporting artifacts under
docs/phase-0/:frd.md,user-journey.md,data-contract.md. - 0.6 is not advisory — for each domain marked "No", the corresponding automated tool MUST be installed and active in CI before Phase 2 begins.
- Organizational deployments: sponsor reviews the Compliance Screening Matrix — ten rows covering SOX-adjacent financial reporting, PCI, multi-state/international personal data, EU users, OFAC sanctioned jurisdictions, records retention, EU-AI-Act end-user AI features, HIPAA, GLBA and SEC cyber disclosure. See governance-framework.md § VIII.11. (The intake wizard asks a related but different eight-item list — they are not the same set.)
- Cannot proceed to Phase 1 until the phase gate is approved. (STRIDE threat model is Phase 1.3, not here.)
Your approval unlocks the next phase
- Personal deployments: self-review recorded in
APPROVAL_LOG.mdwith name and date. - Organizational deployments: Project Sponsor is the sole named approver for business justification + compliance screening. The Sponsor (not you) must author the git commit that adds their signature.
Phase Gate 0 → 1
Framework refuses to advance without written sign-off. On success, a snapshot is copied to
docs/snapshots/phase-0-to-1_YYYY-MM-DD/.
What the framework checks
- Reads
APPROVAL_LOG.mdand (organizational) runsgit blame --line-porcelainon the Approver row itself — the git-commit author of that specific line must not equal the approver's name (anti-self-approval FAIL). Personal deployments skip this check. - Confirms
PRODUCT_MANIFESTO.mdhas all 8 numbered sections filled with content, and NOStatus: Openlines remain. A missing section and an unresolved Open Question are both[FAIL]; a placeholder-only section prints[WARN]— but it increments the issue counter too, so all three block. - Compares the dated Phase 0 → 1 entry against
.claude/phase-state.json::gates.phase_0_to_1— and writes it if the APPROVAL_LOG evidence is there and the JSON slot is empty, atomically and under a lock, alongside a companionphase_0_to_1_bykey. The write is idempotent (an existing date is preserved) and deliberately still fires in warn mode. Function_cpg_record_gate_date; marker# BL-071-WRITE. - On PASS,
check-phase-gate.shcreates a point-in-time snapshot atdocs/snapshots/phase-0-to-1_YYYY-MM-DD/.
What you do
- Review the three architecture options the AI is required to propose, with tradeoffs.
- Pick the architecture. Read the test plan.
- Approve at the Phase 1 → 2 gate.
Phase 1 · Architecture & Planning
Design the system on paper before writing any code.
docs/phase-0/data-contract.md, not a Bible section.)What the framework does
- AI walks the Phase 1 sub-steps: 1.1 Business Strategy Gateway (Std+ Go/No-Go), 1.1.5 Market Signal Validation (Std+), 1.2 Architecture & Stack Selection (3 candidates, 10 first-class decisions, Competency Matrix as required input), 1.3 Threat Model & Stress Test (STRIDE, Penetration Tester persona), 1.4 Data Model, 1.4.5 Data Migration Plan (only if replacing an existing system), 1.5 UI & UX Scaffolding (four required states — Empty / Loading / Error / Success), 1.6 The Project Bible (16 sections), 1.7 Data Classification & ZDR Attestation.
- Writes Architecture Decision Records (ADRs) from
templates/generated/adr.tmpl, with Options Evaluated and Rejected Alternatives sections — why each big choice was made, and what was turned down. - Configures branch protection against the real git-host API (GitHub / GitLab / Bitbucket) via
scripts/lib/host.sh—host_configure_protection, called frominit.shandscripts/check-gate.sh. The phase gate later calls onlyhost_verify_protection; it verifies, it does not configure. Free-tier limitations use an attestation escape hatch (github_free_tier,gitlab_free_tier_approvals). - Produces the test strategy in Bible § 12, with entry/exit criteria for Phase 3 and per-category pass/fail bars.
Your approval unlocks Phase 2
- Personal: self-review recorded in
APPROVAL_LOG.md. - Organizational: Senior Technical Authority approves architecture, security posture, and data classification.
Phase Gate 1 → 2
Includes the mandatory Zero Data Retention gate (Invariant #16).
Snapshot: docs/snapshots/phase-1-to-2_YYYY-MM-DD/.
What the framework checks
- Dated "Phase 1 → Phase 2" entry in
APPROVAL_LOG.md; organizational adds a per-line git-blame check on the STA row. PROJECT_BIBLE.mdexists with ≥ 14 numbered sections (the template ships 16) and noYYYY-MM-DDplaceholder dates remaining. Both arms print[WARN]and both block.- Mandatory ZDR gate (Invariant #16):
.claude/process-state.json::phase1_artifacts.data_classificationmust be one of public / internal / confidential / pii / financial / health / regulated. Anything above public requireszdr_attested=trueOR a writtenzdr_attestation_reason. FAIL otherwise, and it fails closed — no jq or no state file resolves to unset, which is also a FAIL. - Branch protection backstop: a real API call verifies four things — force-push disabled, admin enforcement on, and (org) at least one required PR approver plus non-empty required status checks. Free-tier attestation limits are accepted only if recorded in
.claude/process-state.jsonunderphase2_init.attestations.branch_protection.reason. Carve-out worth knowing: in CI with no host token exported, the check reports "could not run" and does not block; run locally it blocks. - Personal → organizational upgrades: a genuinely non-blocking recurring WARN until the Retroactive Phase 1 → 2 STA Approval row is filled — this arm deliberately omits the issue increment. It is one of the few WARNs on this page that really is only a nudge.
What you do
- Answer clarifying questions when the AI asks.
- Review test assertions and code diffs for each feature.
- Every ~2 features: run a UAT session and triage any bugs found.
- Mark bugs Fix Now / Defer / Won't Fix / Post-MVP.
Phase 2 · Construction (Build Loop)
Build features one at a time, TDD-first, with security review baked in. Full sub-loop shown below.
What the framework does
- Runs the Feature Build Loop for every feature (detailed diagram below).
- Enforces the Build Loop checklist on
feat:commits: from Phase 2 onward,process-checklist.shrequires the first five of six steps (tests_written → documentation_updated) before allowing the commit. Other prefixes (chore:,fix:,refactor:) bypass this check — it is scope-limited, not universal. They do not bypass the TDD ordering gate, which fires onfeat/fix/refactoralike. - TDD ordering is tier-keyed, not warning-only. A commit that ships implementation with no accompanying test is a HARD BLOCK on organizational / Sponsored-POC projects and a logged warning on personal / Private-POC ones — keyed on
deployment+poc_mode, never the spoofabletrack. The only escape isSOLO_TDD_ATTESTED=1with a reason, recorded toprocess-state.json::tdd_attestations[]; if that record cannot be written the commit is still refused. - Runs gitleaks + Semgrep (staged files) on every commit — both live in the generated
.git/hooks/pre-commit, and both block on a hit. Agent-issued--no-verifyis denied outright, and commits that get through out-of-band are captured by the SessionStart detector in.claude/bypass-audit.json. - Blocks
gh pr createwhen a UAT session is in progress with < 9 of 9 steps completed, or when a Build Loop is active with 1–4 of its 5 required steps recorded. - Test-gate reminds you when
features_since_last_testreaches the interval (default 2, set with--set-interval N); you invokescripts/test-gate.sh --check-batchto trigger the UAT. - Blocks Phase 2 → 3 on any open SEV-1 OR any SEV-2 (open OR deferred — deferred SEV-2 must be resolved or the feature removed; no third option).
- Organizational: biweekly Mid-Phase 2 Governance Checkpoint with the Senior Technical Authority — a 30-minute maximum status review of features delivered vs Bible scope, architectural deviations from the Phase 1 design, test-pass-rate trend, unresolved security findings, and the risk-register delta. The STA does not approve or block at this cadence; it is course-correction, not a gate. Escalation is a separate path with its own triggers (budget/timeline overrun > 20%, cross-business-unit scope, a security finding beyond the Orchestrator's competency, a data-classification dispute, an unresolvable license concern).
Your approval unlocks Phase 3
- Personal: self-review in
APPROVAL_LOG.md. - Organizational: Senior Technical Authority signs.
- Reconcile scope against the Manifesto MVP Cutline. The mechanical check compares the Manifesto's Must-Have bullet count against
.claude/build-progress.json::features_completedand flags a mismatch in either direction. The "additions require documented orchestrator approval" rule is prose guidance — nothing verifies an approval record.
Phase Gate 2 → 3
Bug gate blocks; MVP-Cutline reconciliation required.
Snapshot: docs/snapshots/phase-2-to-3_YYYY-MM-DD/.
What the framework checks
- Dated "Phase 2 → Phase 3" entry in
APPROVAL_LOG.md. FEATURES.mdandCHANGELOG.mdexist — the gate tests presence only, not content. (A separate advisory intest-gate.shnotices an emptyFEATURES.md;CHANGELOG.mdis never checked for content by any gate.) Both arms print[WARN]and both block.- Bug gate via
test-gate.sh --check-phase-gate: SEV-1 open > 0 → BLOCKED; SEV-2 open > 0 → BLOCKED; SEV-2 Deferred > 0 → BLOCKED (must resolve or remove the feature). SEV-3 open prints WARN and blocks too — it makestest-gate.shexit 2, and the caller increments its issue counter on exit 2. So does "no bug tracking source found." - Read the increment, not the label. In
check-phase-gate.shthe[WARN]/[FAIL]text is cosmetic — the exit predicate is zero issues. Nearly every WARN on this page increments and therefore blocks; the exceptions are called out individually.
What you do
- Walk the mechanically-enforced 9-step Phase 3 checklist (
process-checklist.sh --start-phase3): integration testing, security hardening, chaos testing, accessibility audit, performance audit, contract testing, results archived, pre-launch preparation, legal review. - Run
evaluation-prompts/Projects/run-reviews.sh <module>to produce the six adversarial reviewer reports. Security + Red Team are REQUIRED on Standard and Full — a missing one is a hard FAIL at the Phase 3 → 4 gate; Full additionally requires all six. Light is warn-only, with the bypass logged. Address all Critical / High findings. - Personal: self-review recorded. Organizational: gather written sign-offs from both Application Owner AND IT Security — see the Gate 3 → 4 row below.
- Security-domain "No" or "Partially" on the Competency Matrix → mandatory Security Peer Review at Phase 3 before go-live, regardless of track (governance-framework.md § V › "Security Peer Review (Competency-Gated)").
Phase 3 · Validation & Security
Nine substeps + adversarial reviews + track-specific pen test + attorney legal review. Exit rule: zero Critical or High-severity findings.
docs/test-results/ archive, sbom.json, HANDOFF.md, docs/INCIDENT_RESPONSE.md, SECURITY.md, docs/eval-results/review-manifest.json, penetration test report (Std+).What the framework does
- 3.1 Integration Testing — Platform Module E2E suite over the full User Journey.
- 3.2 Security Hardening — Semgrep (
--config=p/owasp-top-ten --config=p/security-audit) + Snyk + gitleaks + license check + SBOM (CycloneDX/syft) + threat-model validation. Web: OWASP ZAP baseline (all tracks) / active (Full). You (or the agent) archive the artifacts todocs/test-results/[date]_[scan-type]_[pass|fail].[ext]— that naming convention is the guide's, not an automatic writer's. The one script that writes results itself isscripts/run-phase3-validation.sh, intodocs/test-results/phase3, and since BL-070 all five of its registered scanners really run. - 3.3 Chaos & Edge-Case Testing — input abuse defenses, error recovery, concurrency protection, resource limits, global error boundaries.
- 3.4 UX & Accessibility Audit — WCAG AA baseline; Lighthouse ≥ 90 for web; Full Track requires explicit screen-reader testing.
- 3.5 Performance Audit — latency vs data contract, memory stability, minimum-supported-hardware validation.
- 3.5.5 Contract Testing (Std+, for applications with interfaces other systems consume — APIs, IPC, file formats); 3.5.7 Load/Stress Testing (Full only, if applicable — Standard does not require it).
- 3.5.9 Test Results Archive —
docs/test-results/is referenced from the Phase 3 → 4 APPROVAL_LOG entry and folded into HANDOFF.md. - 3.6 Pre-Launch Preparation (Std+) — Final UAT with formal acceptance sign-off (Sponsored POC / Production); MANDATORY attorney review of Privacy Policy AND Terms of Service recorded in APPROVAL_LOG (builders-guide.md §Phase 3.6); license audit passing; trademark search.
- Six evaluation prompts are operator-invoked via
run-reviews.sh. Personas: Senior Engineer (01), CIO (02), SVP IT Security (03), Corporate Legal (04), Technical User (05), Red Team (06). A missingdocs/eval-results/review-manifest.jsonBLOCKS the Phase 3 → 4 gate — under track-aware enforcement it prints FAIL, and even the plain "manifest not found" arm increments the issue counter. A manifest with zero completed reviews blocks too; only a partial manifest on a light or grandfathered track takes the truly non-blocking arm.scripts/lint-review-manifest.shvalidates the file's shape only and says so — an absent manifest is a gate concern, not a schema concern.
The heaviest gate — governance sign-offs required
- Personal: self-review recorded in
APPROVAL_LOG.md(single approver). - Organizational — dual approval: BOTH Application Owner Approval AND IT Security Approval subsections in
APPROVAL_LOG.mdmust have populated Date rows.- Application Owner: accepts operational risk + go-live readiness.
- IT Security: reviews scan results, penetration test, threat-model validation, risk acceptance.
- Each subsection is verified independently by
validate_approval_section_dated— header presence alone does not satisfy the gate. - Approvers must author their own commit (anti-self-approval via per-line git blame; org projects FAIL on self-approval).
- Attorney/Legal review recorded for Privacy Policy + ToS if applicable (external users).
- ITSM deployment change ticket referenced in the Phase 4 Completion row.
- Sponsored POC / Production Full UAT: formal acceptance sign-off by product sponsor or designated tester.
- See governance-framework.md §V Approval Authority row for Phase 3 → 4.
Phase Gate 3 → 4
Two written signatures (org), pen test on Std+, artifact roster, hard-block for POC.
Snapshot: docs/snapshots/phase-3-to-4_YYYY-MM-DD/ — the point-in-time audit record.
What the framework checks
In scripts/check-phase-gate.sh: the region opened by
# Phase 3→4 readiness region, plus the functions
validate_approval_section_dated, _cpg_gate_has_evidence and
create_gate_snapshot, and the marker families
# BL-073-ESCALATE, # BL-104-MANIFEST-ARM,
# BL-070-GATE-CHECK and # BL-115-DATE-CELL.
- Dated "Phase 3 → Phase 4" entry — the date must sit in a
| Date |row within the first 15 lines of that section, not merely somewhere nearby. - Organizational: BOTH Application Owner AND IT Security Date rows populated. A template's placeholder
[Date]orYYYY-MM-DDdoes not count. Either missing → the gate fails (printed as[WARN], but it increments). - Required artifacts — every one of these blocks, whatever label it prints:
HANDOFF.md,docs/INCIDENT_RESPONSE.md,sbom.json, non-emptydocs/test-results/,SECURITY.md, anddocs/eval-results/review-manifest.json.SECURITY.mdis not advisory — the "WARN if missing" wording in the Builder's Guide is cosmetically true and materially false. - Phase 3 checklist cross-check: the gate blocks at 0/9 steps and at 1–8/9.
- Penetration test: Standard track requires
*pen-test*/*pentest*/*penetration*files indocs/test-results/, or an exemption recorded inAPPROVAL_LOG.md— note the exemption grep does not verify it came from IT Security. Full track has NO exemption path. On Standard, having neither also blocks. - POC hard-block: if
poc_modeis set in.claude/phase-state.json, Phase 4 is BLOCKED with::error::. Points atscripts/upgrade-project.sh --to-production, which walks the six numbered Pre-Phase 0 rows (or requires--ack-preconditions=<N1,N2,…>— the value form is mandatory — recorded in.claude/bypass-audit.json). - Release pipeline TODO check: unconfigured TODOs in the release workflow block. Note the path is hardcoded to
.github/workflows/release.yml, so on GitLab and Bitbucket projects — where init writes.gitlab-ci/release.ymlandbitbucket-pipelines/release.yml— this check silently never fires. - Bug gate (via
test-gate.sh --check-phase-gate) must pass. Its warning exit code blocks here as well as its failure code. - On PASS only, and only if no such directory exists yet: a snapshot at
docs/snapshots/phase-3-to-4_YYYY-MM-DD/containing PRODUCT_MANIFESTO / PROJECT_BIBLE / FEATURES / CHANGELOG / BUGS / USER_GUIDE / HANDOFF / RELEASE_NOTES / APPROVAL_LOG / sbom.json, plusdocs/INCIDENT_RESPONSE.mdand atest-results-listing.txt(a listing, not the files). See builders-guide.md § Phase 3 → Phase 4 Gate › "Gate-Checked vs. Snapshot-Only Artifacts". - Enforcement decisions are appended to
.claude/bypass-audit.json— the durable audit ledger. Routine clean passes are no longer among them: a clean terminal commit writes an untracked.claude/last-gate-pass.txtreceipt instead, and the ledger'sterminal_commit_passedtype survives as schema-valid legacy.
What you do
- POC → Production upgrade first: Phase 4 is hard-blocked for
poc_modeprojects at BOTHcheck-phase-gate.shANDprocess-checklist.sh --start-phase4. Runscripts/upgrade-project.sh --to-productionBEFORE Phase 4 can start. - Walk the 6-step Phase 4 checklist: production build, rollback tested, go-live verified, monitoring configured, handoff written, handoff tested.
- Kick off the release (signing keys, store credentials, deploy) using your chosen strategy: cut-over (Light, internal tools), blue/green (Std+ web), rolling/canary (Std+ with >1,000 users — route 5–10% of traffic first), feature flags (high-risk features on any track).
- Update
RELEASE_NOTES.mdand hand off to users. - Organizational: file the ITSM deployment change ticket (ID recorded in the APPROVAL_LOG Phase 4 Completion row); the backup maintainer validates
HANDOFF.md— two tasks, from that document alone: set up a development environment from zero, and triage a simulated production issue.
Phase 4 · Release & Maintenance
Ship the MVP with a tested rollback and verified monitoring. Then maintain on a two-cadence schedule — and everything after this arrives through the Delta Track.
HANDOFF.md, docs/INCIDENT_RESPONSE.md (SEV-1..SEV-4 severity matrix + notification chains), monitoring configuration, Phase 4 Completion row in APPROVAL_LOG.md. CHANGELOG.md is not new here — it is a Phase 2+ artifact this step updates.What the framework does
- Runs the release pipeline for your platform — build, package, distribute, and sign on desktop/mobile. The path is host-conditional:
.github/workflows/release.ymlon GitHub,.gitlab-ci/release.ymlon GitLab,bitbucket-pipelines/release.ymlon Bitbucket. - MANDATORY rollback test BEFORE go-live (Step 4.1.5): deploy candidate → execute documented rollback → verify data integrity + revert. "A rollback procedure that has never been tested is not a rollback procedure — it is a hope."
- MANDATORY monitoring verification (Step 4.3): trigger a test error, confirm the alert was received. "Configured is not verified."
- PLATFORM MODULE MANDATORY go-live checklist (Step 4.2): SSL/security headers (web), code signing/auto-updater (desktop), app-store metadata & certificates (mobile). Failure may result in deployment rejection.
- Updates CHANGELOG + RELEASE_NOTES with what shipped.
- Turns on the maintenance cadence. There are two, not four: a routine review every 14 days (signal: the last commit touching
CHANGELOG.md, and the last touchingsbom.json) and a deep security scan every 95 days with the dependency audit folded into it (signal: the newest dated scan artefact indocs/test-results/). Both windows are project-owned policy, not constants, read through the delta-policy seam. Measured on demand byscripts/check-maintenance.sh, nagged at session start byscripts/session-cadence-check.sh, and enforced at the tag byscripts/cut-release.sh. The separate 95-day dependency row and 185-day biannual row were merged into one 95-day cadence, and 185→95 and 35→14 were deliberate tightenings — see the Delta Track. - Records the release + all post-launch changes in the APPROVAL_LOG "Approval History" table; the point-in-time
docs/snapshots/phase-3-to-4_YYYY-MM-DD/stays immutable — the writer returns early rather than overwrite an existing snapshot. - The journey does not end here. Every change after the v1.0.0 tag goes through the Delta Track below. Note that nothing in the enforcement path points you there:
check-phase-gate.shknows nothing about deltas, and neitherprocess-checklist.sh's completion message norresume.sh's phase-4 greeting namesscripts/delta.sh. Your project'sCLAUDE.mdand the Builder's Guide § Step 4.6 are where that pointer lives.