From b118e1bd9d951dfe89b52b2d232a90d097a7c37d Mon Sep 17 00:00:00 2001 From: ChronodeAi Date: Thu, 27 Aug 2026 09:27:37 -0500 Subject: [PATCH 1/3] fix(docs,governance): proven release staging recipe + audit-query payload type The playbook's anchor-package.json staging nests the package an extra node_modules level and breaks CLI dep resolution (hit in production on chronode.6); document the proven tar-unpack + prod-deps method instead. mem::audit-query's declared payload gains the project field api::audit already forwards and queryAudit already filters on. --- docs/upstream-sync.md | 18 ++++++++++-------- src/functions/governance.ts | 1 + 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/docs/upstream-sync.md b/docs/upstream-sync.md index 391d3d48f..d9799afc0 100644 --- a/docs/upstream-sync.md +++ b/docs/upstream-sync.md @@ -173,14 +173,16 @@ main sha. ```sh REL="$HOME/Library/Application Support/Agentmemory/releases/merge-" - mkdir -p "$REL/lib/node_modules/@agentmemory/agentmemory" "$REL/bin" - cd "$REL/lib/node_modules/@agentmemory/agentmemory" - # Anchor package.json pitfall: `npm install ./x.tgz` walks UP looking for - # the nearest package.json and can unpack into a parent directory. An - # empty dir has none, so seed one first (or install while already inside - # the package dir like prior releases did). - echo '{"name":"anchor","private":true,"version":"0.0.0"}' > package.json - npm install "$TGZ" --omit=dev + mkdir -p "$REL/lib/node_modules/@agentmemory" "$REL/bin" + cd "$REL/lib/node_modules/@agentmemory" + # Unpack the tgz directly into place, THEN install prod deps INSIDE the + # package dir. Installing the tgz via `npm install` (even from a seeded + # anchor package.json) nests the package an extra node_modules level and + # leaves the CLI's imports unresolvable (ERR_MODULE_NOT_FOUND @clack/prompts). + tar -xzf "$TGZ" + mv package agentmemory + cd agentmemory + npm install --omit=dev --no-audit --no-fund ``` Result must mirror the previous release: the package contents land in diff --git a/src/functions/governance.ts b/src/functions/governance.ts index b22abb87f..cbbbc46da 100644 --- a/src/functions/governance.ts +++ b/src/functions/governance.ts @@ -326,6 +326,7 @@ export function registerGovernanceFunction(sdk: ISdk, kv: StateKV): void { dateFrom?: string; dateTo?: string; limit?: number; + project?: string; }) => queryAudit(kv, data), ); } From c8263ed850d0fa96df9b3c9f7192555624214f35 Mon Sep 17 00:00:00 2001 From: ChronodeAi Date: Thu, 27 Aug 2026 09:28:04 -0500 Subject: [PATCH 2/3] chore(release): 0.9.30-chronode.7 --- package-lock.json | 4 ++-- package.json | 2 +- packages/mcp/package.json | 4 ++-- plugin/.claude-plugin/plugin.json | 2 +- plugin/.codex-plugin/plugin.json | 2 +- plugin/plugin.json | 2 +- plugin/scripts/standalone.mjs | 2 +- src/version.ts | 2 +- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package-lock.json b/package-lock.json index a1e94a1ff..635d4098c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@agentmemory/agentmemory", - "version": "0.9.30-chronode.6", + "version": "0.9.30-chronode.7", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@agentmemory/agentmemory", - "version": "0.9.30-chronode.6", + "version": "0.9.30-chronode.7", "license": "Apache-2.0", "dependencies": { "@anthropic-ai/claude-agent-sdk": "^0.3.142", diff --git a/package.json b/package.json index 472f6eb4f..2de6b1ccf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@agentmemory/agentmemory", - "version": "0.9.30-chronode.6", + "version": "0.9.30-chronode.7", "description": "Persistent memory for AI coding agents, powered by iii-engine's three primitives", "type": "module", "main": "dist/index.mjs", diff --git a/packages/mcp/package.json b/packages/mcp/package.json index afa6980e0..690cece8d 100644 --- a/packages/mcp/package.json +++ b/packages/mcp/package.json @@ -1,6 +1,6 @@ { "name": "@agentmemory/mcp", - "version": "0.9.30-chronode.6", + "version": "0.9.30-chronode.7", "description": "Standalone MCP server for agentmemory — thin shim that re-exposes @agentmemory/agentmemory's MCP entrypoint", "type": "module", "bin": { @@ -28,7 +28,7 @@ "homepage": "https://github.com/rohitg00/agentmemory#readme", "bugs": "https://github.com/rohitg00/agentmemory/issues", "dependencies": { - "@agentmemory/agentmemory": "0.9.30-chronode.6" + "@agentmemory/agentmemory": "0.9.30-chronode.7" }, "publishConfig": { "access": "public", diff --git a/plugin/.claude-plugin/plugin.json b/plugin/.claude-plugin/plugin.json index 56b01c506..b964e234b 100644 --- a/plugin/.claude-plugin/plugin.json +++ b/plugin/.claude-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "agentmemory", - "version": "0.9.30-chronode.6", + "version": "0.9.30-chronode.7", "description": "Persistent memory for AI coding agents -- captures tool usage, compresses via LLM, injects context into future sessions. 12 hooks, 60 MCP tools, 17 skills, real-time viewer.", "author": { "name": "Rohit Ghumare", diff --git a/plugin/.codex-plugin/plugin.json b/plugin/.codex-plugin/plugin.json index 5a18a8043..7f469c1a6 100644 --- a/plugin/.codex-plugin/plugin.json +++ b/plugin/.codex-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "agentmemory", - "version": "0.9.30-chronode.6", + "version": "0.9.30-chronode.7", "description": "Persistent memory for AI coding agents -- captures tool usage, compresses via LLM, injects context into future sessions. 11 hooks, 60 MCP tools, 17 skills, real-time viewer.", "author": { "name": "Rohit Ghumare", diff --git a/plugin/plugin.json b/plugin/plugin.json index 7f0b44cd9..17222dd2b 100644 --- a/plugin/plugin.json +++ b/plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "agentmemory", - "version": "0.9.30-chronode.6", + "version": "0.9.30-chronode.7", "description": "Persistent memory for AI coding agents -- captures tool usage, compresses via LLM, injects context into future sessions. 12 hooks, 60 MCP tools, 17 skills, real-time viewer.", "author": { "name": "Rohit Ghumare", diff --git a/plugin/scripts/standalone.mjs b/plugin/scripts/standalone.mjs index 998618776..45d93c179 100755 --- a/plugin/scripts/standalone.mjs +++ b/plugin/scripts/standalone.mjs @@ -1761,7 +1761,7 @@ function getAllTools() { } //#endregion //#region src/version.ts -const VERSION = "0.9.30-chronode.6"; +const VERSION = "0.9.30-chronode.7"; process.env["AGENTMEMORY_BUILD_ID"]; process.env["AGENTMEMORY_VIEWER_BUILD_ID"]; //#endregion diff --git a/src/version.ts b/src/version.ts index 07b94fe84..2ade315c9 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1,4 +1,4 @@ -export const VERSION = "0.9.30-chronode.6"; +export const VERSION = "0.9.30-chronode.7"; export const EXPORT_FORMAT_VERSION = "0.9.28" as const; export const API_CONTRACT_VERSION = 1; export const BACKEND_BUILD_ID = From 19f023c98e04ab2e6045c6956021998e5d99904d Mon Sep 17 00:00:00 2001 From: ChronodeAi Date: Thu, 27 Aug 2026 09:28:05 -0500 Subject: [PATCH 3/3] chore(evidence): refresh inventory for release commit --- .aiwg/reports/g-icm-01-interface-inventory.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.aiwg/reports/g-icm-01-interface-inventory.json b/.aiwg/reports/g-icm-01-interface-inventory.json index 6b48173fe..941dc3a19 100644 --- a/.aiwg/reports/g-icm-01-interface-inventory.json +++ b/.aiwg/reports/g-icm-01-interface-inventory.json @@ -3,9 +3,9 @@ "control_id": "G-ICM-01", "project_id": "github.com/chronodeai/agentmemory", "source_identity": { - "commit_sha": "e25ab1dd3884301b307a62f278cd38966fb043f9", - "commit_tree_sha": "70d799994621397b125eb394d3c9bad4be75bc5c", - "inventory_input_sha256": "7054c53f2295f18ea1edf6ad6930e8c66ab96c6d8a194bd856a8340a6576bed9" + "commit_sha": "c8263ed850d0fa96df9b3c9f7192555624214f35", + "commit_tree_sha": "48ad301996dc3ecfe0ff2d71de12b4b7786c0d95", + "inventory_input_sha256": "27a03910992f490e470f3c66394749dbc4344161835c9a09d0e4323de93f2f31" }, "public_route_allowlist": [ "GET /agentmemory/livez"