@tacuchi/agent-workflow-cli 18.0.0 → 19.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.
- package/README.md +11 -11
- package/dist/application/self/install-skill.d.ts +17 -3
- package/dist/application/self/install-skill.d.ts.map +1 -1
- package/dist/application/self/install-skill.js +206 -109
- package/dist/application/self/install-skill.js.map +1 -1
- package/dist/application/self/skills-manager.d.ts.map +1 -1
- package/dist/application/self/skills-manager.js +9 -3
- package/dist/application/self/skills-manager.js.map +1 -1
- package/dist/application/self/uninstall.d.ts.map +1 -1
- package/dist/application/self/uninstall.js +23 -12
- package/dist/application/self/uninstall.js.map +1 -1
- package/dist/domain/harnesses.d.ts.map +1 -1
- package/dist/domain/harnesses.js +20 -10
- package/dist/domain/harnesses.js.map +1 -1
- package/dist/domain/skills.js +1 -1
- package/dist/domain/skills.js.map +1 -1
- package/package.json +1 -1
- package/skills/w/README.md +4 -4
- package/skills/w/SKILL.md +7 -7
- package/skills/w/artifacts/artifacts-design/SPEC.md +2 -2
- package/skills/w/commands/README.md +3 -3
- package/skills/w/commands/export-diagrams.md +2 -2
- package/skills/w/commands/export-manuals.md +2 -2
- package/skills/w/commands/export-reports.md +2 -2
- package/skills/w/commands/export-scripts.md +2 -2
- package/skills/w/commands/fix-git.md +2 -2
- package/skills/w/commands/plan-exec.md +3 -3
- package/skills/w/commands/plan-new.md +3 -3
- package/skills/w/commands/plan-refine.md +3 -3
- package/skills/w/commands/quick.md +4 -4
- package/skills/w/commands/spec-new.md +3 -3
- package/skills/w/commands/spec-refine.md +2 -2
- package/skills/w/exports/README.md +11 -11
- package/skills/w/exports/export-diagrams/{SKILL.md → EXPORT.md} +2 -2
- package/skills/w/exports/export-manuals/{SKILL.md → EXPORT.md} +2 -2
- package/skills/w/exports/export-reports/{SKILL.md → EXPORT.md} +2 -2
- package/skills/w/exports/export-scripts/{SKILL.md → EXPORT.md} +2 -2
- package/skills/w/harness/{SKILL.md → HARNESS.md} +15 -4
- package/skills/w/loops/CHASSIS.md +8 -8
- package/skills/w/loops/CODE-POLICIES.md +2 -2
- package/skills/w/loops/README.md +12 -12
- package/skills/w/loops/plan-exec-loop/{SKILL.md → LOOP.md} +1 -1
- package/skills/w/loops/plan-new-loop/{SKILL.md → LOOP.md} +3 -3
- package/skills/w/loops/plan-refine-loop/{SKILL.md → LOOP.md} +3 -3
- package/skills/w/loops/quick-loop/{SKILL.md → LOOP.md} +2 -2
- package/skills/w/loops/spec-refine-loop/{SKILL.md → LOOP.md} +2 -2
- package/skills/w/roles/README.md +9 -9
- package/skills/w/roles/git/{SKILL.md → ROLE.md} +1 -1
- package/skills/w/roles/research/{SKILL.md → ROLE.md} +1 -1
- package/skills/w/roles/ui-spec/{SKILL.md → ROLE.md} +3 -3
- /package/skills/w/roles/diagrams/{SKILL.md → ROLE.md} +0 -0
- /package/skills/w/roles/sql/{SKILL.md → ROLE.md} +0 -0
package/skills/w/roles/README.md
CHANGED
|
@@ -12,12 +12,12 @@ All 6 roles, their built-in defaults, their tier, and which loops/exports compos
|
|
|
12
12
|
|
|
13
13
|
| Role | Default built-in | Tier | Composed by |
|
|
14
14
|
|---|---|---|---|
|
|
15
|
-
| `ui-design` | [`ui-spec`](ui-spec/
|
|
15
|
+
| `ui-design` | [`ui-spec`](ui-spec/ROLE.md) | must | `spec-refine-loop` (when requirement involves UI) · `plan-new-loop` / `plan-refine-loop` (per-screen design SPECs) |
|
|
16
16
|
| `sql` | `sql` | must | inline research · `plan-exec-loop` · `quick-loop` · `export-scripts` |
|
|
17
17
|
| `git` | `git` | must | `plan-exec-loop` · `quick-loop` |
|
|
18
|
-
| `research` | [`research`](research/
|
|
19
|
-
| `diagrams` | [`diagrams`](diagrams/
|
|
20
|
-
| `overview` | `
|
|
18
|
+
| `research` | [`research`](research/ROLE.md) | should | all loops (on-demand investigation) |
|
|
19
|
+
| `diagrams` | [`diagrams`](diagrams/ROLE.md) | should | `export-diagrams` |
|
|
20
|
+
| `overview` | `w` | should | any loop (orientation about the workflow itself) |
|
|
21
21
|
|
|
22
22
|
**Tiers:**
|
|
23
23
|
- `must` — core to almost every session; built-in always active unless explicitly `off`.
|
|
@@ -61,7 +61,7 @@ built-in default
|
|
|
61
61
|
# git = "git"
|
|
62
62
|
# research = "research"
|
|
63
63
|
# diagrams = "diagrams"
|
|
64
|
-
# overview = "
|
|
64
|
+
# overview = "w"
|
|
65
65
|
|
|
66
66
|
# Override examples:
|
|
67
67
|
ui-design = "acme/figma-spec" # third-party skill installed via skills.sh
|
|
@@ -116,7 +116,7 @@ sql sql built-in
|
|
|
116
116
|
git git built-in
|
|
117
117
|
research research built-in
|
|
118
118
|
diagrams mermaid-only global (~/.workflow/skills.toml)
|
|
119
|
-
overview
|
|
119
|
+
overview w built-in
|
|
120
120
|
```
|
|
121
121
|
|
|
122
122
|
---
|
|
@@ -124,13 +124,13 @@ overview workflow built-in
|
|
|
124
124
|
## Adding a new role
|
|
125
125
|
|
|
126
126
|
1. Define the role in this README (name, default built-in, tier, composed by).
|
|
127
|
-
2. Author the built-in skill under `roles/<name>/
|
|
127
|
+
2. Author the built-in skill under `roles/<name>/ROLE.md` following the schema.
|
|
128
128
|
3. Register it in the CLI resolver so `aw skills` lists it.
|
|
129
129
|
4. Document the binding key in the `skills.toml` reference above.
|
|
130
130
|
|
|
131
131
|
## Authoring a built-in skill
|
|
132
132
|
|
|
133
|
-
Each `
|
|
133
|
+
Each `ROLE.md` follows this schema:
|
|
134
134
|
|
|
135
135
|
| Section | Content |
|
|
136
136
|
|---|---|
|
|
@@ -143,4 +143,4 @@ Each `SKILL.md` follows this schema:
|
|
|
143
143
|
| `## Output` | what it produces and where (if any) |
|
|
144
144
|
| `## Source` | recycled from (if applicable) |
|
|
145
145
|
|
|
146
|
-
See [`research/
|
|
146
|
+
See [`research/ROLE.md`](research/ROLE.md) as a reference implementation.
|
|
@@ -46,7 +46,7 @@ And **always** forbidden, even when the user asks for a commit: `--no-verify` (r
|
|
|
46
46
|
|
|
47
47
|
### Read-only operations (always allowed, no asking)
|
|
48
48
|
|
|
49
|
-
`status` · `log` · `diff` · `branch --show-current` · `rev-parse` · `show`. `git checkout` (branch switch) is **not** read-only: it requires *structured-choice* (canonical rule: `../../loops/CHASSIS.md` § *Structured-choice*; per-harness binding: `../../harness/
|
|
49
|
+
`status` · `log` · `diff` · `branch --show-current` · `rev-parse` · `show`. `git checkout` (branch switch) is **not** read-only: it requires *structured-choice* (canonical rule: `../../loops/CHASSIS.md` § *Structured-choice*; per-harness binding: `../../harness/HARNESS.md`) even though it is not destructive (see branch verification).
|
|
50
50
|
|
|
51
51
|
### Branch verification (before editing)
|
|
52
52
|
|
|
@@ -25,7 +25,7 @@ The key discriminator:
|
|
|
25
25
|
| The question... | Action |
|
|
26
26
|
|---|---|
|
|
27
27
|
| can be answered by reading repo / data (objective system facts) | **investigate** |
|
|
28
|
-
| depends on the user's preferences, priorities or decisions | **ask the human** via *structured-choice* (canonical rule: `../../loops/CHASSIS.md` § *Structured-choice*; per-harness binding: `../../harness/
|
|
28
|
+
| depends on the user's preferences, priorities or decisions | **ask the human** via *structured-choice* (canonical rule: `../../loops/CHASSIS.md` § *Structured-choice*; per-harness binding: `../../harness/HARNESS.md`) |
|
|
29
29
|
| is partly in the repo and partly user intent | investigate first, then ask only about the uncertain part |
|
|
30
30
|
|
|
31
31
|
## Composed by
|
|
@@ -27,12 +27,12 @@ Given a UI requirement, author a **structured Markdown description** of the scre
|
|
|
27
27
|
|
|
28
28
|
Two levels, same capability:
|
|
29
29
|
|
|
30
|
-
- **`spec-refine-loop`** (see `../../loops/spec-refine-loop/
|
|
31
|
-
- **`plan-new-loop` · `plan-refine-loop`** (see `../../loops/plan-new-loop/
|
|
30
|
+
- **`spec-refine-loop`** (see `../../loops/spec-refine-loop/LOOP.md`) — resolving the **UI unspecified** gap (when the requirement involves UI): authors the spec's `## UI spec` section (the UI's *what*, coarse-grain screens).
|
|
31
|
+
- **`plan-new-loop` · `plan-refine-loop`** (see `../../loops/plan-new-loop/LOOP.md` § *Delta 4*) — resolving the **UI without design SPEC** gap (when the **plan includes UI**): authors per-screen **design SPECs** (`NNN-SPEC-<SLUG>.md`) as **PLAN session artifacts** (see `../../artifacts/artifacts-design/SPEC.md`); they derive from `## UI spec` when it exists.
|
|
32
32
|
|
|
33
33
|
In both, the composing loop contributes:
|
|
34
34
|
|
|
35
|
-
- **Asking the human** (design system, theme, screen ambiguities) via *structured-choice* (canonical rule: `../../loops/CHASSIS.md` § *Structured-choice*; per-harness binding: `../../harness/
|
|
35
|
+
- **Asking the human** (design system, theme, screen ambiguities) via *structured-choice* (canonical rule: `../../loops/CHASSIS.md` § *Structured-choice*; per-harness binding: `../../harness/HARNESS.md`).
|
|
36
36
|
- **Gap-driven iteration** until convergence.
|
|
37
37
|
- Offering **variants** and **curating** the result.
|
|
38
38
|
|
|
File without changes
|
|
File without changes
|