ariadna 1.2.1 → 1.2.2
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.
- checksums.yaml +4 -4
- data/data/agents/ariadna-backend-executor.md +5 -5
- data/data/agents/ariadna-codebase-mapper.md +5 -5
- data/data/agents/ariadna-debugger.md +13 -13
- data/data/agents/ariadna-executor.md +5 -5
- data/data/agents/ariadna-frontend-executor.md +5 -5
- data/data/agents/ariadna-integration-checker.md +1 -1
- data/data/agents/ariadna-phase-researcher.md +1 -1
- data/data/agents/ariadna-planner.md +17 -17
- data/data/agents/ariadna-project-researcher.md +10 -10
- data/data/agents/ariadna-research-synthesizer.md +11 -11
- data/data/agents/ariadna-roadmapper.md +8 -8
- data/data/agents/ariadna-test-executor.md +5 -5
- data/data/agents/ariadna-verifier.md +4 -4
- data/data/ariadna/references/decimal-phase-calculation.md +2 -2
- data/data/ariadna/references/git-integration.md +4 -4
- data/data/ariadna/references/git-planning-commit.md +7 -7
- data/data/ariadna/references/model-profile-resolution.md +1 -1
- data/data/ariadna/references/model-profiles.md +2 -2
- data/data/ariadna/references/planning-config.md +13 -13
- data/data/ariadna/references/tdd.md +2 -2
- data/data/ariadna/templates/DEBUG.md +2 -2
- data/data/ariadna/templates/UAT.md +3 -3
- data/data/ariadna/templates/codebase/architecture.md +1 -1
- data/data/ariadna/templates/codebase/concerns.md +1 -1
- data/data/ariadna/templates/codebase/conventions.md +1 -1
- data/data/ariadna/templates/codebase/integrations.md +1 -1
- data/data/ariadna/templates/codebase/stack.md +1 -1
- data/data/ariadna/templates/codebase/structure.md +1 -1
- data/data/ariadna/templates/codebase/testing.md +1 -1
- data/data/ariadna/templates/context.md +2 -2
- data/data/ariadna/templates/continue-here.md +1 -1
- data/data/ariadna/templates/debug-subagent-prompt.md +2 -2
- data/data/ariadna/templates/discovery.md +2 -2
- data/data/ariadna/templates/milestone-archive.md +4 -4
- data/data/ariadna/templates/milestone.md +1 -1
- data/data/ariadna/templates/phase-prompt.md +19 -19
- data/data/ariadna/templates/planner-subagent-prompt.md +9 -9
- data/data/ariadna/templates/project.md +2 -2
- data/data/ariadna/templates/requirements.md +1 -1
- data/data/ariadna/templates/research-project/ARCHITECTURE.md +1 -1
- data/data/ariadna/templates/research-project/FEATURES.md +1 -1
- data/data/ariadna/templates/research-project/PITFALLS.md +1 -1
- data/data/ariadna/templates/research-project/STACK.md +1 -1
- data/data/ariadna/templates/research-project/SUMMARY.md +1 -1
- data/data/ariadna/templates/research.md +2 -2
- data/data/ariadna/templates/roadmap.md +1 -1
- data/data/ariadna/templates/state.md +4 -4
- data/data/ariadna/templates/summary.md +1 -1
- data/data/ariadna/templates/user-setup.md +2 -2
- data/data/ariadna/templates/verification-report.md +1 -1
- data/data/ariadna/workflows/add-phase.md +5 -5
- data/data/ariadna/workflows/add-todo.md +7 -7
- data/data/ariadna/workflows/audit-milestone.md +7 -7
- data/data/ariadna/workflows/check-todos.md +4 -4
- data/data/ariadna/workflows/complete-milestone.md +18 -18
- data/data/ariadna/workflows/diagnose-issues.md +4 -4
- data/data/ariadna/workflows/discovery-phase.md +4 -4
- data/data/ariadna/workflows/discuss-phase.md +2 -2
- data/data/ariadna/workflows/execute-phase.md +4 -4
- data/data/ariadna/workflows/execute-plan.md +19 -19
- data/data/ariadna/workflows/help.md +18 -18
- data/data/ariadna/workflows/insert-phase.md +6 -6
- data/data/ariadna/workflows/list-phase-assumptions.md +1 -1
- data/data/ariadna/workflows/map-codebase.md +22 -22
- data/data/ariadna/workflows/new-milestone.md +16 -16
- data/data/ariadna/workflows/new-project.md +39 -39
- data/data/ariadna/workflows/pause-work.md +4 -4
- data/data/ariadna/workflows/plan-milestone-gaps.md +4 -4
- data/data/ariadna/workflows/plan-phase.md +3 -3
- data/data/ariadna/workflows/progress.md +6 -6
- data/data/ariadna/workflows/quick.md +6 -6
- data/data/ariadna/workflows/remove-phase.md +3 -3
- data/data/ariadna/workflows/research-phase.md +4 -4
- data/data/ariadna/workflows/resume-project.md +9 -9
- data/data/ariadna/workflows/set-profile.md +2 -2
- data/data/ariadna/workflows/settings.md +4 -4
- data/data/ariadna/workflows/transition.md +11 -11
- data/data/ariadna/workflows/verify-phase.md +2 -2
- data/data/ariadna/workflows/verify-work.md +8 -8
- data/data/commands/ariadna/add-phase.md +2 -2
- data/data/commands/ariadna/add-todo.md +1 -1
- data/data/commands/ariadna/audit-milestone.md +6 -6
- data/data/commands/ariadna/check-todos.md +2 -2
- data/data/commands/ariadna/complete-milestone.md +11 -11
- data/data/commands/ariadna/debug.md +3 -3
- data/data/commands/ariadna/discuss-phase.md +2 -2
- data/data/commands/ariadna/execute-phase.md +2 -2
- data/data/commands/ariadna/insert-phase.md +2 -2
- data/data/commands/ariadna/list-phase-assumptions.md +2 -2
- data/data/commands/ariadna/map-codebase.md +7 -7
- data/data/commands/ariadna/new-milestone.md +10 -10
- data/data/commands/ariadna/new-project.md +6 -6
- data/data/commands/ariadna/pause-work.md +1 -1
- data/data/commands/ariadna/plan-milestone-gaps.md +5 -5
- data/data/commands/ariadna/quick.md +2 -2
- data/data/commands/ariadna/remove-phase.md +2 -2
- data/data/commands/ariadna/research-phase.md +6 -6
- data/data/commands/ariadna/verify-work.md +2 -2
- data/data/statusline/ariadna-statusline.sh +47 -0
- data/data/templates.md +1 -1
- data/exe/ariadna +2 -1
- data/lib/ariadna/installer.rb +30 -1
- data/lib/ariadna/tools/config_manager.rb +5 -5
- data/lib/ariadna/tools/git_integration.rb +2 -2
- data/lib/ariadna/tools/init.rb +61 -61
- data/lib/ariadna/tools/phase_manager.rb +11 -11
- data/lib/ariadna/tools/roadmap_analyzer.rb +5 -5
- data/lib/ariadna/tools/state_manager.rb +14 -14
- data/lib/ariadna/tools/template_filler.rb +5 -5
- data/lib/ariadna/tools/utilities.rb +4 -4
- data/lib/ariadna/tools/verification.rb +4 -4
- data/lib/ariadna/uninstaller.rb +17 -0
- data/lib/ariadna/version.rb +1 -1
- metadata +2 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# User Setup Template
|
|
2
2
|
|
|
3
|
-
Template for `.
|
|
3
|
+
Template for `.ariadna_planning/phases/XX-name/{phase}-USER-SETUP.md` - human-required configuration that Claude cannot automate.
|
|
4
4
|
|
|
5
5
|
**Purpose:** Document setup tasks that literally require human action - account creation, dashboard configuration, secret retrieval. Claude automates everything possible; this file captures only what remains.
|
|
6
6
|
|
|
@@ -307,4 +307,4 @@ curl -X POST http://localhost:3000/api/test-email \
|
|
|
307
307
|
|
|
308
308
|
**Naming:** `{phase}-USER-SETUP.md` matches the phase number pattern.
|
|
309
309
|
**Status tracking:** User marks checkboxes and updates status line when complete.
|
|
310
|
-
**Searchability:** `grep -r "USER-SETUP" .
|
|
310
|
+
**Searchability:** `grep -r "USER-SETUP" .ariadna_planning/` finds all phases with user requirements.
|
|
@@ -34,7 +34,7 @@ INIT=$(ariadna-tools init phase-op "0")
|
|
|
34
34
|
|
|
35
35
|
Check `roadmap_exists` from init JSON. If false:
|
|
36
36
|
```
|
|
37
|
-
ERROR: No roadmap found (.
|
|
37
|
+
ERROR: No roadmap found (.ariadna_planning/ROADMAP.md)
|
|
38
38
|
Run /ariadna:new-project to initialize.
|
|
39
39
|
```
|
|
40
40
|
Exit.
|
|
@@ -51,7 +51,7 @@ The CLI handles:
|
|
|
51
51
|
- Finding the highest existing integer phase number
|
|
52
52
|
- Calculating next phase number (max + 1)
|
|
53
53
|
- Generating slug from description
|
|
54
|
-
- Creating the phase directory (`.
|
|
54
|
+
- Creating the phase directory (`.ariadna_planning/phases/{NN}-{slug}/`)
|
|
55
55
|
- Inserting the phase entry into ROADMAP.md with Goal, Depends on, and Plans sections
|
|
56
56
|
|
|
57
57
|
Extract from result: `phase_number`, `padded`, `name`, `slug`, `directory`.
|
|
@@ -60,7 +60,7 @@ Extract from result: `phase_number`, `padded`, `name`, `slug`, `directory`.
|
|
|
60
60
|
<step name="update_project_state">
|
|
61
61
|
Update STATE.md to reflect the new phase:
|
|
62
62
|
|
|
63
|
-
1. Read `.
|
|
63
|
+
1. Read `.ariadna_planning/STATE.md`
|
|
64
64
|
2. Under "## Accumulated Context" → "### Roadmap Evolution" add entry:
|
|
65
65
|
```
|
|
66
66
|
- Phase {N} added: {description}
|
|
@@ -75,10 +75,10 @@ Present completion summary:
|
|
|
75
75
|
```
|
|
76
76
|
Phase {N} added to current milestone:
|
|
77
77
|
- Description: {description}
|
|
78
|
-
- Directory: .
|
|
78
|
+
- Directory: .ariadna_planning/phases/{phase-num}-{slug}/
|
|
79
79
|
- Status: Not planned yet
|
|
80
80
|
|
|
81
|
-
Roadmap updated: .
|
|
81
|
+
Roadmap updated: .ariadna_planning/ROADMAP.md
|
|
82
82
|
|
|
83
83
|
---
|
|
84
84
|
|
|
@@ -19,7 +19,7 @@ Extract from init JSON: `commit_docs`, `date`, `timestamp`, `todo_count`, `todos
|
|
|
19
19
|
|
|
20
20
|
Ensure directories exist:
|
|
21
21
|
```bash
|
|
22
|
-
mkdir -p .
|
|
22
|
+
mkdir -p .ariadna_planning/todos/pending .ariadna_planning/todos/done
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
Note existing areas from the todos array for consistency in infer_area step.
|
|
@@ -52,7 +52,7 @@ Infer area from file paths:
|
|
|
52
52
|
| `src/db/*`, `database/*` | `database` |
|
|
53
53
|
| `tests/*`, `__tests__/*` | `testing` |
|
|
54
54
|
| `docs/*` | `docs` |
|
|
55
|
-
| `.
|
|
55
|
+
| `.ariadna_planning/*` | `planning` |
|
|
56
56
|
| `scripts/*`, `bin/*` | `tooling` |
|
|
57
57
|
| No files or unclear | `general` |
|
|
58
58
|
|
|
@@ -62,7 +62,7 @@ Use existing area from step 2 if similar match exists.
|
|
|
62
62
|
<step name="check_duplicates">
|
|
63
63
|
```bash
|
|
64
64
|
# Search for key words from title in existing todos
|
|
65
|
-
grep -l -i "[key words from title]" .
|
|
65
|
+
grep -l -i "[key words from title]" .ariadna_planning/todos/pending/*.md 2>/dev/null
|
|
66
66
|
```
|
|
67
67
|
|
|
68
68
|
If potential duplicate found:
|
|
@@ -86,7 +86,7 @@ Generate slug for the title:
|
|
|
86
86
|
slug=$(ariadna-tools generate-slug "$title" --raw)
|
|
87
87
|
```
|
|
88
88
|
|
|
89
|
-
Write to `.
|
|
89
|
+
Write to `.ariadna_planning/todos/pending/${date}-${slug}.md`:
|
|
90
90
|
|
|
91
91
|
```markdown
|
|
92
92
|
---
|
|
@@ -108,7 +108,7 @@ files:
|
|
|
108
108
|
</step>
|
|
109
109
|
|
|
110
110
|
<step name="update_state">
|
|
111
|
-
If `.
|
|
111
|
+
If `.ariadna_planning/STATE.md` exists:
|
|
112
112
|
|
|
113
113
|
1. Use `todo_count` from init context (or re-run `init todos` if count changed)
|
|
114
114
|
2. Update "### Pending Todos" under "## Accumulated Context"
|
|
@@ -118,7 +118,7 @@ If `.planning/STATE.md` exists:
|
|
|
118
118
|
Commit the todo and any updated state:
|
|
119
119
|
|
|
120
120
|
```bash
|
|
121
|
-
ariadna-tools commit "docs: capture todo - [title]" --files .
|
|
121
|
+
ariadna-tools commit "docs: capture todo - [title]" --files .ariadna_planning/todos/pending/[filename] .ariadna_planning/STATE.md
|
|
122
122
|
```
|
|
123
123
|
|
|
124
124
|
Tool respects `commit_docs` config and gitignore automatically.
|
|
@@ -128,7 +128,7 @@ Confirm: "Committed: docs: capture todo - [title]"
|
|
|
128
128
|
|
|
129
129
|
<step name="confirm">
|
|
130
130
|
```
|
|
131
|
-
Todo saved: .
|
|
131
|
+
Todo saved: .ariadna_planning/todos/pending/[filename]
|
|
132
132
|
|
|
133
133
|
[title]
|
|
134
134
|
Area: [area]
|
|
@@ -38,8 +38,8 @@ ariadna-tools phases list
|
|
|
38
38
|
For each phase directory, read the VERIFICATION.md:
|
|
39
39
|
|
|
40
40
|
```bash
|
|
41
|
-
cat .
|
|
42
|
-
cat .
|
|
41
|
+
cat .ariadna_planning/phases/01-*/*-VERIFICATION.md
|
|
42
|
+
cat .ariadna_planning/phases/02-*/*-VERIFICATION.md
|
|
43
43
|
# etc.
|
|
44
44
|
```
|
|
45
45
|
|
|
@@ -85,7 +85,7 @@ For each requirement in REQUIREMENTS.md mapped to this milestone:
|
|
|
85
85
|
|
|
86
86
|
## 6. Aggregate into v{version}-MILESTONE-AUDIT.md
|
|
87
87
|
|
|
88
|
-
Create `.
|
|
88
|
+
Create `.ariadna_planning/v{version}-v{version}-MILESTONE-AUDIT.md` with:
|
|
89
89
|
|
|
90
90
|
```yaml
|
|
91
91
|
---
|
|
@@ -135,7 +135,7 @@ Output this markdown directly (not as a code block). Route based on status:
|
|
|
135
135
|
## ✓ Milestone {version} — Audit Passed
|
|
136
136
|
|
|
137
137
|
**Score:** {N}/{M} requirements satisfied
|
|
138
|
-
**Report:** .
|
|
138
|
+
**Report:** .ariadna_planning/v{version}-MILESTONE-AUDIT.md
|
|
139
139
|
|
|
140
140
|
All requirements covered. Cross-phase integration verified. E2E flows complete.
|
|
141
141
|
|
|
@@ -158,7 +158,7 @@ All requirements covered. Cross-phase integration verified. E2E flows complete.
|
|
|
158
158
|
## ⚠ Milestone {version} — Gaps Found
|
|
159
159
|
|
|
160
160
|
**Score:** {N}/{M} requirements satisfied
|
|
161
|
-
**Report:** .
|
|
161
|
+
**Report:** .ariadna_planning/v{version}-MILESTONE-AUDIT.md
|
|
162
162
|
|
|
163
163
|
### Unsatisfied Requirements
|
|
164
164
|
|
|
@@ -189,7 +189,7 @@ All requirements covered. Cross-phase integration verified. E2E flows complete.
|
|
|
189
189
|
───────────────────────────────────────────────────────────────
|
|
190
190
|
|
|
191
191
|
**Also available:**
|
|
192
|
-
- cat .
|
|
192
|
+
- cat .ariadna_planning/v{version}-MILESTONE-AUDIT.md — see full report
|
|
193
193
|
- /ariadna:complete-milestone {version} — proceed anyway (accept tech debt)
|
|
194
194
|
|
|
195
195
|
───────────────────────────────────────────────────────────────
|
|
@@ -201,7 +201,7 @@ All requirements covered. Cross-phase integration verified. E2E flows complete.
|
|
|
201
201
|
## ⚡ Milestone {version} — Tech Debt Review
|
|
202
202
|
|
|
203
203
|
**Score:** {N}/{M} requirements satisfied
|
|
204
|
-
**Report:** .
|
|
204
|
+
**Report:** .ariadna_planning/v{version}-MILESTONE-AUDIT.md
|
|
205
205
|
|
|
206
206
|
All requirements met. No critical blockers. Accumulated tech debt needs review.
|
|
207
207
|
|
|
@@ -92,7 +92,7 @@ If `files` field has entries, read and briefly summarize each.
|
|
|
92
92
|
<step name="check_roadmap">
|
|
93
93
|
Check for roadmap (can use init progress or directly check file existence):
|
|
94
94
|
|
|
95
|
-
If `.
|
|
95
|
+
If `.ariadna_planning/ROADMAP.md` exists:
|
|
96
96
|
1. Check if todo's area matches an upcoming phase
|
|
97
97
|
2. Check if todo's files overlap with a phase's scope
|
|
98
98
|
3. Note any match for action options
|
|
@@ -125,7 +125,7 @@ Use AskUserQuestion:
|
|
|
125
125
|
<step name="execute_action">
|
|
126
126
|
**Work on it now:**
|
|
127
127
|
```bash
|
|
128
|
-
mv ".
|
|
128
|
+
mv ".ariadna_planning/todos/pending/[filename]" ".ariadna_planning/todos/done/"
|
|
129
129
|
```
|
|
130
130
|
Update STATE.md todo count. Present problem/solution context. Begin work or ask how to proceed.
|
|
131
131
|
|
|
@@ -153,8 +153,8 @@ Re-run `init todos` to get updated count, then update STATE.md "### Pending Todo
|
|
|
153
153
|
If todo was moved to done/, commit the change:
|
|
154
154
|
|
|
155
155
|
```bash
|
|
156
|
-
git rm --cached .
|
|
157
|
-
ariadna-tools commit "docs: start work on todo - [title]" --files .
|
|
156
|
+
git rm --cached .ariadna_planning/todos/pending/[filename] 2>/dev/null || true
|
|
157
|
+
ariadna-tools commit "docs: start work on todo - [title]" --files .ariadna_planning/todos/done/[filename] .ariadna_planning/STATE.md
|
|
158
158
|
```
|
|
159
159
|
|
|
160
160
|
Tool respects `commit_docs` config and gitignore automatically.
|
|
@@ -8,9 +8,9 @@ Mark a shipped version (v1.0, v1.1, v2.0) as complete. Creates historical record
|
|
|
8
8
|
|
|
9
9
|
1. templates/milestone.md
|
|
10
10
|
2. templates/milestone-archive.md
|
|
11
|
-
3. `.
|
|
12
|
-
4. `.
|
|
13
|
-
5. `.
|
|
11
|
+
3. `.ariadna_planning/ROADMAP.md`
|
|
12
|
+
4. `.ariadna_planning/REQUIREMENTS.md`
|
|
13
|
+
5. `.ariadna_planning/PROJECT.md`
|
|
14
14
|
|
|
15
15
|
</required_reading>
|
|
16
16
|
|
|
@@ -18,8 +18,8 @@ Mark a shipped version (v1.0, v1.1, v2.0) as complete. Creates historical record
|
|
|
18
18
|
|
|
19
19
|
When a milestone completes:
|
|
20
20
|
|
|
21
|
-
1. Extract full milestone details to `.
|
|
22
|
-
2. Archive requirements to `.
|
|
21
|
+
1. Extract full milestone details to `.ariadna_planning/milestones/v[X.Y]-ROADMAP.md`
|
|
22
|
+
2. Archive requirements to `.ariadna_planning/milestones/v[X.Y]-REQUIREMENTS.md`
|
|
23
23
|
3. Update ROADMAP.md — replace milestone details with one-line summary
|
|
24
24
|
4. Delete REQUIREMENTS.md (fresh one for next milestone)
|
|
25
25
|
5. Perform full PROJECT.md evolution review
|
|
@@ -65,7 +65,7 @@ Total: {phase_count} phases, {total_plans} plans, all complete
|
|
|
65
65
|
<config-check>
|
|
66
66
|
|
|
67
67
|
```bash
|
|
68
|
-
cat .
|
|
68
|
+
cat .ariadna_planning/config.json 2>/dev/null
|
|
69
69
|
```
|
|
70
70
|
|
|
71
71
|
</config-check>
|
|
@@ -130,7 +130,7 @@ Extract one-liners from SUMMARY.md files using summary-extract:
|
|
|
130
130
|
|
|
131
131
|
```bash
|
|
132
132
|
# For each phase in milestone, extract one-liner
|
|
133
|
-
for summary in .
|
|
133
|
+
for summary in .ariadna_planning/phases/*-*/*-SUMMARY.md; do
|
|
134
134
|
ariadna-tools summary-extract "$summary" --fields one_liner | jq -r '.one_liner'
|
|
135
135
|
done
|
|
136
136
|
```
|
|
@@ -163,7 +163,7 @@ Full PROJECT.md evolution review at milestone completion.
|
|
|
163
163
|
Read all phase summaries:
|
|
164
164
|
|
|
165
165
|
```bash
|
|
166
|
-
cat .
|
|
166
|
+
cat .ariadna_planning/phases/*-*/*-SUMMARY.md
|
|
167
167
|
```
|
|
168
168
|
|
|
169
169
|
**Full review checklist:**
|
|
@@ -297,7 +297,7 @@ Initial user testing showed demand for shape tools.
|
|
|
297
297
|
|
|
298
298
|
<step name="reorganize_roadmap">
|
|
299
299
|
|
|
300
|
-
Update `.
|
|
300
|
+
Update `.ariadna_planning/ROADMAP.md` — group completed milestone phases:
|
|
301
301
|
|
|
302
302
|
```markdown
|
|
303
303
|
# Roadmap: [Project Name]
|
|
@@ -348,7 +348,7 @@ ARCHIVE=$(ariadna-tools milestone complete "v[X.Y]" --name "[Milestone Name]")
|
|
|
348
348
|
```
|
|
349
349
|
|
|
350
350
|
The CLI handles:
|
|
351
|
-
- Creating `.
|
|
351
|
+
- Creating `.ariadna_planning/milestones/` directory
|
|
352
352
|
- Archiving ROADMAP.md to `milestones/v[X.Y]-ROADMAP.md`
|
|
353
353
|
- Archiving REQUIREMENTS.md to `milestones/v[X.Y]-REQUIREMENTS.md` with archive header
|
|
354
354
|
- Moving audit file to milestones if it exists
|
|
@@ -357,9 +357,9 @@ The CLI handles:
|
|
|
357
357
|
|
|
358
358
|
Extract from result: `version`, `date`, `phases`, `plans`, `tasks`, `accomplishments`, `archived`.
|
|
359
359
|
|
|
360
|
-
Verify: `✅ Milestone archived to .
|
|
360
|
+
Verify: `✅ Milestone archived to .ariadna_planning/milestones/`
|
|
361
361
|
|
|
362
|
-
**Note:** Phase directories (`.
|
|
362
|
+
**Note:** Phase directories (`.ariadna_planning/phases/`) are NOT deleted — they accumulate across milestones as raw execution history. Phase numbering continues (v1.0 phases 1-4, v1.1 phases 5-8, etc.).
|
|
363
363
|
|
|
364
364
|
After archival, the AI still handles:
|
|
365
365
|
- Reorganizing ROADMAP.md with milestone grouping (requires judgment)
|
|
@@ -397,8 +397,8 @@ After `milestone complete` has archived, reorganize ROADMAP.md with milestone gr
|
|
|
397
397
|
**Then delete originals:**
|
|
398
398
|
|
|
399
399
|
```bash
|
|
400
|
-
rm .
|
|
401
|
-
rm .
|
|
400
|
+
rm .ariadna_planning/ROADMAP.md
|
|
401
|
+
rm .ariadna_planning/REQUIREMENTS.md
|
|
402
402
|
```
|
|
403
403
|
|
|
404
404
|
</step>
|
|
@@ -412,7 +412,7 @@ Most STATE.md updates were handled by `milestone complete`, but verify and updat
|
|
|
412
412
|
```markdown
|
|
413
413
|
## Project Reference
|
|
414
414
|
|
|
415
|
-
See: .
|
|
415
|
+
See: .ariadna_planning/PROJECT.md (updated [today])
|
|
416
416
|
|
|
417
417
|
**Core value:** [Current core value from PROJECT.md]
|
|
418
418
|
**Current focus:** [Next milestone or "Planning next milestone"]
|
|
@@ -543,7 +543,7 @@ Key accomplishments:
|
|
|
543
543
|
- [Item 2]
|
|
544
544
|
- [Item 3]
|
|
545
545
|
|
|
546
|
-
See .
|
|
546
|
+
See .ariadna_planning/MILESTONES.md for full details."
|
|
547
547
|
```
|
|
548
548
|
|
|
549
549
|
Confirm: "Tagged: v[X.Y]"
|
|
@@ -562,7 +562,7 @@ git push origin v[X.Y]
|
|
|
562
562
|
Commit milestone completion.
|
|
563
563
|
|
|
564
564
|
```bash
|
|
565
|
-
ariadna-tools commit "chore: complete v[X.Y] milestone" --files .
|
|
565
|
+
ariadna-tools commit "chore: complete v[X.Y] milestone" --files .ariadna_planning/milestones/v[X.Y]-ROADMAP.md .ariadna_planning/milestones/v[X.Y]-REQUIREMENTS.md .ariadna_planning/milestones/v[X.Y]-MILESTONE-AUDIT.md .ariadna_planning/MILESTONES.md .ariadna_planning/PROJECT.md .ariadna_planning/STATE.md
|
|
566
566
|
```
|
|
567
567
|
```
|
|
568
568
|
|
|
@@ -583,7 +583,7 @@ Archived:
|
|
|
583
583
|
- milestones/v[X.Y]-ROADMAP.md
|
|
584
584
|
- milestones/v[X.Y]-REQUIREMENTS.md
|
|
585
585
|
|
|
586
|
-
Summary: .
|
|
586
|
+
Summary: .ariadna_planning/MILESTONES.md
|
|
587
587
|
Tag: v[X.Y]
|
|
588
588
|
|
|
589
589
|
---
|
|
@@ -7,9 +7,9 @@ Orchestrator stays lean: parse gaps, spawn agents, collect results, update UAT.
|
|
|
7
7
|
</purpose>
|
|
8
8
|
|
|
9
9
|
<paths>
|
|
10
|
-
DEBUG_DIR=.
|
|
10
|
+
DEBUG_DIR=.ariadna_planning/debug
|
|
11
11
|
|
|
12
|
-
Debug files use the `.
|
|
12
|
+
Debug files use the `.ariadna_planning/debug/` path (hidden directory with leading dot).
|
|
13
13
|
</paths>
|
|
14
14
|
|
|
15
15
|
<core_principle>
|
|
@@ -151,14 +151,14 @@ For each gap in the Gaps section, add artifacts and missing fields:
|
|
|
151
151
|
missing:
|
|
152
152
|
- "Add after_commit callback to invalidate comment cache"
|
|
153
153
|
- "Broadcast cache update via Turbo Stream"
|
|
154
|
-
debug_session: .
|
|
154
|
+
debug_session: .ariadna_planning/debug/comment-not-refreshing.md
|
|
155
155
|
```
|
|
156
156
|
|
|
157
157
|
Update status in frontmatter to "diagnosed".
|
|
158
158
|
|
|
159
159
|
Commit the updated UAT.md:
|
|
160
160
|
```bash
|
|
161
|
-
ariadna-tools commit "docs({phase}): add root causes from diagnosis" --files ".
|
|
161
|
+
ariadna-tools commit "docs({phase}): add root causes from diagnosis" --files ".ariadna_planning/phases/XX-name/{phase}-UAT.md"
|
|
162
162
|
```
|
|
163
163
|
</step>
|
|
164
164
|
|
|
@@ -116,7 +116,7 @@ For: Choosing between options, new external integration.
|
|
|
116
116
|
|
|
117
117
|
7. Return to plan-phase.md.
|
|
118
118
|
|
|
119
|
-
**Output:** `.
|
|
119
|
+
**Output:** `.ariadna_planning/phases/XX-name/DISCOVERY.md`
|
|
120
120
|
</step>
|
|
121
121
|
|
|
122
122
|
<step name="level_3_deep_dive">
|
|
@@ -169,7 +169,7 @@ For: Architectural decisions, novel problems, high-risk choices.
|
|
|
169
169
|
|
|
170
170
|
8. Return to plan-phase.md.
|
|
171
171
|
|
|
172
|
-
**Output:** `.
|
|
172
|
+
**Output:** `.ariadna_planning/phases/XX-name/DISCOVERY.md` (comprehensive)
|
|
173
173
|
</step>
|
|
174
174
|
|
|
175
175
|
<step name="identify_unknowns">
|
|
@@ -203,7 +203,7 @@ Run the discovery:
|
|
|
203
203
|
</step>
|
|
204
204
|
|
|
205
205
|
<step name="create_discovery_output">
|
|
206
|
-
Write `.
|
|
206
|
+
Write `.ariadna_planning/phases/XX-name/DISCOVERY.md`:
|
|
207
207
|
- Summary with recommendation
|
|
208
208
|
- Key findings with sources
|
|
209
209
|
- Code examples if applicable
|
|
@@ -246,7 +246,7 @@ If "address first": Gather user input on questions, update discovery.
|
|
|
246
246
|
|
|
247
247
|
<step name="offer_next">
|
|
248
248
|
```
|
|
249
|
-
Discovery complete: .
|
|
249
|
+
Discovery complete: .ariadna_planning/phases/XX-name/DISCOVERY.md
|
|
250
250
|
Recommendation: [one-liner]
|
|
251
251
|
Confidence: [level]
|
|
252
252
|
|
|
@@ -284,7 +284,7 @@ Use values from init: `phase_dir`, `phase_slug`, `padded_phase`.
|
|
|
284
284
|
|
|
285
285
|
If `phase_dir` is null (phase exists in roadmap but no directory):
|
|
286
286
|
```bash
|
|
287
|
-
mkdir -p ".
|
|
287
|
+
mkdir -p ".ariadna_planning/phases/${padded_phase}-${phase_slug}"
|
|
288
288
|
```
|
|
289
289
|
|
|
290
290
|
**File location:** `${phase_dir}/${padded_phase}-CONTEXT.md`
|
|
@@ -350,7 +350,7 @@ Write file.
|
|
|
350
350
|
Present summary and next steps:
|
|
351
351
|
|
|
352
352
|
```
|
|
353
|
-
Created: .
|
|
353
|
+
Created: .ariadna_planning/phases/${PADDED_PHASE}-${SLUG}/${PADDED_PHASE}-CONTEXT.md
|
|
354
354
|
|
|
355
355
|
## Decisions Captured
|
|
356
356
|
|
|
@@ -23,7 +23,7 @@ Parse JSON for: `executor_model`, `verifier_model`, `commit_docs`, `parallelizat
|
|
|
23
23
|
|
|
24
24
|
**If `phase_found` is false:** Error — phase directory not found.
|
|
25
25
|
**If `plan_count` is 0:** Error — no plans found in phase.
|
|
26
|
-
**If `state_exists` is false but `.
|
|
26
|
+
**If `state_exists` is false but `.ariadna_planning/` exists:** Offer reconstruct or continue.
|
|
27
27
|
|
|
28
28
|
When `parallelization` is false, plans within a wave execute sequentially.
|
|
29
29
|
</step>
|
|
@@ -157,8 +157,8 @@ Execute each wave in sequence. Within a wave: parallel if `PARALLELIZATION=true`
|
|
|
157
157
|
<files_to_read>
|
|
158
158
|
Read these files at execution start using the Read tool:
|
|
159
159
|
- Plan: {phase_dir}/{plan_file}
|
|
160
|
-
- State: .
|
|
161
|
-
- Config: .
|
|
160
|
+
- State: .ariadna_planning/STATE.md
|
|
161
|
+
- Config: .ariadna_planning/config.json (if exists)
|
|
162
162
|
</files_to_read>
|
|
163
163
|
|
|
164
164
|
<success_criteria>
|
|
@@ -470,7 +470,7 @@ questions: [
|
|
|
470
470
|
Mark phase complete in ROADMAP.md (date, status).
|
|
471
471
|
|
|
472
472
|
```bash
|
|
473
|
-
ariadna-tools commit "docs(phase-{X}): complete phase execution" --files .
|
|
473
|
+
ariadna-tools commit "docs(phase-{X}): complete phase execution" --files .ariadna_planning/ROADMAP.md .ariadna_planning/STATE.md .ariadna_planning/phases/{phase_dir}/*-VERIFICATION.md .ariadna_planning/REQUIREMENTS.md
|
|
474
474
|
```
|
|
475
475
|
</step>
|
|
476
476
|
|
|
@@ -26,14 +26,14 @@ STATE_CONTENT=$(echo "$INIT" | jq -r '.state_content // empty')
|
|
|
26
26
|
CONFIG_CONTENT=$(echo "$INIT" | jq -r '.config_content // empty')
|
|
27
27
|
```
|
|
28
28
|
|
|
29
|
-
If `.
|
|
29
|
+
If `.ariadna_planning/` missing: error.
|
|
30
30
|
</step>
|
|
31
31
|
|
|
32
32
|
<step name="identify_plan">
|
|
33
33
|
```bash
|
|
34
34
|
# Use plans/summaries from INIT JSON, or list files
|
|
35
|
-
ls .
|
|
36
|
-
ls .
|
|
35
|
+
ls .ariadna_planning/phases/XX-name/*-PLAN.md 2>/dev/null | sort
|
|
36
|
+
ls .ariadna_planning/phases/XX-name/*-SUMMARY.md 2>/dev/null | sort
|
|
37
37
|
```
|
|
38
38
|
|
|
39
39
|
Find first PLAN without matching SUMMARY. Decimal phases supported (`01.1-hotfix/`):
|
|
@@ -61,7 +61,7 @@ PLAN_START_EPOCH=$(date +%s)
|
|
|
61
61
|
|
|
62
62
|
<step name="parse_segments">
|
|
63
63
|
```bash
|
|
64
|
-
grep -n "type=\"checkpoint" .
|
|
64
|
+
grep -n "type=\"checkpoint" .ariadna_planning/phases/XX-name/{phase}-{plan}-PLAN.md
|
|
65
65
|
```
|
|
66
66
|
|
|
67
67
|
**Routing by checkpoint type:**
|
|
@@ -83,12 +83,12 @@ Fresh context per subagent preserves peak quality. Main context stays lean.
|
|
|
83
83
|
|
|
84
84
|
<step name="init_agent_tracking">
|
|
85
85
|
```bash
|
|
86
|
-
if [ ! -f .
|
|
87
|
-
echo '{"version":"1.0","max_entries":50,"entries":[]}' > .
|
|
86
|
+
if [ ! -f .ariadna_planning/agent-history.json ]; then
|
|
87
|
+
echo '{"version":"1.0","max_entries":50,"entries":[]}' > .ariadna_planning/agent-history.json
|
|
88
88
|
fi
|
|
89
|
-
rm -f .
|
|
90
|
-
if [ -f .
|
|
91
|
-
INTERRUPTED_ID=$(cat .
|
|
89
|
+
rm -f .ariadna_planning/current-agent-id.txt
|
|
90
|
+
if [ -f .ariadna_planning/current-agent-id.txt ]; then
|
|
91
|
+
INTERRUPTED_ID=$(cat .ariadna_planning/current-agent-id.txt)
|
|
92
92
|
echo "Found interrupted agent: $INTERRUPTED_ID"
|
|
93
93
|
fi
|
|
94
94
|
```
|
|
@@ -121,14 +121,14 @@ Pattern B only (verify-only checkpoints). Skip for A/C.
|
|
|
121
121
|
|
|
122
122
|
<step name="load_prompt">
|
|
123
123
|
```bash
|
|
124
|
-
cat .
|
|
124
|
+
cat .ariadna_planning/phases/XX-name/{phase}-{plan}-PLAN.md
|
|
125
125
|
```
|
|
126
126
|
This IS the execution instructions. Follow exactly. If plan references CONTEXT.md: honor user's vision throughout.
|
|
127
127
|
</step>
|
|
128
128
|
|
|
129
129
|
<step name="previous_phase_check">
|
|
130
130
|
```bash
|
|
131
|
-
ls .
|
|
131
|
+
ls .ariadna_planning/phases/*/SUMMARY.md 2>/dev/null | sort -r | head -2 | tail -1
|
|
132
132
|
```
|
|
133
133
|
If previous SUMMARY has unresolved "Issues Encountered" or "Next Phase Readiness" blockers: AskUserQuestion(header="Previous Issues", options: "Proceed anyway" | "Address first" | "Review previous").
|
|
134
134
|
</step>
|
|
@@ -312,18 +312,18 @@ fi
|
|
|
312
312
|
|
|
313
313
|
<step name="generate_user_setup">
|
|
314
314
|
```bash
|
|
315
|
-
grep -A 50 "^user_setup:" .
|
|
315
|
+
grep -A 50 "^user_setup:" .ariadna_planning/phases/XX-name/{phase}-{plan}-PLAN.md | head -50
|
|
316
316
|
```
|
|
317
317
|
|
|
318
318
|
If user_setup exists: create `{phase}-USER-SETUP.md` using template `~/.claude/ariadna/templates/user-setup.md`. Per service: env vars table, account setup checklist, dashboard config, local dev notes, verification commands. Status "Incomplete". Set `USER_SETUP_CREATED=true`. If empty/missing: skip.
|
|
319
319
|
</step>
|
|
320
320
|
|
|
321
321
|
<step name="create_summary">
|
|
322
|
-
Create `{phase}-{plan}-SUMMARY.md` at `.
|
|
322
|
+
Create `{phase}-{plan}-SUMMARY.md` at `.ariadna_planning/phases/XX-name/`. Use `~/.claude/ariadna/templates/summary.md`.
|
|
323
323
|
|
|
324
324
|
**Frontmatter:** phase, plan, subsystem, tags | requires/provides/affects | tech-stack.added/patterns | key-files.created/modified | key-decisions | requirements_covered | duration ($DURATION), completed ($PLAN_END_TIME date).
|
|
325
325
|
|
|
326
|
-
**Requirements traceability:** Cross-reference plan tasks against `requirements_content` (from INIT, or read `.
|
|
326
|
+
**Requirements traceability:** Cross-reference plan tasks against `requirements_content` (from INIT, or read `.ariadna_planning/REQUIREMENTS.md`). For each requirement mapped to this phase that was implemented by tasks in this plan, populate the `requirements_covered` frontmatter:
|
|
327
327
|
```yaml
|
|
328
328
|
requirements_covered:
|
|
329
329
|
- id: "AUTH-01"
|
|
@@ -397,12 +397,12 @@ More plans → update plan count, keep "In progress". Last plan → mark phase "
|
|
|
397
397
|
Task code already committed per-task. Commit plan metadata:
|
|
398
398
|
|
|
399
399
|
```bash
|
|
400
|
-
ariadna-tools commit "docs({phase}-{plan}): complete [plan-name] plan" --files .
|
|
400
|
+
ariadna-tools commit "docs({phase}-{plan}): complete [plan-name] plan" --files .ariadna_planning/phases/XX-name/{phase}-{plan}-SUMMARY.md .ariadna_planning/STATE.md .ariadna_planning/ROADMAP.md
|
|
401
401
|
```
|
|
402
402
|
</step>
|
|
403
403
|
|
|
404
404
|
<step name="update_codebase_map">
|
|
405
|
-
If .
|
|
405
|
+
If .ariadna_planning/codebase/ doesn't exist: skip.
|
|
406
406
|
|
|
407
407
|
```bash
|
|
408
408
|
FIRST_TASK=$(git log --oneline --grep="feat({phase}-{plan}):" --grep="fix({phase}-{plan}):" --grep="test({phase}-{plan}):" --reverse | head -1 | cut -d' ' -f1)
|
|
@@ -412,7 +412,7 @@ git diff --name-only ${FIRST_TASK}^..HEAD 2>/dev/null
|
|
|
412
412
|
Update only structural changes: new src/ dir → STRUCTURE.md | deps → STACK.md | file pattern → CONVENTIONS.md | API client → INTEGRATIONS.md | config → STACK.md | renamed → update paths. Skip code-only/bugfix/content changes.
|
|
413
413
|
|
|
414
414
|
```bash
|
|
415
|
-
ariadna-tools commit "" --files .
|
|
415
|
+
ariadna-tools commit "" --files .ariadna_planning/codebase/*.md --amend
|
|
416
416
|
```
|
|
417
417
|
</step>
|
|
418
418
|
|
|
@@ -420,8 +420,8 @@ ariadna-tools commit "" --files .planning/codebase/*.md --amend
|
|
|
420
420
|
If `USER_SETUP_CREATED=true`: display `⚠️ USER SETUP REQUIRED` with path + env/config tasks at TOP.
|
|
421
421
|
|
|
422
422
|
```bash
|
|
423
|
-
ls -1 .
|
|
424
|
-
ls -1 .
|
|
423
|
+
ls -1 .ariadna_planning/phases/[current-phase-dir]/*-PLAN.md 2>/dev/null | wc -l
|
|
424
|
+
ls -1 .ariadna_planning/phases/[current-phase-dir]/*-SUMMARY.md 2>/dev/null | wc -l
|
|
425
425
|
```
|
|
426
426
|
|
|
427
427
|
| Condition | Route | Action |
|