PICK
Select one tracker row or live blocker. Confirm dependencies and owner.
Lean does not remove correctness gates. It removes repeated and unnecessary gates by classifying the task first and pinning every claim to the exact head.
The practical slogan: classify first, dispatch narrowly, verify locally while building, run final gates once, then merge only through principal-merge.sh.
The recent lean execution path from planning to merge.
Select one tracker row or live blocker. Confirm dependencies and owner.
FAST, STANDARD, or CRITICAL. This decides gates, model effort, and reviewers.
Principal writes the brief with source of truth, layer, scope, and acceptance.
Use only if required by class or axis. Curator enrichment for non-trivial work.
Owning pane implements smallest scoped diff and preserves unrelated dirty state.
Focused checks during edits. Full lane-required verification once at final head.
Open or reuse a PR. Pin base, head, changed paths, rollback, and hosted state.
Track exact head, checks, reviews, threads, Codex, AGY, and stale receipts.
Final candidate recheck: no head change, no duplicate writer, required gates present.
Principal runs principal-merge.sh. Deploy remains a separate gate.
Use this before dispatch. The class controls how much review and verification is actually needed.
| Class | Typical Work | Dispatch | Verification | Review | Merge Readiness |
|---|---|---|---|---|---|
| FAST | Copy, icon, spacing, config, one constant, narrow test, doc nudge. | Owning pane only. Curator can be skipped if truly trivial. | Focused check and changed-file hygiene. | Skip Architect, Curator, AGY, Codex, kk unless a real risk appears. | Exact head, clean focused evidence, hosted gate if repo requires it. |
| STANDARD | Bounded product behavior with clear owner and no critical boundary. | Owning pane plus relevant specialist axis only. | Focused checks while building, one full final verification. | One final independent review, usually kk. Architect or Curator only if impacted axis requires it. | Exact head, current final review, no open current blockers. |
| CRITICAL | Auth, tenancy, money, migrations, irreversible data, concurrency, production infra, cross-platform lifecycle. | Principal routes Architect and Curator as applicable before implementation. | Full applicable evidence set on final candidate, including DB, device, release, or rollback proof where needed. | Architect, Curator, kk, CI, Codex, AGY as required by axis. Findings are reproduced independently. | Full exact-head gate matrix passes. No stale clean verdict carries. |
Principal owns authorship. Conductor owns transport. Pillars own implementation only inside the brief fence.
Who does what at each stage. Horizontal scroll is intentional on small screens.
principal-merge.sh only.The full lifecycle still exists. Lean invokes only the pieces required by the class and impacted axis.
| Lifecycle Stage | What Happens | Lean Interpretation | Edge Trigger |
|---|---|---|---|
| Pre-PR Freeze | Architect, Curator, and kk can audit final local commit before PR. | Required for full lifecycle or CRITICAL work. Not automatic for FAST. | Sensitive axis touched or task contract requires it. |
| Build Loop | Open PR, run CI, Codex, AGY as required on exact head. | Codex and AGY are not automatic for every lean task. | Risk class or repo rules require external review. |
| Fix Loop | Reproduce findings, fix real defects, reply with evidence. | No blind bot fixes. No full re-review churn on unchanged commit. | Any verified P1, P2, or task-relevant defect. |
| Impact Delta | Architect or Curator re-attests only impacted axes. | Docs-only, mechanical-only, and test-only can carry prior PASS with kk current-head scope receipt. | Fix touches architecture, contract, UX, security, money, release, or data axis. |
| Close Immediately | After exact-head approval, resolve approved threads, recheck, merge. | No parking a fully ready PR. | Head changes during recheck reopen applicable gates. |
Merge is still exact-head, script-gated, and separate from deploy.
agents/tools/principal-merge.sh. GitHub rulesets still apply.Merge closes source integration only. Release and production movement use separate gates.
Filter by severity. These are the cases that most often create false green or duplicate work.
All exact-head receipts become stale unless they explicitly cover the new full SHA. Reopen applicable gates.
Re-run mergeability, diff, and sometimes synthetic merge or migration proof. Old base receipts may not carry.
Auth, money, tenancy, migration, production, or concurrency makes a small diff CRITICAL.
Same branch or same owned lane means stop and coalesce. Different repo with same PR number is not a duplicate.
Billing or account holds are external. They do not prove source failure, but they still block hosted-gate readiness.
Do not inherit severity. Reproduce the path, judge severity, fix only real defects, then use targeted handshake.
Can carry only for allowed docs-only, mechanical-only, or test-only scopes with current-head kk scope receipt.
Conductor can move inbox files to processed immediately. Missing live file is not automatically a failure.
Pane-state is advisory. Animator, session evidence, fresh reports, and exact process evidence override stale cache.
Source-fixed is not opener-approved. Keep thread open until required opener confirmation exists at unchanged head.
If no new head appeared, a verifier can correctly hold. Report watched head and trigger condition.
Merge does not deploy. Production movement needs its own proof, rollback, and health receipts.