Claude Code: From Task to Merged Change

Claude Code: From Task to Merged Change A workflow diagram generated by Archify. 01 / Developer 02 / Claude EX / Harness and CI (enforced) Explore and plan Build and verify Ship Task · goal + done check · Developer › Explore and plan Task goal + done check Approve plan · correct it here · Developer › Explore and plan Approve plan correct it here Review diff · /code-review + you · Developer › Ship Review diff /code-review + you Explore + plan · plan mode, no edits · Claude › Explore and plan Explore + plan plan mode, no edits Implement · small steps · Claude › Build and verify Implement small steps Fix failures · reads stderr · Claude › Build and verify Fix failures reads stderr PostToolUse hook · format each edit · Harness and CI (enforced) › Build and verify PostToolUse hook format each edit Stop hook · tests + typecheck · Harness and CI (enforced) › Build and verify Stop hook tests + typecheck PR and CI · branch protection · Harness and CI (enforced) › Ship PR and CI branch protection exit 2 approved every edit passes plan approve tries to stop Legend Policy Tool action Cloud service External system

Plan first

  • • Fixing a plan is cheaper than fixing code

Checks, not claims

  • • A Stop hook or test decides when work is done

Human last word

  • • You approve the merge; CI enforces it
© 2026 Samir Kumar Sahoo. All rights reserved.