Skip to content
Pocketto
Pipeline

Pipeline overview

The six-stage Pocketto pipeline for real features: what each stage receives, what it produces, and where it stops for your approval.

The Pocket pipeline is six chained skills for real features and non-trivial work. Each stage produces an artifact that the next stage consumes, and each stage has explicit gates.

The Pocket pipeline in order: pocket-pitching (explore), pocket-grinding (specify/BDD), pocket-planning (plan/TDD), pocket-structuring (phase), pocket-development (execute + review). A PASS gate sits between pocket-development and pocket-closing (close).

The stages

#SkillInputOutputGate
1pocket-pitchingA rough ideadocs/pocket/spec/<date>-<slug>/pitch-exploration.mdYou choose whether to continue
2pocket-grindingA clear problemAn approved spec with GWT acceptance criteriaEdge-case-hunter review; your spec approval
3pocket-planningThe approved specAn execution plan of full Pocket PacketsSpec-reviewer subagent; CLI dry-run; your plan approval
4pocket-structuringThe execution planexecution-plan/index.md + per-task filesCLI owns decomposition; execution needs your approval
5pocket-developmentTask files + execution logReviewed commits, verdicts, phase-level pass, phase handoffIn-loop audit per task; phase leaves only as REVIEW
6pocket-closinglog.json + verdict artifactscloseout.md entries, advanced phases, a closed planYou must authorize closeout

Handoff rules

The chain is not automatic everywhere, and that is deliberate:

  • pocket-pitching does not auto-chain: after the brief you choose whether to start grinding, iterate, or stop.
  • pocket-grinding hands an approved spec to pocket-planning after your approval, emitting the spec-approved lifecycle event.
  • pocket-planning routes every plan to pocket-structuring after plan approval and a mandatory CLI dry-run.
  • pocket-structuring hands off to pocket-development when your instruction already authorizes execution; otherwise it asks once.
  • pocket-development leaves a passing phase in REVIEW and names pocket-closing as the next step. It does not close on its own.
  • pocket-closing runs only when you ask for closeout (directly, or via an explicit end-to-end request).

The state model

Tasks move WAITING → DONE | BLOCKED; phases move WAITING → REVIEW → DONE | BLOCKED. A phase only reaches REVIEW after its phase-level pass records a result, and only closing moves it to DONE. See the lifecycle reference.

Lifecycle events

The stages commit neutral lifecycle events locally: spec-approved at the grinding handoff, phase-complete when a phase reaches REVIEW, phase-closed on stacked plans at handoff, and plan-closed at close. See Lifecycle events.

When not to use the pipeline

For everyday work the pipeline is ceremony. Reach for a standalone skill instead: hotfix for small clear changes, bug-hunting for bugs, structured-research for unverified assumptions, brand-design for design systems. Grinding's own triviality off-ramp (details) recommends this switch when the task turns out small.

On this page