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
|
@@ -13,7 +13,7 @@ Find current phase directory from most recently modified files:
|
|
|
13
13
|
|
|
14
14
|
```bash
|
|
15
15
|
# Find most recent phase directory with work
|
|
16
|
-
ls -lt .
|
|
16
|
+
ls -lt .ariadna_planning/phases/*/PLAN.md 2>/dev/null | head -1 | grep -oP 'phases/\K[^/]+'
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
If no active phase detected, ask user which phase they're pausing work on.
|
|
@@ -34,7 +34,7 @@ Ask user for clarifications if needed via conversational questions.
|
|
|
34
34
|
</step>
|
|
35
35
|
|
|
36
36
|
<step name="write">
|
|
37
|
-
**Write handoff to `.
|
|
37
|
+
**Write handoff to `.ariadna_planning/phases/XX-name/.continue-here.md`:**
|
|
38
38
|
|
|
39
39
|
```markdown
|
|
40
40
|
---
|
|
@@ -92,13 +92,13 @@ timestamp=$(ariadna-tools current-timestamp full --raw)
|
|
|
92
92
|
|
|
93
93
|
<step name="commit">
|
|
94
94
|
```bash
|
|
95
|
-
ariadna-tools commit "wip: [phase-name] paused at task [X]/[Y]" --files .
|
|
95
|
+
ariadna-tools commit "wip: [phase-name] paused at task [X]/[Y]" --files .ariadna_planning/phases/*/.continue-here.md
|
|
96
96
|
```
|
|
97
97
|
</step>
|
|
98
98
|
|
|
99
99
|
<step name="confirm">
|
|
100
100
|
```
|
|
101
|
-
✓ Handoff created: .
|
|
101
|
+
✓ Handoff created: .ariadna_planning/phases/[XX-name]/.continue-here.md
|
|
102
102
|
|
|
103
103
|
Current state:
|
|
104
104
|
|
|
@@ -12,7 +12,7 @@ Read all files referenced by the invoking prompt's execution_context before star
|
|
|
12
12
|
|
|
13
13
|
```bash
|
|
14
14
|
# Find the most recent audit file
|
|
15
|
-
ls -t .
|
|
15
|
+
ls -t .ariadna_planning/v*-MILESTONE-AUDIT.md 2>/dev/null | head -1
|
|
16
16
|
```
|
|
17
17
|
|
|
18
18
|
Parse YAML frontmatter to extract structured gaps:
|
|
@@ -126,13 +126,13 @@ Add new phases to current milestone:
|
|
|
126
126
|
## 7. Create Phase Directories
|
|
127
127
|
|
|
128
128
|
```bash
|
|
129
|
-
mkdir -p ".
|
|
129
|
+
mkdir -p ".ariadna_planning/phases/{NN}-{name}"
|
|
130
130
|
```
|
|
131
131
|
|
|
132
132
|
## 8. Commit Roadmap Update
|
|
133
133
|
|
|
134
134
|
```bash
|
|
135
|
-
ariadna-tools commit "docs(roadmap): add gap closure phases {N}-{M}" --files .
|
|
135
|
+
ariadna-tools commit "docs(roadmap): add gap closure phases {N}-{M}" --files .ariadna_planning/ROADMAP.md
|
|
136
136
|
```
|
|
137
137
|
|
|
138
138
|
## 9. Offer Next Steps
|
|
@@ -157,7 +157,7 @@ ariadna-tools commit "docs(roadmap): add gap closure phases {N}-{M}" --files .pl
|
|
|
157
157
|
|
|
158
158
|
**Also available:**
|
|
159
159
|
- `/ariadna:execute-phase {N}` — if plans already exist
|
|
160
|
-
- `cat .
|
|
160
|
+
- `cat .ariadna_planning/ROADMAP.md` — see updated roadmap
|
|
161
161
|
|
|
162
162
|
---
|
|
163
163
|
|
|
@@ -33,7 +33,7 @@ Extract from $ARGUMENTS: phase number (integer or decimal like `2.1`), flags (`-
|
|
|
33
33
|
|
|
34
34
|
**If `phase_found` is false:** Validate phase exists in ROADMAP.md. If valid, create the directory using `phase_slug` and `padded_phase` from init:
|
|
35
35
|
```bash
|
|
36
|
-
mkdir -p ".
|
|
36
|
+
mkdir -p ".ariadna_planning/phases/${padded_phase}-${phase_slug}"
|
|
37
37
|
```
|
|
38
38
|
|
|
39
39
|
**Existing artifacts from init:** `has_research`, `has_plans`, `plan_count`.
|
|
@@ -427,14 +427,14 @@ Verification: {Passed | Passed with fixes | Skipped}
|
|
|
427
427
|
───────────────────────────────────────────────────────────────
|
|
428
428
|
|
|
429
429
|
**Also available:**
|
|
430
|
-
- cat .
|
|
430
|
+
- cat .ariadna_planning/phases/{phase-dir}/*-PLAN.md — review plans
|
|
431
431
|
- /ariadna:plan-phase {X} --research — re-research first
|
|
432
432
|
|
|
433
433
|
───────────────────────────────────────────────────────────────
|
|
434
434
|
</offer_next>
|
|
435
435
|
|
|
436
436
|
<success_criteria>
|
|
437
|
-
- [ ] .
|
|
437
|
+
- [ ] .ariadna_planning/ directory validated
|
|
438
438
|
- [ ] Phase validated against roadmap
|
|
439
439
|
- [ ] Phase directory created if needed
|
|
440
440
|
- [ ] Context handled: existing CONTEXT.md used, inline gathering offered, or skipped
|
|
@@ -19,7 +19,7 @@ Extract from init JSON: `project_exists`, `roadmap_exists`, `state_exists`, `pha
|
|
|
19
19
|
|
|
20
20
|
**File contents (from --include):** `state_content`, `roadmap_content`, `project_content`, `config_content`. These are null if files don't exist.
|
|
21
21
|
|
|
22
|
-
If `project_exists` is false (no `.
|
|
22
|
+
If `project_exists` is false (no `.ariadna_planning/` directory):
|
|
23
23
|
|
|
24
24
|
```
|
|
25
25
|
No planning structure found.
|
|
@@ -85,7 +85,7 @@ Use this instead of manually reading/parsing ROADMAP.md.
|
|
|
85
85
|
- Use phase-level `has_context` and `has_research` flags from analyze
|
|
86
86
|
- Note `paused_at` if work was paused (from init context)
|
|
87
87
|
- Count pending todos: use `init todos` or `list-todos`
|
|
88
|
-
- Check for active debug sessions: `ls .
|
|
88
|
+
- Check for active debug sessions: `ls .ariadna_planning/debug/*.md 2>/dev/null | grep -v resolved | wc -l`
|
|
89
89
|
</step>
|
|
90
90
|
|
|
91
91
|
<step name="report">
|
|
@@ -141,9 +141,9 @@ CONTEXT: [✓ if has_context | - if not]
|
|
|
141
141
|
List files in the current phase directory:
|
|
142
142
|
|
|
143
143
|
```bash
|
|
144
|
-
ls -1 .
|
|
145
|
-
ls -1 .
|
|
146
|
-
ls -1 .
|
|
144
|
+
ls -1 .ariadna_planning/phases/[current-phase-dir]/*-PLAN.md 2>/dev/null | wc -l
|
|
145
|
+
ls -1 .ariadna_planning/phases/[current-phase-dir]/*-SUMMARY.md 2>/dev/null | wc -l
|
|
146
|
+
ls -1 .ariadna_planning/phases/[current-phase-dir]/*-UAT.md 2>/dev/null | wc -l
|
|
147
147
|
```
|
|
148
148
|
|
|
149
149
|
State: "This phase has {X} plans, {Y} summaries."
|
|
@@ -154,7 +154,7 @@ Check for UAT.md files with status "diagnosed" (has gaps needing fixes).
|
|
|
154
154
|
|
|
155
155
|
```bash
|
|
156
156
|
# Check for diagnosed UAT with gaps
|
|
157
|
-
grep -l "status: diagnosed" .
|
|
157
|
+
grep -l "status: diagnosed" .ariadna_planning/phases/[current-phase-dir]/*-UAT.md 2>/dev/null
|
|
158
158
|
```
|
|
159
159
|
|
|
160
160
|
Track:
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<purpose>
|
|
2
|
-
Execute small, ad-hoc tasks with Ariadna guarantees (atomic commits, STATE.md tracking) while skipping optional agents (research, plan-checker, verifier). Quick mode spawns ariadna-planner (quick mode) + ariadna-executor(s), tracks tasks in `.
|
|
2
|
+
Execute small, ad-hoc tasks with Ariadna guarantees (atomic commits, STATE.md tracking) while skipping optional agents (research, plan-checker, verifier). Quick mode spawns ariadna-planner (quick mode) + ariadna-executor(s), tracks tasks in `.ariadna_planning/quick/`, and updates STATE.md's "Quick Tasks Completed" table.
|
|
3
3
|
</purpose>
|
|
4
4
|
|
|
5
5
|
<required_reading>
|
|
@@ -52,7 +52,7 @@ mkdir -p "${task_dir}"
|
|
|
52
52
|
Create the directory for this quick task:
|
|
53
53
|
|
|
54
54
|
```bash
|
|
55
|
-
QUICK_DIR=".
|
|
55
|
+
QUICK_DIR=".ariadna_planning/quick/${next_num}-${slug}"
|
|
56
56
|
mkdir -p "$QUICK_DIR"
|
|
57
57
|
```
|
|
58
58
|
|
|
@@ -80,7 +80,7 @@ Task(
|
|
|
80
80
|
**Description:** ${DESCRIPTION}
|
|
81
81
|
|
|
82
82
|
**Project State:**
|
|
83
|
-
@.
|
|
83
|
+
@.ariadna_planning/STATE.md
|
|
84
84
|
|
|
85
85
|
</planning_context>
|
|
86
86
|
|
|
@@ -121,7 +121,7 @@ Task(
|
|
|
121
121
|
Execute quick task ${next_num}.
|
|
122
122
|
|
|
123
123
|
Plan: @${QUICK_DIR}/${next_num}-PLAN.md
|
|
124
|
-
Project state: @.
|
|
124
|
+
Project state: @.ariadna_planning/STATE.md
|
|
125
125
|
|
|
126
126
|
<constraints>
|
|
127
127
|
- Execute all tasks in the plan
|
|
@@ -191,7 +191,7 @@ Use Edit tool to make these changes atomically
|
|
|
191
191
|
Stage and commit quick task artifacts:
|
|
192
192
|
|
|
193
193
|
```bash
|
|
194
|
-
ariadna-tools commit "docs(quick-${next_num}): ${DESCRIPTION}" --files ${QUICK_DIR}/${next_num}-PLAN.md ${QUICK_DIR}/${next_num}-SUMMARY.md .
|
|
194
|
+
ariadna-tools commit "docs(quick-${next_num}): ${DESCRIPTION}" --files ${QUICK_DIR}/${next_num}-PLAN.md ${QUICK_DIR}/${next_num}-SUMMARY.md .ariadna_planning/STATE.md
|
|
195
195
|
```
|
|
196
196
|
|
|
197
197
|
Get final commit hash:
|
|
@@ -222,7 +222,7 @@ Ready for next task: /ariadna:quick
|
|
|
222
222
|
- [ ] User provides task description
|
|
223
223
|
- [ ] Slug generated (lowercase, hyphens, max 40 chars)
|
|
224
224
|
- [ ] Next number calculated (001, 002, 003...)
|
|
225
|
-
- [ ] Directory created at `.
|
|
225
|
+
- [ ] Directory created at `.ariadna_planning/quick/NNN-slug/`
|
|
226
226
|
- [ ] `${next_num}-PLAN.md` created by planner
|
|
227
227
|
- [ ] `${next_num}-SUMMARY.md` created by executor
|
|
228
228
|
- [ ] STATE.md updated with quick task row
|
|
@@ -65,7 +65,7 @@ Present removal summary and confirm:
|
|
|
65
65
|
Removing Phase {target}: {Name}
|
|
66
66
|
|
|
67
67
|
This will:
|
|
68
|
-
- Delete: .
|
|
68
|
+
- Delete: .ariadna_planning/phases/{target}-{slug}/
|
|
69
69
|
- Renumber all subsequent phases
|
|
70
70
|
- Update: ROADMAP.md, STATE.md
|
|
71
71
|
|
|
@@ -102,7 +102,7 @@ Extract from result: `removed`, `directory_deleted`, `renamed_directories`, `ren
|
|
|
102
102
|
Stage and commit the removal:
|
|
103
103
|
|
|
104
104
|
```bash
|
|
105
|
-
ariadna-tools commit "chore: remove phase {target} ({original-phase-name})" --files .
|
|
105
|
+
ariadna-tools commit "chore: remove phase {target} ({original-phase-name})" --files .ariadna_planning/
|
|
106
106
|
```
|
|
107
107
|
|
|
108
108
|
The commit message preserves the historical record of what was removed.
|
|
@@ -115,7 +115,7 @@ Present completion summary:
|
|
|
115
115
|
Phase {target} ({original-name}) removed.
|
|
116
116
|
|
|
117
117
|
Changes:
|
|
118
|
-
- Deleted: .
|
|
118
|
+
- Deleted: .ariadna_planning/phases/{target}-{slug}/
|
|
119
119
|
- Renumbered: {N} directories and {M} files
|
|
120
120
|
- Updated: ROADMAP.md, STATE.md
|
|
121
121
|
- Committed: chore: remove phase {target} ({original-name})
|
|
@@ -26,7 +26,7 @@ If `found` is false: Error and exit.
|
|
|
26
26
|
## Step 2: Check Existing Research
|
|
27
27
|
|
|
28
28
|
```bash
|
|
29
|
-
ls .
|
|
29
|
+
ls .ariadna_planning/phases/${PHASE}-*/RESEARCH.md 2>/dev/null
|
|
30
30
|
```
|
|
31
31
|
|
|
32
32
|
If exists: Offer update/view/skip options.
|
|
@@ -36,8 +36,8 @@ If exists: Offer update/view/skip options.
|
|
|
36
36
|
```bash
|
|
37
37
|
# Phase section from roadmap (already loaded in PHASE_INFO)
|
|
38
38
|
echo "$PHASE_INFO" | jq -r '.section'
|
|
39
|
-
cat .
|
|
40
|
-
cat .
|
|
39
|
+
cat .ariadna_planning/REQUIREMENTS.md 2>/dev/null
|
|
40
|
+
cat .ariadna_planning/phases/${PHASE}-*/*-CONTEXT.md 2>/dev/null
|
|
41
41
|
# Decisions from state-snapshot (structured JSON)
|
|
42
42
|
ariadna-tools state-snapshot | jq '.decisions'
|
|
43
43
|
```
|
|
@@ -58,7 +58,7 @@ Phase context: {context_md}
|
|
|
58
58
|
</context>
|
|
59
59
|
|
|
60
60
|
<output>
|
|
61
|
-
Write to: .
|
|
61
|
+
Write to: .ariadna_planning/phases/${PHASE}-{slug}/${PHASE}-RESEARCH.md
|
|
62
62
|
</output>",
|
|
63
63
|
subagent_type="ariadna-phase-researcher",
|
|
64
64
|
model="{researcher_model}"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Use this workflow when:
|
|
3
3
|
- Starting a new session on an existing project
|
|
4
4
|
- User says "continue", "what's next", "where were we", "resume"
|
|
5
|
-
- Any planning operation when .
|
|
5
|
+
- Any planning operation when .ariadna_planning/ already exists
|
|
6
6
|
- User returns after time away from project
|
|
7
7
|
</trigger>
|
|
8
8
|
|
|
@@ -35,8 +35,8 @@ Parse JSON for: `state_exists`, `roadmap_exists`, `project_exists`, `planning_ex
|
|
|
35
35
|
Read and parse STATE.md, then PROJECT.md:
|
|
36
36
|
|
|
37
37
|
```bash
|
|
38
|
-
cat .
|
|
39
|
-
cat .
|
|
38
|
+
cat .ariadna_planning/STATE.md
|
|
39
|
+
cat .ariadna_planning/PROJECT.md
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
**From STATE.md extract:**
|
|
@@ -63,10 +63,10 @@ Look for incomplete work that needs attention:
|
|
|
63
63
|
|
|
64
64
|
```bash
|
|
65
65
|
# Check for continue-here files (mid-plan resumption)
|
|
66
|
-
ls .
|
|
66
|
+
ls .ariadna_planning/phases/*/.continue-here*.md 2>/dev/null
|
|
67
67
|
|
|
68
68
|
# Check for plans without summaries (incomplete execution)
|
|
69
|
-
for plan in .
|
|
69
|
+
for plan in .ariadna_planning/phases/*/*-PLAN.md; do
|
|
70
70
|
summary="${plan/PLAN/SUMMARY}"
|
|
71
71
|
[ ! -f "$summary" ] && echo "Incomplete: $plan"
|
|
72
72
|
done 2>/dev/null
|
|
@@ -196,7 +196,7 @@ What would you like to do?
|
|
|
196
196
|
**Note:** When offering phase planning, check for CONTEXT.md existence first:
|
|
197
197
|
|
|
198
198
|
```bash
|
|
199
|
-
ls .
|
|
199
|
+
ls .ariadna_planning/phases/XX-name/*-CONTEXT.md 2>/dev/null
|
|
200
200
|
```
|
|
201
201
|
|
|
202
202
|
If missing, suggest discuss-phase before plan. If exists, offer plan directly.
|
|
@@ -242,7 +242,7 @@ Based on user selection, route to appropriate workflow:
|
|
|
242
242
|
---
|
|
243
243
|
```
|
|
244
244
|
- **Transition** → ./transition.md
|
|
245
|
-
- **Check todos** → Read .
|
|
245
|
+
- **Check todos** → Read .ariadna_planning/todos/pending/, present summary
|
|
246
246
|
- **Review alignment** → Read PROJECT.md, compare to current state
|
|
247
247
|
- **Something else** → Ask what they need
|
|
248
248
|
</step>
|
|
@@ -273,7 +273,7 @@ If STATE.md is missing but other artifacts exist:
|
|
|
273
273
|
1. Read PROJECT.md → Extract "What This Is" and Core Value
|
|
274
274
|
2. Read ROADMAP.md → Determine phases, find current position
|
|
275
275
|
3. Scan \*-SUMMARY.md files → Extract decisions, concerns
|
|
276
|
-
4. Count pending todos in .
|
|
276
|
+
4. Count pending todos in .ariadna_planning/todos/pending/
|
|
277
277
|
5. Check for .continue-here files → Session continuity
|
|
278
278
|
|
|
279
279
|
Reconstruct and write STATE.md, then proceed normally.
|
|
@@ -282,7 +282,7 @@ This handles cases where:
|
|
|
282
282
|
|
|
283
283
|
- Project predates STATE.md introduction
|
|
284
284
|
- File was accidentally deleted
|
|
285
|
-
- Cloning repo without full .
|
|
285
|
+
- Cloning repo without full .ariadna_planning/ state
|
|
286
286
|
</reconstruction>
|
|
287
287
|
|
|
288
288
|
<quick_resume>
|
|
@@ -27,7 +27,7 @@ ariadna-tools config-ensure-section
|
|
|
27
27
|
INIT=$(ariadna-tools state load)
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
This creates `.
|
|
30
|
+
This creates `.ariadna_planning/config.json` with defaults if missing and loads current config.
|
|
31
31
|
</step>
|
|
32
32
|
|
|
33
33
|
<step name="update_config">
|
|
@@ -40,7 +40,7 @@ Update `model_profile` field:
|
|
|
40
40
|
}
|
|
41
41
|
```
|
|
42
42
|
|
|
43
|
-
Write updated config back to `.
|
|
43
|
+
Write updated config back to `.ariadna_planning/config.json`.
|
|
44
44
|
</step>
|
|
45
45
|
|
|
46
46
|
<step name="confirm">
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<purpose>
|
|
2
|
-
Interactive configuration of Ariadna workflow agents (research, plan_check, verifier) and model profile selection via multi-question prompt. Updates .
|
|
2
|
+
Interactive configuration of Ariadna workflow agents (research, plan_check, verifier) and model profile selection via multi-question prompt. Updates .ariadna_planning/config.json with user preferences.
|
|
3
3
|
</purpose>
|
|
4
4
|
|
|
5
5
|
<required_reading>
|
|
@@ -16,12 +16,12 @@ ariadna-tools config-ensure-section
|
|
|
16
16
|
INIT=$(ariadna-tools state load)
|
|
17
17
|
```
|
|
18
18
|
|
|
19
|
-
Creates `.
|
|
19
|
+
Creates `.ariadna_planning/config.json` with defaults if missing and loads current config values.
|
|
20
20
|
</step>
|
|
21
21
|
|
|
22
22
|
<step name="read_current">
|
|
23
23
|
```bash
|
|
24
|
-
cat .
|
|
24
|
+
cat .ariadna_planning/config.json
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
Parse current values (default to `true` if not present):
|
|
@@ -106,7 +106,7 @@ Merge new settings into existing config.json:
|
|
|
106
106
|
}
|
|
107
107
|
```
|
|
108
108
|
|
|
109
|
-
Write updated config to `.
|
|
109
|
+
Write updated config to `.ariadna_planning/config.json`.
|
|
110
110
|
</step>
|
|
111
111
|
|
|
112
112
|
<step name="confirm">
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
**Read these files NOW:**
|
|
4
4
|
|
|
5
|
-
1. `.
|
|
6
|
-
2. `.
|
|
7
|
-
3. `.
|
|
5
|
+
1. `.ariadna_planning/STATE.md`
|
|
6
|
+
2. `.ariadna_planning/PROJECT.md`
|
|
7
|
+
3. `.ariadna_planning/ROADMAP.md`
|
|
8
8
|
4. Current phase's plan files (`*-PLAN.md`)
|
|
9
9
|
5. Current phase's summary files (`*-SUMMARY.md`)
|
|
10
10
|
|
|
@@ -25,8 +25,8 @@ Mark current phase complete and advance to next. This is the natural point where
|
|
|
25
25
|
Before transition, read project state:
|
|
26
26
|
|
|
27
27
|
```bash
|
|
28
|
-
cat .
|
|
29
|
-
cat .
|
|
28
|
+
cat .ariadna_planning/STATE.md 2>/dev/null
|
|
29
|
+
cat .ariadna_planning/PROJECT.md 2>/dev/null
|
|
30
30
|
```
|
|
31
31
|
|
|
32
32
|
Parse current position to verify we're transitioning the right phase.
|
|
@@ -39,8 +39,8 @@ Note accumulated context that may need updating after transition.
|
|
|
39
39
|
Check current phase has all plan summaries:
|
|
40
40
|
|
|
41
41
|
```bash
|
|
42
|
-
ls .
|
|
43
|
-
ls .
|
|
42
|
+
ls .ariadna_planning/phases/XX-current/*-PLAN.md 2>/dev/null | sort
|
|
43
|
+
ls .ariadna_planning/phases/XX-current/*-SUMMARY.md 2>/dev/null | sort
|
|
44
44
|
```
|
|
45
45
|
|
|
46
46
|
**Verification logic:**
|
|
@@ -53,7 +53,7 @@ ls .planning/phases/XX-current/*-SUMMARY.md 2>/dev/null | sort
|
|
|
53
53
|
<config-check>
|
|
54
54
|
|
|
55
55
|
```bash
|
|
56
|
-
cat .
|
|
56
|
+
cat .ariadna_planning/config.json 2>/dev/null
|
|
57
57
|
```
|
|
58
58
|
|
|
59
59
|
</config-check>
|
|
@@ -111,7 +111,7 @@ Wait for user decision.
|
|
|
111
111
|
Check for lingering handoffs:
|
|
112
112
|
|
|
113
113
|
```bash
|
|
114
|
-
ls .
|
|
114
|
+
ls .ariadna_planning/phases/XX-current/.continue-here*.md 2>/dev/null
|
|
115
115
|
```
|
|
116
116
|
|
|
117
117
|
If found, delete them — phase is complete, handoffs are stale.
|
|
@@ -151,7 +151,7 @@ Evolve PROJECT.md to reflect learnings from completed phase.
|
|
|
151
151
|
**Read phase summaries:**
|
|
152
152
|
|
|
153
153
|
```bash
|
|
154
|
-
cat .
|
|
154
|
+
cat .ariadna_planning/phases/XX-current/*-SUMMARY.md
|
|
155
155
|
```
|
|
156
156
|
|
|
157
157
|
**Assess requirement changes:**
|
|
@@ -259,7 +259,7 @@ Update Project Reference section in STATE.md.
|
|
|
259
259
|
```markdown
|
|
260
260
|
## Project Reference
|
|
261
261
|
|
|
262
|
-
See: .
|
|
262
|
+
See: .ariadna_planning/PROJECT.md (updated [today])
|
|
263
263
|
|
|
264
264
|
**Core value:** [Current core value from PROJECT.md]
|
|
265
265
|
**Current focus:** [Next phase name]
|
|
@@ -36,7 +36,7 @@ Extract from init JSON: `phase_dir`, `phase_number`, `phase_name`, `has_plans`,
|
|
|
36
36
|
Then load phase details and list plans/summaries:
|
|
37
37
|
```bash
|
|
38
38
|
ariadna-tools roadmap get-phase "${phase_number}"
|
|
39
|
-
grep -E "^| ${phase_number}" .
|
|
39
|
+
grep -E "^| ${phase_number}" .ariadna_planning/REQUIREMENTS.md 2>/dev/null
|
|
40
40
|
ls "$phase_dir"/*-SUMMARY.md "$phase_dir"/*-PLAN.md 2>/dev/null
|
|
41
41
|
```
|
|
42
42
|
|
|
@@ -143,7 +143,7 @@ Record status and evidence for each key link.
|
|
|
143
143
|
<step name="verify_requirements">
|
|
144
144
|
If REQUIREMENTS.md exists:
|
|
145
145
|
```bash
|
|
146
|
-
grep -E "Phase ${PHASE_NUM}" .
|
|
146
|
+
grep -E "Phase ${PHASE_NUM}" .ariadna_planning/REQUIREMENTS.md 2>/dev/null
|
|
147
147
|
```
|
|
148
148
|
|
|
149
149
|
For each requirement: parse description → identify supporting truths/artifacts → status: ✓ SATISFIED / ✗ BLOCKED / ? NEEDS HUMAN.
|
|
@@ -34,7 +34,7 @@ Parse JSON for: `planner_model`, `checker_model`, `commit_docs`, `phase_found`,
|
|
|
34
34
|
**First: Check for active UAT sessions**
|
|
35
35
|
|
|
36
36
|
```bash
|
|
37
|
-
find .
|
|
37
|
+
find .ariadna_planning/phases -name "*-UAT.md" -type f 2>/dev/null | head -5
|
|
38
38
|
```
|
|
39
39
|
|
|
40
40
|
**If active sessions exist AND no $ARGUMENTS provided:**
|
|
@@ -164,7 +164,7 @@ skipped: 0
|
|
|
164
164
|
[none yet]
|
|
165
165
|
```
|
|
166
166
|
|
|
167
|
-
Write to `.
|
|
167
|
+
Write to `.ariadna_planning/phases/XX-name/{phase}-UAT.md`
|
|
168
168
|
|
|
169
169
|
Proceed to `present_test`.
|
|
170
170
|
</step>
|
|
@@ -292,7 +292,7 @@ Clear Current Test section:
|
|
|
292
292
|
|
|
293
293
|
Commit the UAT file:
|
|
294
294
|
```bash
|
|
295
|
-
ariadna-tools commit "test({phase}): complete UAT - {passed} passed, {issues} issues" --files ".
|
|
295
|
+
ariadna-tools commit "test({phase}): complete UAT - {passed} passed, {issues} issues" --files ".ariadna_planning/phases/XX-name/{phase}-UAT.md"
|
|
296
296
|
```
|
|
297
297
|
|
|
298
298
|
Present summary:
|
|
@@ -366,13 +366,13 @@ Task(
|
|
|
366
366
|
**Mode:** gap_closure
|
|
367
367
|
|
|
368
368
|
**UAT with diagnoses:**
|
|
369
|
-
@.
|
|
369
|
+
@.ariadna_planning/phases/{phase_dir}/{phase}-UAT.md
|
|
370
370
|
|
|
371
371
|
**Project State:**
|
|
372
|
-
@.
|
|
372
|
+
@.ariadna_planning/STATE.md
|
|
373
373
|
|
|
374
374
|
**Roadmap:**
|
|
375
|
-
@.
|
|
375
|
+
@.ariadna_planning/ROADMAP.md
|
|
376
376
|
|
|
377
377
|
</planning_context>
|
|
378
378
|
|
|
@@ -417,7 +417,7 @@ Task(
|
|
|
417
417
|
**Phase Goal:** Close diagnosed gaps from UAT
|
|
418
418
|
|
|
419
419
|
**Plans to verify:**
|
|
420
|
-
@.
|
|
420
|
+
@.ariadna_planning/phases/{phase_dir}/*-PLAN.md
|
|
421
421
|
|
|
422
422
|
</verification_context>
|
|
423
423
|
|
|
@@ -456,7 +456,7 @@ Task(
|
|
|
456
456
|
**Mode:** revision
|
|
457
457
|
|
|
458
458
|
**Existing plans:**
|
|
459
|
-
@.
|
|
459
|
+
@.ariadna_planning/phases/{phase_dir}/*-PLAN.md
|
|
460
460
|
|
|
461
461
|
**Checker issues:**
|
|
462
462
|
{structured_issues_from_checker}
|
|
@@ -19,8 +19,8 @@ Routes to the add-phase workflow which handles:
|
|
|
19
19
|
</objective>
|
|
20
20
|
|
|
21
21
|
<execution_context>
|
|
22
|
-
@.
|
|
23
|
-
@.
|
|
22
|
+
@.ariadna_planning/ROADMAP.md
|
|
23
|
+
@.ariadna_planning/STATE.md
|
|
24
24
|
@~/.claude/ariadna/workflows/add-phase.md
|
|
25
25
|
</execution_context>
|
|
26
26
|
|
|
@@ -24,16 +24,16 @@ Verify milestone achieved its definition of done. Check requirements coverage, c
|
|
|
24
24
|
Version: $ARGUMENTS (optional — defaults to current milestone)
|
|
25
25
|
|
|
26
26
|
**Original Intent:**
|
|
27
|
-
@.
|
|
28
|
-
@.
|
|
27
|
+
@.ariadna_planning/PROJECT.md
|
|
28
|
+
@.ariadna_planning/REQUIREMENTS.md
|
|
29
29
|
|
|
30
30
|
**Planned Work:**
|
|
31
|
-
@.
|
|
32
|
-
@.
|
|
31
|
+
@.ariadna_planning/ROADMAP.md
|
|
32
|
+
@.ariadna_planning/config.json (if exists)
|
|
33
33
|
|
|
34
34
|
**Completed Work:**
|
|
35
|
-
Glob: .
|
|
36
|
-
Glob: .
|
|
35
|
+
Glob: .ariadna_planning/phases/*/*-SUMMARY.md
|
|
36
|
+
Glob: .ariadna_planning/phases/*/*-VERIFICATION.md
|
|
37
37
|
</context>
|
|
38
38
|
|
|
39
39
|
<process>
|
|
@@ -21,8 +21,8 @@ Routes to the check-todos workflow which handles:
|
|
|
21
21
|
</objective>
|
|
22
22
|
|
|
23
23
|
<execution_context>
|
|
24
|
-
@.
|
|
25
|
-
@.
|
|
24
|
+
@.ariadna_planning/STATE.md
|
|
25
|
+
@.ariadna_planning/ROADMAP.md
|
|
26
26
|
@~/.claude/ariadna/workflows/check-todos.md
|
|
27
27
|
</execution_context>
|
|
28
28
|
|
|
@@ -25,10 +25,10 @@ Output: Milestone archived (roadmap + requirements), PROJECT.md evolved, git tag
|
|
|
25
25
|
|
|
26
26
|
<context>
|
|
27
27
|
**Project files:**
|
|
28
|
-
- `.
|
|
29
|
-
- `.
|
|
30
|
-
- `.
|
|
31
|
-
- `.
|
|
28
|
+
- `.ariadna_planning/ROADMAP.md`
|
|
29
|
+
- `.ariadna_planning/REQUIREMENTS.md`
|
|
30
|
+
- `.ariadna_planning/STATE.md`
|
|
31
|
+
- `.ariadna_planning/PROJECT.md`
|
|
32
32
|
|
|
33
33
|
**User input:**
|
|
34
34
|
|
|
@@ -41,7 +41,7 @@ Output: Milestone archived (roadmap + requirements), PROJECT.md evolved, git tag
|
|
|
41
41
|
|
|
42
42
|
0. **Check for audit:**
|
|
43
43
|
|
|
44
|
-
- Look for `.
|
|
44
|
+
- Look for `.ariadna_planning/v{{version}}-MILESTONE-AUDIT.md`
|
|
45
45
|
- If missing or stale: recommend `/ariadna:audit-milestone` first
|
|
46
46
|
- If audit status is `gaps_found`: recommend `/ariadna:plan-milestone-gaps` first
|
|
47
47
|
- If audit status is `passed`: proceed to step 1
|
|
@@ -82,17 +82,17 @@ Output: Milestone archived (roadmap + requirements), PROJECT.md evolved, git tag
|
|
|
82
82
|
|
|
83
83
|
4. **Archive milestone:**
|
|
84
84
|
|
|
85
|
-
- Create `.
|
|
85
|
+
- Create `.ariadna_planning/milestones/v{{version}}-ROADMAP.md`
|
|
86
86
|
- Extract full phase details from ROADMAP.md
|
|
87
87
|
- Fill milestone-archive.md template
|
|
88
88
|
- Update ROADMAP.md to one-line summary with link
|
|
89
89
|
|
|
90
90
|
5. **Archive requirements:**
|
|
91
91
|
|
|
92
|
-
- Create `.
|
|
92
|
+
- Create `.ariadna_planning/milestones/v{{version}}-REQUIREMENTS.md`
|
|
93
93
|
- Mark all v1 requirements as complete (checkboxes checked)
|
|
94
94
|
- Note requirement outcomes (validated, adjusted, dropped)
|
|
95
|
-
- Delete `.
|
|
95
|
+
- Delete `.ariadna_planning/REQUIREMENTS.md` (fresh one created for next milestone)
|
|
96
96
|
|
|
97
97
|
6. **Update PROJECT.md:**
|
|
98
98
|
|
|
@@ -114,9 +114,9 @@ Output: Milestone archived (roadmap + requirements), PROJECT.md evolved, git tag
|
|
|
114
114
|
|
|
115
115
|
<success_criteria>
|
|
116
116
|
|
|
117
|
-
- Milestone archived to `.
|
|
118
|
-
- Requirements archived to `.
|
|
119
|
-
- `.
|
|
117
|
+
- Milestone archived to `.ariadna_planning/milestones/v{{version}}-ROADMAP.md`
|
|
118
|
+
- Requirements archived to `.ariadna_planning/milestones/v{{version}}-REQUIREMENTS.md`
|
|
119
|
+
- `.ariadna_planning/REQUIREMENTS.md` deleted (fresh for next milestone)
|
|
120
120
|
- ROADMAP.md collapsed to one-line entry
|
|
121
121
|
- PROJECT.md updated with current state
|
|
122
122
|
- Git tag v{{version}} created
|
|
@@ -22,7 +22,7 @@ User's issue: $ARGUMENTS
|
|
|
22
22
|
|
|
23
23
|
Check for active sessions:
|
|
24
24
|
```bash
|
|
25
|
-
ls .
|
|
25
|
+
ls .ariadna_planning/debug/*.md 2>/dev/null | grep -v resolved | head -5
|
|
26
26
|
```
|
|
27
27
|
</context>
|
|
28
28
|
|
|
@@ -85,7 +85,7 @@ goal: find_and_fix
|
|
|
85
85
|
</mode>
|
|
86
86
|
|
|
87
87
|
<debug_file>
|
|
88
|
-
Create: .
|
|
88
|
+
Create: .ariadna_planning/debug/{slug}.md
|
|
89
89
|
</debug_file>
|
|
90
90
|
```
|
|
91
91
|
|
|
@@ -129,7 +129,7 @@ Continue debugging {slug}. Evidence is in the debug file.
|
|
|
129
129
|
</objective>
|
|
130
130
|
|
|
131
131
|
<prior_state>
|
|
132
|
-
Debug file: @.
|
|
132
|
+
Debug file: @.ariadna_planning/debug/{slug}.md
|
|
133
133
|
</prior_state>
|
|
134
134
|
|
|
135
135
|
<checkpoint_response>
|