@tacuchi/agent-workflow-cli 16.1.0 → 16.2.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tacuchi/agent-workflow-cli",
3
- "version": "16.1.0",
3
+ "version": "16.2.0",
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": {
@@ -11,7 +11,7 @@ allowed-tools:
11
11
 
12
12
  # fix-git — merge-conflict resolver (transversal)
13
13
 
14
- Single-pass, **no loop, no session**, **never writes `docs/`**. **Transversal** command (belongs to no SPEC / PLAN / QUICK flow). **Workspace-agnostic**: operates on any git repo — the given `<source>` (path or alias), or the cwd — without requiring `.workflow/`.
14
+ Single-pass, **no loop, no session**, **never writes `docs/`**. **Transversal** command (belongs to no SPEC / PLAN / QUICK flow). **Workspace-agnostic**: operates on any git repo — the given `<source>` (path or alias), or the cwd — without requiring `.workflow/`. Everything user-facing (questions, proposals, the report) goes in the **user's language**.
15
15
 
16
16
  ## Run
17
17
 
@@ -14,6 +14,13 @@ allowed-tools:
14
14
 
15
15
  Starts or resumes `plan-exec-loop` (Layer 2), which executes the real work phase by phase. The plan (`docs/plans/PPP-plan-<slug>.md`) is a living document the loop keeps updated (phase and task state).
16
16
 
17
+ > **Hard floor — applies even if you read nothing beyond this file:**
18
+ >
19
+ > 1. **Session first** — create/resume the run's session before touching code: `aw session-create --type exec --name <slug>-plan-exec`; keep its `CHECKPOINT.md` updated (`## Completed` · `## Pending / Next` · `## Open questions`).
20
+ > 2. **Git/DB** — verify each source's expected branch before editing (`aw check-branch`); commits are **proposed**, never executed without approval; **never** `push`/`--amend`/`--no-verify`; never execute DML/DDL (SQL goes to the session's `SCRIPTS.sql`).
21
+ > 3. **Ask, don't invent** — user-dependent decisions go through questions with a recommended option first (≤3 content questions + the `flow` control `Compactar`/`Cerrar`).
22
+ > 4. **Language** — everything user-facing (questions, option labels, reports) goes in the **user's language**.
23
+
17
24
  ## Run the loop
18
25
 
19
26
  `plan-exec-loop` is **not** a skill invocable by name — it is this command's operating manual (a sibling doc in the bundle). **Load it and execute it end to end**:
@@ -14,6 +14,13 @@ allowed-tools:
14
14
 
15
15
  SPEC → PLAN bridge. Turns the "what" (refined spec) into the "how" (plan). Delegates to `plan-new-loop` (Layer 2).
16
16
 
