BMAD-inspired strategic planning and validation for SCAR implementation workflows
Status: Transitioning to new SV supervisor system at /home/samuel/sv/
- consilio →
/home/samuel/sv/consilio-s/(Archived: 2026-01-19)- Planning:
/home/samuel/archive/consilio-supervisor-20260119/ - Implementation:
/home/samuel/archive/consilio-workspace-20260119/ - New location:
/home/samuel/sv/consilio-s/
- Planning:
- openhorizon
- health-agent
- odin
- quiculum-monitor
- scar
For migrated projects, use the new SV structure. See /home/samuel/sv/MIGRATION-GUIDE.md for details.
cd /home/samuel/supervisor
# Start Claude Code
"/new-project hitster-game"Supervisor automatically:
- Asks questions (tech stack, features, timeline)
- Creates GitHub repos
- Sets up workspaces
- Creates CLAUDE.md files
- Initializes planning artifacts
- Ready to start in ~2 minutes!
cd /home/samuel/supervisor/consilio
# Start Claude Code
"Research the codebase and help me plan next features"cd /home/samuel/supervisor
./init-project.sh my-project https://github.com/user/my-project-planning.git
cd my-project
# Start Claude Code
"New project: [description]. Help me plan."→ See GETTING-STARTED.md for complete walkthrough
The supervisor system now tracks its own improvements using BMAD!
Instead of ad-hoc changes, we now systematically track supervisor improvements:
- Workflow tracking:
.bmad/workflow-status.yamltracks meta-project progress - GitHub issues: supervisor-planning repository
- Epic planning: Documented improvements in
.bmad/epics/ - Metrics: Measuring supervisor effectiveness over time
- Before: 6 separate repos (consilio-planning, openhorizon-planning, etc.)
- After: Single
gpt153/supervisorrepo containing all project planning folders - Benefits: Simpler maintenance, easier cross-project learning, natural fit with centralized docs
- Epic 001: BMAD Integration (in progress) - Issues
- Epic 002: Learning System Enhancement (draft)
- Epic 003: SCAR Integration Improvements (draft)
- Epic 004: Automated Supervisor Updates (draft)
cat /home/samuel/supervisor/.bmad/workflow-status.yamlLearn more: See .bmad/epics/ for detailed improvement plans
Old planning repos: Archived (not deleted) for historical reference
An autonomous AI assistant that handles strategic planning, SCAR orchestration, and validation.
- "Plan feature: user authentication"
- "Check progress on issue 123"
- "Is the work good?"
- "Test the UI"
- Researches codebase automatically
- Creates epics and ADRs
- Instructs SCAR via GitHub issues
- Validates implementations
- Runs tests
- Monitors progress
- Reports status
You focus on WHAT to build. Supervisor handles HOW.
Strategic Oversight + Validation
- ✅ Codebase research (reads implementation workspace)
- ✅ Requirements analysis (spawns analyst subagent)
- ✅ Epic sharding (self-contained stories)
- ✅ Architecture Decision Records (ADRs)
- ✅ SCAR instruction (GitHub issues with @scar)
- ✅ Progress monitoring (checks every 2 hours)
- ✅ Implementation validation (spawns test subagents)
- ✅ Multi-project context isolation
- ✅ Archon MCP integration (task tracking + RAG search)
Implementation Worker
- ✅ Code implementation (95% autonomous)
- ✅ GitHub issue management (reads epics from URLs)
- ✅ Parallel execution (5 issues simultaneously)
- ✅ PR creation and merging
- ✅ Updates progress via comments
Complete separation. No context mixing.
/home/samuel/supervisor/
│
├── 📖 GETTING-STARTED.md # ⭐ START HERE - Complete walkthrough
├── 📖 README.md # This file
├── 📖 AUTONOMOUS-SUPERVISOR.md # How autonomous behavior works
├── 📖 SUPERVISOR-CAPABILITIES.md # Full validation capabilities
├── 📖 CORRECT-ARCHITECTURE.md # Architecture explanation
├── 📖 FINAL-SETUP.md # Complete setup summary
│
├── docs/ # ⭐ Shared documentation (single source of truth)
│ ├── role-and-responsibilities.md
│ ├── scar-integration.md
│ ├── bmad-workflow.md
│ ├── subagent-patterns.md
│ ├── context-handoff.md
│ └── epic-sharding.md
│
├── templates/ # BMAD file templates
│ ├── epic-template.md
│ ├── adr-template.md
│ ├── prd-template.md
│ ├── feature-request.md
│ ├── project-brief.md
│ ├── workflow-status.yaml
│ └── architecture-overview.md
│
├── .claude/commands/ # Subagent roles
│ ├── analyze.md # Analyst subagent
│ ├── create-epic.md # PM subagent
│ ├── create-adr.md # Architect subagent
│ └── plan-feature.md # Meta-orchestrator
│
├── consilio/ # ⭐ Project 1 planning workspace
│ ├── CLAUDE.md # Supervisor role (autonomous)
│ └── .bmad/ # Planning artifacts
│ ├── project-brief.md
│ ├── workflow-status.yaml
│ ├── epics/
│ ├── adr/
│ └── prd/
│
├── openhorizon/ # ⭐ Project 2 planning workspace
│ └── [same structure as consilio]
│
├── health-agent/ # ⭐ Project 3 planning workspace
│ └── [same structure as consilio]
│
├── odin/ # ⭐ Project 4 planning workspace
│ └── [same structure as consilio]
│
├── quiculum-monitor/ # ⭐ Project 5 planning workspace
│ └── [same structure as consilio]
│
├── CLAUDE-PROJECT.md # Template for new projects
└── init-project.sh # Script to create new projects
**Single Git Repository:**
- All project planning in one repo: https://github.com/gpt153/supervisor
- Each project folder tracked in single repo (no nested .git)
- Simpler maintenance, easier cross-project learning
**Implementation workspaces (separate repos):**
/home/samuel/.archon/workspaces/consilio/ # SCAR works here → gpt153/consilio
/home/samuel/.archon/workspaces/openhorizon.cc/ # SCAR works here → gpt153/openhorizon.cc
/home/samuel/.archon/workspaces/health-agent/ # SCAR works here → gpt153/health-agent
- You: "Plan feature: authentication"
- Supervisor: Automatically creates epic, instructs SCAR, monitors progress
- You: Don't need to know technical details
- Planning:
/home/samuel/supervisor/[project]/(supervisor workspace) - Implementation:
/home/samuel/.archon/workspaces/[project]/(SCAR workspace) - Validation:
/home/samuel/.archon/worktrees/[project]/issue-*/(supervisor reads/tests)
- Reads implementation code
- Spawns test subagents (unit, integration, E2E, UI)
- Verifies builds succeed
- Checks for mocks/placeholders
- Comprehensive reporting
- Task tracking (creates tasks automatically)
- RAG search (finds best practices when creating epics)
- Document storage (ADRs searchable)
- Progress monitoring
- Verifies SCAR acknowledgment (20s after posting)
- Checks progress every 2 hours
- Validates automatically when SCAR claims done
- Warns at 60% context, handoff at 80%
- Subagent-based architecture (90% savings)
- Meta-orchestrator spawns specialist subagents
- Automatic handoff at 80% threshold
- Zero context loss
│ ├── prd/
│ ├── epics/
│ ├── adr/
│ └── architecture/
├── scar/
└── health-agent/
## BMAD Components Implemented
### ✅ Stolen from BMAD
1. **21 Specialized Agents** → Implemented as command roles (Analyst, PM, Architect, etc.)
2. **Scale-Adaptive Intelligence** → Complexity levels 0-4 auto-detected
3. **Epic Sharding** → Self-contained story files (90% token reduction)
4. **Four-Phase Workflow** → Analysis → Planning → Architecture → Implementation
5. **MoSCoW Prioritization** → Must/Should/Could/Won't requirements
6. **Documentation-as-Source-of-Truth** → PRDs, epics, ADRs drive implementation
7. **Architecture Decision Records** → WHY decisions made, not just WHAT
8. **Just-in-Time Documentation** → Create as needed, not upfront
9. **Persistent Documentation** → Update in place, never regenerate
10. **Workflow Status Tracking** → YAML-based phase tracking
### ❌ Not Needed (SCAR Already Provides)
- **Dev Agent** → SCAR is better (95% autonomous vs 60-70%)
- **Scrum Master** → Supervisor already tracks progress
- **Test Architect** → `/verify-scar-phase` handles validation
## Available Commands
### Analysis Phase
**`/analyze <feature-description>`**
- Analyst agent role
- Systematic requirements gathering
- Complexity detection (Level 0-4)
- Output: Feature request document
### Planning Phase
**`/create-epic <feature-name>`**
- PM agent role
- Self-contained epic files
- MoSCoW prioritization
- Task breakdown
- Output: Epic file (`.bmad/epics/NNN-feature.md`)
**`/create-prd <feature-name>`**
- PM agent role (enterprise features)
- Comprehensive Product Requirements Document
- Multiple user stories
- Epic breakdown
- Output: PRD + multiple epics
### Architecture Phase
**`/create-adr <decision-title>`**
- Architect agent role
- Decision documentation
- Alternatives analysis
- Trade-offs captured
- Output: ADR file (`.bmad/adr/NNN-decision.md`)
**`/design-architecture <scope>`**
- Architect agent role
- System design documents
- Component breakdown
- Data flow diagrams
- Output: Architecture docs
### Orchestration
**`/plan-feature <feature-description>`**
- Meta-orchestrator
- Runs full workflow: Analyze → Plan → Architect → Prepare
- Automatically selects complexity-appropriate workflow
- Creates GitHub issues ready for SCAR
### Integration with SCAR
**After planning:**
```bash
# Create GitHub issues from epic
gh issue create --title "..." --body "See epic: .bmad/epics/001-feature.md"
# Start SCAR supervision
/supervise-issue 123
# Or supervise entire project
/supervise
Level 0: Bug fix, typo
User Request → GitHub Issue → SCAR
Duration: 5 minutes
Documents: None
Level 1: Small feature (30 min - 2 hours)
User Request → Analyze → Create Epic → GitHub Issues → SCAR
Duration: 30 minutes planning
Documents: Epic only
Medium feature (2-4 hours implementation)
User Request → Analyze → Create Epic → Create ADR (if needed) →
GitHub Issues → SCAR
Duration: 1-2 hours planning
Documents: Epic + ADR(s)
Level 3: Large feature (1-3 days)
User Request → Analyze → Create PRD → Create Epics → Create ADRs →
GitHub Issues → SCAR
Duration: 2-4 hours planning
Documents: PRD + Multiple epics + ADRs
Level 4: Enterprise/compliance (weeks)
User Request → Analyze → Create PRD → Design Architecture →
Create Epics → Create ADRs → Test Strategy → GitHub Issues → SCAR
Duration: 4-8 hours planning
Documents: Complete suite
Problem: Giving AI entire codebase causes context overload and hallucinations.
Solution: Self-contained epic files with complete context.
Benefits:
- 90% token reduction
- No context mixing
- Clear handoff to SCAR
- Easy validation
Epic file includes:
- Project context (repo, tech stack)
- Business context (problem, value)
- Complete requirements (MoSCoW)
- Technical approach (patterns, decisions)
- Task breakdown (GitHub issues)
- Acceptance criteria (validation)
Always use when defining requirements:
- MUST HAVE: Core functionality, non-negotiable
- SHOULD HAVE: Important but not critical
- COULD HAVE: Nice to have if time permits
- WON'T HAVE: Explicitly out of scope (prevents scope creep)
Document WHY decisions were made:
- Context: What forces are at play?
- Decision: What are we doing?
- Rationale: Why this option?
- Consequences: What happens as a result?
- Alternatives: What else was considered?
Benefits:
- Prevent re-litigating decisions
- Onboard new contributors
- Understand historical context
- Make reversals explicit
YAML file tracks:
- Current phase
- Completed phases
- Active epics
- GitHub issues
- Decision log
Benefits:
- Always know where you are
- Clear next steps
- Progress visibility
- Context for resumption
Each project gets its own subdirectory:
supervisor/ (single git repo: gpt153/supervisor)
├── consilio/ # Project 1 planning
│ └── .bmad/
├── openhorizon/ # Project 2 planning
│ └── .bmad/
├── health-agent/ # Project 3 planning
│ └── .bmad/
├── odin/ # Project 4 planning
│ └── .bmad/
└── quiculum-monitor/ # Project 5 planning
└── .bmad/
Physical directory separation prevents:
- Context mixing
- Pattern bleed
- Decision confusion
Single Git repo benefits:
- All planning in one place
- Version control for all decisions
- Simpler backup (one repo)
- Shared history and cross-project learnings
- Natural fit with centralized docs system
Implementation repos remain separate:
- Each project has its own implementation repo
- Issues tracked in implementation repos
- Clear separation: planning vs code
# Create project directory in supervisor repo
cd /home/samuel/supervisor
mkdir -p my-project/.bmad/{epics,adr,prd,architecture,discussions}
# Copy or symlink supervisor instructions
cp CLAUDE-PROJECT.md my-project/CLAUDE.md
# Or symlink: ln -s ../CLAUDE-PROJECT.md my-project/CLAUDE.md
# Copy templates
cp templates/project-brief.md my-project/.bmad/
cp templates/workflow-status.yaml my-project/.bmad/
# Edit project brief
vim my-project/.bmad/project-brief.md
# Create implementation repo on GitHub
gh repo create gpt153/my-project --public --description "Implementation for my-project"
# Commit to supervisor repo (single planning repo)
git add my-project/
git commit -m "feat: Add my-project planning workspace"
git push origin main
# Create implementation workspace (for SCAR)
mkdir -p /home/samuel/.archon/workspaces/my-project
cd /home/samuel/.archon/workspaces/my-project
git init
git remote add origin https://github.com/gpt153/my-project.gitNote: All project planning lives in the single gpt153/supervisor repo. Implementation code lives in separate project-specific repos.
-
Planning (Supervisor):
- Create epic with complete context
- Document technical decisions (ADRs)
- Update workflow status
-
Implementation (SCAR):
- Read epic file (self-contained)
- Implement in isolated worktree
- Create PR referencing epic
-
Validation (Supervisor):
/verify-scar-phasechecks implementation- Verify files exist
- Run build/tests
- Check for mocks/placeholders
-
Completion (Supervisor):
- Update workflow status
- Mark epic complete
- Move to next epic
# Monitor single issue
/supervise-issue 123
# Monitor entire project (all issues)
/supervise
# Verify specific phase
/verify-scar-phase consilio 123 2- Always start with analysis - Understand before planning
- Use MoSCoW for all requirements - Prevent scope creep
- Create ADRs for major decisions - Document WHY
- Break into small tasks - 30 min to 4 hours per issue
- Self-contained epics - All context in one place
- Hand off to SCAR - Don't implement yourself
- Monitor progress - Use supervisor commands
- Validate early - Check phases as completed
- Update workflow status - Keep YAML current
- Just-in-time - Create docs as needed
- Update, don't regenerate - Preserve history
- Link documents - Connect epics, ADRs, PRDs
- Version control - Commit planning artifacts
Level 0 (5 min): Typo, obvious bug fix
- No analysis needed
- Direct to GitHub issue
Level 1 (30 min - 2 hours): Small feature
- Brief analysis
- Single epic file
- 1-3 GitHub issues
Level 2 (2-4 hours): Medium feature
- Full analysis
- Epic file
- 1-2 ADRs
- 3-6 GitHub issues
Level 3 (1-3 days): Large feature
- Comprehensive analysis
- PRD
- Multiple epics
- Multiple ADRs
- 10+ GitHub issues
Level 4 (weeks): Enterprise feature
- Full BMAD methodology
- PRD + architecture docs
- Epic suite
- Complete ADR set
- Test strategy
- 50+ GitHub issues
Epics:
001-user-authentication.md
002-payment-integration.md
003-admin-dashboard.md
ADRs:
001-postgresql-for-database.md
002-jwt-authentication.md
003-react-context-over-redux.md
PRDs:
user-authentication.md
payment-system.md
admin-features.md
- Use
#for h1,##for h2, etc. - Use
**bold**for emphasis - Use code blocks with language tags
- Use tables for comparisons
- Use checkboxes for requirements
- 2-space indentation
- ISO 8601 dates with timezone
- Lowercase keys
- Use
nullfor empty values
# Daily commits
git add .bmad/
git commit -m "feat(planning): Add authentication epic"
# After major milestones
git push
# Tag releases
git tag -a v1.0-planning -m "Authentication planning complete"
git push --tagsYou're successful when:
✅ Features clearly defined before implementation starts ✅ No context mixing between projects ✅ Decisions documented with rationale ✅ SCAR receives complete context (epic files) ✅ Implementation validated before marking complete ✅ User understands progress at all times ✅ Planning time < 20% of implementation time ✅ SCAR requires < 5% clarification requests
- BMAD Method: https://github.com/bmad-code-org/BMAD-METHOD
- BMAD Documentation: https://docs.bmad-method.org
- SCAR Platform: https://github.com/gpt153/scar
- Autonomous Supervision:
/home/samuel/scar/docs/autonomous-supervision.md
Created: 2026-01-15 (Stockholm time) Maintained by: Samuel (gpt153) Version: 1.0