zaileys 2.2.7 → 3.0.0
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/.agent/skills/codebase-mapper/SKILL.md +226 -0
- package/.agent/skills/context-compressor/SKILL.md +201 -0
- package/.agent/skills/context-fetch/SKILL.md +184 -0
- package/.agent/skills/context-health-monitor/SKILL.md +105 -0
- package/.agent/skills/debugger/SKILL.md +273 -0
- package/.agent/skills/empirical-validation/SKILL.md +97 -0
- package/.agent/skills/executor/SKILL.md +465 -0
- package/.agent/skills/plan-checker/SKILL.md +283 -0
- package/.agent/skills/planner/SKILL.md +485 -0
- package/.agent/skills/token-budget/SKILL.md +166 -0
- package/.agent/skills/verifier/SKILL.md +421 -0
- package/.agent/workflows/add-phase.md +96 -0
- package/.agent/workflows/add-todo.md +69 -0
- package/.agent/workflows/audit-milestone.md +107 -0
- package/.agent/workflows/check-todos.md +80 -0
- package/.agent/workflows/complete-milestone.md +135 -0
- package/.agent/workflows/debug.md +235 -0
- package/.agent/workflows/discuss-phase.md +103 -0
- package/.agent/workflows/execute.md +325 -0
- package/.agent/workflows/health.md +122 -0
- package/.agent/workflows/help.md +96 -0
- package/.agent/workflows/insert-phase.md +109 -0
- package/.agent/workflows/install.md +152 -0
- package/.agent/workflows/list-phase-assumptions.md +82 -0
- package/.agent/workflows/map.md +394 -0
- package/.agent/workflows/new-milestone.md +126 -0
- package/.agent/workflows/new-project.md +368 -0
- package/.agent/workflows/pause.md +176 -0
- package/.agent/workflows/plan-milestone-gaps.md +116 -0
- package/.agent/workflows/plan.md +380 -0
- package/.agent/workflows/progress.md +90 -0
- package/.agent/workflows/quick.md +128 -0
- package/.agent/workflows/remove-phase.md +139 -0
- package/.agent/workflows/research-phase.md +160 -0
- package/.agent/workflows/resume.md +131 -0
- package/.agent/workflows/update.md +203 -0
- package/.agent/workflows/verify.md +263 -0
- package/.agent/workflows/web-search.md +121 -0
- package/.agent/workflows/whats-new.md +80 -0
- package/.gemini/GEMINI.md +67 -0
- package/.gsd/DEBUG.md +26 -0
- package/.gsd/GSD-STYLE.md +272 -0
- package/.gsd/PROJECT_RULES.md +256 -0
- package/.gsd/ROADMAP.md +38 -0
- package/.gsd/SPEC.md +16 -0
- package/.gsd/STATE.md +10 -0
- package/.gsd/adapters/CLAUDE.md +77 -0
- package/.gsd/adapters/GEMINI.md +92 -0
- package/.gsd/adapters/GPT_OSS.md +130 -0
- package/.gsd/docs/model-selection-playbook.md +128 -0
- package/.gsd/docs/runbook.md +296 -0
- package/.gsd/docs/token-optimization-guide.md +207 -0
- package/.gsd/model_capabilities.yaml +108 -0
- package/.gsd/phases/1/1-PLAN.md +44 -0
- package/.gsd/phases/1/2-PLAN.md +54 -0
- package/.gsd/phases/1/3-PLAN.md +46 -0
- package/.gsd/phases/1/4-PLAN.md +39 -0
- package/.gsd/phases/2/2-1-SUMMARY.md +8 -0
- package/.gsd/phases/2/2-PLAN.md +47 -0
- package/.gsd/phases/3/3-1-SUMMARY.md +8 -0
- package/.gsd/phases/3/3-PLAN.md +43 -0
- package/.gsd/phases/4/4-1-PLAN.md +44 -0
- package/.gsd/phases/4/4-1-SUMMARY.md +8 -0
- package/.gsd/phases/4/4-2-PLAN.md +59 -0
- package/.gsd/phases/4/4-2-SUMMARY.md +8 -0
- package/.gsd/phases/4/4-3-PLAN.md +42 -0
- package/.gsd/phases/4/4-3-SUMMARY.md +8 -0
- package/.gsd/phases/4/VERIFICATION.md +8 -0
- package/.gsd/phases/5/1-SUMMARY.md +5 -0
- package/.gsd/phases/5/5-PLAN.md +47 -0
- package/.gsd/phases/5/RESEARCH.md +24 -0
- package/.gsd/phases/5/VERIFICATION.md +8 -0
- package/.gsd/phases/6/1-SUMMARY.md +6 -0
- package/.gsd/phases/6/6-PLAN.md +46 -0
- package/.gsd/phases/6/RESEARCH.md +33 -0
- package/.gsd/phases/6/VERIFICATION.md +7 -0
- package/.gsd/phases/7/1-SUMMARY.md +12 -0
- package/.gsd/phases/7/7-PLAN.md +78 -0
- package/.gsd/phases/7/VERIFICATION.md +7 -0
- package/.gsd/templates/DEBUG.md +123 -0
- package/.gsd/templates/PLAN.md +90 -0
- package/.gsd/templates/RESEARCH.md +75 -0
- package/.gsd/templates/SUMMARY.md +103 -0
- package/.gsd/templates/UAT.md +168 -0
- package/.gsd/templates/VERIFICATION.md +70 -0
- package/.gsd/templates/architecture.md +67 -0
- package/.gsd/templates/context.md +91 -0
- package/.gsd/templates/decisions.md +37 -0
- package/.gsd/templates/discovery.md +122 -0
- package/.gsd/templates/journal.md +46 -0
- package/.gsd/templates/milestone.md +91 -0
- package/.gsd/templates/phase-summary.md +52 -0
- package/.gsd/templates/project.md +124 -0
- package/.gsd/templates/requirements.md +92 -0
- package/.gsd/templates/roadmap.md +103 -0
- package/.gsd/templates/spec.md +51 -0
- package/.gsd/templates/sprint.md +57 -0
- package/.gsd/templates/stack.md +62 -0
- package/.gsd/templates/state.md +92 -0
- package/.gsd/templates/state_snapshot.md +132 -0
- package/.gsd/templates/todo.md +32 -0
- package/.gsd/templates/token_report.md +79 -0
- package/.gsd/templates/user-setup.md +116 -0
- package/.husky/commit-msg +1 -0
- package/.husky/pre-commit +1 -0
- package/LICENSE +21 -21
- package/README.MD +1280 -1230
- package/commitlint.config.js +3 -0
- package/dist/index.d.mts +1397 -908
- package/dist/index.d.ts +1397 -908
- package/dist/index.js +29 -28
- package/dist/index.mjs +29 -28
- package/package.json +11 -27
- package/tsconfig.json +19 -19
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
# RESEARCH.md Template
|
|
2
|
+
|
|
3
|
+
> Copy this template when documenting phase research.
|
|
4
|
+
|
|
5
|
+
```markdown
|
|
6
|
+
---
|
|
7
|
+
phase: {N}
|
|
8
|
+
researched_at: {YYYY-MM-DD}
|
|
9
|
+
discovery_level: 1 | 2 | 3
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# Phase {N} Research
|
|
13
|
+
|
|
14
|
+
## Objective
|
|
15
|
+
{What question is this research answering?}
|
|
16
|
+
|
|
17
|
+
## Discovery Level
|
|
18
|
+
**Level {1|2|3}** — {Quick verification | Standard research | Deep dive}
|
|
19
|
+
|
|
20
|
+
## Key Decisions
|
|
21
|
+
|
|
22
|
+
### Decision 1: {Topic}
|
|
23
|
+
**Question:** {What needed to be decided?}
|
|
24
|
+
**Options Considered:**
|
|
25
|
+
1. {Option A}: {pros/cons}
|
|
26
|
+
2. {Option B}: {pros/cons}
|
|
27
|
+
3. {Option C}: {pros/cons}
|
|
28
|
+
|
|
29
|
+
**Decision:** {Which option and why}
|
|
30
|
+
**Confidence:** {High | Medium | Low}
|
|
31
|
+
|
|
32
|
+
### Decision 2: {Topic}
|
|
33
|
+
...
|
|
34
|
+
|
|
35
|
+
## Findings
|
|
36
|
+
|
|
37
|
+
### {Topic 1}
|
|
38
|
+
{What was learned}
|
|
39
|
+
|
|
40
|
+
**Sources:**
|
|
41
|
+
- {URL or reference}
|
|
42
|
+
- {URL or reference}
|
|
43
|
+
|
|
44
|
+
### {Topic 2}
|
|
45
|
+
{What was learned}
|
|
46
|
+
|
|
47
|
+
## Patterns to Follow
|
|
48
|
+
- {Pattern 1}: {How to apply it}
|
|
49
|
+
- {Pattern 2}: {How to apply it}
|
|
50
|
+
|
|
51
|
+
## Anti-Patterns to Avoid
|
|
52
|
+
- {Anti-pattern 1}: {Why to avoid}
|
|
53
|
+
- {Anti-pattern 2}: {Why to avoid}
|
|
54
|
+
|
|
55
|
+
## Dependencies Identified
|
|
56
|
+
| Package | Version | Purpose |
|
|
57
|
+
|---------|---------|---------|
|
|
58
|
+
| {pkg} | {ver} | {why needed} |
|
|
59
|
+
|
|
60
|
+
## Risks
|
|
61
|
+
- **{Risk 1}:** {Impact and mitigation}
|
|
62
|
+
- **{Risk 2}:** {Impact and mitigation}
|
|
63
|
+
|
|
64
|
+
## Recommendations for Planning
|
|
65
|
+
1. {Recommendation 1}
|
|
66
|
+
2. {Recommendation 2}
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
## Discovery Levels
|
|
70
|
+
|
|
71
|
+
| Level | Time | Use When |
|
|
72
|
+
|-------|------|----------|
|
|
73
|
+
| 1 | 2-5 min | Single known library, confirming syntax |
|
|
74
|
+
| 2 | 15-30 min | Choosing between options, new integration |
|
|
75
|
+
| 3 | 1+ hour | Architectural decision, novel problem |
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
# Summary Template
|
|
2
|
+
|
|
3
|
+
Template for `.gsd/phases/{N}/{plan}-SUMMARY.md` — execution summary after plan completion.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## File Template
|
|
8
|
+
|
|
9
|
+
```markdown
|
|
10
|
+
---
|
|
11
|
+
phase: {N}
|
|
12
|
+
plan: {M}
|
|
13
|
+
completed_at: [ISO timestamp]
|
|
14
|
+
duration_minutes: {N}
|
|
15
|
+
status: complete | partial | failed
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
# Summary: {Plan Name}
|
|
19
|
+
|
|
20
|
+
## Results
|
|
21
|
+
|
|
22
|
+
- **Tasks:** {N}/{M} completed
|
|
23
|
+
- **Commits:** {N}
|
|
24
|
+
- **Verification:** {passed | failed}
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
## Tasks Completed
|
|
29
|
+
|
|
30
|
+
| Task | Description | Commit | Status |
|
|
31
|
+
|------|-------------|--------|--------|
|
|
32
|
+
| 1 | {task name} | {hash} | ✅ Complete |
|
|
33
|
+
| 2 | {task name} | {hash} | ✅ Complete |
|
|
34
|
+
| 3 | {task name} | — | ❌ Blocked |
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
## Files Changed
|
|
39
|
+
|
|
40
|
+
| File | Change Type | Description |
|
|
41
|
+
|------|-------------|-------------|
|
|
42
|
+
| {path} | Created | {what it does} |
|
|
43
|
+
| {path} | Modified | {what changed} |
|
|
44
|
+
| {path} | Deleted | {why removed} |
|
|
45
|
+
|
|
46
|
+
---
|
|
47
|
+
|
|
48
|
+
## Deviations Applied
|
|
49
|
+
|
|
50
|
+
{If none: "None — executed as planned."}
|
|
51
|
+
|
|
52
|
+
### Rule 1 — Bug Fixes
|
|
53
|
+
- {description of bug fixed}
|
|
54
|
+
|
|
55
|
+
### Rule 2 — Missing Critical
|
|
56
|
+
- {description of functionality added}
|
|
57
|
+
|
|
58
|
+
### Rule 3 — Blocking Issues
|
|
59
|
+
- {description of blocker fixed}
|
|
60
|
+
|
|
61
|
+
---
|
|
62
|
+
|
|
63
|
+
## Verification
|
|
64
|
+
|
|
65
|
+
| Check | Status | Evidence |
|
|
66
|
+
|-------|--------|----------|
|
|
67
|
+
| {verification 1} | ✅ Pass | {command/output} |
|
|
68
|
+
| {verification 2} | ✅ Pass | {command/output} |
|
|
69
|
+
|
|
70
|
+
---
|
|
71
|
+
|
|
72
|
+
## Notes
|
|
73
|
+
|
|
74
|
+
{Any observations, concerns, or recommendations for future phases}
|
|
75
|
+
|
|
76
|
+
---
|
|
77
|
+
|
|
78
|
+
## Metadata
|
|
79
|
+
|
|
80
|
+
- **Started:** {timestamp}
|
|
81
|
+
- **Completed:** {timestamp}
|
|
82
|
+
- **Duration:** {N} minutes
|
|
83
|
+
- **Context Usage:** ~{N}%
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
---
|
|
87
|
+
|
|
88
|
+
## Guidelines
|
|
89
|
+
|
|
90
|
+
**Create SUMMARY.md:**
|
|
91
|
+
- After each plan completes
|
|
92
|
+
- Before moving to next plan
|
|
93
|
+
- Even if plan failed (document what happened)
|
|
94
|
+
|
|
95
|
+
**Include:**
|
|
96
|
+
- All commits with hashes
|
|
97
|
+
- All deviations (never hide these)
|
|
98
|
+
- Verification results with evidence
|
|
99
|
+
|
|
100
|
+
**Keep it factual:**
|
|
101
|
+
- No opinions
|
|
102
|
+
- Just what happened
|
|
103
|
+
- Evidence over claims
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
# UAT Template
|
|
2
|
+
|
|
3
|
+
Template for `.gsd/phases/{N}/UAT.md` — User Acceptance Testing checklist.
|
|
4
|
+
|
|
5
|
+
**Purpose:** Structured manual testing protocol for human verification checkpoints.
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## File Template
|
|
10
|
+
|
|
11
|
+
```markdown
|
|
12
|
+
---
|
|
13
|
+
phase: {N}
|
|
14
|
+
type: uat
|
|
15
|
+
created: [ISO timestamp]
|
|
16
|
+
status: pending | in_progress | passed | failed
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
# Phase {N} UAT
|
|
20
|
+
|
|
21
|
+
## Overview
|
|
22
|
+
|
|
23
|
+
**Phase:** {name}
|
|
24
|
+
**Goal:** {what this phase delivers}
|
|
25
|
+
**Tester:** User
|
|
26
|
+
**Date:** {date}
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
## Test Environment
|
|
31
|
+
|
|
32
|
+
**Setup Required:**
|
|
33
|
+
- [ ] Dev server running (`npm run dev`)
|
|
34
|
+
- [ ] Database seeded with test data
|
|
35
|
+
- [ ] Browser dev tools open for error monitoring
|
|
36
|
+
|
|
37
|
+
**Test Data:**
|
|
38
|
+
- User: test@example.com / password123
|
|
39
|
+
- Other relevant test accounts/data
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
## Test Cases
|
|
44
|
+
|
|
45
|
+
### TC-01: {Test Case Name}
|
|
46
|
+
|
|
47
|
+
**Scenario:** {What user is trying to do}
|
|
48
|
+
|
|
49
|
+
**Steps:**
|
|
50
|
+
1. {Step 1}
|
|
51
|
+
2. {Step 2}
|
|
52
|
+
3. {Step 3}
|
|
53
|
+
|
|
54
|
+
**Expected Result:**
|
|
55
|
+
- {What should happen}
|
|
56
|
+
|
|
57
|
+
**Actual Result:**
|
|
58
|
+
- [ ] PASS
|
|
59
|
+
- [ ] FAIL — Issue: ___
|
|
60
|
+
|
|
61
|
+
---
|
|
62
|
+
|
|
63
|
+
### TC-02: {Test Case Name}
|
|
64
|
+
|
|
65
|
+
**Scenario:** {What user is trying to do}
|
|
66
|
+
|
|
67
|
+
**Steps:**
|
|
68
|
+
1. {Step 1}
|
|
69
|
+
2. {Step 2}
|
|
70
|
+
|
|
71
|
+
**Expected Result:**
|
|
72
|
+
- {What should happen}
|
|
73
|
+
|
|
74
|
+
**Actual Result:**
|
|
75
|
+
- [ ] PASS
|
|
76
|
+
- [ ] FAIL — Issue: ___
|
|
77
|
+
|
|
78
|
+
---
|
|
79
|
+
|
|
80
|
+
## Edge Cases
|
|
81
|
+
|
|
82
|
+
### EC-01: {Edge Case Name}
|
|
83
|
+
|
|
84
|
+
**Test:** {What to try}
|
|
85
|
+
**Expected:** {Graceful handling}
|
|
86
|
+
**Result:** [ ] PASS [ ] FAIL
|
|
87
|
+
|
|
88
|
+
---
|
|
89
|
+
|
|
90
|
+
## Error Scenarios
|
|
91
|
+
|
|
92
|
+
### ERR-01: {Error Scenario}
|
|
93
|
+
|
|
94
|
+
**Trigger:** {How to cause error}
|
|
95
|
+
**Expected Behavior:** {Error message, recovery}
|
|
96
|
+
**Result:** [ ] PASS [ ] FAIL
|
|
97
|
+
|
|
98
|
+
---
|
|
99
|
+
|
|
100
|
+
## Visual Verification
|
|
101
|
+
|
|
102
|
+
### VIS-01: Layout
|
|
103
|
+
|
|
104
|
+
- [ ] Responsive on mobile (375px)
|
|
105
|
+
- [ ] Responsive on tablet (768px)
|
|
106
|
+
- [ ] Desktop layout correct (1024px+)
|
|
107
|
+
- [ ] No horizontal scroll
|
|
108
|
+
- [ ] All text readable
|
|
109
|
+
|
|
110
|
+
### VIS-02: Styling
|
|
111
|
+
|
|
112
|
+
- [ ] Colors match design system
|
|
113
|
+
- [ ] Fonts correct
|
|
114
|
+
- [ ] Spacing consistent
|
|
115
|
+
- [ ] Icons display correctly
|
|
116
|
+
|
|
117
|
+
---
|
|
118
|
+
|
|
119
|
+
## Summary
|
|
120
|
+
|
|
121
|
+
| Category | Pass | Fail | Total |
|
|
122
|
+
|----------|------|------|-------|
|
|
123
|
+
| Functional | | | |
|
|
124
|
+
| Edge Cases | | | |
|
|
125
|
+
| Errors | | | |
|
|
126
|
+
| Visual | | | |
|
|
127
|
+
|
|
128
|
+
**Overall Status:** [ ] APPROVED [ ] NEEDS FIXES
|
|
129
|
+
|
|
130
|
+
**Issues Found:**
|
|
131
|
+
1. {Issue description}
|
|
132
|
+
2. {Issue description}
|
|
133
|
+
|
|
134
|
+
**Notes:**
|
|
135
|
+
{Any additional observations}
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
---
|
|
139
|
+
|
|
140
|
+
## Usage Guidelines
|
|
141
|
+
|
|
142
|
+
**When to create UAT:**
|
|
143
|
+
- After phase execution complete
|
|
144
|
+
- Before marking phase as verified
|
|
145
|
+
- For any `checkpoint:human-verify` tasks
|
|
146
|
+
|
|
147
|
+
**Who runs UAT:**
|
|
148
|
+
- User (always)
|
|
149
|
+
- AI cannot verify visual/UX elements
|
|
150
|
+
|
|
151
|
+
**After UAT:**
|
|
152
|
+
- If PASSED: Phase can be marked complete
|
|
153
|
+
- If FAILED: Create gap closure plans with `/plan-milestone-gaps`
|
|
154
|
+
|
|
155
|
+
---
|
|
156
|
+
|
|
157
|
+
## Test Case Guidelines
|
|
158
|
+
|
|
159
|
+
**Good test cases:**
|
|
160
|
+
- Specific, reproducible steps
|
|
161
|
+
- Clear expected results
|
|
162
|
+
- One scenario per test case
|
|
163
|
+
|
|
164
|
+
**Categories to cover:**
|
|
165
|
+
1. Happy path (main functionality)
|
|
166
|
+
2. Edge cases (boundary conditions)
|
|
167
|
+
3. Error handling (invalid input, failures)
|
|
168
|
+
4. Visual/UX (layout, responsiveness)
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
# VERIFICATION.md Template
|
|
2
|
+
|
|
3
|
+
> Copy this template when creating phase verification reports.
|
|
4
|
+
|
|
5
|
+
```markdown
|
|
6
|
+
---
|
|
7
|
+
phase: {N}
|
|
8
|
+
verified_at: {YYYY-MM-DD HH:MM}
|
|
9
|
+
verdict: PASS | FAIL | PARTIAL
|
|
10
|
+
pass_count: {X}
|
|
11
|
+
total_count: {Y}
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
# Phase {N} Verification Report
|
|
15
|
+
|
|
16
|
+
## Summary
|
|
17
|
+
|
|
18
|
+
**{X}/{Y}** must-haves verified
|
|
19
|
+
**Verdict:** {PASS | FAIL | PARTIAL}
|
|
20
|
+
|
|
21
|
+
## Must-Haves
|
|
22
|
+
|
|
23
|
+
### ✅ 1. {Must-have description}
|
|
24
|
+
**Status:** PASS
|
|
25
|
+
**Method:** {How this was verified}
|
|
26
|
+
**Evidence:**
|
|
27
|
+
```
|
|
28
|
+
{Actual command output or screenshot reference}
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
### ❌ 2. {Must-have description}
|
|
32
|
+
**Status:** FAIL
|
|
33
|
+
**Method:** {How this was verified}
|
|
34
|
+
**Expected:** {What should happen}
|
|
35
|
+
**Actual:** {What actually happened}
|
|
36
|
+
**Evidence:**
|
|
37
|
+
```
|
|
38
|
+
{Actual command output}
|
|
39
|
+
```
|
|
40
|
+
**Gap:** {What needs to be fixed}
|
|
41
|
+
|
|
42
|
+
### ⏭️ 3. {Must-have description}
|
|
43
|
+
**Status:** SKIPPED
|
|
44
|
+
**Reason:** {Why this couldn't be verified}
|
|
45
|
+
|
|
46
|
+
## Gap Closure Required
|
|
47
|
+
|
|
48
|
+
{If verdict is FAIL or PARTIAL, list what needs fixing}
|
|
49
|
+
|
|
50
|
+
1. **{Gap 1}:** {Description of what's wrong and how to fix}
|
|
51
|
+
2. **{Gap 2}:** {Description}
|
|
52
|
+
|
|
53
|
+
## Next Steps
|
|
54
|
+
|
|
55
|
+
{Based on verdict}
|
|
56
|
+
|
|
57
|
+
- If PASS: Proceed to next phase
|
|
58
|
+
- If FAIL: Run `/execute {N} --gaps-only` after fixing
|
|
59
|
+
- If PARTIAL: Address gaps then re-verify
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
## Evidence Types
|
|
63
|
+
|
|
64
|
+
| Verification | Evidence Required |
|
|
65
|
+
|--------------|-------------------|
|
|
66
|
+
| API endpoint | curl command + response |
|
|
67
|
+
| UI behavior | Screenshot |
|
|
68
|
+
| Test suite | Test output |
|
|
69
|
+
| File exists | `ls` or `dir` output |
|
|
70
|
+
| Build passes | Build command output |
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
# Architecture
|
|
2
|
+
|
|
3
|
+
> Auto-generated by /map on <!-- date -->
|
|
4
|
+
|
|
5
|
+
## Overview
|
|
6
|
+
|
|
7
|
+
{Brief description of the system and its purpose.}
|
|
8
|
+
|
|
9
|
+
```
|
|
10
|
+
┌───────────────────────────────────────────────────────────────┐
|
|
11
|
+
│ USER │
|
|
12
|
+
└────────────────────────┬──────────────────────────────────────┘
|
|
13
|
+
│
|
|
14
|
+
▼
|
|
15
|
+
┌───────────────────────────────────────────────────────────────┐
|
|
16
|
+
│ COMPONENT A │
|
|
17
|
+
└────────────────────────┬──────────────────────────────────────┘
|
|
18
|
+
│
|
|
19
|
+
▼
|
|
20
|
+
┌───────────────────────────────────────────────────────────────┐
|
|
21
|
+
│ COMPONENT B │
|
|
22
|
+
└───────────────────────────────────────────────────────────────┘
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Components
|
|
26
|
+
|
|
27
|
+
### Component A
|
|
28
|
+
- **Purpose:** {What this component does}
|
|
29
|
+
- **Location:** `{path/to/component}`
|
|
30
|
+
- **Files:** {count} files
|
|
31
|
+
- **Pattern:** {architectural pattern used}
|
|
32
|
+
|
|
33
|
+
| File | Purpose | Priority |
|
|
34
|
+
|------|---------|----------|
|
|
35
|
+
| file1 | {purpose} | {high/medium/low} |
|
|
36
|
+
| file2 | {purpose} | {high/medium/low} |
|
|
37
|
+
|
|
38
|
+
### Component B
|
|
39
|
+
- **Purpose:** {What this component does}
|
|
40
|
+
- **Location:** `{path/to/component}`
|
|
41
|
+
|
|
42
|
+
## Data Flow
|
|
43
|
+
|
|
44
|
+
1. **User initiates action** (e.g., {example})
|
|
45
|
+
2. **Component A processes** {what happens}
|
|
46
|
+
3. **Component B receives** {what happens}
|
|
47
|
+
4. **Result returned** to user
|
|
48
|
+
|
|
49
|
+
## Technical Debt
|
|
50
|
+
|
|
51
|
+
- [ ] {Identified debt item 1}
|
|
52
|
+
- [ ] {Identified debt item 2}
|
|
53
|
+
- [ ] {Identified debt item 3}
|
|
54
|
+
|
|
55
|
+
## Conventions
|
|
56
|
+
|
|
57
|
+
**Naming:**
|
|
58
|
+
- {Convention 1}
|
|
59
|
+
- {Convention 2}
|
|
60
|
+
|
|
61
|
+
**Structure:**
|
|
62
|
+
- {Convention 1}
|
|
63
|
+
- {Convention 2}
|
|
64
|
+
|
|
65
|
+
---
|
|
66
|
+
|
|
67
|
+
*Last updated: <!-- date -->*
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
# Context Template
|
|
2
|
+
|
|
3
|
+
Template for `.gsd/phases/{N}/CONTEXT.md` — user's vision for a phase.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## File Template
|
|
8
|
+
|
|
9
|
+
```markdown
|
|
10
|
+
---
|
|
11
|
+
phase: {N}
|
|
12
|
+
name: {phase-name}
|
|
13
|
+
created: [ISO timestamp]
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
# Phase {N} Context
|
|
17
|
+
|
|
18
|
+
## Vision
|
|
19
|
+
|
|
20
|
+
{How the user imagines this phase working — in their words}
|
|
21
|
+
|
|
22
|
+
## What's Essential
|
|
23
|
+
|
|
24
|
+
Non-negotiable aspects:
|
|
25
|
+
|
|
26
|
+
- {Essential 1}
|
|
27
|
+
- {Essential 2}
|
|
28
|
+
- {Essential 3}
|
|
29
|
+
|
|
30
|
+
## What's Flexible
|
|
31
|
+
|
|
32
|
+
Open to different implementations:
|
|
33
|
+
|
|
34
|
+
- {Flexible 1}
|
|
35
|
+
- {Flexible 2}
|
|
36
|
+
|
|
37
|
+
## What's Out of Scope
|
|
38
|
+
|
|
39
|
+
Explicitly NOT part of this phase:
|
|
40
|
+
|
|
41
|
+
- {Out of scope 1}
|
|
42
|
+
- {Out of scope 2}
|
|
43
|
+
|
|
44
|
+
## User Expectations
|
|
45
|
+
|
|
46
|
+
### Look and Feel
|
|
47
|
+
{How it should appear/behave}
|
|
48
|
+
|
|
49
|
+
### Performance
|
|
50
|
+
{Speed/responsiveness expectations}
|
|
51
|
+
|
|
52
|
+
### Integration
|
|
53
|
+
{How it fits with existing work}
|
|
54
|
+
|
|
55
|
+
## Examples / Inspiration
|
|
56
|
+
|
|
57
|
+
{Any examples the user referenced}
|
|
58
|
+
|
|
59
|
+
## Questions Answered
|
|
60
|
+
|
|
61
|
+
Clarifications from /discuss-phase:
|
|
62
|
+
|
|
63
|
+
| Question | Answer |
|
|
64
|
+
|----------|--------|
|
|
65
|
+
| {question} | {answer} |
|
|
66
|
+
|
|
67
|
+
## Constraints
|
|
68
|
+
|
|
69
|
+
Technical or business constraints:
|
|
70
|
+
|
|
71
|
+
- {Constraint 1}
|
|
72
|
+
- {Constraint 2}
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
---
|
|
76
|
+
|
|
77
|
+
## When to Create
|
|
78
|
+
|
|
79
|
+
Created by `/discuss-phase` to capture user's vision before planning.
|
|
80
|
+
|
|
81
|
+
## How to Use
|
|
82
|
+
|
|
83
|
+
- Planner reads CONTEXT.md to understand intent
|
|
84
|
+
- Executor honors the vision during implementation
|
|
85
|
+
- Verifier checks against user expectations
|
|
86
|
+
|
|
87
|
+
## Guidelines
|
|
88
|
+
|
|
89
|
+
- Capture user's words, not AI interpretation
|
|
90
|
+
- Focus on WHAT, not HOW
|
|
91
|
+
- Keep it short — vision, not specification
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# DECISIONS.md — Architecture Decision Records
|
|
2
|
+
|
|
3
|
+
> **Purpose**: Log significant technical decisions and their rationale.
|
|
4
|
+
|
|
5
|
+
## Template
|
|
6
|
+
|
|
7
|
+
```markdown
|
|
8
|
+
## [DECISION-XXX] Title
|
|
9
|
+
|
|
10
|
+
**Date**: YYYY-MM-DD
|
|
11
|
+
**Status**: Proposed | Accepted | Deprecated | Superseded
|
|
12
|
+
|
|
13
|
+
### Context
|
|
14
|
+
What is the issue we're facing?
|
|
15
|
+
|
|
16
|
+
### Decision
|
|
17
|
+
What have we decided to do?
|
|
18
|
+
|
|
19
|
+
### Rationale
|
|
20
|
+
Why did we make this decision?
|
|
21
|
+
|
|
22
|
+
### Consequences
|
|
23
|
+
What are the trade-offs?
|
|
24
|
+
|
|
25
|
+
### Alternatives Considered
|
|
26
|
+
What other options were evaluated?
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
## Decisions
|
|
32
|
+
|
|
33
|
+
<!-- Add new decisions below -->
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
37
|
+
*Last updated: <!-- date -->*
|