@sabaiway/agent-workflow-engine 1.13.0 → 1.14.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.
package/CHANGELOG.md CHANGED
@@ -2,7 +2,35 @@
2
2
 
3
3
  All notable changes to the methodology engine. Versions are this **package's** npm versions;
4
4
  they are distinct from the **deployment-lineage** stamp written into a project's `docs/ai/`
5
- (which tracks the shared `agent-workflow` lineage, head `1.3.0`).
5
+ (which tracks the shared `agent-workflow` lineage, head `2.0.0`).
6
+
7
+ ## 1.14.1 — npm 12 tarball-guard compat + the lineage-head preamble correction
8
+
9
+ A **patch** release (no canon content change; co-released with memory 2.0.0 + kit 1.42.0 — the
10
+ one-file-per-ADR store, AD-051). Two housekeeping fixes: the monorepo tarball-guard test now
11
+ accepts both `npm pack --json` output shapes (an array on npm ≤11, an object keyed by package name
12
+ on npm ≥12 — environment compat, assertions unchanged), and this changelog's standing preamble
13
+ tracks the deployment-lineage head bumped by the co-released memory MAJOR (`1.3.0` → `2.0.0`; the
14
+ head lives in the family's shared stamps, not in this package's version).
15
+
16
+ ## 1.14.0 — The review canon names its computed instrument, activity-aware (AD-046)
17
+
18
+ A **feature** release (canon content + guards; installer unchanged; deployment-lineage head stays
19
+ `1.3.0` — no migration). The kit's review-round ledger (AD-045 / AD-046) is now NAMED by the canon,
20
+ at the right activity scope:
21
+
22
+ - **`references/procedures.md`** — the plan-**execution** review step names the ledger (record ·
23
+ `--status` · `--check` as the loop's gate; the exit contract stays in the tool's own header —
24
+ point, don't restate); the review steps of BOTH activities gain the triage classification
25
+ vocabulary (`fixable-bug / inherent-layer-residual / escalate`; a minor never forces triage);
26
+ plan-**authoring** carries NO tool pointer — the ledger is plan-execution-scoped.
27
+ - **`references/planning.md` §9** — a new **"Computed instrument (plan-execution)"** paragraph: the
28
+ stop decision is READ from the ledger, never remembered; stated neutrally that the same per-round
29
+ tally + classification discipline governs plan-authoring review.
30
+ - **Drift-guards in BOTH directions** — `test/procedures-canon.test.mjs` pins the pointer INSIDE the
31
+ plan-execution review step (a step extractor, not a whole-section match) and its ABSENCE from
32
+ plan-authoring; `test/planning-canon.test.mjs` pins §9's ledger naming + the exact scope phrase.
33
+ Lens files untouched (the 22 discipline tokens unchanged).
6
34
 
7
35
  ## 1.13.0 — The agent-rules lens gets its ONE canonical home here (slot-render, AD-041)
8
36
 
package/SKILL.md CHANGED
@@ -3,7 +3,7 @@ name: agent-workflow-engine
3
3
  description: Canonical home of the agent-workflow planning methodology — the Plan→Phase→Step→Substep vocabulary, plan lifecycle, queue.md series index, mandatory Cleanup phase, the bounded methodology slot fragment, the orchestration-recipe vocabulary (Solo / Reviewed / Council / Delegated), and the activity-procedures canon (plan-authoring / plan-execution, with typed recipe slots). A published, installable npm package (available:true) that *provides* the methodology text; it mutates nothing. The composition root (agent-workflow-kit) reads this canon LIVE from the installed engine and injects the bounded slots from it — one source of truth, no bundled mirror; `npx @sabaiway/agent-workflow-kit@latest init` installs the engine.
4
4
  disable-model-invocation: true
5
5
  metadata:
6
- version: '1.13.0'
6
+ version: '1.14.1'
7
7
  ---
8
8
 
9
9
  # agent-workflow-engine
package/capability.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "schema": 1,
4
4
  "name": "agent-workflow-engine",
5
5
  "kind": "methodology-engine",
6
- "version": "1.13.0",
6
+ "version": "1.14.1",
7
7
  "available": true,
8
8
  "provides": ["plan"],
9
9
  "roles": {},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sabaiway/agent-workflow-engine",
3
- "version": "1.13.0",
3
+ "version": "1.14.1",
4
4
  "description": "Canonical home of the agent-workflow planning methodology — the Plan→Phase→Step vocabulary, plan lifecycle, queue.md series index, and mandatory Cleanup phase, consumed by the kit (composition root). The methodology engine of the agent-workflow family.",
5
5
  "keywords": [
6
6
  "ai-agents",
@@ -132,3 +132,5 @@ These disciplines keep a plan converging instead of churning, and keep a fold or
132
132
  **Convergence bar.** A review loop is CLEAN only when one round returns **0 blockers + 0 majors** from EVERY named backend the recipe runs (nits / non-blocking + a ship verdict is the stop). FOLDING a finding is NOT convergence — re-review after folding. This §9 governs the ALTITUDE at which you reach clean (fix the major, or raise it to an explicit acceptance invariant Execute must meet) — it NEVER lowers the bar to "majors folded".
133
133
 
134
134
  **Convergence heuristic.** When a review round keeps finding code-mechanism issues on a stable architecture, STOP refining prose — either raise the spec to invariant + acceptance altitude, or hand the mechanics to Execute. Do not re-litigate code mechanics in the plan.
135
+
136
+ **Computed instrument (plan-execution).** The **review-ledger** computes the crossover-stop for the plan-execution (code) loop: each round and each triage classification — **fixable-bug** (a fold pinned by a red→green test) / **inherent-layer-residual** (raised to an acceptance criterion) / **escalate** (a maintainer decision) — is recorded, and the stop decision is READ from the ledger, never remembered; its `--check` is the loop's gate (the exit contract lives in the tool's own header — point, don't restate). The same per-round tally + classification discipline governs plan-authoring review; the ledger itself is plan-execution-scoped.
@@ -69,7 +69,10 @@ Produce a self-contained, cold-readable plan, reviewed to the configured depth b
69
69
  exhausting the strictest backend. Run a **self-consistency** read before every re-review and route an
70
70
  all-mechanics/CI or prose-only artifact to a **thin plan + diff-review** ([`planning.md`](planning.md)
71
71
  §9). Each round MUST emit **{round N · finding-origin tally (first-draft / fold-induced / mechanics) ·
72
- per-backend verdict}** so the crossover is a computed signal, not a remembered rule.
72
+ per-backend verdict}** so the crossover is a computed signal, not a remembered rule. At the cap,
73
+ classify every surviving blocking finding — **fixable-bug** (fold ONCE as a red→green test, re-review)
74
+ / **inherent-layer-residual** (document + raise to an acceptance criterion) / **escalate** (the
75
+ maintainer decides); a minor never forces triage.
73
76
  6. **Present for approval** — surface the finished plan to the user; do not begin execution here. A
74
77
  harness "approved — start coding" prompt (**ExitPlanMode**) authorizes the PLAN only
75
78
  ([`planning.md`](planning.md) §6); continuing into `plan-execution` is a deliberate transition taken
@@ -106,7 +109,11 @@ Execute an approved plan Step by Step; each Step is one logical commit.
106
109
  runs every named backend **every round** (recipe fidelity, [`orchestration.md`](orchestration.md) §4);
107
110
  loop to **0 blockers + 0 majors** from every backend before the gate. Each round MUST emit
108
111
  **{round N · finding-origin tally · per-backend verdict}**; when backends diverge, that is the
109
- crossover — resolve at altitude, not by exhausting the strictest backend.
112
+ crossover — resolve at altitude, not by exhausting the strictest backend. Classify survivors at the
113
+ cap the same way (**fixable-bug / inherent-layer-residual / escalate**). This loop's computed
114
+ instrument is the **review-ledger**: record each round + triage, read the stop from its `--status`
115
+ render (it replaces the hand-composed tally), and wire `review-ledger --check` as the gate — the
116
+ exit contract lives in the tool's own header, never restated here.
110
117
  6. **Gates** — run the project's verification gate (tests + checks) to green before committing.
111
118
  7. **Commit boundary** — the orchestrator makes the single commit for the Step; a backend never
112
119
  commits. The project's commit-approval policy (e.g. ask first) lives in the project's own rules.