Agents and roles¶
pi-stack-ops includes focused Pi agents for planning, implementation, review,
validation, security, readiness, stack operations, and specialized diagnosis. You
usually don't need to call these agents directly during normal use.
Why roles matter¶
Long workflows fail when one conversation tries to carry every decision, file, and validation result. Focused roles keep the context smaller and the task boundaries clearer.
Packaged roles¶
The package includes these role types. Core workflow agents are always relevant to Stack Ops. Specialized agents are available when the current repository or slice has matching evidence, such as a failing test, public contract change, data migration, performance target, or search/RAG system.
| Role | Purpose |
|---|---|
stack-ops.architect |
Reviews architecture direction and tradeoffs. |
stack-ops.spec-writer |
Drafts and refines specs or ADRs. |
stack-ops.planner |
Creates local implementation plans. |
stack-ops.slice-builder |
Implements one approved slice. |
stack-ops.reviewer |
Reviews specs, plans, diffs, and slices. |
stack-ops.security-reviewer |
Checks security, privacy, secrets, and dependency risk. |
stack-ops.bug-hunter |
Diagnoses failures, regressions, stack traces, and unexplained behavior. |
stack-ops.test-strategist |
Designs focused coverage, regression cases, and flake triage. |
stack-ops.contract-reviewer |
Reviews public contracts across APIs, CLIs, schemas, and observable behavior. |
stack-ops.delivery-engineer |
Diagnoses CI, build, packaging, versioning, and distribution failures. |
stack-ops.data-reliability-engineer |
Reviews persistence, migrations, queries, and data-integrity risks. |
stack-ops.performance-engineer |
Reviews measurable performance and resource concerns. |
stack-ops.search-rag-engineer |
Reviews search, retrieval, embeddings, grounding, and RAG evaluation. |
stack-ops.validator |
Runs focused validation and summarizes evidence. |
stack-ops.workflow-reviewer |
Audits workflow and artifact hygiene; it reports only and is not the gate. |
stack-ops.readiness |
Returns the READY/BLOCKED gate decision for a phase, PR, slice, or stack. |
stack-ops.blocker-resolver |
Applies only explicitly accepted blocker fixes for the active slice. |
stack-ops.stack-operator |
Handles stax and GitHub mechanics after readiness and explicit approval. |
stack-ops.state-keeper |
Performs optional state-only maintenance when a prompt asks for it. |
Next steps¶
Read Reference: agents for a lookup table of packaged agents.