@sabaiway/agent-workflow-memory 4.6.0 → 4.6.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 +19 -0
- package/SKILL.md +15 -1
- package/capability.json +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,25 @@ All notable changes to the memory substrate. Versions are this **package's** npm
|
|
|
4
4
|
they are distinct from the **deployment-lineage** stamp written into a project's
|
|
5
5
|
`docs/ai/.memory-version` (which tracks the shared `agent-workflow` lineage, head `3.0.0`).
|
|
6
6
|
|
|
7
|
+
## 4.6.1 — the standalone upgrade delivers the spec layer behind a checker it can prove (AD-113)
|
|
8
|
+
|
|
9
|
+
4.6.0 shipped the feature-spec layer for FRESH bootstraps; an EXISTING deployment at lineage head
|
|
10
|
+
`3.0.0` had no lane to it. The standalone (skill-only) upgrade now closes that gap in prose, with no
|
|
11
|
+
digest catalog and no change to the shipped payload:
|
|
12
|
+
|
|
13
|
+
- **SKILL.md upgrade step 2 gains the spec-layer twin.** The reader pair (`scripts/spec-schema.mjs`
|
|
14
|
+
+ its test) seeds create-only if missing. The store root `docs/ai/specs/index.md` seeds ONLY when
|
|
15
|
+
BOTH deployed pairs — reader and checker — are regular files byte-equal to the bundled copies
|
|
16
|
+
(checked via lstat; a dangling symlink anywhere means nothing is written), with the template's
|
|
17
|
+
date placeholder rendered. Every other state — a custom or partial pair, reader or checker — is
|
|
18
|
+
reported as is, with the composition root's upgrade named as the refresh lane and NO store root
|
|
19
|
+
written.
|
|
20
|
+
- **`standalone-bootstrap.test.mjs` models the equal-head upgrade both ways:** both pairs
|
|
21
|
+
bundle-equal -> store seeded and the installed pre-commit hook exits 0 over a seeded spec; a
|
|
22
|
+
custom or partial pair -> reported, no store.
|
|
23
|
+
|
|
24
|
+
PATCH: prose + the E2E model only.
|
|
25
|
+
|
|
7
26
|
## 4.6.0 — the feature-spec layer: a store under `docs/ai/specs/`, one text-only reader, a counted navigator row (AD-112)
|
|
8
27
|
|
|
9
28
|
A deployed project gains a middle altitude of durable knowledge between the whole-project
|
package/SKILL.md
CHANGED
|
@@ -3,7 +3,7 @@ name: agent-workflow-memory
|
|
|
3
3
|
description: Deploy or upgrade a portable AI-agent memory substrate in any project — an entry-point `AGENTS.md` (+ `CLAUDE.md` alias) and a structured `docs/ai/` context store with cap/archive/index enforcement. Use when the user wants to bootstrap `docs/ai/`, set up the Memory Map and session protocols, install the docs-rotation pre-commit hook, or run `/agent-workflow-memory` / `/agent-workflow-memory upgrade`. Triggers on "set up the memory system", "deploy the AI memory here", "bootstrap docs/ai", "upgrade the memory substrate". This is the substrate only — the workflow methodology (plan→execute→review, queue, Cleanup) is owned elsewhere and injected into AGENTS.md by the family composition root.
|
|
4
4
|
disable-model-invocation: true
|
|
5
5
|
metadata:
|
|
6
|
-
version: '4.6.
|
|
6
|
+
version: '4.6.1'
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
# agent-workflow-memory
|
|
@@ -225,6 +225,20 @@ Fill strategy:
|
|
|
225
225
|
hook gains its `archive-decisions.mjs --check` line only when the hook is next refreshed via
|
|
226
226
|
`node scripts/install-git-hooks.mjs`; an old hook without the line stays consistent-safe (the
|
|
227
227
|
decisions gate is simply not enforced yet — never a broken hook). **Same gate, also
|
|
228
|
+
stamp-independent — ensure the SPEC LAYER (Node projects; skip on a No-Node project like the
|
|
229
|
+
pair above):** copy `spec-schema.mjs` + `spec-schema.test.mjs` from
|
|
230
|
+
`${CLAUDE_SKILL_DIR}/references/scripts/` into the project's `scripts/` **if missing** (preserve
|
|
231
|
+
an existing file byte-for-byte). Then seed `docs/ai/specs/index.md` **if missing** from
|
|
232
|
+
`${CLAUDE_SKILL_DIR}/references/templates/specs/` (date filled; an existing root is preserved
|
|
233
|
+
byte-for-byte) **ONLY if BOTH pairs** — that reader pair AND `check-docs-size.mjs` +
|
|
234
|
+
`check-docs-size.test.mjs` — are regular files (probe with `ls -l`, never a follow-the-link
|
|
235
|
+
test: a symlink, dangling or not, or a directory at any of the five paths means NOTHING is
|
|
236
|
+
written) **byte-equal** to this skill's bundled copies (compare with `cmp`): the deployed checker
|
|
237
|
+
is what the pre-commit hook runs, and an older or edited one renders the store row by row and
|
|
238
|
+
reds its own index check. Otherwise seed NO store root and report which file differs: a
|
|
239
|
+
checker still on a body a release shipped is refreshed by the composition root's own upgrade
|
|
240
|
+
(it carries the catalog of shipped bodies), an edited one is the user's to refresh by hand — this
|
|
241
|
+
substrate carries no such catalog and never overwrites a deployed script. **Same gate, also
|
|
228
242
|
stamp-independent — ensure the NAVIGATOR:** `docs/ai/index.md` is a GENERATED artifact the entry
|
|
229
243
|
point declares always-loaded, so a deployment that never had one must gain it even at head — run
|
|
230
244
|
`node ${CLAUDE_SKILL_DIR}/references/scripts/check-docs-size.mjs --ensure-index --root=<target>`
|
package/capability.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sabaiway/agent-workflow-memory",
|
|
3
|
-
"version": "4.6.
|
|
3
|
+
"version": "4.6.1",
|
|
4
4
|
"description": "Portable, cross-agent memory substrate for AI coding agents — an AGENTS.md entry point + docs/ai context with cap/archive/index enforcement, deployable standalone or as part of the agent-workflow family. The memory layer of the agent-workflow family.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai-agents",
|