SDA Controller
SDA Controller Skill
Replaces traditional PDCA (Plan-Do-Check-Act) with a faster, AI-native iteration loop.
SDA vs PDCA
| PDCA | SDA | Improvement |
|---|---|---|
| Plan | Simulate | Test before building |
| Do | Deploy | Canary first |
| Check | Augment | Real-time learning |
| Act | (Continuous) | No manual cycle |
SDA Loop
┌─────────────────────────────────────────────┐
│ │
│ SIMULATE ──► DEPLOY ──► AUGMENT │
│ ▲ │ │
│ └───────────────────────┘ │
│ │
└─────────────────────────────────────────────┘
Phase Definitions
1. SIMULATE
Run solution in high-fidelity sandbox before any real deployment.
simulate:
environment: sandbox
actions:
- Run test suite: `npm run test`
- Build check: `npm run build`
- Load test: `npm run load-test:smoke`
success_criteria:
tests_pass: true
build_success: true
performance_threshold: "p95 < 200ms"
2. DEPLOY
Small-scale canary release with rollback capability.
deploy:
strategy: canary
initial_traffic: 5%
ramp_schedule:
- 5%: 10min
- 25%: 30min
- 50%: 1hr
- 100%: 2hr
rollback_trigger:
error_rate: "> 1%"
latency_p99: "> 500ms"
3. AUGMENT
Agents learn from telemetry, adjusting in real-time.
augment:
telemetry_sources:
- Error logs
- Performance metrics
- User feedback signals
feedback_actions:
- Auto-fix common patterns
- Generate hotfix PRs
- Update configuration
learning_loop:
- Store successful patterns
- Avoid failed approaches
Workflow Commands
/iterate simulate # Run simulation only
/iterate deploy # Deploy with canary
/iterate full # Complete SDA cycle
/iterate rollback # Emergency rollback
Integration Points
| Component | Purpose |
|---|---|
eval-harness |
Powers SIMULATE phase |
verification-loop |
Continuous checks |
| GitHub Actions | DEPLOY automation |
| Sentry | AUGMENT telemetry |
Success Metrics
| Metric | Target |
|---|---|
| Simulation pass rate | 100% |
| Canary success rate | > 99% |
| Mean time to augment | < 5min |
| Rollback frequency | < 1% |
More from mark393295827/house-maint-ai
django-security
Django security best practices, authentication, authorization, CSRF protection, SQL injection prevention, XSS prevention, and secure deployment configurations.
10backend-patterns
Backend architecture patterns, API design, database optimization, and server-side best practices for Node.js, Express, and Next.js API routes.
9cpp-coding-standards
C++ coding standards based on the C++ Core Guidelines (isocpp.github.io). Use when writing, reviewing, or refactoring C++ code to enforce modern, safe, and idiomatic practices.
9springboot-tdd
Test-driven development for Spring Boot using JUnit 5, Mockito, MockMvc, Testcontainers, and JaCoCo. Use when adding features, fixing bugs, or refactoring.
9cost-aware-llm-pipeline
Cost optimization patterns for LLM API usage — model routing by task complexity, budget tracking, retry logic, and prompt caching.
8configure-ecc
Interactive installer for Everything Claude Code — guides users through selecting and installing skills and rules to user-level or project-level directories, verifies paths, and optionally optimizes installed files.
8