PARTNER · CONFIDENTIAL

Palak

Strategy, direction, approvals
Decides what ships · Customer conversations · No tactical work
→

Web Claude

Strategic planning
Drafts sprint contracts · Authors CC prompts · Holds session context
→

Cloud / Terminal CC

Tactical execution
Runs gstack pipeline · Produces PRs + evidence · Never merges itself

Intent

Palak names the outcome
→
→

/plan-eng-review

Separate CC finds gaps, risks, drift
→

Amendment

Gaps bake into the scope
→

Locked contract

Acceptance criteria, test plan, grading
Click to close · Esc

Sprint contract · the locked scope

tasks/contracts/*.md · 9 sections each
Before any code is written, web Claude drafts a contract that generator and evaluator both agree to. The contract is the single source of truth for "what ships."
9 sections
  1. Scope definition (what + what "done" looks like + out of scope)
  2. Acceptance criteria (table with AUTO/VISUAL/DATA types)
  3. Grading criteria (4 axes, 1-5 scores, below 3 = fail)
  4. Test plan (curl, Playwright, DB queries)
  5. Compp-on-Compp dual-tenant validation
  6. Contract negotiation log (append-only)
  7. QA results (filled in by evaluator)
  8. Verification record (deploy artifacts)
  9. Appendices (schemas, code refs)
Amendment protocol

If /plan-eng-review finds gaps after the contract is drafted, amendments land as separate commits with dated negotiation log entries. No silent scope expansion.

Contract sections: scope · acceptance criteria · grading (4 axes) · test plan · Compp-on-Compp dual-tenant check · negotiation log · QA results · verification record · appendices
Generator

Cloud CC

  • /investigate → implementation → pushes branch
  • Reuses helpers, follows KNOWN PATTERNS
  • Never self-approves, never merges
  • Reports Ready for Merge with evidence
Evaluator (fresh context)

Separate CC

  • /qa grades against contract on 4 axes
  • Default stance is FAIL until proven
  • Any axis below 3 = sprint fails, full stop
  • Tests the running app, not the code
4 axes: Ive Standard compliance · Data integrity (Three Laws) · Process Graph fidelity · Functional correctness

Architecture

abstraction boundaries

Data

provenance, claim_type

Coherence

naming, counts, cross-refs

Dependency

blast radius, imports

Scope

contract drift

Test Coverage

test gap analysis
Click to close · Esc

Review Army · 7 parallel specialists

/review invocation · Review Army of 7
A single /review command dispatches 7 specialist subagents in parallel, each with a focused checklist, each producing evidence-backed findings. Aggregated into a PR Quality Score.
The 7 specialists
  1. Security — credential hygiene, RLS enforcement, injection surfaces
  2. Architecture — abstraction boundaries, layering violations
  3. Data — provenance, claim_type, ToolResponse shape
  4. Coherence — naming consistency, stale cross-refs, count assertions
  5. Dependency — import blast radius, reverse-imports
  6. Scope — drift against sprint contract
  7. Test Coverage — gap analysis on new code paths
Caught tonight

During Inc 3.5 contract amendment, the Coherence specialist caught a stale "18 ACs" reference in the grading rubric that the initial diff missed after updating the AC count to 19. Fixed pre-commit.

All seven run in parallel. Each produces findings with evidence. Aggregated into a PR Quality Score. CRITICAL findings block. Caught tonight: one stale count assertion the initial diff missed.

/investigate

before changes

/qa

4-axis grader

/review

Review Army

/cso

OWASP + STRIDE

/ship

scope drift

/learn

persist patterns

/plan-ceo-review

scope expansion

/plan-eng-review

arch + data flow

/design-shotgun

mockup variants

/design-review

80-item visual audit

/browse

Playwright UAT

Pre-commit hook

Runs taste.sh inline on visual files, blocks the commit if pixel diff fails

Pre-push hook

Blocks any direct push to the production branch except via the promote workflow

Ready for Merge report

Required fields: /qa result, /review findings, VERIFY 1-6, risk assessment
CLAUDE.md: CC cannot reliably self-police against rules — mechanical enforcement required over prompt instructions alone.

tasks/lessons.md

~800 lines. Every correction becomes a rule. Same bug class never twice.

Running list

In-session memory. Items added, never silently deferred.

Open questions registry

OQ-1 through OQ-10. Every deferred item has a gate and a size.

Pattern

Symptom captured as a mechanical check. Runs on every PR. Deterministic, with a documented escape hatch when a check fires on legitimate code.

Falsified assumption

The belief that was wrong. Predicts the next bug with the same root but a different symptom.

Registry

50+ entries and growing. Append-only by policy. Each PR audits against the registered set.
The Akamai shape — at the delivery layer. Bot Manager's moat is twelve years of signatures observed across trillions of requests. The Registry is the same pattern applied to software bugs. A production incident is distilled into a standing check for its class. The SLA isn't the absence of bugs — it's that a registered class carries a mechanical defense. Volume is the moat. Compounding is irreversible.
Every PR contract-gated and Review-Army-vetted before merge.