@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.
Files changed (52) hide show
  1. package/README.md +11 -11
  2. package/dist/application/self/install-skill.d.ts +17 -3
  3. package/dist/application/self/install-skill.d.ts.map +1 -1
  4. package/dist/application/self/install-skill.js +206 -109
  5. package/dist/application/self/install-skill.js.map +1 -1
  6. package/dist/application/self/skills-manager.d.ts.map +1 -1
  7. package/dist/application/self/skills-manager.js +9 -3
  8. package/dist/application/self/skills-manager.js.map +1 -1
  9. package/dist/application/self/uninstall.d.ts.map +1 -1
  10. package/dist/application/self/uninstall.js +23 -12
  11. package/dist/application/self/uninstall.js.map +1 -1
  12. package/dist/domain/harnesses.d.ts.map +1 -1
  13. package/dist/domain/harnesses.js +20 -10
  14. package/dist/domain/harnesses.js.map +1 -1
  15. package/dist/domain/skills.js +1 -1
  16. package/dist/domain/skills.js.map +1 -1
  17. package/package.json +1 -1
  18. package/skills/w/README.md +4 -4
  19. package/skills/w/SKILL.md +7 -7
  20. package/skills/w/artifacts/artifacts-design/SPEC.md +2 -2
  21. package/skills/w/commands/README.md +3 -3
  22. package/skills/w/commands/export-diagrams.md +2 -2
  23. package/skills/w/commands/export-manuals.md +2 -2
  24. package/skills/w/commands/export-reports.md +2 -2
  25. package/skills/w/commands/export-scripts.md +2 -2
  26. package/skills/w/commands/fix-git.md +2 -2
  27. package/skills/w/commands/plan-exec.md +3 -3
  28. package/skills/w/commands/plan-new.md +3 -3
  29. package/skills/w/commands/plan-refine.md +3 -3
  30. package/skills/w/commands/quick.md +4 -4
  31. package/skills/w/commands/spec-new.md +3 -3
  32. package/skills/w/commands/spec-refine.md +2 -2
  33. package/skills/w/exports/README.md +11 -11
  34. package/skills/w/exports/export-diagrams/{SKILL.md → EXPORT.md} +2 -2
  35. package/skills/w/exports/export-manuals/{SKILL.md → EXPORT.md} +2 -2
  36. package/skills/w/exports/export-reports/{SKILL.md → EXPORT.md} +2 -2
  37. package/skills/w/exports/export-scripts/{SKILL.md → EXPORT.md} +2 -2
  38. package/skills/w/harness/{SKILL.md → HARNESS.md} +15 -4
  39. package/skills/w/loops/CHASSIS.md +8 -8
  40. package/skills/w/loops/CODE-POLICIES.md +2 -2
  41. package/skills/w/loops/README.md +12 -12
  42. package/skills/w/loops/plan-exec-loop/{SKILL.md → LOOP.md} +1 -1
  43. package/skills/w/loops/plan-new-loop/{SKILL.md → LOOP.md} +3 -3
  44. package/skills/w/loops/plan-refine-loop/{SKILL.md → LOOP.md} +3 -3
  45. package/skills/w/loops/quick-loop/{SKILL.md → LOOP.md} +2 -2
  46. package/skills/w/loops/spec-refine-loop/{SKILL.md → LOOP.md} +2 -2
  47. package/skills/w/roles/README.md +9 -9
  48. package/skills/w/roles/git/{SKILL.md → ROLE.md} +1 -1
  49. package/skills/w/roles/research/{SKILL.md → ROLE.md} +1 -1
  50. package/skills/w/roles/ui-spec/{SKILL.md → ROLE.md} +3 -3
  51. /package/skills/w/roles/diagrams/{SKILL.md → ROLE.md} +0 -0
  52. /package/skills/w/roles/sql/{SKILL.md → ROLE.md} +0 -0
@@ -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/SKILL.md) | must | `spec-refine-loop` (when requirement involves UI) · `plan-new-loop` / `plan-refine-loop` (per-screen design SPECs) |
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/SKILL.md) | should | all loops (on-demand investigation) |
19
- | `diagrams` | [`diagrams`](diagrams/SKILL.md) | should | `export-diagrams` |
20
- | `overview` | `workflow` | should | any loop (orientation about the workflow itself) |
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 = "workflow"
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 workflow built-in
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>/SKILL.md` following the schema.
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 `SKILL.md` follows this schema:
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/SKILL.md`](research/SKILL.md) as a reference implementation.
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/SKILL.md`) even though it is not destructive (see branch verification).
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/SKILL.md`) |
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/SKILL.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/SKILL.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.
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/SKILL.md`).
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