-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathrup-plan.json
More file actions
171 lines (171 loc) · 5.38 KB
/
Copy pathrup-plan.json
File metadata and controls
171 lines (171 loc) · 5.38 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
{
"schema_version": "3.0.0",
"protocol_version": "3.0.0",
"phase": "planning",
"timestamp": "2026-01-26T23:32:00Z",
"agent": {
"id": "agent_planning",
"status": "success",
"duration_ms": 3000
},
"constraints": {
"time_budget_minutes": 60,
"max_files_changed": 15,
"max_lines_changed": 500,
"risk_tolerance": "medium",
"focus_areas": ["security", "ci", "tests"],
"exclude_areas": []
},
"backlog": [
{
"id": "ITEM-001",
"priority": "P0",
"category": "security",
"title": "Fix dependency vulnerability in esbuild/vite",
"description": "Update vitest and related dependencies to fix GHSA-67mh-4wv8-2f99 vulnerability in esbuild",
"scope": {
"files": ["package.json", "package-lock.json"],
"packages": []
},
"risk": "low",
"estimated_effort_minutes": 10,
"verification_method": "npm audit shows no moderate+ vulnerabilities",
"dependencies": [],
"acceptance_criteria": [
"npm audit shows 0 moderate, high, or critical vulnerabilities",
"All tests still pass after upgrade",
"npm run build succeeds"
]
},
{
"id": "ITEM-002",
"priority": "P0",
"category": "ci",
"title": "Add test coverage reporting to CI workflow",
"description": "Configure vitest to generate coverage reports and update CI to track coverage",
"scope": {
"files": ["vitest.config.ts", ".github/workflows/ci.yml"],
"packages": []
},
"risk": "low",
"estimated_effort_minutes": 15,
"verification_method": "CI generates and uploads coverage report",
"dependencies": ["ITEM-001"],
"acceptance_criteria": [
"Coverage report generated in CI",
"Coverage artifacts uploaded",
"Coverage threshold enforced at 70%"
]
},
{
"id": "ITEM-003",
"priority": "P0",
"category": "security",
"title": "Add pre-commit configuration with secret scanning",
"description": "Create .pre-commit-config.yaml with gitleaks and other security hooks",
"scope": {
"files": [".pre-commit-config.yaml"],
"packages": []
},
"risk": "low",
"estimated_effort_minutes": 10,
"verification_method": "Pre-commit hooks run successfully and detect test secrets",
"dependencies": [],
"acceptance_criteria": [
".pre-commit-config.yaml created with gitleaks",
"Pre-commit can be installed: pre-commit install",
"Test commit with fake secret is blocked"
]
},
{
"id": "ITEM-004",
"priority": "P1",
"category": "ci",
"title": "Fix markdownlint to be blocking in CI",
"description": "Remove continue-on-error from markdownlint step and fix any linting issues",
"scope": {
"files": [".github/workflows/ci.yml", "README.md", "docs/*.md"],
"packages": []
},
"risk": "low",
"estimated_effort_minutes": 10,
"verification_method": "Markdown linting fails the build on violations",
"dependencies": [],
"acceptance_criteria": [
"continue-on-error removed from markdownlint steps",
"All markdown files pass linting",
"CI fails if markdownlint finds issues"
]
},
{
"id": "ITEM-005",
"priority": "P1",
"category": "security",
"title": "Add SECURITY.md symlink to root",
"description": "Create symlink or copy SECURITY.md from .github/ to repository root for better GitHub integration",
"scope": {
"files": ["SECURITY.md"],
"packages": []
},
"risk": "low",
"estimated_effort_minutes": 5,
"verification_method": "GitHub shows security policy in Security tab",
"dependencies": [],
"acceptance_criteria": [
"SECURITY.md exists in repository root",
"GitHub recognizes security policy",
"Content matches .github/SECURITY.md"
]
},
{
"id": "ITEM-006",
"priority": "P1",
"category": "dx",
"title": "Add .nvmrc for Node version management",
"description": "Create .nvmrc file specifying Node 20.x for consistent development environment",
"scope": {
"files": [".nvmrc"],
"packages": []
},
"risk": "low",
"estimated_effort_minutes": 5,
"verification_method": "nvm use succeeds and sets correct version",
"dependencies": [],
"acceptance_criteria": [
".nvmrc file created with Node 20.x",
"nvm use works without errors",
"README updated to mention .nvmrc"
]
}
],
"selected_items": [
"ITEM-001",
"ITEM-003",
"ITEM-004",
"ITEM-005",
"ITEM-006"
],
"execution_order": [
"ITEM-001",
"ITEM-003",
"ITEM-006",
"ITEM-005",
"ITEM-004"
],
"risk_analysis": {
"breaking_changes_possible": false,
"requires_manual_review": false,
"rollback_complexity": "trivial",
"affected_packages": []
},
"estimated_effort": {
"total_minutes": 40,
"confidence": "high",
"breakdown": {
"security": 20,
"ci": 10,
"dx": 10
}
},
"rationale": "Selected 5 items totaling 40 minutes. Focused on security (P0) and CI improvements (P1). All items have low risk and clear verification methods. Dependency update is top priority due to vulnerability. Pre-commit adds security layer. Other items improve developer experience and CI quality."
}