This page defines reusable loops for AI-assisted software engineering.
flowchart TD
Task[Task] --> Type{Task Type}
Type -- New Capability --> Feature[Feature Loop]
Type -- Defect --> Bug[Bug Fix Loop]
Type -- Code Cleanup --> Refactor[Refactoring Loop]
Type -- Failed Pipeline --> CICD[CI/CD Repair Loop]
Type -- Infra Change --> IaC[Infrastructure Loop]
Type -- Risk Reduction --> Security[Security Loop]
Type -- Slow System --> Perf[Performance Loop]
Type -- Release --> Release[Release Loop]
Goal -> acceptance criteria -> design -> implement -> verify -> document -> done.
Reproduce -> failing test -> root cause -> minimal fix -> regression -> done.
Baseline -> characterization tests -> small change -> verify -> repeat.
Logs -> classify -> root cause -> patch -> verify -> rerun CI.
Plan -> validate -> review risk -> approve if needed -> apply to lower environment -> smoke test.
Threat -> control -> abuse case -> verify -> residual risk.
Measure -> hypothesize -> change -> benchmark -> keep or rollback.