ariadna 1.3.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/ariadna.gemspec +0 -1
- data/data/agents/ariadna-codebase-mapper.md +34 -722
- data/data/agents/ariadna-debugger.md +44 -1139
- data/data/agents/ariadna-executor.md +75 -396
- data/data/agents/ariadna-planner.md +78 -1215
- data/data/agents/ariadna-roadmapper.md +55 -582
- data/data/agents/ariadna-verifier.md +60 -702
- data/data/ariadna/templates/config.json +8 -33
- data/data/ariadna/workflows/debug.md +28 -0
- data/data/ariadna/workflows/execute-phase.md +31 -513
- data/data/ariadna/workflows/map-codebase.md +20 -319
- data/data/ariadna/workflows/new-milestone.md +20 -365
- data/data/ariadna/workflows/new-project.md +19 -880
- data/data/ariadna/workflows/plan-phase.md +24 -443
- data/data/ariadna/workflows/progress.md +20 -376
- data/data/ariadna/workflows/quick.md +19 -221
- data/data/ariadna/workflows/roadmap-ops.md +28 -0
- data/data/ariadna/workflows/verify-work.md +23 -560
- data/data/commands/ariadna/add-phase.md +11 -22
- data/data/commands/ariadna/debug.md +11 -143
- data/data/commands/ariadna/execute-phase.md +12 -30
- data/data/commands/ariadna/insert-phase.md +7 -14
- data/data/commands/ariadna/map-codebase.md +16 -49
- data/data/commands/ariadna/new-milestone.md +12 -25
- data/data/commands/ariadna/new-project.md +22 -26
- data/data/commands/ariadna/plan-phase.md +13 -22
- data/data/commands/ariadna/progress.md +16 -6
- data/data/commands/ariadna/quick.md +9 -11
- data/data/commands/ariadna/remove-phase.md +9 -12
- data/data/commands/ariadna/verify-work.md +14 -19
- data/data/skills/rails-backend/API.md +138 -0
- data/data/skills/rails-backend/CONTROLLERS.md +154 -0
- data/data/skills/rails-backend/JOBS.md +132 -0
- data/data/skills/rails-backend/MODELS.md +213 -0
- data/data/skills/rails-backend/SKILL.md +169 -0
- data/data/skills/rails-frontend/ASSETS.md +154 -0
- data/data/skills/rails-frontend/COMPONENTS.md +253 -0
- data/data/skills/rails-frontend/SKILL.md +187 -0
- data/data/skills/rails-frontend/VIEWS.md +168 -0
- data/data/skills/rails-performance/PROFILING.md +106 -0
- data/data/skills/rails-performance/SKILL.md +217 -0
- data/data/skills/rails-security/AUDIT.md +118 -0
- data/data/skills/rails-security/SKILL.md +422 -0
- data/data/skills/rails-testing/FIXTURES.md +78 -0
- data/data/skills/rails-testing/SKILL.md +160 -0
- data/data/skills/rails-testing/SYSTEM-TESTS.md +73 -0
- data/lib/ariadna/installer.rb +11 -15
- data/lib/ariadna/tools/cli.rb +0 -12
- data/lib/ariadna/tools/config_manager.rb +10 -72
- data/lib/ariadna/tools/frontmatter.rb +23 -1
- data/lib/ariadna/tools/init.rb +201 -401
- data/lib/ariadna/tools/model_profiles.rb +6 -14
- data/lib/ariadna/tools/phase_manager.rb +1 -10
- data/lib/ariadna/tools/state_manager.rb +170 -451
- data/lib/ariadna/tools/template_filler.rb +4 -12
- data/lib/ariadna/tools/verification.rb +21 -399
- data/lib/ariadna/uninstaller.rb +9 -0
- data/lib/ariadna/version.rb +1 -1
- data/lib/ariadna.rb +1 -0
- metadata +20 -91
- data/data/agents/ariadna-backend-executor.md +0 -261
- data/data/agents/ariadna-frontend-executor.md +0 -259
- data/data/agents/ariadna-integration-checker.md +0 -418
- data/data/agents/ariadna-phase-researcher.md +0 -469
- data/data/agents/ariadna-plan-checker.md +0 -622
- data/data/agents/ariadna-project-researcher.md +0 -618
- data/data/agents/ariadna-research-synthesizer.md +0 -236
- data/data/agents/ariadna-test-executor.md +0 -266
- data/data/ariadna/references/checkpoints.md +0 -772
- data/data/ariadna/references/continuation-format.md +0 -249
- data/data/ariadna/references/decimal-phase-calculation.md +0 -65
- data/data/ariadna/references/git-integration.md +0 -248
- data/data/ariadna/references/git-planning-commit.md +0 -38
- data/data/ariadna/references/model-profile-resolution.md +0 -32
- data/data/ariadna/references/model-profiles.md +0 -73
- data/data/ariadna/references/phase-argument-parsing.md +0 -61
- data/data/ariadna/references/planning-config.md +0 -194
- data/data/ariadna/references/questioning.md +0 -153
- data/data/ariadna/references/rails-conventions.md +0 -416
- data/data/ariadna/references/tdd.md +0 -267
- data/data/ariadna/references/ui-brand.md +0 -160
- data/data/ariadna/references/verification-patterns.md +0 -853
- data/data/ariadna/templates/codebase/architecture.md +0 -481
- data/data/ariadna/templates/codebase/concerns.md +0 -380
- data/data/ariadna/templates/codebase/conventions.md +0 -434
- data/data/ariadna/templates/codebase/integrations.md +0 -328
- data/data/ariadna/templates/codebase/stack.md +0 -189
- data/data/ariadna/templates/codebase/structure.md +0 -418
- data/data/ariadna/templates/codebase/testing.md +0 -606
- data/data/ariadna/templates/context.md +0 -283
- data/data/ariadna/templates/continue-here.md +0 -78
- data/data/ariadna/templates/debug-subagent-prompt.md +0 -91
- data/data/ariadna/templates/phase-prompt.md +0 -609
- data/data/ariadna/templates/planner-subagent-prompt.md +0 -117
- data/data/ariadna/templates/research-project/ARCHITECTURE.md +0 -439
- data/data/ariadna/templates/research-project/FEATURES.md +0 -168
- data/data/ariadna/templates/research-project/PITFALLS.md +0 -406
- data/data/ariadna/templates/research-project/STACK.md +0 -251
- data/data/ariadna/templates/research-project/SUMMARY.md +0 -247
- data/data/ariadna/templates/state.md +0 -176
- data/data/ariadna/templates/summary-complex.md +0 -59
- data/data/ariadna/templates/summary-minimal.md +0 -41
- data/data/ariadna/templates/summary-standard.md +0 -48
- data/data/ariadna/templates/user-setup.md +0 -310
- data/data/ariadna/workflows/add-phase.md +0 -111
- data/data/ariadna/workflows/add-todo.md +0 -157
- data/data/ariadna/workflows/audit-milestone.md +0 -241
- data/data/ariadna/workflows/check-todos.md +0 -176
- data/data/ariadna/workflows/complete-milestone.md +0 -644
- data/data/ariadna/workflows/diagnose-issues.md +0 -219
- data/data/ariadna/workflows/discovery-phase.md +0 -289
- data/data/ariadna/workflows/discuss-phase.md +0 -408
- data/data/ariadna/workflows/execute-plan.md +0 -448
- data/data/ariadna/workflows/help.md +0 -470
- data/data/ariadna/workflows/insert-phase.md +0 -129
- data/data/ariadna/workflows/list-phase-assumptions.md +0 -178
- data/data/ariadna/workflows/pause-work.md +0 -122
- data/data/ariadna/workflows/plan-milestone-gaps.md +0 -256
- data/data/ariadna/workflows/remove-phase.md +0 -154
- data/data/ariadna/workflows/research-phase.md +0 -74
- data/data/ariadna/workflows/resume-project.md +0 -306
- data/data/ariadna/workflows/set-profile.md +0 -80
- data/data/ariadna/workflows/settings.md +0 -145
- data/data/ariadna/workflows/transition.md +0 -493
- data/data/ariadna/workflows/update.md +0 -212
- data/data/ariadna/workflows/verify-phase.md +0 -226
- data/data/commands/ariadna/add-todo.md +0 -42
- data/data/commands/ariadna/audit-milestone.md +0 -42
- data/data/commands/ariadna/check-todos.md +0 -41
- data/data/commands/ariadna/complete-milestone.md +0 -136
- data/data/commands/ariadna/discuss-phase.md +0 -86
- data/data/commands/ariadna/help.md +0 -22
- data/data/commands/ariadna/list-phase-assumptions.md +0 -50
- data/data/commands/ariadna/pause-work.md +0 -35
- data/data/commands/ariadna/plan-milestone-gaps.md +0 -40
- data/data/commands/ariadna/reapply-patches.md +0 -110
- data/data/commands/ariadna/research-phase.md +0 -187
- data/data/commands/ariadna/resume-work.md +0 -40
- data/data/commands/ariadna/set-profile.md +0 -34
- data/data/commands/ariadna/settings.md +0 -36
- data/data/commands/ariadna/update.md +0 -37
- data/data/guides/backend.md +0 -3069
- data/data/guides/frontend.md +0 -1479
- data/data/guides/performance.md +0 -1193
- data/data/guides/security.md +0 -1522
- data/data/guides/style-guide.md +0 -1091
- data/data/guides/testing.md +0 -504
- data/data/templates.md +0 -94
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: ariadna:plan-milestone-gaps
|
|
3
|
-
description: Create phases to close all gaps identified by milestone audit
|
|
4
|
-
allowed-tools:
|
|
5
|
-
- Read
|
|
6
|
-
- Write
|
|
7
|
-
- Bash
|
|
8
|
-
- Glob
|
|
9
|
-
- Grep
|
|
10
|
-
- AskUserQuestion
|
|
11
|
-
---
|
|
12
|
-
<objective>
|
|
13
|
-
Create all phases necessary to close gaps identified by `/ariadna:audit-milestone`.
|
|
14
|
-
|
|
15
|
-
Reads MILESTONE-AUDIT.md, groups gaps into logical phases, creates phase entries in ROADMAP.md, and offers to plan each phase.
|
|
16
|
-
|
|
17
|
-
One command creates all fix phases — no manual `/ariadna:add-phase` per gap.
|
|
18
|
-
</objective>
|
|
19
|
-
|
|
20
|
-
<execution_context>
|
|
21
|
-
@~/.claude/ariadna/workflows/plan-milestone-gaps.md
|
|
22
|
-
</execution_context>
|
|
23
|
-
|
|
24
|
-
<context>
|
|
25
|
-
**Audit results:**
|
|
26
|
-
Glob: .ariadna_planning/v*-MILESTONE-AUDIT.md (use most recent)
|
|
27
|
-
|
|
28
|
-
**Original intent (for prioritization):**
|
|
29
|
-
@.ariadna_planning/PROJECT.md
|
|
30
|
-
@.ariadna_planning/REQUIREMENTS.md
|
|
31
|
-
|
|
32
|
-
**Current state:**
|
|
33
|
-
@.ariadna_planning/ROADMAP.md
|
|
34
|
-
@.ariadna_planning/STATE.md
|
|
35
|
-
</context>
|
|
36
|
-
|
|
37
|
-
<process>
|
|
38
|
-
Execute the plan-milestone-gaps workflow from @~/.claude/ariadna/workflows/plan-milestone-gaps.md end-to-end.
|
|
39
|
-
Preserve all workflow gates (audit loading, prioritization, phase grouping, user confirmation, roadmap updates).
|
|
40
|
-
</process>
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Reapply local modifications after an Ariadna update
|
|
3
|
-
allowed-tools: Read, Write, Edit, Bash, Glob, Grep, AskUserQuestion
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
<purpose>
|
|
7
|
-
After an Ariadna update wipes and reinstalls files, this command merges user's previously saved local modifications back into the new version. Uses intelligent comparison to handle cases where the upstream file also changed.
|
|
8
|
-
</purpose>
|
|
9
|
-
|
|
10
|
-
<process>
|
|
11
|
-
|
|
12
|
-
## Step 1: Detect backed-up patches
|
|
13
|
-
|
|
14
|
-
Check for local patches directory:
|
|
15
|
-
|
|
16
|
-
```bash
|
|
17
|
-
# Global install
|
|
18
|
-
PATCHES_DIR="${HOME}/.claude/ariadna-local-patches"
|
|
19
|
-
# Local install fallback
|
|
20
|
-
if [ ! -d "$PATCHES_DIR" ]; then
|
|
21
|
-
PATCHES_DIR="./.claude/ariadna-local-patches"
|
|
22
|
-
fi
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
Read `backup-meta.json` from the patches directory.
|
|
26
|
-
|
|
27
|
-
**If no patches found:**
|
|
28
|
-
```
|
|
29
|
-
No local patches found. Nothing to reapply.
|
|
30
|
-
|
|
31
|
-
Local patches are automatically saved when you run /ariadna:update
|
|
32
|
-
after modifying any Ariadna workflow, command, or agent files.
|
|
33
|
-
```
|
|
34
|
-
Exit.
|
|
35
|
-
|
|
36
|
-
## Step 2: Show patch summary
|
|
37
|
-
|
|
38
|
-
```
|
|
39
|
-
## Local Patches to Reapply
|
|
40
|
-
|
|
41
|
-
**Backed up from:** v{from_version}
|
|
42
|
-
**Current version:** {read VERSION file}
|
|
43
|
-
**Files modified:** {count}
|
|
44
|
-
|
|
45
|
-
| # | File | Status |
|
|
46
|
-
|---|------|--------|
|
|
47
|
-
| 1 | {file_path} | Pending |
|
|
48
|
-
| 2 | {file_path} | Pending |
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
## Step 3: Merge each file
|
|
52
|
-
|
|
53
|
-
For each file in `backup-meta.json`:
|
|
54
|
-
|
|
55
|
-
1. **Read the backed-up version** (user's modified copy from `ariadna-local-patches/`)
|
|
56
|
-
2. **Read the newly installed version** (current file after update)
|
|
57
|
-
3. **Compare and merge:**
|
|
58
|
-
|
|
59
|
-
- If the new file is identical to the backed-up file: skip (modification was incorporated upstream)
|
|
60
|
-
- If the new file differs: identify the user's modifications and apply them to the new version
|
|
61
|
-
|
|
62
|
-
**Merge strategy:**
|
|
63
|
-
- Read both versions fully
|
|
64
|
-
- Identify sections the user added or modified (look for additions, not just differences from path replacement)
|
|
65
|
-
- Apply user's additions/modifications to the new version
|
|
66
|
-
- If a section the user modified was also changed upstream: flag as conflict, show both versions, ask user which to keep
|
|
67
|
-
|
|
68
|
-
4. **Write merged result** to the installed location
|
|
69
|
-
5. **Report status:**
|
|
70
|
-
- `Merged` — user modifications applied cleanly
|
|
71
|
-
- `Skipped` — modification already in upstream
|
|
72
|
-
- `Conflict` — user chose resolution
|
|
73
|
-
|
|
74
|
-
## Step 4: Update manifest
|
|
75
|
-
|
|
76
|
-
After reapplying, regenerate the file manifest so future updates correctly detect these as user modifications:
|
|
77
|
-
|
|
78
|
-
```bash
|
|
79
|
-
# The manifest will be regenerated on next /ariadna:update
|
|
80
|
-
# For now, just note which files were modified
|
|
81
|
-
```
|
|
82
|
-
|
|
83
|
-
## Step 5: Cleanup option
|
|
84
|
-
|
|
85
|
-
Ask user:
|
|
86
|
-
- "Keep patch backups for reference?" → preserve `ariadna-local-patches/`
|
|
87
|
-
- "Clean up patch backups?" → remove `ariadna-local-patches/` directory
|
|
88
|
-
|
|
89
|
-
## Step 6: Report
|
|
90
|
-
|
|
91
|
-
```
|
|
92
|
-
## Patches Reapplied
|
|
93
|
-
|
|
94
|
-
| # | File | Status |
|
|
95
|
-
|---|------|--------|
|
|
96
|
-
| 1 | {file_path} | ✓ Merged |
|
|
97
|
-
| 2 | {file_path} | ○ Skipped (already upstream) |
|
|
98
|
-
| 3 | {file_path} | ⚠ Conflict resolved |
|
|
99
|
-
|
|
100
|
-
{count} file(s) updated. Your local modifications are active again.
|
|
101
|
-
```
|
|
102
|
-
|
|
103
|
-
</process>
|
|
104
|
-
|
|
105
|
-
<success_criteria>
|
|
106
|
-
- [ ] All backed-up patches processed
|
|
107
|
-
- [ ] User modifications merged into new version
|
|
108
|
-
- [ ] Conflicts resolved with user input
|
|
109
|
-
- [ ] Status reported for each file
|
|
110
|
-
</success_criteria>
|
|
@@ -1,187 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: ariadna:research-phase
|
|
3
|
-
description: Research how to implement a phase (standalone - usually use /ariadna:plan-phase instead)
|
|
4
|
-
argument-hint: "[phase]"
|
|
5
|
-
allowed-tools:
|
|
6
|
-
- Read
|
|
7
|
-
- Bash
|
|
8
|
-
- Task
|
|
9
|
-
---
|
|
10
|
-
|
|
11
|
-
<objective>
|
|
12
|
-
Research how to implement a phase. Spawns ariadna-phase-researcher agent with phase context.
|
|
13
|
-
|
|
14
|
-
**Note:** This is a standalone research command. For most workflows, use `/ariadna:plan-phase` which integrates research automatically.
|
|
15
|
-
|
|
16
|
-
**Use this command when:**
|
|
17
|
-
- You want to research without planning yet
|
|
18
|
-
- You want to re-research after planning is complete
|
|
19
|
-
- You need to investigate before deciding if a phase is feasible
|
|
20
|
-
|
|
21
|
-
**Orchestrator role:** Parse phase, validate against roadmap, check existing research, gather context, spawn researcher agent, present results.
|
|
22
|
-
|
|
23
|
-
**Why subagent:** Research burns context fast (WebSearch, Context7 queries, source verification). Fresh 200k context for investigation. Main context stays lean for user interaction.
|
|
24
|
-
</objective>
|
|
25
|
-
|
|
26
|
-
<context>
|
|
27
|
-
Phase number: $ARGUMENTS (required)
|
|
28
|
-
|
|
29
|
-
Normalize phase input in step 1 before any directory lookups.
|
|
30
|
-
</context>
|
|
31
|
-
|
|
32
|
-
<process>
|
|
33
|
-
|
|
34
|
-
## 0. Initialize Context
|
|
35
|
-
|
|
36
|
-
```bash
|
|
37
|
-
INIT=$(ariadna-tools init phase-op "$ARGUMENTS")
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
Extract from init JSON: `phase_dir`, `phase_number`, `phase_name`, `phase_found`, `commit_docs`, `has_research`.
|
|
41
|
-
|
|
42
|
-
Resolve researcher model:
|
|
43
|
-
```bash
|
|
44
|
-
RESEARCHER_MODEL=$(ariadna-tools resolve-model ariadna-phase-researcher --raw)
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
## 1. Validate Phase
|
|
48
|
-
|
|
49
|
-
```bash
|
|
50
|
-
PHASE_INFO=$(ariadna-tools roadmap get-phase "${phase_number}")
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
**If `found` is false:** Error and exit. **If `found` is true:** Extract `phase_number`, `phase_name`, `goal` from JSON.
|
|
54
|
-
|
|
55
|
-
## 2. Check Existing Research
|
|
56
|
-
|
|
57
|
-
```bash
|
|
58
|
-
ls .ariadna_planning/phases/${PHASE}-*/RESEARCH.md 2>/dev/null
|
|
59
|
-
```
|
|
60
|
-
|
|
61
|
-
**If exists:** Offer: 1) Update research, 2) View existing, 3) Skip. Wait for response.
|
|
62
|
-
|
|
63
|
-
**If doesn't exist:** Continue.
|
|
64
|
-
|
|
65
|
-
## 3. Gather Phase Context
|
|
66
|
-
|
|
67
|
-
```bash
|
|
68
|
-
# Phase section already loaded in PHASE_INFO
|
|
69
|
-
echo "$PHASE_INFO" | jq -r '.section'
|
|
70
|
-
cat .ariadna_planning/REQUIREMENTS.md 2>/dev/null
|
|
71
|
-
cat .ariadna_planning/phases/${PHASE}-*/*-CONTEXT.md 2>/dev/null
|
|
72
|
-
grep -A30 "### Decisions Made" .ariadna_planning/STATE.md 2>/dev/null
|
|
73
|
-
```
|
|
74
|
-
|
|
75
|
-
Present summary with phase description, requirements, prior decisions.
|
|
76
|
-
|
|
77
|
-
## 4. Spawn ariadna-phase-researcher Agent
|
|
78
|
-
|
|
79
|
-
Research modes: ecosystem (default), feasibility, implementation, comparison.
|
|
80
|
-
|
|
81
|
-
```markdown
|
|
82
|
-
<research_type>
|
|
83
|
-
Phase Research — investigating HOW to implement a specific phase well.
|
|
84
|
-
</research_type>
|
|
85
|
-
|
|
86
|
-
<key_insight>
|
|
87
|
-
The question is NOT "which library should I use?"
|
|
88
|
-
|
|
89
|
-
The question is: "What do I not know that I don't know?"
|
|
90
|
-
|
|
91
|
-
For this phase, discover:
|
|
92
|
-
- What's the established architecture pattern?
|
|
93
|
-
- What libraries form the standard stack?
|
|
94
|
-
- What problems do people commonly hit?
|
|
95
|
-
- What's SOTA vs what Claude's training thinks is SOTA?
|
|
96
|
-
- What should NOT be hand-rolled?
|
|
97
|
-
</key_insight>
|
|
98
|
-
|
|
99
|
-
<objective>
|
|
100
|
-
Research implementation approach for Phase {phase_number}: {phase_name}
|
|
101
|
-
Mode: ecosystem
|
|
102
|
-
</objective>
|
|
103
|
-
|
|
104
|
-
<context>
|
|
105
|
-
**Phase description:** {phase_description}
|
|
106
|
-
**Requirements:** {requirements_list}
|
|
107
|
-
**Prior decisions:** {decisions_if_any}
|
|
108
|
-
**Phase context:** {context_md_content}
|
|
109
|
-
</context>
|
|
110
|
-
|
|
111
|
-
<downstream_consumer>
|
|
112
|
-
Your RESEARCH.md will be loaded by `/ariadna:plan-phase` which uses specific sections:
|
|
113
|
-
- `## Standard Stack` → Plans use these libraries
|
|
114
|
-
- `## Architecture Patterns` → Task structure follows these
|
|
115
|
-
- `## Don't Hand-Roll` → Tasks NEVER build custom solutions for listed problems
|
|
116
|
-
- `## Common Pitfalls` → Verification steps check for these
|
|
117
|
-
- `## Code Examples` → Task actions reference these patterns
|
|
118
|
-
|
|
119
|
-
Be prescriptive, not exploratory. "Use X" not "Consider X or Y."
|
|
120
|
-
</downstream_consumer>
|
|
121
|
-
|
|
122
|
-
<quality_gate>
|
|
123
|
-
Before declaring complete, verify:
|
|
124
|
-
- [ ] All domains investigated (not just some)
|
|
125
|
-
- [ ] Negative claims verified with official docs
|
|
126
|
-
- [ ] Multiple sources for critical claims
|
|
127
|
-
- [ ] Confidence levels assigned honestly
|
|
128
|
-
- [ ] Section names match what plan-phase expects
|
|
129
|
-
</quality_gate>
|
|
130
|
-
|
|
131
|
-
<output>
|
|
132
|
-
Write to: .ariadna_planning/phases/${PHASE}-{slug}/${PHASE}-RESEARCH.md
|
|
133
|
-
</output>
|
|
134
|
-
```
|
|
135
|
-
|
|
136
|
-
```
|
|
137
|
-
Task(
|
|
138
|
-
prompt="First, read ~/.claude/agents/ariadna-phase-researcher.md for your role and instructions.\n\n" + filled_prompt,
|
|
139
|
-
subagent_type="general-purpose",
|
|
140
|
-
model="{researcher_model}",
|
|
141
|
-
description="Research Phase {phase}"
|
|
142
|
-
)
|
|
143
|
-
```
|
|
144
|
-
|
|
145
|
-
## 5. Handle Agent Return
|
|
146
|
-
|
|
147
|
-
**`## RESEARCH COMPLETE`:** Display summary, offer: Plan phase, Dig deeper, Review full, Done.
|
|
148
|
-
|
|
149
|
-
**`## CHECKPOINT REACHED`:** Present to user, get response, spawn continuation.
|
|
150
|
-
|
|
151
|
-
**`## RESEARCH INCONCLUSIVE`:** Show what was attempted, offer: Add context, Try different mode, Manual.
|
|
152
|
-
|
|
153
|
-
## 6. Spawn Continuation Agent
|
|
154
|
-
|
|
155
|
-
```markdown
|
|
156
|
-
<objective>
|
|
157
|
-
Continue research for Phase {phase_number}: {phase_name}
|
|
158
|
-
</objective>
|
|
159
|
-
|
|
160
|
-
<prior_state>
|
|
161
|
-
Research file: @.ariadna_planning/phases/${PHASE}-{slug}/${PHASE}-RESEARCH.md
|
|
162
|
-
</prior_state>
|
|
163
|
-
|
|
164
|
-
<checkpoint_response>
|
|
165
|
-
**Type:** {checkpoint_type}
|
|
166
|
-
**Response:** {user_response}
|
|
167
|
-
</checkpoint_response>
|
|
168
|
-
```
|
|
169
|
-
|
|
170
|
-
```
|
|
171
|
-
Task(
|
|
172
|
-
prompt="First, read ~/.claude/agents/ariadna-phase-researcher.md for your role and instructions.\n\n" + continuation_prompt,
|
|
173
|
-
subagent_type="general-purpose",
|
|
174
|
-
model="{researcher_model}",
|
|
175
|
-
description="Continue research Phase {phase}"
|
|
176
|
-
)
|
|
177
|
-
```
|
|
178
|
-
|
|
179
|
-
</process>
|
|
180
|
-
|
|
181
|
-
<success_criteria>
|
|
182
|
-
- [ ] Phase validated against roadmap
|
|
183
|
-
- [ ] Existing research checked
|
|
184
|
-
- [ ] ariadna-phase-researcher spawned with context
|
|
185
|
-
- [ ] Checkpoints handled correctly
|
|
186
|
-
- [ ] User knows next steps
|
|
187
|
-
</success_criteria>
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: ariadna:resume-work
|
|
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 resume-project workflow which handles:
|
|
16
|
-
|
|
17
|
-
- STATE.md loading (or reconstruction if missing)
|
|
18
|
-
- Checkpoint detection (.continue-here files)
|
|
19
|
-
- Incomplete work detection (PLAN without SUMMARY)
|
|
20
|
-
- Status presentation
|
|
21
|
-
- Context-aware next action routing
|
|
22
|
-
</objective>
|
|
23
|
-
|
|
24
|
-
<execution_context>
|
|
25
|
-
@~/.claude/ariadna/workflows/resume-project.md
|
|
26
|
-
</execution_context>
|
|
27
|
-
|
|
28
|
-
<process>
|
|
29
|
-
**Follow the resume-project workflow** from `@~/.claude/ariadna/workflows/resume-project.md`.
|
|
30
|
-
|
|
31
|
-
The workflow handles all resumption logic including:
|
|
32
|
-
|
|
33
|
-
1. Project existence verification
|
|
34
|
-
2. STATE.md loading or reconstruction
|
|
35
|
-
3. Checkpoint and incomplete work detection
|
|
36
|
-
4. Visual status presentation
|
|
37
|
-
5. Context-aware option offering (checks CONTEXT.md before suggesting plan vs discuss)
|
|
38
|
-
6. Routing to appropriate next command
|
|
39
|
-
7. Session continuity updates
|
|
40
|
-
</process>
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: ariadna:set-profile
|
|
3
|
-
description: Switch model profile for Ariadna agents (quality/balanced/budget)
|
|
4
|
-
argument-hint: <profile>
|
|
5
|
-
allowed-tools:
|
|
6
|
-
- Read
|
|
7
|
-
- Write
|
|
8
|
-
- Bash
|
|
9
|
-
---
|
|
10
|
-
|
|
11
|
-
<objective>
|
|
12
|
-
Switch the model profile used by Ariadna agents. Controls which Claude model each agent uses, balancing quality vs token spend.
|
|
13
|
-
|
|
14
|
-
Routes to the set-profile workflow which handles:
|
|
15
|
-
- Argument validation (quality/balanced/budget)
|
|
16
|
-
- Config file creation if missing
|
|
17
|
-
- Profile update in config.json
|
|
18
|
-
- Confirmation with model table display
|
|
19
|
-
</objective>
|
|
20
|
-
|
|
21
|
-
<execution_context>
|
|
22
|
-
@~/.claude/ariadna/workflows/set-profile.md
|
|
23
|
-
</execution_context>
|
|
24
|
-
|
|
25
|
-
<process>
|
|
26
|
-
**Follow the set-profile workflow** from `@~/.claude/ariadna/workflows/set-profile.md`.
|
|
27
|
-
|
|
28
|
-
The workflow handles all logic including:
|
|
29
|
-
1. Profile argument validation
|
|
30
|
-
2. Config file ensuring
|
|
31
|
-
3. Config reading and updating
|
|
32
|
-
4. Model table generation from MODEL_PROFILES
|
|
33
|
-
5. Confirmation display
|
|
34
|
-
</process>
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: ariadna:settings
|
|
3
|
-
description: Configure Ariadna workflow toggles and model profile
|
|
4
|
-
allowed-tools:
|
|
5
|
-
- Read
|
|
6
|
-
- Write
|
|
7
|
-
- Bash
|
|
8
|
-
- AskUserQuestion
|
|
9
|
-
---
|
|
10
|
-
|
|
11
|
-
<objective>
|
|
12
|
-
Interactive configuration of Ariadna workflow agents and model profile via multi-question prompt.
|
|
13
|
-
|
|
14
|
-
Routes to the settings workflow which handles:
|
|
15
|
-
- Config existence ensuring
|
|
16
|
-
- Current settings reading and parsing
|
|
17
|
-
- Interactive 5-question prompt (model, research, plan_check, verifier, branching)
|
|
18
|
-
- Config merging and writing
|
|
19
|
-
- Confirmation display with quick command references
|
|
20
|
-
</objective>
|
|
21
|
-
|
|
22
|
-
<execution_context>
|
|
23
|
-
@~/.claude/ariadna/workflows/settings.md
|
|
24
|
-
</execution_context>
|
|
25
|
-
|
|
26
|
-
<process>
|
|
27
|
-
**Follow the settings workflow** from `@~/.claude/ariadna/workflows/settings.md`.
|
|
28
|
-
|
|
29
|
-
The workflow handles all logic including:
|
|
30
|
-
1. Config file creation with defaults if missing
|
|
31
|
-
2. Current config reading
|
|
32
|
-
3. Interactive settings presentation with pre-selection
|
|
33
|
-
4. Answer parsing and config merging
|
|
34
|
-
5. File writing
|
|
35
|
-
6. Confirmation display
|
|
36
|
-
</process>
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: ariadna:update
|
|
3
|
-
description: Update Ariadna to latest version with changelog display
|
|
4
|
-
allowed-tools:
|
|
5
|
-
- Bash
|
|
6
|
-
- AskUserQuestion
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
<objective>
|
|
10
|
-
Check for Ariadna updates, install if available, and display what changed.
|
|
11
|
-
|
|
12
|
-
Routes to the update workflow which handles:
|
|
13
|
-
- Version detection (local vs global installation)
|
|
14
|
-
- gem version checking
|
|
15
|
-
- Changelog fetching and display
|
|
16
|
-
- User confirmation with clean install warning
|
|
17
|
-
- Update execution and cache clearing
|
|
18
|
-
- Restart reminder
|
|
19
|
-
</objective>
|
|
20
|
-
|
|
21
|
-
<execution_context>
|
|
22
|
-
@~/.claude/ariadna/workflows/update.md
|
|
23
|
-
</execution_context>
|
|
24
|
-
|
|
25
|
-
<process>
|
|
26
|
-
**Follow the update workflow** from `@~/.claude/ariadna/workflows/update.md`.
|
|
27
|
-
|
|
28
|
-
The workflow handles all logic including:
|
|
29
|
-
1. Installed version detection (local/global)
|
|
30
|
-
2. Latest version checking via gem
|
|
31
|
-
3. Version comparison
|
|
32
|
-
4. Changelog fetching and extraction
|
|
33
|
-
5. Clean install warning display
|
|
34
|
-
6. User confirmation
|
|
35
|
-
7. Update execution
|
|
36
|
-
8. Cache clearing
|
|
37
|
-
</process>
|