agile-context-engineering 0.1.0 → 0.2.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/LICENSE +30 -0
- package/README.md +272 -78
- package/agents/ace-code-discovery-analyst.md +245 -0
- package/agents/ace-code-integration-analyst.md +248 -0
- package/agents/ace-code-reviewer.md +375 -0
- package/agents/ace-product-owner.md +361 -0
- package/agents/ace-project-researcher.md +606 -0
- package/agents/ace-research-synthesizer.md +228 -0
- package/agents/ace-technical-application-architect.md +287 -0
- package/agents/ace-wiki-mapper.md +334 -0
- package/agile-context-engineering/src/ace-tools.js +2881 -0
- package/agile-context-engineering/src/ace-tools.test.js +1089 -0
- package/agile-context-engineering/templates/_command.md +54 -0
- package/agile-context-engineering/templates/_workflow.xml +17 -0
- package/agile-context-engineering/templates/config.json +0 -0
- package/agile-context-engineering/templates/product/external-solution.xml +832 -0
- package/agile-context-engineering/templates/product/feature.xml +361 -0
- package/agile-context-engineering/templates/product/integration-solution.xml +0 -0
- package/agile-context-engineering/templates/product/product-backlog.xml +231 -0
- package/agile-context-engineering/templates/product/product-vision.xml +227 -0
- package/agile-context-engineering/templates/product/story-integration-solution.xml +1014 -0
- package/agile-context-engineering/templates/product/story-technical-solution.xml +1025 -0
- package/agile-context-engineering/templates/product/story-wiki.xml +190 -0
- package/agile-context-engineering/templates/product/story.xml +451 -0
- package/agile-context-engineering/templates/wiki/coding-standards.xml +493 -0
- package/agile-context-engineering/templates/wiki/decizions.xml +115 -0
- package/agile-context-engineering/templates/wiki/guide.xml +137 -0
- package/agile-context-engineering/templates/wiki/module-discovery.xml +174 -0
- package/agile-context-engineering/templates/wiki/pattern.xml +159 -0
- package/agile-context-engineering/templates/wiki/subsystem-architecture.xml +343 -0
- package/agile-context-engineering/templates/wiki/subsystem-structure.xml +235 -0
- package/agile-context-engineering/templates/wiki/system-architecture.xml +254 -0
- package/agile-context-engineering/templates/wiki/system-cross-cutting.xml +197 -0
- package/agile-context-engineering/templates/wiki/system-structure.xml +178 -0
- package/agile-context-engineering/templates/wiki/system.xml +381 -0
- package/agile-context-engineering/templates/wiki/tech-debt-index.xml +125 -0
- package/agile-context-engineering/templates/wiki/testing-framework.xml +283 -0
- package/agile-context-engineering/templates/wiki/wiki-readme.xml +276 -0
- package/agile-context-engineering/utils/questioning.xml +111 -0
- package/agile-context-engineering/utils/ui-formatting.md +300 -0
- package/agile-context-engineering/workflows/execute-story.xml +1145 -0
- package/agile-context-engineering/workflows/help.xml +540 -0
- package/agile-context-engineering/workflows/init-coding-standards.xml +386 -0
- package/agile-context-engineering/workflows/map-story.xml +797 -0
- package/agile-context-engineering/workflows/map-subsystem.xml +1177 -0
- package/agile-context-engineering/workflows/map-system.xml +672 -0
- package/agile-context-engineering/workflows/plan-backlog.xml +1356 -0
- package/agile-context-engineering/workflows/plan-feature.xml +1495 -0
- package/agile-context-engineering/workflows/plan-product-vision.xml +342 -0
- package/agile-context-engineering/workflows/plan-story.xml +909 -0
- package/agile-context-engineering/workflows/research-external-solution.xml +659 -0
- package/agile-context-engineering/workflows/research-integration-solution.xml +712 -0
- package/agile-context-engineering/workflows/research-story-wiki.xml +474 -0
- package/agile-context-engineering/workflows/research-technical-solution.xml +762 -0
- package/agile-context-engineering/workflows/review-story.xml +281 -0
- package/bin/install.js +102 -166
- package/commands/ace/execute-story.md +137 -0
- package/commands/ace/help.md +93 -0
- package/commands/ace/init-coding-standards.md +83 -0
- package/commands/ace/map-story.md +156 -0
- package/commands/ace/map-subsystem.md +138 -0
- package/commands/ace/map-system.md +92 -0
- package/commands/ace/plan-backlog.md +83 -0
- package/commands/ace/plan-feature.md +89 -0
- package/commands/ace/plan-product-vision.md +81 -0
- package/commands/ace/plan-story.md +145 -0
- package/commands/ace/research-external-solution.md +138 -0
- package/commands/ace/research-integration-solution.md +135 -0
- package/commands/ace/research-story-wiki.md +116 -0
- package/commands/ace/research-technical-solution.md +147 -0
- package/commands/ace/review-story.md +109 -0
- package/package.json +5 -8
- package/agents/executor.md +0 -88
- package/agents/planner.md +0 -78
- package/agents/researcher.md +0 -77
- package/agents/verifier.md +0 -116
- package/commands/ace-execute-story.md +0 -114
- package/commands/ace-init.md +0 -254
- package/commands/ace-plan-epic.md +0 -79
- package/commands/ace-plan-feature.md +0 -78
- package/commands/ace-plan-project.md +0 -205
- package/commands/ace-plan-story.md +0 -97
- package/commands/ace-refine-story.md +0 -90
- package/commands/ace-verify-story.md +0 -127
|
@@ -1,205 +0,0 @@
|
|
|
1
|
-
# /ace:plan-project - Plan Your Project
|
|
2
|
-
|
|
3
|
-
Collaboratively plan your project by defining epics, features, and high-level architecture.
|
|
4
|
-
|
|
5
|
-
## Usage
|
|
6
|
-
|
|
7
|
-
```
|
|
8
|
-
/ace:plan-project [project-description]
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
### Arguments
|
|
12
|
-
|
|
13
|
-
- `project-description` - Optional: A brief description of what you want to build
|
|
14
|
-
|
|
15
|
-
## Behavior
|
|
16
|
-
|
|
17
|
-
This command guides you through a structured project planning session that produces:
|
|
18
|
-
- Defined epics (large bodies of work)
|
|
19
|
-
- Features within each epic
|
|
20
|
-
- Initial technical architecture considerations
|
|
21
|
-
- Prioritized backlog ready for sprint planning
|
|
22
|
-
|
|
23
|
-
## Instructions for Claude
|
|
24
|
-
|
|
25
|
-
<ace-plan-project>
|
|
26
|
-
|
|
27
|
-
### Prerequisites Check
|
|
28
|
-
|
|
29
|
-
1. Verify ACE is initialized by checking for `.ace/config.json`
|
|
30
|
-
2. If not initialized, prompt user to run `/ace:init` first
|
|
31
|
-
3. Read current PROJECT.md and BACKLOG.md if they exist
|
|
32
|
-
|
|
33
|
-
### Phase 1: Project Understanding
|
|
34
|
-
|
|
35
|
-
Start by understanding the project. Ask these questions conversationally (not all at once):
|
|
36
|
-
|
|
37
|
-
1. **What are you building?**
|
|
38
|
-
- Get a clear understanding of the product/feature
|
|
39
|
-
- Clarify the target users
|
|
40
|
-
- Understand the core problem being solved
|
|
41
|
-
|
|
42
|
-
2. **What does success look like?**
|
|
43
|
-
- Define measurable outcomes
|
|
44
|
-
- Identify key milestones
|
|
45
|
-
|
|
46
|
-
3. **What are the constraints?**
|
|
47
|
-
- Timeline expectations
|
|
48
|
-
- Technical constraints (existing stack, integrations)
|
|
49
|
-
- Team/resource constraints
|
|
50
|
-
|
|
51
|
-
### Phase 2: Epic Discovery
|
|
52
|
-
|
|
53
|
-
Based on the project understanding, collaboratively identify epics.
|
|
54
|
-
|
|
55
|
-
**Guide the user through epic discovery:**
|
|
56
|
-
|
|
57
|
-
```
|
|
58
|
-
An epic is a large body of work that:
|
|
59
|
-
- Takes multiple sprints to complete
|
|
60
|
-
- Delivers significant user value when done
|
|
61
|
-
- Can be broken into 3-8 features
|
|
62
|
-
|
|
63
|
-
Let's identify the major epics for your project.
|
|
64
|
-
```
|
|
65
|
-
|
|
66
|
-
For each epic, capture:
|
|
67
|
-
- **ID**: E1, E2, E3...
|
|
68
|
-
- **Name**: Clear, descriptive name
|
|
69
|
-
- **Description**: What this epic delivers
|
|
70
|
-
- **User Value**: Why this matters to users
|
|
71
|
-
- **Dependencies**: Other epics this depends on
|
|
72
|
-
|
|
73
|
-
Create epic files in `.ace/backlog/`:
|
|
74
|
-
|
|
75
|
-
```markdown
|
|
76
|
-
<!-- .ace/backlog/E1-epic-name.md -->
|
|
77
|
-
# E1: Epic Name
|
|
78
|
-
|
|
79
|
-
## Description
|
|
80
|
-
<What this epic delivers>
|
|
81
|
-
|
|
82
|
-
## User Value
|
|
83
|
-
<Why this matters to users>
|
|
84
|
-
|
|
85
|
-
## Dependencies
|
|
86
|
-
<Other epics this depends on, if any>
|
|
87
|
-
|
|
88
|
-
## Features
|
|
89
|
-
<!-- Added by /ace:plan-epic -->
|
|
90
|
-
| ID | Feature | Status |
|
|
91
|
-
|----|---------|--------|
|
|
92
|
-
| - | - | - |
|
|
93
|
-
|
|
94
|
-
## Acceptance Criteria
|
|
95
|
-
- [ ] <Criteria 1>
|
|
96
|
-
- [ ] <Criteria 2>
|
|
97
|
-
|
|
98
|
-
## Status
|
|
99
|
-
- **State:** Draft
|
|
100
|
-
- **Priority:** <High/Medium/Low>
|
|
101
|
-
- **Created:** <timestamp>
|
|
102
|
-
```
|
|
103
|
-
|
|
104
|
-
### Phase 3: Feature Identification
|
|
105
|
-
|
|
106
|
-
For each epic, identify high-level features (don't go deep yet):
|
|
107
|
-
|
|
108
|
-
```
|
|
109
|
-
A feature is a piece of deliverable functionality that:
|
|
110
|
-
- Can be completed in 1-2 sprints
|
|
111
|
-
- Provides standalone value
|
|
112
|
-
- Can be demonstrated to users
|
|
113
|
-
```
|
|
114
|
-
|
|
115
|
-
Capture features briefly:
|
|
116
|
-
- **ID**: E1-F1, E1-F2...
|
|
117
|
-
- **Name**: Feature name
|
|
118
|
-
- **Epic**: Parent epic
|
|
119
|
-
- **Brief description**: One line
|
|
120
|
-
|
|
121
|
-
### Phase 4: Priority & Sequencing
|
|
122
|
-
|
|
123
|
-
Help the user prioritize:
|
|
124
|
-
|
|
125
|
-
1. **Identify MVP epics** - What's the minimum to launch?
|
|
126
|
-
2. **Sequence epics** - What order makes sense?
|
|
127
|
-
3. **Identify risks** - What's most uncertain?
|
|
128
|
-
|
|
129
|
-
Create a prioritized view in BACKLOG.md.
|
|
130
|
-
|
|
131
|
-
### Phase 5: Update Project Files
|
|
132
|
-
|
|
133
|
-
Update the following files with gathered information:
|
|
134
|
-
|
|
135
|
-
**PROJECT.md** - Add/update:
|
|
136
|
-
- Vision section
|
|
137
|
-
- Goals section
|
|
138
|
-
- Success criteria
|
|
139
|
-
|
|
140
|
-
**BACKLOG.md** - Add:
|
|
141
|
-
- All epics in priority order
|
|
142
|
-
- Features identified for each epic
|
|
143
|
-
|
|
144
|
-
**STATE.md** - Add:
|
|
145
|
-
- Any decisions made during planning
|
|
146
|
-
- Context notes for future sessions
|
|
147
|
-
|
|
148
|
-
### Phase 6: GitHub Integration (if enabled)
|
|
149
|
-
|
|
150
|
-
If GitHub is enabled in config:
|
|
151
|
-
|
|
152
|
-
1. Create epic issues with `ace:epic` label:
|
|
153
|
-
```bash
|
|
154
|
-
gh issue create --title "E1: Epic Name" --body "..." --label "ace:epic"
|
|
155
|
-
```
|
|
156
|
-
|
|
157
|
-
2. Create a project board or milestone (ask user preference)
|
|
158
|
-
|
|
159
|
-
### Output Summary
|
|
160
|
-
|
|
161
|
-
After planning, output:
|
|
162
|
-
|
|
163
|
-
```
|
|
164
|
-
✓ Project planning complete!
|
|
165
|
-
|
|
166
|
-
Epics Created:
|
|
167
|
-
E1: <Epic Name> - <status>
|
|
168
|
-
E2: <Epic Name> - <status>
|
|
169
|
-
...
|
|
170
|
-
|
|
171
|
-
Features Identified: <count>
|
|
172
|
-
|
|
173
|
-
Updated Files:
|
|
174
|
-
- PROJECT.md
|
|
175
|
-
- BACKLOG.md
|
|
176
|
-
- STATE.md
|
|
177
|
-
- .ace/backlog/E1-*.md
|
|
178
|
-
- .ace/backlog/E2-*.md
|
|
179
|
-
|
|
180
|
-
Recommended Next Steps:
|
|
181
|
-
1. Review and refine PROJECT.md
|
|
182
|
-
2. Run /ace:plan-epic E1 to detail your first epic
|
|
183
|
-
3. Run /ace:plan-feature to break features into stories
|
|
184
|
-
```
|
|
185
|
-
|
|
186
|
-
### Planning Principles
|
|
187
|
-
|
|
188
|
-
Throughout the planning session, apply these principles:
|
|
189
|
-
|
|
190
|
-
1. **Start broad, narrow later** - Don't over-detail early
|
|
191
|
-
2. **User value focus** - Every epic should deliver user value
|
|
192
|
-
3. **Vertical slices** - Prefer end-to-end features over horizontal layers
|
|
193
|
-
4. **Dependencies minimize** - Reduce coupling between epics
|
|
194
|
-
5. **Risk early** - Tackle uncertain/risky work first
|
|
195
|
-
6. **Keep it agile** - Plans will change, that's okay
|
|
196
|
-
|
|
197
|
-
### Conversation Style
|
|
198
|
-
|
|
199
|
-
- Be collaborative, not prescriptive
|
|
200
|
-
- Ask clarifying questions
|
|
201
|
-
- Offer suggestions but let user decide
|
|
202
|
-
- Summarize understanding before moving to next phase
|
|
203
|
-
- Keep the energy high - planning should be exciting!
|
|
204
|
-
|
|
205
|
-
</ace-plan-project>
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
# /ace:plan-story - Plan a Story
|
|
2
|
-
|
|
3
|
-
Create a new user story with detailed acceptance criteria and technical breakdown.
|
|
4
|
-
|
|
5
|
-
## Usage
|
|
6
|
-
|
|
7
|
-
```
|
|
8
|
-
/ace:plan-story <feature-id> "<story-title>"
|
|
9
|
-
/ace:plan-story E1-F1 "User can log in with email"
|
|
10
|
-
```
|
|
11
|
-
|
|
12
|
-
### Arguments
|
|
13
|
-
|
|
14
|
-
- `feature-id` - The parent feature identifier
|
|
15
|
-
- `story-title` - Title for the new story
|
|
16
|
-
|
|
17
|
-
## Behavior
|
|
18
|
-
|
|
19
|
-
This command creates a new story with:
|
|
20
|
-
- User story format (As a... I want... So that...)
|
|
21
|
-
- Detailed acceptance criteria
|
|
22
|
-
- Technical implementation notes
|
|
23
|
-
- Task breakdown for execution
|
|
24
|
-
|
|
25
|
-
## Instructions for Claude
|
|
26
|
-
|
|
27
|
-
<ace-plan-story>
|
|
28
|
-
|
|
29
|
-
### Prerequisites
|
|
30
|
-
|
|
31
|
-
1. Verify ACE is initialized
|
|
32
|
-
2. Verify parent feature exists
|
|
33
|
-
3. Determine next story ID
|
|
34
|
-
|
|
35
|
-
### Planning Flow
|
|
36
|
-
|
|
37
|
-
1. **Gather Story Details**
|
|
38
|
-
- Who is the user?
|
|
39
|
-
- What do they want to accomplish?
|
|
40
|
-
- What benefit does this provide?
|
|
41
|
-
|
|
42
|
-
2. **Define Acceptance Criteria**
|
|
43
|
-
- Given/When/Then format preferred
|
|
44
|
-
- Should be testable
|
|
45
|
-
- Cover happy path and edge cases
|
|
46
|
-
|
|
47
|
-
3. **Technical Breakdown**
|
|
48
|
-
- Identify files that need changes
|
|
49
|
-
- Note any new dependencies
|
|
50
|
-
- Consider testing approach
|
|
51
|
-
|
|
52
|
-
4. **Create Story File**
|
|
53
|
-
|
|
54
|
-
```markdown
|
|
55
|
-
# E1-F1-S1: Story Title
|
|
56
|
-
|
|
57
|
-
## User Story
|
|
58
|
-
|
|
59
|
-
As a [type of user],
|
|
60
|
-
I want [goal/desire],
|
|
61
|
-
So that [benefit/value].
|
|
62
|
-
|
|
63
|
-
## Acceptance Criteria
|
|
64
|
-
|
|
65
|
-
- [ ] Given [context], when [action], then [outcome]
|
|
66
|
-
- [ ] Given [context], when [action], then [outcome]
|
|
67
|
-
- [ ] Edge case: [description]
|
|
68
|
-
|
|
69
|
-
## Technical Notes
|
|
70
|
-
|
|
71
|
-
### Files to Modify
|
|
72
|
-
- `path/to/file.ts` - [what changes]
|
|
73
|
-
|
|
74
|
-
### New Dependencies
|
|
75
|
-
- None
|
|
76
|
-
|
|
77
|
-
### Testing Approach
|
|
78
|
-
- Unit tests for [components]
|
|
79
|
-
- Integration test for [flow]
|
|
80
|
-
|
|
81
|
-
## Tasks
|
|
82
|
-
|
|
83
|
-
<!-- Added by /ace:refine-story -->
|
|
84
|
-
|
|
85
|
-
## Metadata
|
|
86
|
-
|
|
87
|
-
- **Status:** Draft
|
|
88
|
-
- **Points:** [1-8]
|
|
89
|
-
- **Sprint:** None
|
|
90
|
-
- **Created:** <timestamp>
|
|
91
|
-
```
|
|
92
|
-
|
|
93
|
-
5. **GitHub Integration** (if enabled)
|
|
94
|
-
- Create issue with story template
|
|
95
|
-
- Link to parent feature issue
|
|
96
|
-
|
|
97
|
-
</ace-plan-story>
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
# /ace:refine-story - Refine a Story for Execution
|
|
2
|
-
|
|
3
|
-
Prepare a story for execution by creating detailed implementation tasks.
|
|
4
|
-
|
|
5
|
-
## Usage
|
|
6
|
-
|
|
7
|
-
```
|
|
8
|
-
/ace:refine-story <story-id>
|
|
9
|
-
/ace:refine-story E1-F1-S1
|
|
10
|
-
```
|
|
11
|
-
|
|
12
|
-
### Arguments
|
|
13
|
-
|
|
14
|
-
- `story-id` - The story identifier to refine
|
|
15
|
-
|
|
16
|
-
## Behavior
|
|
17
|
-
|
|
18
|
-
This command prepares a story for execution by:
|
|
19
|
-
- Researching the codebase to understand implementation
|
|
20
|
-
- Breaking the story into atomic, executable tasks
|
|
21
|
-
- Creating a task checklist for the executor
|
|
22
|
-
- Identifying potential blockers
|
|
23
|
-
|
|
24
|
-
## Instructions for Claude
|
|
25
|
-
|
|
26
|
-
<ace-refine-story>
|
|
27
|
-
|
|
28
|
-
### Prerequisites
|
|
29
|
-
|
|
30
|
-
1. Verify ACE is initialized
|
|
31
|
-
2. Read the story file
|
|
32
|
-
3. Understand acceptance criteria
|
|
33
|
-
|
|
34
|
-
### Refinement Process
|
|
35
|
-
|
|
36
|
-
1. **Codebase Research**
|
|
37
|
-
- Find relevant existing code
|
|
38
|
-
- Understand patterns in use
|
|
39
|
-
- Identify integration points
|
|
40
|
-
|
|
41
|
-
2. **Task Breakdown**
|
|
42
|
-
- Create atomic tasks (30 min - 2 hours each)
|
|
43
|
-
- Tasks should be independently committable
|
|
44
|
-
- Each task has clear done criteria
|
|
45
|
-
|
|
46
|
-
3. **For Each Task:**
|
|
47
|
-
- ID: T1, T2, T3...
|
|
48
|
-
- Description: What exactly to do
|
|
49
|
-
- Files: Which files to modify/create
|
|
50
|
-
- Done Criteria: How to verify completion
|
|
51
|
-
|
|
52
|
-
4. **Update Story File**
|
|
53
|
-
|
|
54
|
-
Add tasks section:
|
|
55
|
-
|
|
56
|
-
```markdown
|
|
57
|
-
## Tasks
|
|
58
|
-
|
|
59
|
-
### T1: <Task Description>
|
|
60
|
-
- **Files:** `path/to/file.ts`
|
|
61
|
-
- **Done:** <verification criteria>
|
|
62
|
-
- **Status:** Pending
|
|
63
|
-
|
|
64
|
-
### T2: <Task Description>
|
|
65
|
-
- **Files:** `path/to/file.ts`, `path/to/other.ts`
|
|
66
|
-
- **Done:** <verification criteria>
|
|
67
|
-
- **Status:** Pending
|
|
68
|
-
```
|
|
69
|
-
|
|
70
|
-
5. **Identify Blockers**
|
|
71
|
-
- Missing information
|
|
72
|
-
- External dependencies
|
|
73
|
-
- Questions for the user
|
|
74
|
-
|
|
75
|
-
### Output
|
|
76
|
-
|
|
77
|
-
```
|
|
78
|
-
✓ Story E1-F1-S1 refined!
|
|
79
|
-
|
|
80
|
-
Tasks:
|
|
81
|
-
T1: <Task Description>
|
|
82
|
-
T2: <Task Description>
|
|
83
|
-
T3: <Task Description>
|
|
84
|
-
|
|
85
|
-
Blockers: [None | List of blockers]
|
|
86
|
-
|
|
87
|
-
Ready for: /ace:execute-story E1-F1-S1
|
|
88
|
-
```
|
|
89
|
-
|
|
90
|
-
</ace-refine-story>
|
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
# /ace:verify-story - Verify a Completed Story
|
|
2
|
-
|
|
3
|
-
Verify that a completed story meets all acceptance criteria.
|
|
4
|
-
|
|
5
|
-
## Usage
|
|
6
|
-
|
|
7
|
-
```
|
|
8
|
-
/ace:verify-story <story-id>
|
|
9
|
-
/ace:verify-story E1-F1-S1
|
|
10
|
-
```
|
|
11
|
-
|
|
12
|
-
### Arguments
|
|
13
|
-
|
|
14
|
-
- `story-id` - The story identifier to verify
|
|
15
|
-
|
|
16
|
-
## Behavior
|
|
17
|
-
|
|
18
|
-
This command verifies a story by:
|
|
19
|
-
- Checking all acceptance criteria are met
|
|
20
|
-
- Running the full test suite
|
|
21
|
-
- Reviewing code changes for quality
|
|
22
|
-
- Confirming with the user
|
|
23
|
-
|
|
24
|
-
## Instructions for Claude
|
|
25
|
-
|
|
26
|
-
<ace-verify-story>
|
|
27
|
-
|
|
28
|
-
### Prerequisites
|
|
29
|
-
|
|
30
|
-
1. Verify ACE is initialized
|
|
31
|
-
2. Verify story status is "Done" (executed)
|
|
32
|
-
3. Read story acceptance criteria
|
|
33
|
-
|
|
34
|
-
### Verification Process
|
|
35
|
-
|
|
36
|
-
1. **Acceptance Criteria Check**
|
|
37
|
-
|
|
38
|
-
For each acceptance criterion:
|
|
39
|
-
- Verify it's implemented
|
|
40
|
-
- Test the behavior manually if possible
|
|
41
|
-
- Check for edge cases
|
|
42
|
-
|
|
43
|
-
2. **Code Quality Review**
|
|
44
|
-
|
|
45
|
-
Review the commits:
|
|
46
|
-
```bash
|
|
47
|
-
git log --oneline -10 # See recent commits
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
Check for:
|
|
51
|
-
- Consistent code style
|
|
52
|
-
- Appropriate error handling
|
|
53
|
-
- No security vulnerabilities
|
|
54
|
-
- Tests included
|
|
55
|
-
|
|
56
|
-
3. **Test Suite**
|
|
57
|
-
|
|
58
|
-
Run the full test suite:
|
|
59
|
-
```bash
|
|
60
|
-
npm test # or appropriate test command
|
|
61
|
-
```
|
|
62
|
-
|
|
63
|
-
4. **User Acceptance**
|
|
64
|
-
|
|
65
|
-
Present findings to user:
|
|
66
|
-
```
|
|
67
|
-
Story: E1-F1-S1 - <Title>
|
|
68
|
-
|
|
69
|
-
Acceptance Criteria:
|
|
70
|
-
✓ Given X, when Y, then Z
|
|
71
|
-
✓ Given A, when B, then C
|
|
72
|
-
? Edge case needs user verification
|
|
73
|
-
|
|
74
|
-
Code Changes:
|
|
75
|
-
- X files modified
|
|
76
|
-
- Y lines added
|
|
77
|
-
- Z tests added
|
|
78
|
-
|
|
79
|
-
Test Results: All passing
|
|
80
|
-
|
|
81
|
-
Ready for user acceptance testing?
|
|
82
|
-
```
|
|
83
|
-
|
|
84
|
-
5. **Mark as Verified**
|
|
85
|
-
|
|
86
|
-
If all criteria pass:
|
|
87
|
-
- Update story status to "Verified"
|
|
88
|
-
- Update STATE.md
|
|
89
|
-
- Update BACKLOG.md progress
|
|
90
|
-
|
|
91
|
-
### Issue Handling
|
|
92
|
-
|
|
93
|
-
If issues are found:
|
|
94
|
-
|
|
95
|
-
1. **Minor Issues**
|
|
96
|
-
- Note them for user
|
|
97
|
-
- Offer to fix immediately
|
|
98
|
-
|
|
99
|
-
2. **Major Issues**
|
|
100
|
-
- Document in story file
|
|
101
|
-
- Recommend re-execution
|
|
102
|
-
- Update story status to "Needs Work"
|
|
103
|
-
|
|
104
|
-
### GitHub Integration (if enabled)
|
|
105
|
-
|
|
106
|
-
- Close the story issue if verified
|
|
107
|
-
- Add verification comment with summary
|
|
108
|
-
|
|
109
|
-
### Output
|
|
110
|
-
|
|
111
|
-
```
|
|
112
|
-
✓ Story E1-F1-S1 verified!
|
|
113
|
-
|
|
114
|
-
All acceptance criteria met:
|
|
115
|
-
✓ Criterion 1
|
|
116
|
-
✓ Criterion 2
|
|
117
|
-
✓ Criterion 3
|
|
118
|
-
|
|
119
|
-
Code Quality: Good
|
|
120
|
-
Tests: 12 passing, 0 failing
|
|
121
|
-
|
|
122
|
-
Story marked as Verified.
|
|
123
|
-
|
|
124
|
-
Feature E1-F1 progress: 2/4 stories complete
|
|
125
|
-
```
|
|
126
|
-
|
|
127
|
-
</ace-verify-story>
|