* feat(qcsd): add Production Telemetry swarm — 5th QCSD lifecycle phase
Complete the QCSD lifecycle (Ideation → Refinement → Development → CI/CD → Production)
with the Production Telemetry swarm for post-release health assessment.
- 12 agents (3 core + 7 conditional + 2 feedback) across 4 DDD domains
- 9-phase execution: flag detection, parallel core spawn, conditional spawn,
HEALTHY/DEGRADED/CRITICAL decision logic, report generation, learning
persistence, sequential feedback loop closure
- 7 domain flags driving conditional agent activation
- Cross-phase signal consumption from CI/CD via memory_query
- Dual feedback loops to Ideation (strategic) and Refinement (tactical)
- All scores normalized to 0-100 scale across all agent types
- Enterprise-integration agents (middleware, SAP, SoD) wired into decision logic
- Phase 8 sequential enforcement for data-dependent feedback agents
- JSON schema with 15 $defs including 3 enterprise analysis types
- 8 eval test cases including 3 decision logic determinism tests
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix(qcsd): align eval test case domain flags with provided metrics
tc006: add HAS_MIDDLEWARE (middlewareHealth: 12 present)
tc007: fix HAS_INFRASTRUCTURE_CHANGE true (resilienceScore: 92),
add HAS_MIDDLEWARE (middlewareHealth: 88),
add HAS_AUTHORIZATION (sodCompliance: 95)
tc008: add HAS_MIDDLEWARE (middlewareHealth: 55),
add HAS_SAP_INTEGRATION (sapHealth: 40)
No test outcome changes — flags now match the non-null metrics
each test case provides, preventing future maintainer confusion.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* feat(qcsd): add automatic post-deploy telemetry collection and production swarm trigger
- New script: scripts/collect-production-telemetry.sh
Collects DORA metrics (deployment frequency, lead time, change failure
rate, MTTR) from GitHub API via gh CLI. Outputs structured JSON to
docs/telemetry/production/. Runs standalone or in GHA.
- New workflow: .github/workflows/qcsd-production-trigger.yml
Triggers after npm publish (workflow_run), weekly schedule, or manual
dispatch. Collects telemetry, commits to repo, creates GitHub Issue
with invocation command for the production swarm.
- Edit: .claude/hooks/cross-phase-memory.yaml
Added Loop 5 (CI/CD → Production deploy trigger) with post-release-decision
and pre-production hooks. Updated routing and header comment (4→5 loops).
- Edit: .claude/skills/qcsd-production-swarm/SKILL.md
Added Step 0.5 (auto-detect pre-collected GHA telemetry). Non-breaking
fallback to manual input when no telemetry file exists.
- New: docs/telemetry/production/.gitkeep (output directory)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Lalit <lalit@example.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>