ace-experience 0.1.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/LICENSE +22 -0
- package/README.md +40 -0
- package/ace/references/continuation-format.md +249 -0
- package/ace/references/gates.md +1078 -0
- package/ace/references/git-integration.md +254 -0
- package/ace/references/horsepower-profiles.md +73 -0
- package/ace/references/planning-config.md +189 -0
- package/ace/references/questioning.md +141 -0
- package/ace/references/tdd.md +263 -0
- package/ace/references/ui-brand.md +160 -0
- package/ace/references/verification-patterns.md +612 -0
- package/ace/templates/architect-prompt.md +117 -0
- package/ace/templates/brief.md +184 -0
- package/ace/templates/codebase/architecture.md +264 -0
- package/ace/templates/codebase/concerns.md +310 -0
- package/ace/templates/codebase/conventions.md +307 -0
- package/ace/templates/codebase/integrations.md +280 -0
- package/ace/templates/codebase/stack.md +186 -0
- package/ace/templates/codebase/structure.md +295 -0
- package/ace/templates/codebase/testing.md +480 -0
- package/ace/templates/config.json +36 -0
- package/ace/templates/continue-here.md +78 -0
- package/ace/templates/debug.md +159 -0
- package/ace/templates/detective-prompt.md +91 -0
- package/ace/templates/intel.md +283 -0
- package/ace/templates/milestone-archive.md +123 -0
- package/ace/templates/milestone.md +115 -0
- package/ace/templates/proof.md +322 -0
- package/ace/templates/pulse.md +176 -0
- package/ace/templates/recap.md +246 -0
- package/ace/templates/research/architecture.md +204 -0
- package/ace/templates/research/features.md +147 -0
- package/ace/templates/research/pitfalls.md +200 -0
- package/ace/templates/research/recap.md +170 -0
- package/ace/templates/research/stack.md +120 -0
- package/ace/templates/research-lite.md +146 -0
- package/ace/templates/research.md +552 -0
- package/ace/templates/specs.md +231 -0
- package/ace/templates/stage-prompt.md +567 -0
- package/ace/templates/track.md +202 -0
- package/ace/templates/uat.md +247 -0
- package/ace/templates/user-setup.md +311 -0
- package/ace/workflows/audit-stage.md +628 -0
- package/ace/workflows/audit-work.md +596 -0
- package/ace/workflows/continue-project.md +305 -0
- package/ace/workflows/diagnose-issues.md +231 -0
- package/ace/workflows/list-assumptions.md +178 -0
- package/ace/workflows/map-codebase.md +322 -0
- package/ace/workflows/research-stage.md +289 -0
- package/ace/workflows/run-plan.md +1844 -0
- package/ace/workflows/run-stage.md +686 -0
- package/ace/workflows/scope-stage.md +433 -0
- package/ace/workflows/ship-milestone.md +833 -0
- package/ace/workflows/transition.md +556 -0
- package/agents/ace-architect.md +1415 -0
- package/agents/ace-auditor.md +778 -0
- package/agents/ace-codebase-mapper.md +738 -0
- package/agents/ace-detective.md +1203 -0
- package/agents/ace-integration-checker.md +423 -0
- package/agents/ace-navigator.md +605 -0
- package/agents/ace-plan-reviewer.md +812 -0
- package/agents/ace-project-scout.md +865 -0
- package/agents/ace-runner.md +784 -0
- package/agents/ace-stage-scout.md +669 -0
- package/agents/ace-synthesizer.md +256 -0
- package/bin/install.js +1432 -0
- package/commands/ace.add-stage.md +211 -0
- package/commands/ace.add-todo.md +194 -0
- package/commands/ace.audit-milestone.md +277 -0
- package/commands/ace.audit.md +219 -0
- package/commands/ace.check-todos.md +229 -0
- package/commands/ace.complete-milestone.md +134 -0
- package/commands/ace.continue.md +46 -0
- package/commands/ace.dash.md +308 -0
- package/commands/ace.debug.md +169 -0
- package/commands/ace.discuss-stage.md +86 -0
- package/commands/ace.help.md +465 -0
- package/commands/ace.insert-stage.md +231 -0
- package/commands/ace.list-stage-assumptions.md +49 -0
- package/commands/ace.map-codebase.md +71 -0
- package/commands/ace.new-milestone.md +710 -0
- package/commands/ace.pause.md +132 -0
- package/commands/ace.plan-milestone-gaps.md +295 -0
- package/commands/ace.plan-stage.md +568 -0
- package/commands/ace.remove-stage.md +353 -0
- package/commands/ace.research-stage.md +200 -0
- package/commands/ace.run-stage.md +343 -0
- package/commands/ace.set-profile.md +116 -0
- package/commands/ace.settings.md +151 -0
- package/commands/ace.start.md +1008 -0
- package/commands/ace.status.md +364 -0
- package/hooks/dist/ace-check-update.js +67 -0
- package/hooks/dist/ace-statusline.js +96 -0
- package/package.json +85 -0
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ace.audit
|
|
3
|
+
description: Validate built features through conversational UAT
|
|
4
|
+
argument-hint: "[stage number, e.g., '4']"
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- Read
|
|
7
|
+
- Bash
|
|
8
|
+
- Glob
|
|
9
|
+
- Grep
|
|
10
|
+
- Edit
|
|
11
|
+
- Write
|
|
12
|
+
- Task
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
<objective>
|
|
16
|
+
Validate built features through conversational testing with persistent state.
|
|
17
|
+
|
|
18
|
+
Purpose: Confirm what Claude built actually works from user's perspective. One test at a time, plain text responses, no interrogation. When issues are found, automatically diagnose, plan fixes, and prepare for execution.
|
|
19
|
+
|
|
20
|
+
Output: {stage}-uat.md tracking all test results. If issues found: diagnosed gaps, verified fix runs ready for /ace.run-stage
|
|
21
|
+
</objective>
|
|
22
|
+
|
|
23
|
+
<execution_context>
|
|
24
|
+
@~/.claude/ace/workflows/audit-work.md
|
|
25
|
+
@~/.claude/ace/templates/uat.md
|
|
26
|
+
</execution_context>
|
|
27
|
+
|
|
28
|
+
<context>
|
|
29
|
+
Stage: $ARGUMENTS (optional)
|
|
30
|
+
- If provided: Test specific stage (e.g., "4")
|
|
31
|
+
- If not provided: Check for active sessions or prompt for stage
|
|
32
|
+
|
|
33
|
+
@.ace/pulse.md
|
|
34
|
+
@.ace/track.md
|
|
35
|
+
</context>
|
|
36
|
+
|
|
37
|
+
<process>
|
|
38
|
+
1. Check for active UAT sessions (resume or start new)
|
|
39
|
+
2. Find recap.md files for the stage
|
|
40
|
+
3. Extract testable deliverables (user-observable outcomes)
|
|
41
|
+
4. Create {stage}-uat.md with test list
|
|
42
|
+
5. Present tests one at a time:
|
|
43
|
+
- Show expected behavior
|
|
44
|
+
- Wait for plain text response
|
|
45
|
+
- "yes/y/next" = pass, anything else = issue (severity inferred)
|
|
46
|
+
6. Update uat.md after each response
|
|
47
|
+
7. On completion: commit, present summary
|
|
48
|
+
8. If issues found:
|
|
49
|
+
- Spawn parallel debug agents to diagnose root causes
|
|
50
|
+
- Spawn ace-architect in --gaps mode to create fix runs
|
|
51
|
+
- Spawn ace-plan-reviewer to verify fix runs
|
|
52
|
+
- Iterate architect <-> reviewer until runs pass (max 3)
|
|
53
|
+
- Present ready status with `/clear` then `/ace.run-stage`
|
|
54
|
+
</process>
|
|
55
|
+
|
|
56
|
+
<anti_patterns>
|
|
57
|
+
- Don't use AskUserQuestion for test responses — plain text conversation
|
|
58
|
+
- Don't ask severity — infer from description
|
|
59
|
+
- Don't present full checklist upfront — one test at a time
|
|
60
|
+
- Don't run automated tests — this is manual user validation
|
|
61
|
+
- Don't fix issues during testing — log as gaps, diagnose after all tests complete
|
|
62
|
+
</anti_patterns>
|
|
63
|
+
|
|
64
|
+
<offer_next>
|
|
65
|
+
Output this markdown directly (not as a code block). Route based on UAT results:
|
|
66
|
+
|
|
67
|
+
| Status | Route |
|
|
68
|
+
|--------|-------|
|
|
69
|
+
| All tests pass + more stages | Route A (next stage) |
|
|
70
|
+
| All tests pass + last stage | Route B (milestone complete) |
|
|
71
|
+
| Issues found + fix runs ready | Route C (execute fixes) |
|
|
72
|
+
| Issues found + planning blocked | Route D (manual intervention) |
|
|
73
|
+
|
|
74
|
+
---
|
|
75
|
+
|
|
76
|
+
**Route A: All tests pass, more stages remain**
|
|
77
|
+
|
|
78
|
+
=====================================================
|
|
79
|
+
ACE > STAGE {Z} VERIFIED
|
|
80
|
+
=====================================================
|
|
81
|
+
|
|
82
|
+
**Stage {Z}: {Name}**
|
|
83
|
+
|
|
84
|
+
{N}/{N} tests passed
|
|
85
|
+
UAT complete
|
|
86
|
+
|
|
87
|
+
---------------------------------------------------------------
|
|
88
|
+
|
|
89
|
+
## > Next Up
|
|
90
|
+
|
|
91
|
+
**Stage {Z+1}: {Name}** — {Goal from track.md}
|
|
92
|
+
|
|
93
|
+
/ace.discuss-stage {Z+1} — gather context and clarify approach
|
|
94
|
+
|
|
95
|
+
<sub>/clear first -> fresh context window</sub>
|
|
96
|
+
|
|
97
|
+
---------------------------------------------------------------
|
|
98
|
+
|
|
99
|
+
**Also available:**
|
|
100
|
+
- /ace.plan-stage {Z+1} — skip discussion, plan directly
|
|
101
|
+
- /ace.run-stage {Z+1} — skip to execution (if already planned)
|
|
102
|
+
|
|
103
|
+
---------------------------------------------------------------
|
|
104
|
+
|
|
105
|
+
---
|
|
106
|
+
|
|
107
|
+
**Route B: All tests pass, milestone complete**
|
|
108
|
+
|
|
109
|
+
=====================================================
|
|
110
|
+
ACE > STAGE {Z} VERIFIED
|
|
111
|
+
=====================================================
|
|
112
|
+
|
|
113
|
+
**Stage {Z}: {Name}**
|
|
114
|
+
|
|
115
|
+
{N}/{N} tests passed
|
|
116
|
+
Final stage verified
|
|
117
|
+
|
|
118
|
+
---------------------------------------------------------------
|
|
119
|
+
|
|
120
|
+
## > Next Up
|
|
121
|
+
|
|
122
|
+
**Audit milestone** — verify requirements, cross-stage integration, E2E flows
|
|
123
|
+
|
|
124
|
+
/ace.audit-milestone
|
|
125
|
+
|
|
126
|
+
<sub>/clear first -> fresh context window</sub>
|
|
127
|
+
|
|
128
|
+
---------------------------------------------------------------
|
|
129
|
+
|
|
130
|
+
**Also available:**
|
|
131
|
+
- /ace.complete-milestone — skip audit, archive directly
|
|
132
|
+
|
|
133
|
+
---------------------------------------------------------------
|
|
134
|
+
|
|
135
|
+
---
|
|
136
|
+
|
|
137
|
+
**Route C: Issues found, fix runs ready**
|
|
138
|
+
|
|
139
|
+
=====================================================
|
|
140
|
+
ACE > STAGE {Z} ISSUES FOUND
|
|
141
|
+
=====================================================
|
|
142
|
+
|
|
143
|
+
**Stage {Z}: {Name}**
|
|
144
|
+
|
|
145
|
+
{N}/{M} tests passed
|
|
146
|
+
{X} issues diagnosed
|
|
147
|
+
Fix runs verified
|
|
148
|
+
|
|
149
|
+
### Issues Found
|
|
150
|
+
|
|
151
|
+
{List issues with severity from uat.md}
|
|
152
|
+
|
|
153
|
+
---------------------------------------------------------------
|
|
154
|
+
|
|
155
|
+
## > Next Up
|
|
156
|
+
|
|
157
|
+
**Execute fix runs** — run diagnosed fixes
|
|
158
|
+
|
|
159
|
+
/ace.run-stage {Z} --gaps-only
|
|
160
|
+
|
|
161
|
+
<sub>/clear first -> fresh context window</sub>
|
|
162
|
+
|
|
163
|
+
---------------------------------------------------------------
|
|
164
|
+
|
|
165
|
+
**Also available:**
|
|
166
|
+
- cat .ace/stages/{stage_dir}/*-run.md — review fix runs
|
|
167
|
+
- /ace.plan-stage {Z} --gaps — regenerate fix runs
|
|
168
|
+
|
|
169
|
+
---------------------------------------------------------------
|
|
170
|
+
|
|
171
|
+
---
|
|
172
|
+
|
|
173
|
+
**Route D: Issues found, planning blocked**
|
|
174
|
+
|
|
175
|
+
=====================================================
|
|
176
|
+
ACE > STAGE {Z} BLOCKED
|
|
177
|
+
=====================================================
|
|
178
|
+
|
|
179
|
+
**Stage {Z}: {Name}**
|
|
180
|
+
|
|
181
|
+
{N}/{M} tests passed
|
|
182
|
+
Fix planning blocked after {X} iterations
|
|
183
|
+
|
|
184
|
+
### Unresolved Issues
|
|
185
|
+
|
|
186
|
+
{List blocking issues from architect/reviewer output}
|
|
187
|
+
|
|
188
|
+
---------------------------------------------------------------
|
|
189
|
+
|
|
190
|
+
## > Next Up
|
|
191
|
+
|
|
192
|
+
**Manual intervention required**
|
|
193
|
+
|
|
194
|
+
Review the issues above and either:
|
|
195
|
+
1. Provide guidance for fix planning
|
|
196
|
+
2. Manually address blockers
|
|
197
|
+
3. Accept current state and continue
|
|
198
|
+
|
|
199
|
+
---------------------------------------------------------------
|
|
200
|
+
|
|
201
|
+
**Options:**
|
|
202
|
+
- /ace.plan-stage {Z} --gaps — retry fix planning with guidance
|
|
203
|
+
- /ace.discuss-stage {Z} — gather more context before replanning
|
|
204
|
+
|
|
205
|
+
---------------------------------------------------------------
|
|
206
|
+
</offer_next>
|
|
207
|
+
|
|
208
|
+
<success_criteria>
|
|
209
|
+
- [ ] uat.md created with tests from recap.md
|
|
210
|
+
- [ ] Tests presented one at a time with expected behavior
|
|
211
|
+
- [ ] Plain text responses (no structured forms)
|
|
212
|
+
- [ ] Severity inferred, never asked
|
|
213
|
+
- [ ] Batched writes: on issue, every 5 passes, or completion
|
|
214
|
+
- [ ] Committed on completion
|
|
215
|
+
- [ ] If issues: parallel debug agents diagnose root causes
|
|
216
|
+
- [ ] If issues: ace-architect creates fix runs from diagnosed gaps
|
|
217
|
+
- [ ] If issues: ace-plan-reviewer verifies fix runs (max 3 iterations)
|
|
218
|
+
- [ ] Ready for `/ace.run-stage` when complete
|
|
219
|
+
</success_criteria>
|
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ace.check-todos
|
|
3
|
+
description: List pending todos and select one to work on
|
|
4
|
+
argument-hint: [area filter]
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- Read
|
|
7
|
+
- Write
|
|
8
|
+
- Bash
|
|
9
|
+
- Glob
|
|
10
|
+
- AskUserQuestion
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
<objective>
|
|
14
|
+
List all pending todos, allow selection, load full context for the selected todo, and route to appropriate action.
|
|
15
|
+
|
|
16
|
+
Enables reviewing captured ideas and deciding what to work on next.
|
|
17
|
+
</objective>
|
|
18
|
+
|
|
19
|
+
<context>
|
|
20
|
+
$ARGUMENTS
|
|
21
|
+
@.ace/pulse.md
|
|
22
|
+
@.ace/track.md
|
|
23
|
+
</context>
|
|
24
|
+
|
|
25
|
+
<process>
|
|
26
|
+
|
|
27
|
+
<step name="check_exist">
|
|
28
|
+
```bash
|
|
29
|
+
TODO_COUNT=$(ls .ace/todos/pending/*.md 2>/dev/null | wc -l | tr -d ' ')
|
|
30
|
+
echo "Pending todos: $TODO_COUNT"
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
If count is 0:
|
|
34
|
+
```
|
|
35
|
+
No pending todos.
|
|
36
|
+
|
|
37
|
+
Todos are captured during work sessions with /ace.add-todo.
|
|
38
|
+
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
Would you like to:
|
|
42
|
+
|
|
43
|
+
1. Continue with current stage (/ace.status)
|
|
44
|
+
2. Add a todo now (/ace.add-todo)
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
Exit.
|
|
48
|
+
</step>
|
|
49
|
+
|
|
50
|
+
<step name="parse_filter">
|
|
51
|
+
Check for area filter in arguments:
|
|
52
|
+
- `/ace.check-todos` → show all
|
|
53
|
+
- `/ace.check-todos api` → filter to area:api only
|
|
54
|
+
</step>
|
|
55
|
+
|
|
56
|
+
<step name="list_todos">
|
|
57
|
+
```bash
|
|
58
|
+
for file in .ace/todos/pending/*.md; do
|
|
59
|
+
created=$(grep "^created:" "$file" | cut -d' ' -f2)
|
|
60
|
+
title=$(grep "^title:" "$file" | cut -d':' -f2- | xargs)
|
|
61
|
+
area=$(grep "^area:" "$file" | cut -d' ' -f2)
|
|
62
|
+
echo "$created|$title|$area|$file"
|
|
63
|
+
done | sort
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
Apply area filter if specified. Display as numbered list:
|
|
67
|
+
|
|
68
|
+
```
|
|
69
|
+
Pending Todos:
|
|
70
|
+
|
|
71
|
+
1. Add auth token refresh (api, 2d ago)
|
|
72
|
+
2. Fix modal z-index issue (ui, 1d ago)
|
|
73
|
+
3. Refactor database connection pool (database, 5h ago)
|
|
74
|
+
|
|
75
|
+
---
|
|
76
|
+
|
|
77
|
+
Reply with a number to view details, or:
|
|
78
|
+
- `/ace.check-todos [area]` to filter by area
|
|
79
|
+
- `q` to exit
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
Format age as relative time.
|
|
83
|
+
</step>
|
|
84
|
+
|
|
85
|
+
<step name="handle_selection">
|
|
86
|
+
Wait for user to reply with a number.
|
|
87
|
+
|
|
88
|
+
If valid: load selected todo, proceed.
|
|
89
|
+
If invalid: "Invalid selection. Reply with a number (1-[N]) or `q` to exit."
|
|
90
|
+
</step>
|
|
91
|
+
|
|
92
|
+
<step name="load_context">
|
|
93
|
+
Read the todo file completely. Display:
|
|
94
|
+
|
|
95
|
+
```
|
|
96
|
+
## [title]
|
|
97
|
+
|
|
98
|
+
**Area:** [area]
|
|
99
|
+
**Created:** [date] ([relative time] ago)
|
|
100
|
+
**Files:** [list or "None"]
|
|
101
|
+
|
|
102
|
+
### Problem
|
|
103
|
+
[problem section content]
|
|
104
|
+
|
|
105
|
+
### Solution
|
|
106
|
+
[solution section content]
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
If `files` field has entries, read and briefly summarize each.
|
|
110
|
+
</step>
|
|
111
|
+
|
|
112
|
+
<step name="check_track">
|
|
113
|
+
```bash
|
|
114
|
+
ls .ace/track.md 2>/dev/null && echo "Track exists"
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
If track exists:
|
|
118
|
+
1. Check if todo's area matches an upcoming stage
|
|
119
|
+
2. Check if todo's files overlap with a stage's scope
|
|
120
|
+
3. Note any match for action options
|
|
121
|
+
</step>
|
|
122
|
+
|
|
123
|
+
<step name="offer_actions">
|
|
124
|
+
**If todo maps to a track stage:**
|
|
125
|
+
|
|
126
|
+
Use AskUserQuestion:
|
|
127
|
+
- header: "Action"
|
|
128
|
+
- question: "This todo relates to Stage [N]: [name]. What would you like to do?"
|
|
129
|
+
- options:
|
|
130
|
+
- "Work on it now" — move to done, start working
|
|
131
|
+
- "Add to stage run" — include when planning Stage [N]
|
|
132
|
+
- "Brainstorm approach" — think through before deciding
|
|
133
|
+
- "Put it back" — return to list
|
|
134
|
+
|
|
135
|
+
**If no track match:**
|
|
136
|
+
|
|
137
|
+
Use AskUserQuestion:
|
|
138
|
+
- header: "Action"
|
|
139
|
+
- question: "What would you like to do with this todo?"
|
|
140
|
+
- options:
|
|
141
|
+
- "Work on it now" — move to done, start working
|
|
142
|
+
- "Create a stage" — /ace.add-stage with this scope
|
|
143
|
+
- "Brainstorm approach" — think through before deciding
|
|
144
|
+
- "Put it back" — return to list
|
|
145
|
+
</step>
|
|
146
|
+
|
|
147
|
+
<step name="execute_action">
|
|
148
|
+
**Work on it now:**
|
|
149
|
+
```bash
|
|
150
|
+
mv ".ace/todos/pending/[filename]" ".ace/todos/done/"
|
|
151
|
+
```
|
|
152
|
+
Update pulse.md todo count. Present problem/solution context. Begin work or ask how to proceed.
|
|
153
|
+
|
|
154
|
+
**Add to stage run:**
|
|
155
|
+
Note todo reference in stage planning notes. Keep in pending. Return to list or exit.
|
|
156
|
+
|
|
157
|
+
**Create a stage:**
|
|
158
|
+
Display: `/ace.add-stage [description from todo]`
|
|
159
|
+
Keep in pending. User runs command in fresh context.
|
|
160
|
+
|
|
161
|
+
**Brainstorm approach:**
|
|
162
|
+
Keep in pending. Start discussion about problem and approaches.
|
|
163
|
+
|
|
164
|
+
**Put it back:**
|
|
165
|
+
Return to list_todos step.
|
|
166
|
+
</step>
|
|
167
|
+
|
|
168
|
+
<step name="update_state">
|
|
169
|
+
After any action that changes todo count:
|
|
170
|
+
|
|
171
|
+
```bash
|
|
172
|
+
ls .ace/todos/pending/*.md 2>/dev/null | wc -l
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
Update pulse.md "### Pending Todos" section if exists.
|
|
176
|
+
</step>
|
|
177
|
+
|
|
178
|
+
<step name="git_commit">
|
|
179
|
+
If todo was moved to done/, commit the change:
|
|
180
|
+
|
|
181
|
+
**Check planning config:**
|
|
182
|
+
|
|
183
|
+
```bash
|
|
184
|
+
COMMIT_PLANNING_DOCS=$(cat .ace/config.json 2>/dev/null | grep -o '"commit_docs"[[:space:]]*:[[:space:]]*[^,}]*' | grep -o 'true\|false' || echo "true")
|
|
185
|
+
git check-ignore -q .ace 2>/dev/null && COMMIT_PLANNING_DOCS=false
|
|
186
|
+
```
|
|
187
|
+
|
|
188
|
+
**If `COMMIT_PLANNING_DOCS=false`:** Skip git operations, log "Todo moved (not committed - commit_docs: false)"
|
|
189
|
+
|
|
190
|
+
**If `COMMIT_PLANNING_DOCS=true` (default):**
|
|
191
|
+
|
|
192
|
+
```bash
|
|
193
|
+
git add .ace/todos/done/[filename]
|
|
194
|
+
git rm --cached .ace/todos/pending/[filename] 2>/dev/null || true
|
|
195
|
+
[ -f .ace/pulse.md ] && git add .ace/pulse.md
|
|
196
|
+
git commit -m "$(cat <<'EOF'
|
|
197
|
+
docs: start work on todo - [title]
|
|
198
|
+
|
|
199
|
+
Moved to done/, beginning implementation.
|
|
200
|
+
EOF
|
|
201
|
+
)"
|
|
202
|
+
```
|
|
203
|
+
|
|
204
|
+
Confirm: "Committed: docs: start work on todo - [title]"
|
|
205
|
+
</step>
|
|
206
|
+
|
|
207
|
+
</process>
|
|
208
|
+
|
|
209
|
+
<output>
|
|
210
|
+
- Moved todo to `.ace/todos/done/` (if "Work on it now")
|
|
211
|
+
- Updated `.ace/pulse.md` (if todo count changed)
|
|
212
|
+
</output>
|
|
213
|
+
|
|
214
|
+
<anti_patterns>
|
|
215
|
+
- Don't delete todos — move to done/ when work begins
|
|
216
|
+
- Don't start work without moving to done/ first
|
|
217
|
+
- Don't create runs from this command — route to /ace.plan-stage or /ace.add-stage
|
|
218
|
+
</anti_patterns>
|
|
219
|
+
|
|
220
|
+
<success_criteria>
|
|
221
|
+
- [ ] All pending todos listed with title, area, age
|
|
222
|
+
- [ ] Area filter applied if specified
|
|
223
|
+
- [ ] Selected todo's full context loaded
|
|
224
|
+
- [ ] Track context checked for stage match
|
|
225
|
+
- [ ] Appropriate actions offered
|
|
226
|
+
- [ ] Selected action executed
|
|
227
|
+
- [ ] pulse.md updated if todo count changed
|
|
228
|
+
- [ ] Changes committed to git (if todo moved to done/)
|
|
229
|
+
</success_criteria>
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: prompt
|
|
3
|
+
name: ace.complete-milestone
|
|
4
|
+
description: Archive completed milestone and prepare for next version
|
|
5
|
+
argument-hint: <version>
|
|
6
|
+
allowed-tools:
|
|
7
|
+
- Read
|
|
8
|
+
- Write
|
|
9
|
+
- Bash
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
<objective>
|
|
13
|
+
Mark milestone {{version}} complete, archive to milestones/, and update track.md and specs.md.
|
|
14
|
+
|
|
15
|
+
Purpose: Create historical record of shipped version, archive milestone artifacts (track + specs), and prepare for next milestone.
|
|
16
|
+
Output: Milestone archived (track + specs), brief.md evolved, git tagged.
|
|
17
|
+
</objective>
|
|
18
|
+
|
|
19
|
+
<execution_context>
|
|
20
|
+
**Load these files NOW (before proceeding):**
|
|
21
|
+
|
|
22
|
+
- @~/.claude/ace/workflows/ship-milestone.md (main workflow)
|
|
23
|
+
- @~/.claude/ace/templates/milestone-archive.md (archive template)
|
|
24
|
+
</execution_context>
|
|
25
|
+
|
|
26
|
+
<context>
|
|
27
|
+
$ARGUMENTS
|
|
28
|
+
|
|
29
|
+
**Project files:**
|
|
30
|
+
- `.ace/track.md`
|
|
31
|
+
- `.ace/specs.md`
|
|
32
|
+
- `.ace/pulse.md`
|
|
33
|
+
- `.ace/brief.md`
|
|
34
|
+
</context>
|
|
35
|
+
|
|
36
|
+
<process>
|
|
37
|
+
|
|
38
|
+
**Follow ship-milestone.md workflow:**
|
|
39
|
+
|
|
40
|
+
0. **Check for audit:**
|
|
41
|
+
|
|
42
|
+
- Look for `.ace/v{{version}}-MILESTONE-AUDIT.md`
|
|
43
|
+
- If missing or stale: recommend `/ace.audit-milestone` first
|
|
44
|
+
- If audit status is `gaps_found`: recommend `/ace.plan-milestone-gaps` first
|
|
45
|
+
- If audit status is `passed`: proceed to step 1
|
|
46
|
+
|
|
47
|
+
```markdown
|
|
48
|
+
## Pre-flight Check
|
|
49
|
+
|
|
50
|
+
{If no v{{version}}-MILESTONE-AUDIT.md:}
|
|
51
|
+
⚠ No milestone audit found. Run `/ace.audit-milestone` first to verify
|
|
52
|
+
specs coverage, cross-stage integration, and E2E flows.
|
|
53
|
+
|
|
54
|
+
{If audit has gaps:}
|
|
55
|
+
⚠ Milestone audit found gaps. Run `/ace.plan-milestone-gaps` to create
|
|
56
|
+
stages that close the gaps, or proceed anyway to accept as tech debt.
|
|
57
|
+
|
|
58
|
+
{If audit passed:}
|
|
59
|
+
✓ Milestone audit passed. Proceeding with completion.
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
1. **Verify readiness:**
|
|
63
|
+
|
|
64
|
+
- Check all stages in milestone have completed runs (recap.md exists)
|
|
65
|
+
- Present milestone scope and stats
|
|
66
|
+
- Wait for confirmation
|
|
67
|
+
|
|
68
|
+
2. **Gather stats:**
|
|
69
|
+
|
|
70
|
+
- Count stages, runs, tasks
|
|
71
|
+
- Calculate git range, file changes, LOC
|
|
72
|
+
- Extract timeline from git log
|
|
73
|
+
- Present summary, confirm
|
|
74
|
+
|
|
75
|
+
3. **Extract accomplishments:**
|
|
76
|
+
|
|
77
|
+
- Read all stage recap.md files in milestone range
|
|
78
|
+
- Extract 4-6 key accomplishments
|
|
79
|
+
- Present for approval
|
|
80
|
+
|
|
81
|
+
4. **Archive milestone:**
|
|
82
|
+
|
|
83
|
+
- Create `.ace/milestones/v{{version}}-track.md`
|
|
84
|
+
- Extract full stage details from track.md
|
|
85
|
+
- Fill milestone-archive.md template
|
|
86
|
+
- Update track.md to one-line summary with link
|
|
87
|
+
|
|
88
|
+
5. **Archive specs:**
|
|
89
|
+
|
|
90
|
+
- Create `.ace/milestones/v{{version}}-specs.md`
|
|
91
|
+
- Mark all v1 specs as complete (checkboxes checked)
|
|
92
|
+
- Note spec outcomes (validated, adjusted, dropped)
|
|
93
|
+
- Delete `.ace/specs.md` (fresh one created for next milestone)
|
|
94
|
+
|
|
95
|
+
6. **Update brief.md:**
|
|
96
|
+
|
|
97
|
+
- Add "Current State" section with shipped version
|
|
98
|
+
- Add "Next Milestone Goals" section
|
|
99
|
+
- Archive previous content in `<details>` (if v1.1+)
|
|
100
|
+
|
|
101
|
+
7. **Commit and tag:**
|
|
102
|
+
|
|
103
|
+
- Stage: milestones.md, brief.md, track.md, pulse.md, archive files
|
|
104
|
+
- Commit: `chore: archive v{{version}} milestone`
|
|
105
|
+
- Tag: `git tag -a v{{version}} -m "[milestone summary]"`
|
|
106
|
+
- Ask about pushing tag
|
|
107
|
+
|
|
108
|
+
8. **Offer next steps:**
|
|
109
|
+
- `/ace.new-milestone` — start next milestone (questioning → research → specs → track)
|
|
110
|
+
|
|
111
|
+
</process>
|
|
112
|
+
|
|
113
|
+
<success_criteria>
|
|
114
|
+
|
|
115
|
+
- Milestone archived to `.ace/milestones/v{{version}}-track.md`
|
|
116
|
+
- Specs archived to `.ace/milestones/v{{version}}-specs.md`
|
|
117
|
+
- `.ace/specs.md` deleted (fresh for next milestone)
|
|
118
|
+
- track.md collapsed to one-line entry
|
|
119
|
+
- brief.md updated with current state
|
|
120
|
+
- Git tag v{{version}} created
|
|
121
|
+
- Commit successful
|
|
122
|
+
- User knows next steps (including need for fresh specs)
|
|
123
|
+
</success_criteria>
|
|
124
|
+
|
|
125
|
+
<critical_rules>
|
|
126
|
+
|
|
127
|
+
- **Load workflow first:** Read ship-milestone.md before executing
|
|
128
|
+
- **Verify completion:** All stages must have recap.md files
|
|
129
|
+
- **User confirmation:** Wait for approval at verification gates
|
|
130
|
+
- **Archive before deleting:** Always create archive files before updating/deleting originals
|
|
131
|
+
- **One-line summary:** Collapsed milestone in track.md should be single line with link
|
|
132
|
+
- **Context efficiency:** Archive keeps track.md and specs.md constant size per milestone
|
|
133
|
+
- **Fresh specs:** Next milestone starts with `/ace.new-milestone` which includes specs definition
|
|
134
|
+
</critical_rules>
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ace.continue
|
|
3
|
+
description: Resume work from previous session with full context restoration
|
|
4
|
+
allowed-tools:
|
|
5
|
+
- Read
|
|
6
|
+
- Bash
|
|
7
|
+
- Write
|
|
8
|
+
- AskUserQuestion
|
|
9
|
+
- SlashCommand
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
<objective>
|
|
13
|
+
Restore complete project context and resume work seamlessly from previous session.
|
|
14
|
+
|
|
15
|
+
Routes to the continue-project workflow which handles:
|
|
16
|
+
|
|
17
|
+
- pulse.md loading (or reconstruction if missing)
|
|
18
|
+
- Gate detection (.continue-here files)
|
|
19
|
+
- Incomplete work detection (run.md without recap.md)
|
|
20
|
+
- Status presentation
|
|
21
|
+
- Context-aware next action routing
|
|
22
|
+
</objective>
|
|
23
|
+
|
|
24
|
+
<execution_context>
|
|
25
|
+
@~/.claude/ace/workflows/continue-project.md
|
|
26
|
+
</execution_context>
|
|
27
|
+
|
|
28
|
+
<process>
|
|
29
|
+
**Follow the continue-project workflow** from `@~/.claude/ace/workflows/continue-project.md`.
|
|
30
|
+
|
|
31
|
+
The workflow handles all resumption logic including:
|
|
32
|
+
|
|
33
|
+
1. Project existence verification
|
|
34
|
+
2. pulse.md loading or reconstruction
|
|
35
|
+
3. Gate and incomplete work detection
|
|
36
|
+
4. Visual status presentation
|
|
37
|
+
5. Context-aware option offering (checks intel.md before suggesting plan vs discuss)
|
|
38
|
+
6. Routing to appropriate next command
|
|
39
|
+
7. Session continuity updates
|
|
40
|
+
</process>
|
|
41
|
+
|
|
42
|
+
<success_criteria>
|
|
43
|
+
- [ ] Project context restored from pulse.md (or reconstructed if missing)
|
|
44
|
+
- [ ] Gates and incomplete work detected (checked .continue-here files and run.md without recap.md)
|
|
45
|
+
- [ ] Visual status and context-aware next actions presented to user
|
|
46
|
+
</success_criteria>
|