@sabaiway/agent-workflow-engine 4.0.0 → 4.1.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/CHANGELOG.md CHANGED
@@ -4,6 +4,22 @@ All notable changes to the methodology engine. Versions are this **package's** n
4
4
  they are distinct from the **deployment-lineage** stamp written into a project's `docs/ai/`
5
5
  (which tracks the shared `agent-workflow` lineage, head `3.0.0`).
6
6
 
7
+ ## 4.1.0 — the queue is a named surface with a checker, not a prose promise
8
+
9
+ `references/planning.md` gains **`## The queue`**: `docs/plans/queue.md` NAMES work and never holds
10
+ the analysis of it — a row is one plain sentence saying what the work is and for whom, then its id,
11
+ then a short body, while measurements and `file:line` citations belong to an ADR or the record the
12
+ row points at. A row that goes terminal is DELETED in the same change that mints its closing
13
+ artifact, and where the queue is gitignored the deleted text is first written to a purge archive,
14
+ because there git history is no tombstone. Frozen work with a stated resume condition is not
15
+ terminal and stays, in its own bucket; order inside a bucket IS priority.
16
+
17
+ The canon names its own rung and the command that runs it, because a prose promise to trim later was
18
+ measured failing — 62 dead rows had accumulated by the time anybody counted.
19
+
20
+ `references/procedures.md` points at the new section by named anchor and stays the terse pointer it
21
+ is meant to be (its own test asserts it stays smaller than the canon it binds to).
22
+
7
23
  ## 4.0.0 — the scenario floor, and five answers the canon now states at its own points of use (AD-117)
8
24
 
9
25
  Slice 4 wrote the layer's first real specs and came back with six questions the canon had left for
package/SKILL.md CHANGED
@@ -3,7 +3,7 @@ name: agent-workflow-engine
3
3
  description: Canonical home of the agent-workflow planning methodology — the capped plan shape (goal and boundary, module ledger, verification), plan lifecycle, queue.md series index, mandatory Cleanup phase, the feature-spec canon (the durable per-feature contract layer with its frozen schema and Out-of-scope discipline), 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: '4.0.0'
6
+ version: '4.1.0'
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": "4.0.0",
6
+ "version": "4.1.0",
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": "4.0.0",
3
+ "version": "4.1.0",
4
4
  "description": "Canonical home of the agent-workflow planning methodology — the capped plan shape (goal and boundary, module ledger, verification), 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",
@@ -118,6 +118,20 @@ plan file, and plan paths inside committed docs, are forbidden.
118
118
  and the docs cap-validator is green. An aborted plan still runs Cleanup — partial outputs land in
119
119
  `known_issues.md`.
120
120
 
121
+ ## The queue
122
+
123
+ `docs/plans/queue.md` NAMES work; it never holds the analysis of it. A row is one plain sentence
124
+ saying what the work is and for whom, then its id, then a short body — measurements, `file:line`
125
+ citations and fix direction belong to an ADR or the record the row points at. A row that goes
126
+ terminal is DELETED in the same change that mints its closing artifact — and where the queue is
127
+ gitignored, the deleted text is first written to a purge archive beside the history docs, because
128
+ there git history is no tombstone. In a hidden deployment that archive is machine-local like the rest
129
+ of the substrate: its guarantee is the working copy, not git. Frozen work with a stated resume
130
+ condition is not terminal and stays, in its own bucket. Order inside a bucket IS priority.
131
+ A prose promise to trim later has been measured failing: a checker over the file is the rung, and it
132
+ is runnable — `node <kit>/tools/queue-audit-cli.mjs --check docs/plans/queue.md --section '<bucket
133
+ heading>' --max-rows <n> --max-row-lines <n>`, declared as a project gate once the queue has migrated.
134
+
121
135
  ## The plan must read cold
122
136
 
123
137
  The executing session sees the plan file and the repository, never the authoring conversation.
@@ -38,7 +38,7 @@ Slots: review
38
38
  a `create` row and a revision of a governed contract a `modify` row, both written here so they
39
39
  exist AT review.
40
40
  3. **Self-review** — apply *What gets cut*; fold by code (read and cite the `file:line`); update
41
- `queue.md` for a series.
41
+ `queue.md` for a series, to the shape *The queue* fixes.
42
42
  4. **review {recipe}** — Solo (self-review only) / Reviewed (one backend) / Council (both; you
43
43
  synthesize), as the resolved `review` recipe selects.
44
44
  5. **Fold + loop** — fold every finding and re-review; CLEAN is **0 blockers + 0 majors** from every