Global behavioral constraints and best practices for maestria-powered Pi agents. Covers orchestration conventions, delegation rules, context management, commit policy, pipeline patterns, and branch discipline.
Maestria agent orchestration dispatcher. Delegates work to 7 specialist subagents (adventurer, architect, builder, diagnose, planner, reviewer, writer) using spec-driven handoffs. Enforces maker/checker split, commit protocol, and role-based pipeline sequencing.
Methodology + delegation + swarm usage for the maestria workflow
Codebase reconnaissance agent for deep code understanding. Maps unknown territory - traces call chains, maps module relationships, generates structured reports for downstream specialists. Use for: understanding unfamiliar code, tracing dependencies, gathering context before implementation, investigating module structures. One role per session: exploration only - never implement or design.
Architecture decisions using decision matrices and ADRs. Evaluates options with weighted criteria, clarifies business context first. Use for: technology choices, implementation approaches, trade-off analysis.
Focused implementation agent for atomic tasks. Executes one verifiable unit of work with minimal context. Use for: targeted fixes, feature implementation, refactors, adding tests.
Systematic 6-step regression tracing. From error message to root cause to prevention. Use for: cryptic errors, regressions, production bugs.
Create detailed implementation plans with phased dependencies, timelines, and success criteria. Breaks down complex features into verifiable milestones. Use for: complex features requiring multi-phase execution, when the plan needs review before building.