@sabaiway/agent-workflow-kit 1.21.0 → 1.22.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 +18 -0
- package/SKILL.md +1 -1
- package/capability.json +1 -1
- package/package.json +1 -1
- package/references/templates/agent_rules.md +9 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,24 @@ Semantically versioned ([semver](https://semver.org)), newest first. The `versio
|
|
|
4
4
|
is the current release. `upgrade` mode reads a project's `docs/ai/.workflow-version` and applies
|
|
5
5
|
every `migrations/<version>-<slug>.md` newer than it, in semver order.
|
|
6
6
|
|
|
7
|
+
## 1.22.0 — Harden the planning canon: two-set lens drift guard + the deployed lens
|
|
8
|
+
|
|
9
|
+
A **feature** release. The kit's fallback `agent_rules.md` **§2.5** lens is generalized from *Right-altitude
|
|
10
|
+
& code-grounded* to **Planning, review & process-fidelity invariants** (byte-identical to memory's §2.6
|
|
11
|
+
block) and now carries all **seven** methodology invariants. The cross-package **`test/lens-mirror.test.mjs`**
|
|
12
|
+
is extended to **two scoped, non-vacuous token sets**:
|
|
13
|
+
|
|
14
|
+
- **Set 1 (cross-all-four)** pins the §9-native review/fold + convergence disciplines in EVERY region —
|
|
15
|
+
planning §9, procedures (`## plan-authoring` onward), and both template lens blocks: `0 blockers + 0
|
|
16
|
+
majors`, `test-as-spec`, `no code-mechanics`, `at the diff`, `characterize-first` (alongside the
|
|
17
|
+
existing `fold by code` / `file:line` / `altitude`).
|
|
18
|
+
- **Set 2 (template-scoped)** pins the process-fidelity invariants A1/A2 (`ExitPlanMode`, recipe-fidelity
|
|
19
|
+
`every round`) PRESENT in both template lens blocks — closing the gap the byte-identical check alone
|
|
20
|
+
cannot (it only proves the two templates AGREE, so both could drop A1/A2 and stay green).
|
|
21
|
+
|
|
22
|
+
The lens heading + the `extractLensBlock` regex move in lockstep. The deployment-lineage head stays
|
|
23
|
+
**`1.3.0`** (no `docs/ai` structural change, no migration); the kit **package** version is a separate axis.
|
|
24
|
+
|
|
7
25
|
## 1.21.0 — Ships the antigravity-cli-bridge 2.0.0 mirror (grounded agy-review)
|
|
8
26
|
|
|
9
27
|
A **feature** release. The kit now bundles the **antigravity-cli-bridge 2.0.0** byte-identical mirror —
|
package/SKILL.md
CHANGED
|
@@ -3,7 +3,7 @@ name: agent-workflow-kit
|
|
|
3
3
|
description: Deploy or upgrade a portable AI-agent memory-and-workflow system in any project. Use when the user wants to bootstrap `docs/ai/` + an entry-point `AGENTS.md` (+ `CLAUDE.md` alias) + cap/archive/index enforcement in a new or existing repo, set up the Memory Map and session protocols, install the docs-rotation pre-commit hook, or run `/agent-workflow-kit` / `/agent-workflow-kit upgrade`. Triggers on phrases like "set up the memory system", "deploy the AI workflow here", "bootstrap docs/ai", "upgrade the workflow".
|
|
4
4
|
disable-model-invocation: true
|
|
5
5
|
metadata:
|
|
6
|
-
version: '1.
|
|
6
|
+
version: '1.22.0'
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
# agent-workflow-kit
|
package/capability.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sabaiway/agent-workflow-kit",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.22.0",
|
|
4
4
|
"description": "Portable, cross-agent memory & workflow for AI coding agents — Claude Code, Codex, Cursor, Devin Desktop. One command deploys an AGENTS.md entry point + docs/ai context with cap/archive/index enforcement into any repo.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai-agents",
|
|
@@ -61,10 +61,17 @@ Before proposing changes or committing, review against:
|
|
|
61
61
|
### 2.4. Quality Gates
|
|
62
62
|
- Always run type-checker, linter, and all tests before committing.
|
|
63
63
|
|
|
64
|
-
### 2.5.
|
|
64
|
+
### 2.5. Planning, review & process-fidelity invariants
|
|
65
|
+
Apply these when authoring a plan, reviewing, folding a finding, or editing code — the layer read **before any code change**. (Full canon: the project's planning / workflow-methodology + orchestration canon.)
|
|
65
66
|
- **Fold by code, not prose.** Before folding a code-touching finding into a plan or change, read the cited `file:line` and cite it — a prose fold drifts from the code and seeds the next bug.
|
|
66
67
|
- **Right altitude.** Pin intent + invariants + acceptance criteria (named tests); leave fine code-mechanics to Execute, where prose cannot diverge from reality.
|
|
67
|
-
- **
|
|
68
|
+
- **No code-mechanics in the plan.** A Step still carries its exact paths + commands (the plan-structure / self-review canon); the ceiling is on *fold-bred* detail — a review fold must not push fine code-mechanics (`cd`, an env default, a flag) into prose. A fold that needs a mechanic is the trigger to write the test instead.
|
|
69
|
+
- **Test-as-spec.** Fold a code-touching finding into a red→green TEST, not a prose paragraph — the gate is the only deterministic checker; a paragraph cannot self-check.
|
|
70
|
+
- **Characterize-first.** Before editing UNCOVERED code, pin its current behavior in a green test, then edit — any unintended change goes red. Never edit what has no checker; first give it one. Keep edits atomic/reversible; prefer SUBTRACTIVE folds.
|
|
71
|
+
- **Heavy review at the diff.** Plan-review settles architecture only (≤2 rounds, stop at the pre-existing→fold-induced crossover); the exhaustive per-Step review runs against real compiling code + the full suite, where a regression fails a gate immediately.
|
|
72
|
+
- **Convergence bar.** A review loop is CLEAN only when one round returns **0 blockers + 0 majors** from EVERY backend the recipe names (nits + a ship verdict is the stop). Folding ≠ convergence — re-review after folding.
|
|
73
|
+
- **Recipe fidelity.** Council runs every backend the recipe names, **every round**; silently dropping a ready backend for quota/convenience is a forbidden downgrade — an unavailable backend is a LOUD, stated degrade, never a quiet drop.
|
|
74
|
+
- **ExitPlanMode ≠ execute.** A harness "approved — start coding" prompt authorizes the PLAN only; this methodology overrides it. Continue into execution only as a DELIBERATE transition after the plan + cold-start prompt exist, never an implicit slide.
|
|
68
75
|
|
|
69
76
|
---
|
|
70
77
|
|