Repository navigation
Expand file tree
/
Copy pathagent-plan.json
More file actions
95 lines (95 loc) · 2.97 KB
/
Copy pathagent-plan.json
File metadata and controls
95 lines (95 loc) · 2.97 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
{
"root": "card",
"elements": {
"card": {
"type": "Card",
"props": { "title": "Agent plan · request timeouts", "padding": 1 },
"children": ["heading", "status", "meta", "plan-section", "verify-section", "gate"]
},
"heading": {
"type": "Heading",
"props": { "text": "Add configurable API request timeouts", "level": "h2", "color": "cyan" },
"children": []
},
"status": {
"type": "StatusLine",
"props": { "text": "Ready to execute · five focused phases", "status": "info" },
"children": []
},
"meta": {
"type": "Box",
"props": { "flexDirection": "row", "gap": 2 },
"children": ["files", "risk", "effort"]
},
"files": {
"type": "Metric",
"props": { "label": "Expected files", "value": "4", "detail": "small diff" },
"children": []
},
"risk": {
"type": "Metric",
"props": { "label": "Risk", "value": "Medium", "detail": "network edge" },
"children": []
},
"effort": {
"type": "Metric",
"props": { "label": "Estimate", "value": "45 min", "detail": "including tests" },
"children": []
},
"plan-section": {
"type": "Box",
"props": { "flexDirection": "column" },
"children": ["plan-divider", "steps"]
},
"plan-divider": {
"type": "Divider",
"props": { "title": "Execution" },
"children": []
},
"steps": {
"type": "List",
"props": {
"ordered": true,
"items": [
"Reproduce the hanging request with a focused failing test.",
"Trace configuration flow from environment to HTTP client.",
"Add a bounded timeout with a backward-compatible default.",
"Map timeout failures to the existing typed error boundary.",
"Run focused tests, typecheck, and the integration suite."
]
},
"children": []
},
"verify-section": {
"type": "Box",
"props": { "flexDirection": "column" },
"children": ["verify-heading", "checks"]
},
"verify-heading": {
"type": "Heading",
"props": { "text": "Verification gates", "level": "h3" },
"children": []
},
"checks": {
"type": "Table",
"props": {
"columns": [
{ "header": "Gate", "key": "gate", "width": 18 },
{ "header": "Command", "key": "command", "width": 28 },
{ "header": "Expected", "key": "expected", "width": 18 }
],
"rows": [
{ "gate": "Regression", "command": "npm test -- timeout", "expected": "Pass" },
{ "gate": "Types", "command": "npm run typecheck", "expected": "No errors" },
{ "gate": "Integration", "command": "npm test", "expected": "Green suite" }
]
},
"children": []
},
"gate": {
"type": "Callout",
"props": { "type": "important", "title": "Stop condition", "content": "Do not widen the retry policy or change unrelated network behavior." },
"children": []
}
}
}