17
+ > **Hard floor — applies even if you read nothing beyond this file:**
18
+ >
19
+ > 1. **Session first** — create/resume the run's session before working: `aw session-create --type refine --name <slug>-plan-new`; keep its `CHECKPOINT.md` updated (`## Completed` · `## Pending / Next` · `## Open questions`).
20
+ > 2. **Ask, don't invent** — user-dependent decisions go through questions with a recommended option first (≤3 content questions + the `flow` control `Compactar`/`Cerrar`).
21
+ > 3. **Write boundary** — this flow writes only `docs/plans/…` (with confirmation if it exists); nothing else lands in `docs/`.
22
+ > 4. **Language** — everything user-facing (questions, option labels, the plan's content) goes in the **user's language**.
23
+
17
24
  ## Input resolution
18
25
 
19
26
  The skill evaluates `$ARGUMENTS` (specs live in place — `docs/specs/NNN-spec-<slug>.md`; locate via the `docs/specs/NNN-spec-*.md` glob or the exact path):
@@ -16,6 +16,13 @@ An **auxiliary, NOT mandatory** step of the PLAN flow: `spec-refine`'s twin, but
16
16
 
17
17
  This command does not refine the plan itself: it delegates to `plan-refine-loop` (Layer 2), which iterates, closes gaps and edits the plan **in place**.
18
18
 
19
+ > **Hard floor — applies even if you read nothing beyond this file:**
20
+ >
21
+ > 1. **Session first** — create/resume the run's session before working: `aw session-create --type refine --name <slug>-plan-refine`; keep its `CHECKPOINT.md` updated (`## Completed` · `## Pending / Next` · `## Open questions`).
22
+ > 2. **Ask, don't invent** — user-dependent decisions go through questions with a recommended option first (≤3 content questions + the `flow` control `Compactar`/`Cerrar`).
23
+ > 3. **Write boundary** — this flow edits only `docs/plans/…` (in place, with confirmation); nothing else lands in `docs/`.
24
+ > 4. **Language** — everything user-facing (questions, option labels, the plan's content) goes in the **user's language**.
25
+
19
26
  > **Not mandatory.** `plan-exec` runs **any** plan, refined or not — no gate requires passing through here. Use it only when the plan needs adjustments before executing.
20
27
 
21
28
  ## Input resolution
@@ -14,6 +14,13 @@ allowed-tools:
14
14
 
15
15
  For scoped, direct tasks that do not justify going through SPEC or PLAN. Creates a light session (traceability + resume) — unless the **entry size gate** escalates to SPEC before starting. Delegates to `quick-loop` (Layer 2).
16
16
 
17
+ > **Hard floor — applies even if you read nothing beyond this file:**
18
+ >
19
+ > 1. **Size gate BEFORE any session** — if the objective exceeds a quick (≥2 clear signals: needs architecture · ≥2 sources · several deliverables · large feature/refactor · ambiguous requirements), ask first with these verbatim options: `Cambiar a SPEC` *(recommended)* · `Seguir en quick` · `Recortar alcance`. If it escalates, create **no** quick session.
20
+ > 2. **Session first** — otherwise, before touching code, create/resume the run's session: `aw session-create --type quick --name <slug>-quick`; keep its `CHECKPOINT.md` updated (`## Completed` · `## Pending / Next` · `## Open questions`).
21
+ > 3. **Git/DB** — commits are **proposed**, never executed without approval; **never** `push`/`--amend`/`--no-verify`; never execute DML/DDL (SQL goes to the session's `SCRIPTS.sql`).
22
+ > 4. **Language** — everything user-facing (questions, option labels, reports) goes in the **user's language**.
23
+
17
24
  ## Run the loop
18
25
 
19
26
  `quick-loop` is **not** a skill invocable by name — it is this command's operating manual (a sibling doc in the bundle). **Load it and execute it end to end**:
@@ -61,6 +61,7 @@ Pending doubts. ← the spec-refine-loop closes them.
61
61
 
62
62
  **Filling notes:**
63
63
 
64
+ - The draft's **content** is written in the **user's language** (the schema headings stay as-is).
64
65
  - No `Type` field — `plan-new` infers the how.
65
66
  - `Scope` always carries `Out` (what stays out).
66
67
  - **Acceptance criteria = static testable criteria** (the "what"): `plan-exec` validates them, but progress is tracked in the PLAN (its Tasks), never by ticking these `- [ ]` in the spec; the spec never mutates by execution, only by a re-refine.
@@ -14,6 +14,13 @@ allowed-tools:
14
14
 
15
15
  This command does not refine the spec itself: it delegates to `spec-refine-loop` (Layer 2), which iterates, closes gaps and produces the refined spec.
16
16
 
17
+ > **Hard floor — applies even if you read nothing beyond this file:**
18
+ >
19
+ > 1. **Session first** — create/resume the run's session before working: `aw session-create --type refine --name <slug>-spec-refine`; keep its `CHECKPOINT.md` updated (`## Completed` · `## Pending / Next` · `## Open questions`).
20
+ > 2. **Ask, don't invent** — user-dependent decisions go through questions with a recommended option first (≤3 content questions + the `flow` control `Compactar`/`Cerrar`).
21
+ > 3. **Write boundary** — this flow edits only `docs/specs/…` (in place, with confirmation); nothing else lands in `docs/`.
22
+ > 4. **Language** — everything user-facing (questions, option labels, the doc's content) goes in the **user's language**.
23
+
17
24
  ## Run the loop
18
25
 
19
26
  `spec-refine-loop` is **not** a skill invocable by name — it is this command's operating manual (a sibling doc in the bundle). **Load it and execute it end to end**: