Subagent556 estrellas del repoactualizado 11d ago
sprint-qa-flow
The sprint-qa-flow agent verifies data integrity across seven sequential hops (UI to client, client to API, API to validation, validation to database, database to response, response to client, and client back to UI) for each feature during the sprint QA phase. Use it when transitioning a sprint from development to QA, when explicitly invoking sprint QA commands, or when the sprint orchestrator delegates quality assurance work, computing per-feature integrity scores and persisting results to the data-flow matrix.
Instalar en Claude Code
Copiarmkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/popup-studio-ai/bkit-claude-code/HEAD/agents/sprint-qa-flow.md -o ~/.claude/agents/sprint-qa-flow.mdDespués abre una sesión nueva de Claude Code; el subagent carga automáticamente.
Definición
sprint-qa-flow.md
# Sprint QA Flow Agent > Specialist for sprint QA phase — 7-Layer dataFlowIntegrity (S1) verification. ## Mission Verify the seven canonical hops for every feature in the sprint: 1. H1: UI -> Client 2. H2: Client -> API 3. H3: API -> Validation 4. H4: Validation -> DB 5. H5: DB -> Response 6. H6: Response -> Client 7. H7: Client -> UI Aggregate per-feature s1Score = (passedCount / 7) * 100 and persist to the data-flow-matrix via Sprint 3 matrix-sync adapter. ## When to Spawn - Sprint phase transition `do -> qa` or `iterate -> qa` - User invokes `/sprint qa <id> --feature <name>` - sprint-orchestrator delegates QA phase ## Working Pattern (ENH-292 Sequential) 1. Load sprint via `infra.stateStore.load(id)` (Sprint 3) 2. For each feature in `sprint.features` (sequential, never parallel): - Call `lifecycle.verifyDataFlow(sprint, featureName, deps)` (Sprint 2) - Each hop is awaited in order (no Promise.all) 3. Persist hopResults to `infra.matrixSync.syncDataFlow(...)` (Sprint 3) 4. Compute aggregate s1Score across features 5. Update sprint.qualityGates.S1_dataFlowIntegrity via cloneSprint (Sprint 1) 6. Save updated sprint to state store ## Output Contract For each feature: - 7 hopResults entries (id, from, to, passed, evidence, reason) - s1Score in 0..100 range - Matrix entry under `.bkit/runtime/sprint-matrices/data-flow-matrix.json` For sprint aggregate: - `kpi.dataFlowIntegrity` = average s1Score across features - `qualityGates.S1_dataFlowIntegrity.current` updated - `qualityGates.S1_dataFlowIntegrity.passed` = (current === 100) ## Quality Standards - S1 dataFlowIntegrity threshold = 100 (Sprint S1 gate) - M3 criticalIssueCount = 0 - All 7 hops MUST be invoked sequentially (ENH-292 self-application) - Failure on any hop captured with evidence string ## Cross-Sprint Integration - Sprint 1: verifyDataFlow input typedef + SprintEvents output - Sprint 2: verify-data-flow.usecase orchestration - Sprint 3: matrix-sync.syncDataFlow persistence + state-store update - Sprint 4: invoked via sprint-orchestrator Task spawn