@ancleto/spec 0.6.5 → 0.6.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +26 -1
- package/agents/context-resolver.md +1 -1
- package/agents/documenter.md +3 -1
- package/agents/memory-keeper.md +1 -1
- package/agents/spec-writer.md +2 -1
- package/agents/technical-discovery.md +1 -1
- package/agents/tester.md +1 -1
- package/commands/cleto-apply.md +2 -154
- package/commands/cleto-archive.md +2 -164
- package/commands/cleto-bulk-archive.md +2 -248
- package/commands/cleto-continue.md +2 -126
- package/commands/cleto-explore.md +2 -174
- package/commands/cleto-ff.md +2 -120
- package/commands/cleto-new.md +2 -108
- package/commands/cleto-onboard.md +2 -550
- package/commands/cleto-propose.md +2 -130
- package/commands/cleto-recall.md +4 -52
- package/commands/cleto-sync.md +2 -137
- package/commands/cleto-verify.md +2 -169
- package/package.json +1 -1
- package/skills/ancleto-apply/SKILL.md +15 -38
- package/skills/ancleto-archive/SKILL.md +22 -24
- package/skills/ancleto-bulk-archive/SKILL.md +45 -55
- package/skills/ancleto-commit/SKILL.md +10 -29
- package/skills/ancleto-continue/SKILL.md +18 -24
- package/skills/ancleto-explore/SKILL.md +40 -67
- package/skills/ancleto-ff/SKILL.md +20 -28
- package/skills/ancleto-new/SKILL.md +20 -39
- package/skills/ancleto-onboard/SKILL.md +35 -38
- package/skills/ancleto-pr/SKILL.md +12 -26
- package/skills/ancleto-propose/SKILL.md +22 -69
- package/skills/ancleto-recall/SKILL.md +21 -25
- package/skills/ancleto-sync-specs/SKILL.md +27 -62
- package/skills/ancleto-upgrade/SKILL.md +132 -223
- package/skills/ancleto-upgrade/references/templates.md +138 -171
- package/skills/ancleto-verify/SKILL.md +36 -66
- package/skills/ancleto-workflow/SKILL.md +17 -17
- package/src/cli/index.js +76 -49
- package/src/core/tier-models.js +48 -0
- package/templates/AGENTS.md +3 -0
package/README.md
CHANGED
|
@@ -106,7 +106,7 @@ ancleto init --agent opencode --tier normal
|
|
|
106
106
|
|
|
107
107
|
* `normal`: Modelos balanceados sin restricciones agresivas de contexto (default).
|
|
108
108
|
* `minimo`: Enfoque en el modelo pago más económico viable, con alta compresión de contexto y exclusión de tests/docs en el discovery.
|
|
109
|
-
* `gratis`: Bloqueado a modelos gratuitos
|
|
109
|
+
* `gratis`: Bloqueado a modelos gratuitos, empaquetado ultra-agresivo y un límite estricto (budget) de tokens enviado al LLM. Si tenés acceso a **Muse Spark 1.3 Free** (`opencode/muse-spark-1.3-contributor-free`, no abierto a todos), se usa ese; si no, se usa `opencode/big-pickle`. En modo interactivo el instalador te lo pregunta; la elección queda guardada en `.ancletorc` (`gratisModel`).
|
|
110
110
|
|
|
111
111
|
La configuración se preserva en `.ancletorc` (raíz del proyecto) y `.ancleto-tier` (junto a la configuración instalada).
|
|
112
112
|
|
|
@@ -211,3 +211,28 @@ ancleto init --with-azure
|
|
|
211
211
|
```
|
|
212
212
|
|
|
213
213
|
Esto escribe `azure.enabled: true` en tu `.ancletorc`. Solo deberás completar la sección de Azure en el archivo `PRODUCT.md` e instalar su extensión (`az extension add --name azure-devops`).
|
|
214
|
+
|
|
215
|
+
---
|
|
216
|
+
|
|
217
|
+
## 🤖 Referencia: Agentes y Modelos por Tier
|
|
218
|
+
|
|
219
|
+
Los 10 agentes instalados y el modelo que usa cada uno según tu tier. Al instalar, el nivel elegido se escribe en la línea `model:` de cada agente (y se re-aplica en cada `update`).
|
|
220
|
+
|
|
221
|
+
| Agente | `normal` (default) | `minimo` | `gratis` |
|
|
222
|
+
|---|---|---|---|
|
|
223
|
+
| orchestrator | `opencode-go/qwen3.7-plus` | `opencode-go/deepseek-v4.1-flash` | ver nota ↓ |
|
|
224
|
+
| coder | `opencode-go/minimax-m3` | `opencode-go/deepseek-v4.1-flash` | ver nota ↓ |
|
|
225
|
+
| tester | `opencode-go/deepseek-v4.1-flash` | `opencode-go/deepseek-v4.1-flash` | ver nota ↓ |
|
|
226
|
+
| spec-writer | `opencode-go/qwen3.7-plus` | `opencode-go/deepseek-v4.1-flash` | ver nota ↓ |
|
|
227
|
+
| reviewer | `opencode-go/qwen3.6-plus` | `opencode-go/deepseek-v4.1-flash` | ver nota ↓ |
|
|
228
|
+
| technical-discovery | `opencode-go/deepseek-v4.1-flash` | `opencode-go/deepseek-v4.1-flash` | ver nota ↓ |
|
|
229
|
+
| technical-seed-writer | `opencode-go/minimax-m3` | `opencode-go/deepseek-v4.1-flash` | ver nota ↓ |
|
|
230
|
+
| memory-keeper | `opencode-go/deepseek-v4.1-flash` | `opencode-go/deepseek-v4.1-flash` | ver nota ↓ |
|
|
231
|
+
| context-resolver | `opencode-go/deepseek-v4.1-flash` | `opencode-go/deepseek-v4.1-flash` | ver nota ↓ |
|
|
232
|
+
| documenter | `opencode-go/deepseek-v4.1-flash` | `opencode-go/deepseek-v4.1-flash` | ver nota ↓ |
|
|
233
|
+
|
|
234
|
+
El tier `minimo` usa un único modelo (`deepseek-v4.1-flash`) para los 10 agentes: es el más económico del catálogo para coding (0.15/0.60 por millón de tokens) con 1M de contexto.
|
|
235
|
+
|
|
236
|
+
**Tier `gratis`:** los 10 agentes usan **Muse Spark 1.3 Free** (`opencode/muse-spark-1.3-contributor-free`) **si está disponible** en tu cuenta (no está abierto a todos). En una instalación interactiva el wizard te lo pregunta; la respuesta se guarda en `.ancletorc` (`gratisModel`) y se reutiliza en los siguientes `install`/`update`. Sin TTY (CI) se detecta con `opencode models` — con timeout — y si no se puede confirmar se usa `opencode/big-pickle`. El instalador siempre informa cuál aplicó (`ancleto: modelo gratis: ...`).
|
|
237
|
+
|
|
238
|
+
> Variable avanzada: `ANCLETO_MUSE_SPARK=1` fuerza Muse Spark, `ANCLETO_MUSE_SPARK=0` fuerza `big-pickle` (útil para tests o para fijar el comportamiento; tiene prioridad sobre la elección guardada).
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: Resolves intake grounding context (Work Item / card) before triage, so the orchestrator classifies and delegates with the real card content
|
|
3
3
|
mode: subagent
|
|
4
|
-
model: opencode-go/deepseek-v4-flash
|
|
4
|
+
model: opencode-go/deepseek-v4.1-flash
|
|
5
5
|
temperature: 0.1
|
|
6
6
|
color: '#8b5cf6'
|
|
7
7
|
tools:
|
package/agents/documenter.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: Finalizes and archives completed aspec changes in alignment with the aspec lifecycle
|
|
3
3
|
mode: subagent
|
|
4
|
-
model: opencode-go/deepseek-v4-flash
|
|
4
|
+
model: opencode-go/deepseek-v4.1-flash
|
|
5
5
|
temperature: 0.1
|
|
6
6
|
color: '#10b981'
|
|
7
7
|
tools:
|
|
@@ -116,6 +116,8 @@ Do not treat archive as a blind file move.
|
|
|
116
116
|
|
|
117
117
|
When a completed change modifies behavior through aspec deltas, `aspec/specs/` must reflect that completed behavior before the change is archived.
|
|
118
118
|
|
|
119
|
+
**Language**: spec artifacts are written in English. The requirement/scenario keywords (`Requirement`, `Scenario`, `SHALL`, `WHEN`/`THEN`, `ADDED/MODIFIED/REMOVED/RENAMED Requirements`) are literal and MUST NOT be translated. Paths, file names, and identifiers stay unchanged.
|
|
120
|
+
|
|
119
121
|
Handle these delta sections carefully:
|
|
120
122
|
|
|
121
123
|
- `ADDED Requirements`
|
package/agents/memory-keeper.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: Owns the repository memory (.ancleto/memory.db) — recalls prior lessons at intake and records rules and decisions at close, so a finding survives the session that produced it
|
|
3
3
|
mode: subagent
|
|
4
|
-
model: opencode-go/deepseek-v4-flash
|
|
4
|
+
model: opencode-go/deepseek-v4.1-flash
|
|
5
5
|
temperature: 0.1
|
|
6
6
|
color: '#f59e0b'
|
|
7
7
|
tools:
|
package/agents/spec-writer.md
CHANGED
|
@@ -19,7 +19,8 @@ Read `AGENTS.md` at the repo root for project-specific conventions, tech stack,
|
|
|
19
19
|
|
|
20
20
|
## Language Requirement
|
|
21
21
|
|
|
22
|
-
- All artifact content MUST be written in
|
|
22
|
+
- All artifact content MUST be written in English
|
|
23
|
+
- Keywords are literal and MUST NOT be translated: `Requirement`, `Scenario`, `SHALL`, `WHEN`/`THEN`, `ADDED Requirements`, `MODIFIED Requirements`, `REMOVED Requirements`, `RENAMED Requirements`
|
|
23
24
|
- File names and directory names MUST remain in English, following aspec conventions
|
|
24
25
|
|
|
25
26
|
## Primary Responsibility
|
package/agents/tester.md
CHANGED
package/commands/cleto-apply.md
CHANGED
|
@@ -2,160 +2,8 @@
|
|
|
2
2
|
description: Implement tasks from an aspec change (Experimental)
|
|
3
3
|
---
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Invoke the `ancleto-apply` skill with the Skill tool and follow it exactly; do not improvise steps.
|
|
6
6
|
|
|
7
7
|
**Input**: Optionally specify a change name (e.g., `/cleto-apply add-auth`). If omitted, check if it can be inferred from conversation context. If vague or ambiguous you MUST prompt for available changes.
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
1. **Select the change**
|
|
12
|
-
|
|
13
|
-
If a name is provided, use it. Otherwise:
|
|
14
|
-
|
|
15
|
-
- Infer from conversation context if the user mentioned a change
|
|
16
|
-
- Auto-select if only one active change exists
|
|
17
|
-
- If ambiguous, run `aspec list --json` to get available changes and use the **AskUserQuestion tool** to let the user select
|
|
18
|
-
|
|
19
|
-
Always announce: "Using change: <name>" and how to override (e.g., `/cleto-apply <other>`).
|
|
20
|
-
|
|
21
|
-
2. **Check status to understand the schema**
|
|
22
|
-
|
|
23
|
-
```bash
|
|
24
|
-
aspec status --change "<name>" --json
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
Parse the JSON to understand:
|
|
28
|
-
|
|
29
|
-
- `schemaName`: The workflow being used (e.g., "spec-driven")
|
|
30
|
-
- Which artifact contains the tasks (typically "tasks" for spec-driven, check status for others)
|
|
31
|
-
|
|
32
|
-
3. **Get apply instructions**
|
|
33
|
-
|
|
34
|
-
```bash
|
|
35
|
-
aspec instructions apply --change "<name>" --json
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
This returns:
|
|
39
|
-
|
|
40
|
-
- `contextFiles`: artifact ID -> array of concrete file paths (varies by schema)
|
|
41
|
-
- Progress (total, complete, remaining)
|
|
42
|
-
- Task list with status
|
|
43
|
-
- Dynamic instruction based on current state
|
|
44
|
-
|
|
45
|
-
**Handle states:**
|
|
46
|
-
|
|
47
|
-
- If `state: "blocked"` (missing artifacts): show message, suggest using `/cleto-continue`
|
|
48
|
-
- If `state: "all_done"`: congratulate, suggest archive
|
|
49
|
-
- Otherwise: proceed to implementation
|
|
50
|
-
|
|
51
|
-
4. **Read context files**
|
|
52
|
-
|
|
53
|
-
Read every file path listed under `contextFiles` from the apply instructions output.
|
|
54
|
-
The files depend on the schema being used:
|
|
55
|
-
|
|
56
|
-
- **spec-driven**: proposal, specs, design, tasks
|
|
57
|
-
- Other schemas: follow the contextFiles from CLI output
|
|
58
|
-
|
|
59
|
-
5. **Show current progress**
|
|
60
|
-
|
|
61
|
-
Display:
|
|
62
|
-
|
|
63
|
-
- Schema being used
|
|
64
|
-
- Progress: "N/M tasks complete"
|
|
65
|
-
- Remaining tasks overview
|
|
66
|
-
- Dynamic instruction from CLI
|
|
67
|
-
|
|
68
|
-
6. **Implement tasks (loop until done or blocked)**
|
|
69
|
-
|
|
70
|
-
For each pending task:
|
|
71
|
-
|
|
72
|
-
- Show which task is being worked on
|
|
73
|
-
- Make the code changes required
|
|
74
|
-
- Keep changes minimal and focused
|
|
75
|
-
- Mark task complete in the tasks file: `- [ ]` → `- [x]`
|
|
76
|
-
- Continue to next task
|
|
77
|
-
|
|
78
|
-
**Pause if:**
|
|
79
|
-
|
|
80
|
-
- Task is unclear → ask for clarification
|
|
81
|
-
- Implementation reveals a design issue → suggest updating artifacts
|
|
82
|
-
- Error or blocker encountered → report and wait for guidance
|
|
83
|
-
- User interrupts
|
|
84
|
-
|
|
85
|
-
7. **On completion or pause, show status**
|
|
86
|
-
|
|
87
|
-
Display:
|
|
88
|
-
|
|
89
|
-
- Tasks completed this session
|
|
90
|
-
- Overall progress: "N/M tasks complete"
|
|
91
|
-
- If all done: suggest archive
|
|
92
|
-
- If paused: explain why and wait for guidance
|
|
93
|
-
|
|
94
|
-
**Output During Implementation**
|
|
95
|
-
|
|
96
|
-
```
|
|
97
|
-
## Implementing: <change-name> (schema: <schema-name>)
|
|
98
|
-
|
|
99
|
-
Working on task 3/7: <task description>
|
|
100
|
-
[...implementation happening...]
|
|
101
|
-
✓ Task complete
|
|
102
|
-
|
|
103
|
-
Working on task 4/7: <task description>
|
|
104
|
-
[...implementation happening...]
|
|
105
|
-
✓ Task complete
|
|
106
|
-
```
|
|
107
|
-
|
|
108
|
-
**Output On Completion**
|
|
109
|
-
|
|
110
|
-
```
|
|
111
|
-
## Implementation Complete
|
|
112
|
-
|
|
113
|
-
**Change:** <change-name>
|
|
114
|
-
**Schema:** <schema-name>
|
|
115
|
-
**Progress:** 7/7 tasks complete ✓
|
|
116
|
-
|
|
117
|
-
### Completed This Session
|
|
118
|
-
- [x] Task 1
|
|
119
|
-
- [x] Task 2
|
|
120
|
-
...
|
|
121
|
-
|
|
122
|
-
All tasks complete! You can archive this change with `/cleto-archive`.
|
|
123
|
-
```
|
|
124
|
-
|
|
125
|
-
**Output On Pause (Issue Encountered)**
|
|
126
|
-
|
|
127
|
-
```
|
|
128
|
-
## Implementation Paused
|
|
129
|
-
|
|
130
|
-
**Change:** <change-name>
|
|
131
|
-
**Schema:** <schema-name>
|
|
132
|
-
**Progress:** 4/7 tasks complete
|
|
133
|
-
|
|
134
|
-
### Issue Encountered
|
|
135
|
-
<description of the issue>
|
|
136
|
-
|
|
137
|
-
**Options:**
|
|
138
|
-
1. <option 1>
|
|
139
|
-
2. <option 2>
|
|
140
|
-
3. Other approach
|
|
141
|
-
|
|
142
|
-
What would you like to do?
|
|
143
|
-
```
|
|
144
|
-
|
|
145
|
-
**Guardrails**
|
|
146
|
-
|
|
147
|
-
- Keep going through tasks until done or blocked
|
|
148
|
-
- Always read context files before starting (from the apply instructions output)
|
|
149
|
-
- If task is ambiguous, pause and ask before implementing
|
|
150
|
-
- If implementation reveals issues, pause and suggest artifact updates
|
|
151
|
-
- Keep code changes minimal and scoped to each task
|
|
152
|
-
- Update task checkbox immediately after completing each task
|
|
153
|
-
- Pause on errors, blockers, or unclear requirements - don't guess
|
|
154
|
-
- Use contextFiles from CLI output, don't assume specific file names
|
|
155
|
-
|
|
156
|
-
**Fluid Workflow Integration**
|
|
157
|
-
|
|
158
|
-
This skill supports the "actions on a change" model:
|
|
159
|
-
|
|
160
|
-
- **Can be invoked anytime**: Before all artifacts are done (if tasks exist), after partial implementation, interleaved with other actions
|
|
161
|
-
- **Allows artifact updates**: If implementation reveals design issues, suggest updating artifacts - not phase-locked, work fluidly
|
|
9
|
+
Work Item grounding (when the request references a Work Item) is owned by `@context-resolver`.
|
|
@@ -2,170 +2,8 @@
|
|
|
2
2
|
description: Archive a completed change in the experimental workflow
|
|
3
3
|
---
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Invoke the `ancleto-archive` skill with the Skill tool and follow it exactly; do not improvise steps.
|
|
6
6
|
|
|
7
7
|
**Input**: Optionally specify a change name after `/cleto-archive` (e.g., `/cleto-archive add-auth`). If omitted, check if it can be inferred from conversation context. If vague or ambiguous you MUST prompt for available changes.
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
1. **If no change name provided, prompt for selection**
|
|
12
|
-
|
|
13
|
-
Run `aspec list --json` to get available changes. Use the **AskUserQuestion tool** to let the user select.
|
|
14
|
-
|
|
15
|
-
Show only active changes (not already archived).
|
|
16
|
-
Include the schema used for each change if available.
|
|
17
|
-
|
|
18
|
-
**IMPORTANT**: Do NOT guess or auto-select a change. Always let the user choose.
|
|
19
|
-
|
|
20
|
-
2. **Check artifact completion status**
|
|
21
|
-
|
|
22
|
-
Run `aspec status --change "<name>" --json` to check artifact completion.
|
|
23
|
-
|
|
24
|
-
Parse the JSON to understand:
|
|
25
|
-
|
|
26
|
-
- `schemaName`: The workflow being used
|
|
27
|
-
- `artifacts`: List of artifacts with their status (`done` or other)
|
|
28
|
-
|
|
29
|
-
**If any artifacts are not `done`:**
|
|
30
|
-
|
|
31
|
-
- Display warning listing incomplete artifacts
|
|
32
|
-
- Prompt user for confirmation to continue
|
|
33
|
-
- Proceed if user confirms
|
|
34
|
-
|
|
35
|
-
3. **Check task completion status**
|
|
36
|
-
|
|
37
|
-
Read the tasks file (typically `tasks.md`) to check for incomplete tasks.
|
|
38
|
-
|
|
39
|
-
Count tasks marked with `- [ ]` (incomplete) vs `- [x]` (complete).
|
|
40
|
-
|
|
41
|
-
**If incomplete tasks found:**
|
|
42
|
-
|
|
43
|
-
- Display warning showing count of incomplete tasks
|
|
44
|
-
- Prompt user for confirmation to continue
|
|
45
|
-
- Proceed if user confirms
|
|
46
|
-
|
|
47
|
-
**If no tasks file exists:** Proceed without task-related warning.
|
|
48
|
-
|
|
49
|
-
4. **Assess delta spec sync state**
|
|
50
|
-
|
|
51
|
-
Check for delta specs at `aspec/changes/<name>/specs/`. If none exist, proceed without sync prompt.
|
|
52
|
-
|
|
53
|
-
**If delta specs exist:**
|
|
54
|
-
|
|
55
|
-
- Compare each delta spec with its corresponding main spec at `aspec/specs/<capability>/spec.md`
|
|
56
|
-
- Determine what changes would be applied (adds, modifications, removals, renames)
|
|
57
|
-
- Show a combined summary before prompting
|
|
58
|
-
|
|
59
|
-
**Prompt options:**
|
|
60
|
-
|
|
61
|
-
- If changes needed: "Sync now (recommended)", "Archive without syncing"
|
|
62
|
-
- If already synced: "Archive now", "Sync anyway", "Cancel"
|
|
63
|
-
|
|
64
|
-
If user chooses sync, use Task tool (subagent_type: "general-purpose", prompt: "Use Skill tool to invoke ancleto-sync-specs for change '<name>'. Delta spec analysis: <include the analyzed delta spec summary>"). Proceed to archive regardless of choice.
|
|
65
|
-
|
|
66
|
-
5. **Perform the archive**
|
|
67
|
-
|
|
68
|
-
Create the archive directory if it doesn't exist:
|
|
69
|
-
|
|
70
|
-
```bash
|
|
71
|
-
mkdir -p aspec/changes/archive
|
|
72
|
-
```
|
|
73
|
-
|
|
74
|
-
Generate target name using current date: `YYYY-MM-DD-<change-name>`
|
|
75
|
-
|
|
76
|
-
**Check if target already exists:**
|
|
77
|
-
|
|
78
|
-
- If yes: Fail with error, suggest renaming existing archive or using different date
|
|
79
|
-
- If no: Clean up scaffold files and move the change directory to archive
|
|
80
|
-
|
|
81
|
-
**Before moving**, delete scaffold-only files if present — they must not be preserved in the archive:
|
|
82
|
-
|
|
83
|
-
```bash
|
|
84
|
-
rm -f aspec/changes/<name>/context.md
|
|
85
|
-
```
|
|
86
|
-
|
|
87
|
-
Then move:
|
|
88
|
-
|
|
89
|
-
```bash
|
|
90
|
-
mv aspec/changes/<name> aspec/changes/archive/YYYY-MM-DD-<name>
|
|
91
|
-
```
|
|
92
|
-
|
|
93
|
-
6. **Display summary**
|
|
94
|
-
|
|
95
|
-
Show archive completion summary including:
|
|
96
|
-
|
|
97
|
-
- Change name
|
|
98
|
-
- Schema that was used
|
|
99
|
-
- Archive location
|
|
100
|
-
- Spec sync status (synced / sync skipped / no delta specs)
|
|
101
|
-
- Note about any warnings (incomplete artifacts/tasks)
|
|
102
|
-
|
|
103
|
-
**Output On Success**
|
|
104
|
-
|
|
105
|
-
```
|
|
106
|
-
## Archive Complete
|
|
107
|
-
|
|
108
|
-
**Change:** <change-name>
|
|
109
|
-
**Schema:** <schema-name>
|
|
110
|
-
**Archived to:** aspec/changes/archive/YYYY-MM-DD-<name>/
|
|
111
|
-
**Specs:** ✓ Synced to main specs
|
|
112
|
-
|
|
113
|
-
All artifacts complete. All tasks complete.
|
|
114
|
-
```
|
|
115
|
-
|
|
116
|
-
**Output On Success (No Delta Specs)**
|
|
117
|
-
|
|
118
|
-
```
|
|
119
|
-
## Archive Complete
|
|
120
|
-
|
|
121
|
-
**Change:** <change-name>
|
|
122
|
-
**Schema:** <schema-name>
|
|
123
|
-
**Archived to:** aspec/changes/archive/YYYY-MM-DD-<name>/
|
|
124
|
-
**Specs:** No delta specs
|
|
125
|
-
|
|
126
|
-
All artifacts complete. All tasks complete.
|
|
127
|
-
```
|
|
128
|
-
|
|
129
|
-
**Output On Success With Warnings**
|
|
130
|
-
|
|
131
|
-
```
|
|
132
|
-
## Archive Complete (with warnings)
|
|
133
|
-
|
|
134
|
-
**Change:** <change-name>
|
|
135
|
-
**Schema:** <schema-name>
|
|
136
|
-
**Archived to:** aspec/changes/archive/YYYY-MM-DD-<name>/
|
|
137
|
-
**Specs:** Sync skipped (user chose to skip)
|
|
138
|
-
|
|
139
|
-
**Warnings:**
|
|
140
|
-
- Archived with 2 incomplete artifacts
|
|
141
|
-
- Archived with 3 incomplete tasks
|
|
142
|
-
- Delta spec sync was skipped (user chose to skip)
|
|
143
|
-
|
|
144
|
-
Review the archive if this was not intentional.
|
|
145
|
-
```
|
|
146
|
-
|
|
147
|
-
**Output On Error (Archive Exists)**
|
|
148
|
-
|
|
149
|
-
```
|
|
150
|
-
## Archive Failed
|
|
151
|
-
|
|
152
|
-
**Change:** <change-name>
|
|
153
|
-
**Target:** aspec/changes/archive/YYYY-MM-DD-<name>/
|
|
154
|
-
|
|
155
|
-
Target archive directory already exists.
|
|
156
|
-
|
|
157
|
-
**Options:**
|
|
158
|
-
1. Rename the existing archive
|
|
159
|
-
2. Delete the existing archive if it's a duplicate
|
|
160
|
-
3. Wait until a different date to archive
|
|
161
|
-
```
|
|
162
|
-
|
|
163
|
-
**Guardrails**
|
|
164
|
-
|
|
165
|
-
- Always prompt for change selection if not provided
|
|
166
|
-
- Use artifact graph (aspec status --json) for completion checking
|
|
167
|
-
- Don't block archive on warnings - just inform and confirm
|
|
168
|
-
- Preserve .aspec.yaml when moving to archive (it moves with the directory)
|
|
169
|
-
- Show clear summary of what happened
|
|
170
|
-
- If sync is requested, use the Skill tool to invoke `ancleto-sync-specs` (agent-driven)
|
|
171
|
-
- If delta specs exist, always run the sync assessment and show the combined summary before prompting
|
|
9
|
+
Work Item grounding (when the request references a Work Item) is owned by `@context-resolver`.
|