plateprocess.dev · PLATE release v0.12.0

What Next Mcp State Machine Catalog

PLATE State Machine Catalog (what_next / Orchestrator)

Source: Interactive TUI Q&A on #284 (25 small steps, all <100 words, using the exact requested format "Given an agent of type X who entered state Y on a project/issue with Status Z, the MCP server should enter state Y2 with prompt W. Is that correct?" with one answer reserved for feedback; very brief; one feedback option always available).

Locked Model (refined per user feedback during TUI):

Exhaustive List of Confirmed Transitions (aggregated from all TUI steps; Event -> [agent_type, 'W (short action/prompt segment)', {ctx}])

Epic Autonomous Implementation Story (for an Epic like #282)

  1. New Epic detected/open (Epic label + milestone, per AGENTS Epic loop + human checkpoint)
    -> [planner, 'plan epic children / create stubs (need:refinement)', {epic:#N}]

  2. The user has finished interactively planning a new epic.
    -> [planner, 'create child tickets for epic', {epic:#N}]

  3. A child Feature is ready (Feature label + milestone + ACs per AGENTS Feature loop; no tests yet).
    -> [implementer, 'implement Feature (tests first, fragment if process, PR to release-* base via gh plate release status, Closes in body)', {issue:#N}]

  4. PR opened for child or review feedback received (unresolved threads, per babysit rules).
    -> [babysitter, 'babysit PR (address threads, apply suggestions or reply, resolve via GraphQL, push to existing branch, escalate only w/ need:human-review, feedback-resolution gate)', {pr:#M, issue:#N}]

  5. Child PR merged or child resolved with evidence (tests green, feedback clean, per Feature/Bug loop).
    -> [orchestrator, 'child complete (record evidence/artifact, check siblings or epic all-resolved, snapshot, may parallel audit/curiosity)', {issue:#child, epic:#N}]

  6. All children resolved (PRs merged to epic/, evidence, health/epic_status clean per AGENTS Epic-close).
    -> [orchestrator, 'epic-close prep (post summary comment w/ outcomes + usage + migration notes; open Epic-close PR from epic/ to release, clean title, label Feature/Doc, Closes #N in body only; human checkpoint)', {epic:#N}]

  7. Human merges the Epic-close PR (squash to release per branch model, per AGENTS Epic-close ceremony).
    -> [orchestrator, 'finalize Epic close (post any final notes, hard-reset branch per release model, ensure next "Next Release" if applicable, Epic closes via keyword in PR body)', {epic:#N, pr:#M}]

Cross-Cuts (apply across the process)

Release Ceremony

References:

This catalog encodes the entire PLATE process as a state machine for the orchestrator + specialized agents via plate_what_next (and related MCP surfaces like health, doctor, audit, release, babysit, etc.). It is directly traceable to AGENTS.md and supports faithful autonomous (or semi-autonomous) progress while preserving all human checkpoints, atomicity, and GitHub as the source of truth.

Usage Report for this Q&A (per AGENTS for Feature/Question closures and ceremonies; harvested to .agentic/COSTS.md): tokens: N/A (interactive TUI session) cost: $0.00 duration: [full session]

Next (per AGENTS):

The TUI Q&A delivered the state machine formalization interactively in the exact format requested. All steps grounded in AGENTS.md, #286, prior analysis, v1 _what_next, agent_guidance, health/release signals, and dogfood from the repo's own process.