@sabaiway/agent-workflow-kit 1.19.0 → 1.20.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,19 @@ 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.20.0 — Fallback-template lens + the cross-package lens-mirror guard (kit)
8
+
9
+ A **feature** release. The kit's fallback `agent_rules.md` template gains the **§2.5 Right-altitude &
10
+ code-grounded** lens (byte-identical to memory's §2.6 block), and a new cross-package
11
+ `test/lens-mirror.test.mjs` ties the shared lens vocabulary across the engine canon (`planning.md` +
12
+ `procedures.md`) AND both `agent_rules.md` templates: each distinctive token must survive in every file's
13
+ lens **region**, and the two template blocks must stay byte-identical apart from the heading number. The
14
+ deployment-lineage head stays **`1.3.0`** (no `docs/ai` structural change, no migration); the kit
15
+ **package** version is a separate axis.
16
+
17
+ - **Non-vacuous guard.** Deleting the lens block (or a distinctive token) from any of the four files
18
+ fails the guard — proven by an injected-divergence dry-run.
19
+
7
20
  ## 1.19.0 — One-command freshness: `init` refreshes memory too, and a capability-adaptive `status` (kit)
8
21
 
9
22
  A **feature** release that closes the returning-user gap and modernizes the status surface. The
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.19.0'
6
+ version: '1.20.0'
7
7
  ---
8
8
 
9
9
  # agent-workflow-kit
package/capability.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "schema": 1,
4
4
  "name": "agent-workflow-kit",
5
5
  "kind": "composition-root",
6
- "version": "1.19.0",
6
+ "version": "1.20.0",
7
7
  "provides": [],
8
8
  "roles": {},
9
9
  "detect": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sabaiway/agent-workflow-kit",
3
- "version": "1.19.0",
3
+ "version": "1.20.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,6 +61,11 @@ 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. Right-altitude & code-grounded (planning + review)
65
+ - **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
+ - **Right altitude.** Pin intent + invariants + acceptance criteria (named tests); leave fine code-mechanics to Execute, where prose cannot diverge from reality.
67
+ - **Convergence heuristic.** When a review round keeps finding mechanism issues on a stable architecture, stop refining prose — raise the altitude or hand it to Execute. (Full canon: the project's planning methodology / workflow-methodology canon.)
68
+
64
69
  ---
65
70
 
66
71
  ## 3. Token & Session Optimization