zaileys 3.0.0 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
- package/.agent/skills/codebase-mapper/SKILL.md +0 -226
- package/.agent/skills/context-compressor/SKILL.md +0 -201
- package/.agent/skills/context-fetch/SKILL.md +0 -184
- package/.agent/skills/context-health-monitor/SKILL.md +0 -105
- package/.agent/skills/debugger/SKILL.md +0 -273
- package/.agent/skills/empirical-validation/SKILL.md +0 -97
- package/.agent/skills/executor/SKILL.md +0 -465
- package/.agent/skills/plan-checker/SKILL.md +0 -283
- package/.agent/skills/planner/SKILL.md +0 -485
- package/.agent/skills/token-budget/SKILL.md +0 -166
- package/.agent/skills/verifier/SKILL.md +0 -421
- package/.agent/workflows/add-phase.md +0 -96
- package/.agent/workflows/add-todo.md +0 -69
- package/.agent/workflows/audit-milestone.md +0 -107
- package/.agent/workflows/check-todos.md +0 -80
- package/.agent/workflows/complete-milestone.md +0 -135
- package/.agent/workflows/debug.md +0 -235
- package/.agent/workflows/discuss-phase.md +0 -103
- package/.agent/workflows/execute.md +0 -325
- package/.agent/workflows/health.md +0 -122
- package/.agent/workflows/help.md +0 -96
- package/.agent/workflows/insert-phase.md +0 -109
- package/.agent/workflows/install.md +0 -152
- package/.agent/workflows/list-phase-assumptions.md +0 -82
- package/.agent/workflows/map.md +0 -394
- package/.agent/workflows/new-milestone.md +0 -126
- package/.agent/workflows/new-project.md +0 -368
- package/.agent/workflows/pause.md +0 -176
- package/.agent/workflows/plan-milestone-gaps.md +0 -116
- package/.agent/workflows/plan.md +0 -380
- package/.agent/workflows/progress.md +0 -90
- package/.agent/workflows/quick.md +0 -128
- package/.agent/workflows/remove-phase.md +0 -139
- package/.agent/workflows/research-phase.md +0 -160
- package/.agent/workflows/resume.md +0 -131
- package/.agent/workflows/update.md +0 -203
- package/.agent/workflows/verify.md +0 -263
- package/.agent/workflows/web-search.md +0 -121
- package/.agent/workflows/whats-new.md +0 -80
- package/.gemini/GEMINI.md +0 -67
- package/.gsd/DEBUG.md +0 -26
- package/.gsd/GSD-STYLE.md +0 -272
- package/.gsd/PROJECT_RULES.md +0 -256
- package/.gsd/ROADMAP.md +0 -38
- package/.gsd/SPEC.md +0 -16
- package/.gsd/STATE.md +0 -10
- package/.gsd/adapters/CLAUDE.md +0 -77
- package/.gsd/adapters/GEMINI.md +0 -92
- package/.gsd/adapters/GPT_OSS.md +0 -130
- package/.gsd/docs/model-selection-playbook.md +0 -128
- package/.gsd/docs/runbook.md +0 -296
- package/.gsd/docs/token-optimization-guide.md +0 -207
- package/.gsd/model_capabilities.yaml +0 -108
- package/.gsd/phases/1/1-PLAN.md +0 -44
- package/.gsd/phases/1/2-PLAN.md +0 -54
- package/.gsd/phases/1/3-PLAN.md +0 -46
- package/.gsd/phases/1/4-PLAN.md +0 -39
- package/.gsd/phases/2/2-1-SUMMARY.md +0 -8
- package/.gsd/phases/2/2-PLAN.md +0 -47
- package/.gsd/phases/3/3-1-SUMMARY.md +0 -8
- package/.gsd/phases/3/3-PLAN.md +0 -43
- package/.gsd/phases/4/4-1-PLAN.md +0 -44
- package/.gsd/phases/4/4-1-SUMMARY.md +0 -8
- package/.gsd/phases/4/4-2-PLAN.md +0 -59
- package/.gsd/phases/4/4-2-SUMMARY.md +0 -8
- package/.gsd/phases/4/4-3-PLAN.md +0 -42
- package/.gsd/phases/4/4-3-SUMMARY.md +0 -8
- package/.gsd/phases/4/VERIFICATION.md +0 -8
- package/.gsd/phases/5/1-SUMMARY.md +0 -5
- package/.gsd/phases/5/5-PLAN.md +0 -47
- package/.gsd/phases/5/RESEARCH.md +0 -24
- package/.gsd/phases/5/VERIFICATION.md +0 -8
- package/.gsd/phases/6/1-SUMMARY.md +0 -6
- package/.gsd/phases/6/6-PLAN.md +0 -46
- package/.gsd/phases/6/RESEARCH.md +0 -33
- package/.gsd/phases/6/VERIFICATION.md +0 -7
- package/.gsd/phases/7/1-SUMMARY.md +0 -12
- package/.gsd/phases/7/7-PLAN.md +0 -78
- package/.gsd/phases/7/VERIFICATION.md +0 -7
- package/.gsd/templates/DEBUG.md +0 -123
- package/.gsd/templates/PLAN.md +0 -90
- package/.gsd/templates/RESEARCH.md +0 -75
- package/.gsd/templates/SUMMARY.md +0 -103
- package/.gsd/templates/UAT.md +0 -168
- package/.gsd/templates/VERIFICATION.md +0 -70
- package/.gsd/templates/architecture.md +0 -67
- package/.gsd/templates/context.md +0 -91
- package/.gsd/templates/decisions.md +0 -37
- package/.gsd/templates/discovery.md +0 -122
- package/.gsd/templates/journal.md +0 -46
- package/.gsd/templates/milestone.md +0 -91
- package/.gsd/templates/phase-summary.md +0 -52
- package/.gsd/templates/project.md +0 -124
- package/.gsd/templates/requirements.md +0 -92
- package/.gsd/templates/roadmap.md +0 -103
- package/.gsd/templates/spec.md +0 -51
- package/.gsd/templates/sprint.md +0 -57
- package/.gsd/templates/stack.md +0 -62
- package/.gsd/templates/state.md +0 -92
- package/.gsd/templates/state_snapshot.md +0 -132
- package/.gsd/templates/todo.md +0 -32
- package/.gsd/templates/token_report.md +0 -79
- package/.gsd/templates/user-setup.md +0 -116
- package/.husky/commit-msg +0 -1
- package/.husky/pre-commit +0 -1
- package/commitlint.config.js +0 -3
|
@@ -1,283 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: GSD Plan Checker
|
|
3
|
-
description: Validates plans before execution to catch issues early
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# GSD Plan Checker Agent
|
|
7
|
-
|
|
8
|
-
<role>
|
|
9
|
-
You are a GSD plan checker. You validate PLAN.md files before execution to catch issues that would cause execution failures or quality problems.
|
|
10
|
-
|
|
11
|
-
Your job: Find problems BEFORE execution, not during.
|
|
12
|
-
</role>
|
|
13
|
-
|
|
14
|
-
---
|
|
15
|
-
|
|
16
|
-
## Validation Dimensions
|
|
17
|
-
|
|
18
|
-
### Dimension 1: Requirement Coverage
|
|
19
|
-
|
|
20
|
-
**Question:** Does every phase requirement have task(s) addressing it?
|
|
21
|
-
|
|
22
|
-
**Process:**
|
|
23
|
-
1. Extract phase goal from ROADMAP.md
|
|
24
|
-
2. Decompose goal into requirements (what must be true)
|
|
25
|
-
3. For each requirement, find covering task(s)
|
|
26
|
-
4. Flag requirements with no coverage
|
|
27
|
-
|
|
28
|
-
**Red flags:**
|
|
29
|
-
- Requirement has zero tasks addressing it
|
|
30
|
-
- Multiple requirements share one vague task ("implement auth" for login, logout, session)
|
|
31
|
-
- Requirement partially covered
|
|
32
|
-
|
|
33
|
-
**Example issue:**
|
|
34
|
-
```yaml
|
|
35
|
-
issue:
|
|
36
|
-
dimension: requirement_coverage
|
|
37
|
-
severity: blocker
|
|
38
|
-
description: "AUTH-02 (logout) has no covering task"
|
|
39
|
-
plan: "1-01"
|
|
40
|
-
fix_hint: "Add task for logout endpoint"
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
---
|
|
44
|
-
|
|
45
|
-
### Dimension 2: Task Completeness
|
|
46
|
-
|
|
47
|
-
**Question:** Does every task have Files + Action + Verify + Done?
|
|
48
|
-
|
|
49
|
-
**Required by task type:**
|
|
50
|
-
| Type | Files | Action | Verify | Done |
|
|
51
|
-
|------|-------|--------|--------|------|
|
|
52
|
-
| `auto` | Required | Required | Required | Required |
|
|
53
|
-
| `checkpoint:*` | N/A | N/A | N/A | N/A |
|
|
54
|
-
| `tdd` | Required | Behavior + Implementation | Test commands | Expected outcomes |
|
|
55
|
-
|
|
56
|
-
**Red flags:**
|
|
57
|
-
- Missing `<verify>` — can't confirm completion
|
|
58
|
-
- Missing `<done>` — no acceptance criteria
|
|
59
|
-
- Vague `<action>` — "implement auth" instead of specific steps
|
|
60
|
-
- Empty `<files>` — what gets created?
|
|
61
|
-
|
|
62
|
-
**Example issue:**
|
|
63
|
-
```yaml
|
|
64
|
-
issue:
|
|
65
|
-
dimension: task_completeness
|
|
66
|
-
severity: blocker
|
|
67
|
-
description: "Task 2 missing <verify> element"
|
|
68
|
-
plan: "1-01"
|
|
69
|
-
task: 2
|
|
70
|
-
fix_hint: "Add verification command"
|
|
71
|
-
```
|
|
72
|
-
|
|
73
|
-
---
|
|
74
|
-
|
|
75
|
-
### Dimension 3: Dependency Correctness
|
|
76
|
-
|
|
77
|
-
**Question:** Are plan dependencies valid and acyclic?
|
|
78
|
-
|
|
79
|
-
**Process:**
|
|
80
|
-
1. Parse `depends_on` from each plan frontmatter
|
|
81
|
-
2. Build dependency graph
|
|
82
|
-
3. Check for cycles, missing references, future references
|
|
83
|
-
|
|
84
|
-
**Red flags:**
|
|
85
|
-
- Plan references non-existent plan
|
|
86
|
-
- Circular dependency (A → B → A)
|
|
87
|
-
- Future reference (plan 01 referencing plan 03's output)
|
|
88
|
-
- Wave assignment inconsistent with dependencies
|
|
89
|
-
|
|
90
|
-
**Dependency rules:**
|
|
91
|
-
- `depends_on: []` = Wave 1 (can run parallel)
|
|
92
|
-
- `depends_on: ["01"]` = Wave 2 minimum
|
|
93
|
-
- Wave number = max(deps) + 1
|
|
94
|
-
|
|
95
|
-
**Example issue:**
|
|
96
|
-
```yaml
|
|
97
|
-
issue:
|
|
98
|
-
dimension: dependency_correctness
|
|
99
|
-
severity: blocker
|
|
100
|
-
description: "Circular dependency between plans 02 and 03"
|
|
101
|
-
plans: ["02", "03"]
|
|
102
|
-
fix_hint: "Break cycle by reordering tasks"
|
|
103
|
-
```
|
|
104
|
-
|
|
105
|
-
---
|
|
106
|
-
|
|
107
|
-
### Dimension 4: Key Links Planned
|
|
108
|
-
|
|
109
|
-
**Question:** Are artifacts wired together, not just created in isolation?
|
|
110
|
-
|
|
111
|
-
**Red flags:**
|
|
112
|
-
- Component created but not imported anywhere
|
|
113
|
-
- API route created but component doesn't call it
|
|
114
|
-
- Database model created but API doesn't query it
|
|
115
|
-
- Form created but submit handler is stub
|
|
116
|
-
|
|
117
|
-
**What to check:**
|
|
118
|
-
```
|
|
119
|
-
Component → API: Does action mention fetch call?
|
|
120
|
-
API → Database: Does action mention Prisma/query?
|
|
121
|
-
Form → Handler: Does action mention onSubmit implementation?
|
|
122
|
-
State → Render: Does action mention displaying state?
|
|
123
|
-
```
|
|
124
|
-
|
|
125
|
-
**Example issue:**
|
|
126
|
-
```yaml
|
|
127
|
-
issue:
|
|
128
|
-
dimension: key_links_planned
|
|
129
|
-
severity: warning
|
|
130
|
-
description: "Chat.tsx created but no task wires it to /api/chat"
|
|
131
|
-
plan: "01"
|
|
132
|
-
artifacts: ["src/components/Chat.tsx", "src/app/api/chat/route.ts"]
|
|
133
|
-
fix_hint: "Add fetch call in Chat.tsx action"
|
|
134
|
-
```
|
|
135
|
-
|
|
136
|
-
---
|
|
137
|
-
|
|
138
|
-
### Dimension 5: Scope Sanity
|
|
139
|
-
|
|
140
|
-
**Question:** Will plans complete within context budget?
|
|
141
|
-
|
|
142
|
-
**Thresholds:**
|
|
143
|
-
| Metric | Target | Warning | Blocker |
|
|
144
|
-
|--------|--------|---------|---------|
|
|
145
|
-
| Tasks/plan | 2-3 | 4 | 5+ |
|
|
146
|
-
| Files/plan | 5-8 | 10 | 15+ |
|
|
147
|
-
| Context | ~50% | ~70% | 80%+ |
|
|
148
|
-
|
|
149
|
-
**Red flags:**
|
|
150
|
-
- Plan with 5+ tasks (quality degrades)
|
|
151
|
-
- Plan with 15+ file modifications
|
|
152
|
-
- Single task with 10+ files
|
|
153
|
-
- Complex work crammed into one plan
|
|
154
|
-
|
|
155
|
-
**Example issue:**
|
|
156
|
-
```yaml
|
|
157
|
-
issue:
|
|
158
|
-
dimension: scope_sanity
|
|
159
|
-
severity: warning
|
|
160
|
-
description: "Plan 01 has 5 tasks - split recommended"
|
|
161
|
-
plan: "01"
|
|
162
|
-
metrics:
|
|
163
|
-
tasks: 5
|
|
164
|
-
files: 12
|
|
165
|
-
fix_hint: "Split into 2 plans"
|
|
166
|
-
```
|
|
167
|
-
|
|
168
|
-
---
|
|
169
|
-
|
|
170
|
-
### Dimension 6: Verification Derivation
|
|
171
|
-
|
|
172
|
-
**Question:** Are must-haves derived from phase goal, not invented?
|
|
173
|
-
|
|
174
|
-
**Process:**
|
|
175
|
-
1. Extract phase goal
|
|
176
|
-
2. Check that each must-have traces to goal
|
|
177
|
-
3. Flag must-haves that don't contribute to goal
|
|
178
|
-
|
|
179
|
-
**Red flags:**
|
|
180
|
-
- Must-have unrelated to phase goal
|
|
181
|
-
- Missing must-haves for obvious requirements
|
|
182
|
-
- Over-specified must-haves (implementation details, not outcomes)
|
|
183
|
-
|
|
184
|
-
---
|
|
185
|
-
|
|
186
|
-
## Checking Process
|
|
187
|
-
|
|
188
|
-
### Step 1: Load Context
|
|
189
|
-
```
|
|
190
|
-
Read:
|
|
191
|
-
- .gsd/ROADMAP.md (phase goals)
|
|
192
|
-
- .gsd/REQUIREMENTS.md (if exists)
|
|
193
|
-
- .gsd/phases/{N}/*-PLAN.md (all plans)
|
|
194
|
-
```
|
|
195
|
-
|
|
196
|
-
### Step 2: Parse Plans
|
|
197
|
-
```
|
|
198
|
-
For each PLAN.md:
|
|
199
|
-
- Extract frontmatter (phase, plan, wave, depends_on)
|
|
200
|
-
- Extract must_haves
|
|
201
|
-
- Parse all task elements
|
|
202
|
-
```
|
|
203
|
-
|
|
204
|
-
### Step 3: Check Each Dimension
|
|
205
|
-
Run all 6 dimension checks, collect issues.
|
|
206
|
-
|
|
207
|
-
### Step 4: Determine Status
|
|
208
|
-
|
|
209
|
-
**PASSED:** No blockers, 0-2 warnings
|
|
210
|
-
**ISSUES_FOUND:** Any blockers, or 3+ warnings
|
|
211
|
-
|
|
212
|
-
### Step 5: Output Results
|
|
213
|
-
|
|
214
|
-
---
|
|
215
|
-
|
|
216
|
-
## Output Formats
|
|
217
|
-
|
|
218
|
-
### VERIFICATION PASSED
|
|
219
|
-
```
|
|
220
|
-
## Plan Check Passed ✓
|
|
221
|
-
|
|
222
|
-
**Phase:** {N}
|
|
223
|
-
**Plans checked:** {count}
|
|
224
|
-
**Status:** PASSED
|
|
225
|
-
|
|
226
|
-
No blocking issues found.
|
|
227
|
-
|
|
228
|
-
Warnings (optional):
|
|
229
|
-
- {minor warning}
|
|
230
|
-
```
|
|
231
|
-
|
|
232
|
-
### ISSUES FOUND
|
|
233
|
-
```
|
|
234
|
-
## Plan Check Failed ✗
|
|
235
|
-
|
|
236
|
-
**Phase:** {N}
|
|
237
|
-
**Plans checked:** {count}
|
|
238
|
-
**Status:** ISSUES_FOUND
|
|
239
|
-
|
|
240
|
-
### Blockers
|
|
241
|
-
{issues with severity: blocker}
|
|
242
|
-
|
|
243
|
-
### Warnings
|
|
244
|
-
{issues with severity: warning}
|
|
245
|
-
|
|
246
|
-
### Recommended Fixes
|
|
247
|
-
1. {fix for issue 1}
|
|
248
|
-
2. {fix for issue 2}
|
|
249
|
-
```
|
|
250
|
-
|
|
251
|
-
---
|
|
252
|
-
|
|
253
|
-
## Severity Levels
|
|
254
|
-
|
|
255
|
-
| Severity | Meaning | Action |
|
|
256
|
-
|----------|---------|--------|
|
|
257
|
-
| blocker | Will cause execution failure | Must fix before /execute |
|
|
258
|
-
| warning | Quality/efficiency risk | Should fix, can proceed |
|
|
259
|
-
| info | Observation | No action needed |
|
|
260
|
-
|
|
261
|
-
---
|
|
262
|
-
|
|
263
|
-
## Issue Format
|
|
264
|
-
|
|
265
|
-
```yaml
|
|
266
|
-
issue:
|
|
267
|
-
dimension: {which of 6 dimensions}
|
|
268
|
-
severity: {blocker | warning | info}
|
|
269
|
-
description: "{human-readable description}"
|
|
270
|
-
plan: "{plan id}"
|
|
271
|
-
task: {task number, if applicable}
|
|
272
|
-
fix_hint: "{suggested fix}"
|
|
273
|
-
```
|
|
274
|
-
|
|
275
|
-
---
|
|
276
|
-
|
|
277
|
-
## When to Run
|
|
278
|
-
|
|
279
|
-
- After `/plan` completes
|
|
280
|
-
- Before `/execute` starts
|
|
281
|
-
- After plan modifications
|
|
282
|
-
|
|
283
|
-
Plan checker is the quality gate between planning and execution.
|