great-pm-runtime · git:20260729.8dd5ad0 · 2026-07-29 · sha256 53fc6f4a53f6741a

great-pm-runtime git:20260729.8dd5ad0A

Immutable. This exact content is served forever at /api/v1/blob/53fc6f4a53f6741a.

---
name: great-pm-runtime
description: Use when a GreatPM workflow needs to select, spawn, coordinate, or collect results from its specialist product-management roles in Codex.
---

# GreatPM Codex Runtime

Before starting a workflow, run:

`node ../../scripts/great-pm-codex-doctor.mjs`

If it reports an uninitialized workspace, stop and present its exact next step.

1. Resolve the selected role under `../../agents/`; for example, the
   orchestrator role is `../../agents/pm-lead.md`.
2. Set `task_name` to the exact canonical role name from that role file.
   Never shorten, paraphrase, or invent specialist names: use `grill-me`, never `grill`.
3. Call the Codex `spawn_agent` collaboration tool with the role, initiative,
   expected artefact, dependencies, human-gate boundary, and DONE/BLOCKED
   contract. A prose promise to delegate is not a spawn.
4. Store the agent identifier returned by every successful spawn. Never call
   `wait_agent` or another wait tool with an empty target set, and never wait
   before at least one spawn has returned an identifier.
5. Spawn independent roles concurrently.
6. Never impersonate a role when subagent tools are unavailable or a spawn
   fails; report BLOCKED and name the missing capability.
7. Collect each verdict without rewriting it.
8. Persist role verdicts under `.great-pm/verdicts/`.
9. Only the human may approve `gate:strategy`, `gate:spec`, or `gate:launch`.