Files
sar/.claude/skills/bmad-story-automator/data/orchestration-policy.json
julian 17c08e6392 chore: initial monorepo scaffold + WDS Phase 1+2 artifacts
- Nx 22.7 monorepo (pnpm 11.1, TypeScript 5.9, Node 24)
- apps/api: NestJS 11 (CJS conforme CODING-RULES.md PGD-DB-004)
- apps/web: React 19 + Vite 8 (ESM)
- libs/shared/api-interface: Zod contract base
- Docker Compose dev: Postgres 18, Valkey 8, MinIO, Mailpit
- WDS artifacts:
  - design-artifacts/A-Product-Brief/ (5 docs canônicos + 16 dialogs)
  - design-artifacts/B-Trigger-Map/ (hub + 4 personas + feature impact)
- Stack canon: STACK.md v2.2 + CODING-RULES.md v2.0 + brand.md
- AGENTS.md + README.md como entrada para devs/agentes

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-27 14:34:20 +00:00

147 lines
3.9 KiB
JSON

{
"version": 1,
"snapshot": {
"relativeDir": "_bmad-output/story-automator/policy-snapshots"
},
"runtime": {
"parser": {
"provider": "claude",
"model": "haiku",
"timeoutSeconds": 120
},
"merge": {
"maps": "deep",
"arrays": "replace"
}
},
"workflow": {
"sequence": ["create", "dev", "auto", "review", "retro"],
"repeat": {
"review": {
"maxCycles": 5,
"successVerifier": "review_completion",
"onIncomplete": "retry",
"onExhausted": "escalate"
}
},
"crash": {
"maxRetries": 2,
"onExhausted": "escalate"
}
},
"steps": {
"create": {
"label": "create-story",
"assets": {
"skillName": "bmad-create-story",
"workflowCandidates": ["workflow.md", "workflow.yaml"],
"instructionsCandidates": ["discover-inputs.md"],
"checklistCandidates": ["checklist.md"],
"templateCandidates": ["template.md"],
"required": ["skill"]
},
"prompt": {
"templateFile": "data/prompts/create.md",
"interactionMode": "autonomous"
},
"parse": {
"schemaFile": "data/parse/create.json"
},
"success": {
"verifier": "create_story_artifact",
"config": {
"glob": "_bmad-output/implementation-artifacts/{story_prefix}-*.md",
"expectedMatches": 1
}
}
},
"dev": {
"label": "dev-story",
"assets": {
"skillName": "bmad-dev-story",
"workflowCandidates": ["workflow.md", "workflow.yaml"],
"instructionsCandidates": [],
"checklistCandidates": ["checklist.md"],
"templateCandidates": [],
"required": ["skill"]
},
"prompt": {
"templateFile": "data/prompts/dev.md",
"interactionMode": "autonomous"
},
"parse": {
"schemaFile": "data/parse/dev.json"
},
"success": {
"verifier": "session_exit"
}
},
"auto": {
"label": "qa-generate-e2e-tests",
"assets": {
"skillName": "bmad-qa-generate-e2e-tests",
"workflowCandidates": ["workflow.md", "workflow.yaml"],
"instructionsCandidates": [],
"checklistCandidates": ["checklist.md"],
"templateCandidates": [],
"required": []
},
"prompt": {
"templateFile": "data/prompts/auto.md",
"interactionMode": "autonomous"
},
"parse": {
"schemaFile": "data/parse/auto.json"
},
"success": {
"verifier": "session_exit"
}
},
"review": {
"label": "code-review",
"assets": {
"skillName": "bmad-story-automator-review",
"workflowCandidates": ["workflow.yaml", "workflow.md"],
"instructionsCandidates": ["instructions.xml"],
"checklistCandidates": ["checklist.md"],
"templateCandidates": [],
"required": ["skill"]
},
"prompt": {
"templateFile": "data/prompts/review.md",
"interactionMode": "autonomous",
"acceptExtraInstruction": true,
"defaultExtraInstruction": "auto-fix all issues without prompting"
},
"parse": {
"schemaFile": "data/parse/review.json"
},
"success": {
"verifier": "review_completion",
"contractFile": "<skills-root>/bmad-story-automator-review/contract.json"
}
},
"retro": {
"label": "retrospective",
"assets": {
"skillName": "bmad-retrospective",
"workflowCandidates": ["workflow.md", "workflow.yaml"],
"instructionsCandidates": [],
"checklistCandidates": [],
"templateCandidates": [],
"required": ["skill"]
},
"prompt": {
"templateFile": "data/prompts/retro.md",
"interactionMode": "autonomous"
},
"parse": {
"schemaFile": "data/parse/retro.json"
},
"success": {
"verifier": "epic_complete"
}
}
}
}