ouroboros_pm_interview
Gathers product requirements via structured PM interviews; resume with session ID, or generate a PM seed from completed interviews.
Instructions
PM interview for product requirements gathering. Start with initial_context, continue with session_id + answer, or generate PM seed with action='generate'. In plugin mode, returns a delegation receipt (status=delegated_to_subagent) and the PM interview executes in an OpenCode Task pane — the real session_id is returned there.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory for PM document output. Defaults to current working directory. Brownfield context is loaded from DB (is_default=true). | |
| action | No | Action to perform. Auto-detected from parameter presence when omitted: initial_context → 'start', session_id + answer → 'resume'. Use 'generate' explicitly to produce PM seed from completed interview. | |
| answer | No | PM's response to the current interview question | |
| session_id | No | Session ID to resume an existing PM interview | |
| last_question | No | The question text from the previous child session's response. In plugin mode each dispatch creates a new child session whose questions are not automatically persisted server-side. Pass the child's last question here when submitting an answer so the PM interview transcript preserves the real question text instead of a placeholder. | |
| selected_repos | No | List of repository paths selected for brownfield context (2-step start: returned by step 1, sent back in step 2). All repos are assigned role=main. When provided with initial_context, starts the interview with the selected brownfield repos. | |
| initial_context | No | Initial product description to start a new PM interview |