Skip to content

Commit 0f6bbe1

Browse files
committed
docs: add loop catalog
1 parent a40fa59 commit 0f6bbe1

1 file changed

Lines changed: 46 additions & 0 deletions

File tree

docs/loops/README.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Loop Catalog
2+
3+
This page defines reusable loops for AI-assisted software engineering.
4+
5+
## Loop selection
6+
7+
```mermaid
8+
flowchart TD
9+
Task[Task] --> Type{Task Type}
10+
Type -- New Capability --> Feature[Feature Loop]
11+
Type -- Defect --> Bug[Bug Fix Loop]
12+
Type -- Code Cleanup --> Refactor[Refactoring Loop]
13+
Type -- Failed Pipeline --> CICD[CI/CD Repair Loop]
14+
Type -- Infra Change --> IaC[Infrastructure Loop]
15+
Type -- Risk Reduction --> Security[Security Loop]
16+
Type -- Slow System --> Perf[Performance Loop]
17+
Type -- Release --> Release[Release Loop]
18+
```
19+
20+
## Feature loop
21+
22+
Goal -> acceptance criteria -> design -> implement -> verify -> document -> done.
23+
24+
## Bug loop
25+
26+
Reproduce -> failing test -> root cause -> minimal fix -> regression -> done.
27+
28+
## Refactoring loop
29+
30+
Baseline -> characterization tests -> small change -> verify -> repeat.
31+
32+
## CI/CD loop
33+
34+
Logs -> classify -> root cause -> patch -> verify -> rerun CI.
35+
36+
## Infrastructure loop
37+
38+
Plan -> validate -> review risk -> approve if needed -> apply to lower environment -> smoke test.
39+
40+
## Security loop
41+
42+
Threat -> control -> abuse case -> verify -> residual risk.
43+
44+
## Performance loop
45+
46+
Measure -> hypothesize -> change -> benchmark -> keep or rollback.

0 commit comments

Comments
 (0)