@tacuchi/agent-workflow-cli 12.7.0 → 12.7.1
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow-content.d.ts","sourceRoot":"","sources":["../../../../src/cli/tui/data/workflow-content.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAEjE,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,eAAe;IAC9B,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,aAAa,EAAE,CAAC;IACxB,eAAe,EAAE,cAAc,EAAE,CAAC;IAClC,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,KAAK,EAAE,SAAS,EAAE,CAAC;CACpB;AAED,eAAO,MAAM,gBAAgB,EAAE,
|
|
1
|
+
{"version":3,"file":"workflow-content.d.ts","sourceRoot":"","sources":["../../../../src/cli/tui/data/workflow-content.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAEjE,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,eAAe;IAC9B,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,aAAa,EAAE,CAAC;IACxB,eAAe,EAAE,cAAc,EAAE,CAAC;IAClC,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,KAAK,EAAE,SAAS,EAAE,CAAC;CACpB;AAED,eAAO,MAAM,gBAAgB,EAAE,eAiL9B,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Datos del Workflow tab — hardcoded para evitar I/O en render.
|
|
2
2
|
// Sincronizado con el modelo rediseñado (stages + loops + artifacts):
|
|
3
3
|
// - skills/w/commands/ (/w: slash commands — 1 por archivo .md)
|
|
4
|
-
// - skills/w/README.md (3 layers + 3 flows: SPEC /
|
|
4
|
+
// - skills/w/README.md (3 layers + 3 flows: SPEC / PLAN / QUICK)
|
|
5
5
|
// - src/cli/help-groups.ts (familias del CLI real, post-cleanup)
|
|
6
6
|
// - skills/w/hooks/hooks.template.json (5 eventos)
|
|
7
7
|
//
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// renombran familias en help-groups.ts, actualizar este archivo. Los totales se
|
|
10
10
|
// derivan con `.length` en runtime — NO hardcodear cantidades en strings.
|
|
11
11
|
export const WORKFLOW_CONTENT = {
|
|
12
|
-
overview: "Stages + loops + artifacts — 3 flows (SPEC ·
|
|
12
|
+
overview: "Stages + loops + artifacts — 3 flows (SPEC · PLAN · QUICK) drive convergent loops over session artifacts; export-* promotes to docs/. Transversal skills (/w:status · /w:fix-git) sit outside the flows.",
|
|
13
13
|
// Las 3 FLOWS del modelo + bootstrap (workspace-init) + familia export-*.
|
|
14
14
|
// Reusa PhaseCardData genérico (id/n/title/desc/commands/slash/hook).
|
|
15
15
|
phases: [
|
|
@@ -32,9 +32,9 @@ export const WORKFLOW_CONTENT = {
|
|
|
32
32
|
hook: "—",
|
|
33
33
|
},
|
|
34
34
|
{
|
|
35
|
-
id: "
|
|
35
|
+
id: "plan",
|
|
36
36
|
n: 3,
|
|
37
|
-
title: "
|
|
37
|
+
title: "PLAN — the how",
|
|
38
38
|
desc: "Plan and execute. plan-new + plan-exec each drive loops → docs/plans · docs/tools.",
|
|
39
39
|
commands: ["plan-new", "plan-exec"],
|
|
40
40
|
slash: "/w:plan-new · /w:plan-exec",
|
|
@@ -146,6 +146,7 @@ export const WORKFLOW_CONTENT = {
|
|
|
146
146
|
"/w:plan-exec",
|
|
147
147
|
"/w:quick",
|
|
148
148
|
"/w:status",
|
|
149
|
+
"/w:fix-git",
|
|
149
150
|
"/w:export-scripts",
|
|
150
151
|
"/w:export-manuals",
|
|
151
152
|
"/w:export-diagrams",
|
|
@@ -171,7 +172,7 @@ export const WORKFLOW_CONTENT = {
|
|
|
171
172
|
{
|
|
172
173
|
name: "PreCompact",
|
|
173
174
|
matcher: "(any)",
|
|
174
|
-
fires: "checkpoint-write —
|
|
175
|
+
fires: "checkpoint-write — writes CHECKPOINT.md before compacting",
|
|
175
176
|
},
|
|
176
177
|
{
|
|
177
178
|
name: "PostCompact",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow-content.js","sourceRoot":"","sources":["../../../../src/cli/tui/data/workflow-content.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,sEAAsE;AACtE,oEAAoE;AACpE,
|
|
1
|
+
{"version":3,"file":"workflow-content.js","sourceRoot":"","sources":["../../../../src/cli/tui/data/workflow-content.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,sEAAsE;AACtE,oEAAoE;AACpE,qEAAqE;AACrE,mEAAmE;AACnE,qDAAqD;AACrD,EAAE;AACF,0EAA0E;AAC1E,gFAAgF;AAChF,0EAA0E;AAmB1E,MAAM,CAAC,MAAM,gBAAgB,GAAoB;IAC/C,QAAQ,EACN,0MAA0M;IAE5M,0EAA0E;IAC1E,sEAAsE;IACtE,MAAM,EAAE;QACN;YACE,EAAE,EAAE,gBAAgB;YACpB,CAAC,EAAE,CAAC;YACJ,KAAK,EAAE,gBAAgB;YACvB,IAAI,EAAE,mGAAmG;YACzG,QAAQ,EAAE,CAAC,gBAAgB,CAAC;YAC5B,KAAK,EAAE,mBAAmB;YAC1B,IAAI,EAAE,cAAc;SACrB;QACD;YACE,EAAE,EAAE,MAAM;YACV,CAAC,EAAE,CAAC;YACJ,KAAK,EAA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AO,EAAE,sBAAsB;YAC/B,KAAK,EAAE,0DAA0D;SAClE;QACD;YACE,IAAI,EAAE,YAAY;YAClB,OAAO,EAAE,mDAAmD;YAC5D,KAAK,EAAE,wDAAwD;SAChE;QACD;YACE,IAAI,EAAE,YAAY;YAClB,OAAO,EAAE,OAAO;YAChB,KAAK,EAAE,sCAAsC;SAC9C;QACD;YACE,IAAI,EAAE,YAAY;YAClB,OAAO,EAAE,OAAO;YAChB,KAAK,EAAE,2DAA2D;SACnE;QACD;YACE,IAAI,EAAE,aAAa;YACnB,OAAO,EAAE,OAAO;YAChB,KAAK,EAAE,iDAAiD;SACzD;KACF;CACF,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tacuchi/agent-workflow-cli",
|
|
3
|
-
"version": "12.7.
|
|
3
|
+
"version": "12.7.1",
|
|
4
4
|
"description": "Agnostic runtime CLI for AI development workflows — a stages + loops + artifacts harness. Bundles the universal `w` skill set under `skills/w/` (slash commands `/w:*`: spec-new/spec-refine, plan-new/plan-exec, quick, workspace-init, export-*); `self install --target <host>` copies SKILL + commands + hooks into the host. Pluggable capability skills via `.workflow/skills.toml`. Multi-empresa parametrization via `profile.json` cascade. Namespace auto-detected from any `.<ns>/sessions/` dir in CWD; default `workflow`.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
package/skills/w/SKILL.md
CHANGED
|
@@ -73,10 +73,15 @@ Cadena típica: prompt → `spec-new` genera `docs/specs/NNN-spec-<slug>.md` →
|
|
|
73
73
|
- `/w:plan-new` — arranca `plan-new-loop` para derivar un plan ejecutable del spec refinado.
|
|
74
74
|
- `/w:plan-exec` — arranca `plan-exec-loop` para ejecutar y mantener el plan.
|
|
75
75
|
- `/w:quick` — arranca `quick-loop` (atajo, sin `docs/`).
|
|
76
|
-
- `/w:status` — dashboard read-only del workspace (Hecho/Falta/Descartó, con fechas en español). Transversal: no es un flow, no escribe nada; se apoya en `aw status`.
|
|
77
|
-
- `/w:fix-git` — resuelve conflictos de un merge en curso en cualquier repo (identifica origen↔destino, analiza intención, *structured-choice* ante ambigüedad). Transversal: no es flow, no crea session, no toca `docs/`; git-safe; se apoya en `aw merge-state`.
|
|
78
76
|
- `/w:export-scripts` · `/w:export-manuals` · `/w:export-diagrams` · `/w:export-reports` — promueven artefactos a `docs/`.
|
|
79
77
|
|
|
78
|
+
### Transversal skills (no flow) — `/w:status` · `/w:fix-git`
|
|
79
|
+
|
|
80
|
+
Skills **invocables independientes de flujo**: se disparan con `/w:` igual que un comando, pero **no** pertenecen a SPEC/PLAN/QUICK, **no** manejan `docs/`, y **no** entran en el conteo **5 comandos de flow / 4 loops**. (En el diseño son su propia categoría —`workflow-skills/`, aparte de los comandos de flow—; en el bundle se empaquetan bajo `commands/` para que `/w:` las invoque.)
|
|
81
|
+
|
|
82
|
+
- `/w:status` — dashboard read-only del workspace (Hecho/Falta/Descartó, con fechas en español). No escribe nada; se apoya en `aw status`.
|
|
83
|
+
- `/w:fix-git` — resuelve conflictos de un merge en curso en cualquier repo (identifica origen↔destino, analiza intención, *structured-choice* ante ambigüedad). No crea session, no toca `docs/`; git-safe; se apoya en `aw merge-state`.
|
|
84
|
+
|
|
80
85
|
### The loops (Layer 2)
|
|
81
86
|
|
|
82
87
|
Un loop es una skill que enseña a la IA **cómo iterar** hasta un entregable. Propiedades comunes (el chasis, en `spec-refine-loop`, lo heredan los demás):
|
|
@@ -53,6 +53,8 @@
|
|
|
53
53
|
> **Transversal (no flow):** [`/w:status`](status.md) is a read-only dashboard of the whole workspace — what's done / pending / discarded, with friendly Spanish dates. It leans on `aw status`, writes nothing, and belongs to no flow.
|
|
54
54
|
>
|
|
55
55
|
> **Transversal (no flow):** [`/w:fix-git`](fix-git.md) resolves an **in-progress merge conflict** for any repo — identify origin↔destination, analyze both sides' intent, resolve (structured-choice on ambiguity), propose the merge commit (git-safe). Leans on `aw merge-state`; writes no `docs/`; works without a workspace. Neither transversal is counted in **5 flow / 4 loops**.
|
|
56
|
+
>
|
|
57
|
+
> `/w:status` and `/w:fix-git` are **transversal skills** — in the design model they form their own category (`workflow-skills/`, distinct from flow commands); here they are packaged under `commands/` so `/w:` can invoke them (Claude Code only invokes `commands/*.md`). See [`../harness/SKILL.md`](../harness/SKILL.md) § *Command packaging*.
|
|
56
58
|
|
|
57
59
|
## Pipeline
|
|
58
60
|
|