@sabaiway/agent-workflow-engine 2.0.0 → 2.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 +16 -0
- package/SKILL.md +1 -1
- package/capability.json +1 -1
- package/package.json +1 -1
- package/references/planning.md +1 -0
- package/references/procedures.md +9 -2
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
|
+
## 2.1.0 — the plan names the layout it is about to create (AD-091)
|
|
8
|
+
|
|
9
|
+
The authoring canon now asks for the layout while the plan is still text: every Step that creates a
|
|
10
|
+
file names that file and the single responsibility it carries — and where the project declares a
|
|
11
|
+
source-size cap, the planned layout fits it.
|
|
12
|
+
|
|
13
|
+
- **`procedures.md` plan-authoring, Draft (step 2)** — every Step that CREATES a file names that file
|
|
14
|
+
and the single responsibility it carries, and **where the project declares a source-size cap**, the
|
|
15
|
+
planned layout fits it. The conditional is canon, not decoration: a project that declares no
|
|
16
|
+
practice must never be handed an invented limit.
|
|
17
|
+
- **`planning.md` §8 self-review checklist** — the matching line, so the draft is re-checked against
|
|
18
|
+
it before the plan is finalized. The line carries the canon's own rationale for asking at plan
|
|
19
|
+
time: "a gate that refuses an oversized file after it is written only pays for a rewrite".
|
|
20
|
+
- The rung lives in **plan-authoring only** — plan-execution grows no rival copy of it. Both canon
|
|
21
|
+
pins are enforced by the existing canon suites, including the conditional form.
|
|
22
|
+
|
|
7
23
|
## 2.0.0 — strip-the-kit: the planning canon teaches the computed loop (AD-059)
|
|
8
24
|
|
|
9
25
|
> ### ⚠ BREAKING — the §9 "Computed instrument" canon is rewritten
|
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: '2.
|
|
6
|
+
version: '2.1.0'
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
# agent-workflow-engine
|
package/capability.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sabaiway/agent-workflow-engine",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.0",
|
|
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",
|
package/references/planning.md
CHANGED
|
@@ -104,6 +104,7 @@ A harness "approved — you can now start coding" prompt (e.g. Claude Code's **E
|
|
|
104
104
|
## 8. Self-review checklist (before finalizing a Plan)
|
|
105
105
|
|
|
106
106
|
- Every Step has exact file paths and exact commands.
|
|
107
|
+
- Every Step that CREATES a file names that file and its single responsibility; where the project declares a source-size cap, the planned layout fits it (no declared cap → no invented limit). Deciding the layout here is the cheap lever — a gate that refuses an oversized file after it is written only pays for a rewrite.
|
|
107
108
|
- Every recommendation that used to live outside the Plan is now a Step (§5).
|
|
108
109
|
- Vocabulary is strict (§1); the Plan ends with **Phase N: Cleanup** (§4).
|
|
109
110
|
- If part of a series: `queue.md` is initialised / updated (§3).
|
package/references/procedures.md
CHANGED
|
@@ -50,9 +50,16 @@ Produce a self-contained, cold-readable plan, reviewed to the configured depth b
|
|
|
50
50
|
|
|
51
51
|
1. **Research** — gather the exact files, contracts, and constraints the plan will touch.
|
|
52
52
|
2. **Draft** — write the plan to the document structure defined in [`planning.md`](planning.md) §7,
|
|
53
|
-
with exact paths and commands per Step. Bind to that structure; do not restate it here.
|
|
53
|
+
with exact paths and commands per Step. Bind to that structure; do not restate it here. Name the
|
|
54
|
+
LAYOUT as you draft: every Step that CREATES a file names that file and the single responsibility
|
|
55
|
+
it carries, and — **when the project declares a source-size cap** (the composition root's
|
|
56
|
+
`procedures` advisor prints the declared practice; a project that declares none carries no limit
|
|
57
|
+
to invent) — the planned layout fits that cap. Scope fixed before any code exists is what keeps a
|
|
58
|
+
module small; a size gate is only the backstop.
|
|
54
59
|
3. **Self-review** — run the [`planning.md`](planning.md) §8 checklist (exact paths/commands, strict
|
|
55
|
-
vocabulary, every
|
|
60
|
+
vocabulary, every created file named with its single responsibility (fitting the declared cap
|
|
61
|
+
where there is one), every out-of-plan recommendation folded into a Step, `queue.md` updated for a
|
|
62
|
+
series).
|
|
56
63
|
Apply the [`planning.md`](planning.md) §9 lens — fold by code (read and cite the `file:line`), and
|
|
57
64
|
hold the right altitude.
|
|
58
65
|
4. **review {recipe}** — review the draft at the depth the resolved `review` recipe selects: Solo
|