Skip to content

Commit 89ae3d4

Browse files
committed
fix: claude agents install
1 parent 30afb1e commit 89ae3d4

15 files changed

Lines changed: 47 additions & 48 deletions

File tree

.agents/skills/dispatch

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../.spec-driver/skills/dispatch

.agents/skills/sub-driver

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../.spec-driver/skills/sub-driver

.pi/extensions/spec-driver-artifact-events.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@
1616
* supekku/claude.hooks/artifact_event.py (_ARTIFACT_PATTERNS)
1717
* see mem.artifact-pattern-sync
1818
*/
19-
import type {
20-
ExtensionFactory,
21-
} from "@mariozechner/pi-coding-agent";
19+
import type { ExtensionFactory } from "@mariozechner/pi-coding-agent";
2220
import { spawnSync } from "node:child_process";
2321
import { appendFileSync, mkdirSync } from "node:fs";
2422
import { join, relative } from "node:path";

.spec-driver/AGENTS.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,15 @@
66
When users ask you to perform tasks, check if any of the available skills below can help complete the task more effectively. Skills provide specialized capabilities and domain knowledge.
77

88
How to use skills:
9-
109
- Check available skills in <available_skills> below
1110
- Skills are loaded via slash commands or agent tooling
1211
- Each skill contains detailed instructions for completing specific tasks
1312

1413
Usage notes:
15-
1614
- Only use skills listed in <available_skills> below
1715
- Do not invoke a skill that is already loaded in your context
1816
- Each skill invocation is stateless
19-
</usage>
17+
</usage>
2018

2119
<available_skills>
2220

@@ -56,6 +54,12 @@ Usage notes:
5654
<location>project</location>
5755
</skill>
5856

57+
<skill>
58+
<name>dispatch</name>
59+
<description>Orchestrate parallel implementation via sub-agents. Reads an IP's phase/task structure, analyses parallelism, batches tasks by token budget, routes to appropriate models (sonnet/opus), and dispatches workers in isolated worktrees. Use instead of /execute-phase when a phase has parallelizable work.</description>
60+
<location>project</location>
61+
</skill>
62+
5963
<skill>
6064
<name>doctrine</name>
6165
<description>Understand project governance to avoid spreading heresy. you</description>
@@ -140,6 +144,12 @@ Usage notes:
140144
<location>project</location>
141145
</skill>
142146

147+
<skill>
148+
<name>sub-driver</name>
149+
<description>Lightweight spec-driver fluency for dispatch workers. Provides the minimum vocabulary, commands, and boundaries needed to navigate a spec-driver project without full boot ceremony. Loaded via skills: frontmatter in dispatch-worker agent definition.</description>
150+
<location>project</location>
151+
</skill>
152+
143153
<skill>
144154
<name>update-delta-docs</name>
145155
<description>Reconcile DE/IP/phase/DR execution artefacts during delta work. Use this when implementation changes structured execution state, not just notes.</description>
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
schema: supekku.workflow.state
2+
version: 1
3+
artifact:
4+
id: DE-133
5+
kind: delta
6+
path: .spec-driver/deltas/DE-133-installer_support_for_claude_agents_agent_sync_pipeline
7+
notes_path: .spec-driver/deltas/DE-133-installer_support_for_claude_agents_agent_sync_pipeline/notes.md
8+
phase:
9+
id: IP-133.PHASE-01
10+
status: in_progress
11+
path: .spec-driver/deltas/DE-133-installer_support_for_claude_agents_agent_sync_pipeline/phases/phase-01.md
12+
workflow:
13+
status: implementing
14+
active_role: implementer
15+
handoff_boundary: phase
16+
timestamps:
17+
created: '2026-04-17T02:00:51+00:00'
18+
updated: '2026-04-17T02:00:51+00:00'
19+
plan:
20+
id: IP-133
21+
path: .spec-driver/deltas/DE-133-installer_support_for_claude_agents_agent_sync_pipeline/IP-133.md

.spec-driver/skills/boot/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ checking for the "Spec-Driver Boot Context" heading. If you cannot find
1111
it, warn the user:
1212

1313
> ⚠ Preboot context not found. Run `uv run spec-driver admin preboot`
14-
> and ensure `.claude/rules/spec-driver-boot.md` symlink exists.
14+
> and ensure `.agents/spec-driver-boot.md` symlink exists.
1515
1616
When boot context has been observed — print:
1717
Δ ∴ ⊤

.spec-driver/skills/capturing-memory/SKILL.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
---
22
name: capturing-memory
33
description: |
4-
Invoke this skill whenever any of the following occurs during work: (1) you discover or confirm a durable fact, constraint, invariant, or “how we do X here” pattern; (2) you create a new workflow/checklist that will be reused; (3) you resolve a recurring confusion (“where is the source of truth?”); (4) you make a decision that is not an ADR/SPEC but would prevent rework; (5) you detect a sharp edge, footgun, or non-obvious dependency that future agents will hit; (6) you complete an implementation phase or are closing a delta
4+
Invoke this skill whenever any of the following occurs during work: (1) you discover or confirm a durable fact, constraint, invariant, or “how we do X here” pattern; (2) you create a new workflow/checklist that will be reused; (3) you resolve a recurring confusion (“where is the source of truth?”); (4) you make a decision that is not an ADR/SPEC but would prevent rework; (5) you detect a sharp edge, footgun, or non-obvious dependency that future agents will hit.
55
Do NOT rely on conversational context to persist. When the information would save ≥10 minutes for a future agent, write a memory record immediately.
66
---
77

8-
Before treating a phase, task, or delta as closed, scan the current notes,
9-
artefacts, and your recent experience for durable guidance worth preserving.
8+
Phase and delta wrap-up are mandatory prompts for this skill. Before treating a
9+
phase, task, or delta as wrapped, scan the current notes, phase sheet, audit
10+
findings, and any fresh gotchas for durable guidance worth preserving.
1011

1112
Procedure:
1213

.spec-driver/skills/capturing-memory/tile.json

Lines changed: 0 additions & 11 deletions
This file was deleted.

.spec-driver/skills/close-change/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Inputs:
1515
Process:
1616

1717
1. Pre-check:
18-
- Phase/IP criteria complete; phase frontmatter statuses are `completed`
18+
- Phase/IP criteria complete
1919
- Specs patched to match contracts + audit findings
2020
- Relevant verification coverage statuses updated (typically `verified` where required)
2121
- Inspect the delta for originating backlog entries; if any exist, decide what closure update each needs before the delta is completed

.spec-driver/skills/continuation/SKILL.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,8 @@ uv run spec-driver create handoff <DELTA-ID> --to <role>
4040
Where `<role>` is the appropriate next role (e.g. `reviewer`, `implementer`,
4141
`architect`).
4242

43-
If you are completing a phase, use `phase complete` instead — it updates the
44-
phase sheet frontmatter to `completed`, marks state.yaml, and emits a handoff
45-
automatically:
43+
If you are completing a phase, use `phase complete` instead — it marks the
44+
phase done and emits a handoff automatically:
4645

4746
```
4847
uv run spec-driver phase complete <DELTA-ID>

0 commit comments

Comments
 (0)