MANDATORY RULES — VIOLATION IS FORBIDDEN
- Response language follows
languagesetting in.agents/oma-config.yamlif configured. - NEVER skip steps. Execute from Step 0 in order. Explicitly report completion of each step before proceeding.
- You MUST use MCP tools throughout the entire workflow. This is NOT optional.
Vendor note: This workflow executes inline (no subagent spawning). All vendors use their native file and code analysis tools. Execution handoff in Step 5 delegates to
/orchestrateor/work, which handle their own vendor detection.
Core Philosophy
Execution plans are first-class artifacts, checked into the repository.
Complex work is captured in plans with progress and decision logs. Plans live in docs/exec-plans/ and move through a lifecycle: active → completed.
Step 0: Preparation
- Read
.agents/skills/oma-coordination/SKILL.mdand confirm Core Rules. - Verify
docs/exec-plans/directory exists. If not, create it withactive/andcompleted/subdirectories. - Check
docs/exec-plans/active/for existing plans that may relate to the current request.
Step 1: Analyze Scope
- Decompose the request using the prompt structure (Goal, Context, Constraints, Done When).
- See
_shared/core/prompt-structure.mdfor the four-element framework.
- See
- Assess complexity using
_shared/core/difficulty-guide.md:- Simple → no exec-plan needed, execute directly
- Medium → lightweight plan (skip Step 3)
- Complex → full exec-plan with all sections
- Search for related plans in
docs/exec-plans/completed/— reuse patterns from similar past work.
Report scope assessment to the user. Get confirmation before proceeding.
Step 2: Create Execution Plan
Generate docs/exec-plans/active/{plan-name}.md using this template:
# {Plan Title}
> {One-line goal}
**Status**: 🟡 Active
**Created**: {date}
**Owner**: {agent or human}
## Goal
{What this plan achieves — clear, testable outcome}
## Context
{Relevant background, related code, prior decisions}
## Constraints
{Rules, dependencies, compatibility requirements}
## Tasks
| # | Task | Agent | Priority | Status | Dependencies |
|---|------|-------|----------|--------|-------------|
| 1 | {task} | {agent} | P0 | ⬜ | — |
| 2 | {task} | {agent} | P0 | ⬜ | 1 |
| 3 | {task} | {agent} | P1 | ⬜ | 1, 2 |
## Done When
{Testable completion criteria}
- [ ] {criterion 1}
- [ ] {criterion 2}
## Decision Log
| Date | Decision | Rationale |
|------|----------|-----------|
| {date} | {what was decided} | {why} |
## Progress Notes
{Append-only log of progress updates}
- [{date}] Plan created
Naming Convention
- Use kebab-case:
add-user-authentication.md,migrate-payment-gateway.md - Prefix with date for ordering if needed:
2026-03-13-add-user-auth.md
Step 3: Define API Contracts (If Applicable)
If the plan involves cross-boundary work (frontend ↔ backend, service ↔ service):
- Define API contracts using
_shared/core/api-contracts/template.md. - Save to
_shared/core/api-contracts/{contract-name}.md. - Reference from the exec-plan.
Step 4: Review with User
Present the plan:
- Task breakdown with priorities and dependencies
- Agent assignments
- Completion criteria
- Estimated dependency graph
Get user confirmation before execution.
Step 5: Execute
Hand off to orchestrator or work workflow:
- Automated: Pass plan to
/orchestrate— orchestrator reads the exec-plan and executes tasks - Manual: Pass to
/work— oma-coordination follows the plan step by step
During execution, update the plan:
- Mark task status: ⬜ → 🔄 → ✅ or ❌
- Append progress notes with timestamps
- Record decisions in the decision log
Step 6: Complete
When all "Done When" criteria are met:
- Update plan status:
🟡 Active→🟢 Completed - Add completion date and summary to progress notes
- Move file:
docs/exec-plans/active/{name}.md→docs/exec-plans/completed/{name}.md - Update
docs/exec-plans/tech-debt-tracker.mdif any debt was introduced
Tech Debt Tracker
docs/exec-plans/tech-debt-tracker.md tracks known debt across all plans:
# Tech Debt Tracker
| # | Debt | Source Plan | Priority | Proposed Resolution |
|---|------|------------|----------|-------------------|
| 1 | {description} | {plan-name} | P1 | {how to fix} |
- Add entries when shortcuts are taken during plan execution
- Remove entries when debt is resolved
- Review periodically — debt items can become exec-plans themselves