plateprocess.dev · PLATE release v0.12.0

Qanda Mcp Cli Surfaces

MCP/CLI Surfaces + Bootstrap Seeding Integration — Design Spec

Problem

Design the new MCP tools, CLI command surface (gh plate qanda or equivalent), and bootstrap integration needed to support the full Q&A / Curiosity vision. Special attention to reuse and extension of the existing plate_plan_epic stub and schema.

Constraints

Design Decision

New MCP tools (implemented in plate-mcp + src/plate_core/mcp_server.py + exposed via plugin/agents):

All new tools follow existing patterns: documented in plugin/agents/plate.agent.md, support JSON, registered in baseline catalog.

CLI surface (gh plate extension):

gh plate qanda list [--repo OWNER/REPO] [--json]
gh plate qanda ask <question-id>   # or "answer"
gh plate qanda priority [--criteria "..."]

Commands delegate to MCP where possible for consistency. Help text and examples included in the design artifact.

Integration with plate_plan_epic schema:

Extend the PLATE_SESSION_STATE JSON (stored in Epic comments) and the planning schema:

{
  "phase": "...",
  "qanda_mode": true,
  "informational_goals": [
    { "question_id": 999, "priority": 0.8, "status": "open|answered", "last_answer_excerpt": "..." }
  ],
  ...
}

plate_plan_epic will surface open Questions as first-class planning items alongside Features/Research when qanda_mode active. New tools compose directly without new top-level command surface duplication.

Bootstrap seeding integration:

In gh plate bootstrap --apply (and interactive flow):

Relationship to other surfaces:

Alternatives Rejected

Alternative Why Rejected
Building a completely separate planning surface from plate_plan_epic Missed reuse opportunity; fragments the agent experience and schema
Making Q&A purely agent-internal with no dedicated CLI/MCP surface Weaker discoverability, scripting support, and human entry points

Artifact

Open Questions

Acceptance Evidence

This design satisfies the scope and decision criteria in Design issue #145. It reuses existing patterns heavily and will reference the research inventory from #140 (docs/research/curiosity-qanda-inventory.md) and sibling designs (#142 storage, #143 contract, #144 UX) once available. Changes made on the existing PR branch per babysit protocol.