musememory 3.0.1 → 3.2.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.
@@ -58,6 +58,25 @@ An agent integrating Muse must follow this order.
58
58
  constraints, ranked memories, negative lessons and code anchors, and is what
59
59
  task-shaped profiles (`coding`, `debugging`, `review`, `architecture`) expose.
60
60
 
61
+ ### The delivery contract
62
+
63
+ **A commit is not a delivery.** Work is *landed* only when it is reachable from
64
+ the integration branch **on the remote**. Until then it is *local* — and it
65
+ must be described as local, in every artifact and every report.
66
+
67
+ Before describing work as landed, shipped, merged or released, run the gate:
68
+
69
+ ```bash
70
+ bun run check:landed
71
+ ```
72
+
73
+ It exits non-zero when the work cannot be proven delivered, and prints the
74
+ exact commands and SHAs to quote. The words *landed / shipped / merged /
75
+ released / "verified on `dev`"* are only earned after it exits 0.
76
+
77
+ The same contract applies to this repository's own agent standards — see
78
+ [`.agents/standards/landing-gate.md`](../.agents/standards/landing-gate.md).
79
+
61
80
  ## 4. CLI
62
81
 
63
82
  ```
@@ -79,8 +98,12 @@ Full matrix: [`cli-reference.md`](./cli-reference.md).
79
98
  | `memory current get` / `memory current set "<text>" --project P` | Read/write active constraints. |
80
99
  | `memory link <id> --related <id1,id2>` | Bidirectional relation between entries. |
81
100
  | `memory audit [--operation OP] [--entry-id ID]` | Query the append-only audit ledger. |
101
+ | `memory conflicts [--dry-run]` | List recorded contradictions; `--dry-run` previews what would be flagged. |
82
102
  | `memory doctor` | Full ecosystem health diagnostic. |
83
103
  | `memory harvest "<text>" --project P` | Distil a turn into a fix/decision unit. |
104
+ | `memory user [get|init|set]` | Manage `USER.md` persona archetypes & working style preferences. |
105
+ | `memory scan-secrets [dir]` | Native Vibeguard secret scanner (zero external dependencies). |
106
+ | `memory terrain [--out file.md]` | Collect host hardware, toolchain & agent ecosystem terrain map. |
84
107
  | `memory verify <id> --strict` | Run an entry's verification command, or the full integrity gate. |
85
108
 
86
109
  ### Global flags that change behaviour
@@ -191,9 +214,22 @@ propose → candidate → confirmed → superseded
191
214
  ```bash
192
215
  memory doctor # storage, schemas, secrets, agent wiring
193
216
  memory health # 5-pillar health gate, letter grade
217
+ memory health --project P # ...scoped to one memory project
194
218
  memory stats # counts by status and type
195
219
  memory context --query "how does auth work" --budget 2000
196
220
  ```
197
221
 
198
222
  A healthy install reports: SQLite reachable, schema version current, no
199
223
  secrets in the store, and the expected agents wired.
224
+
225
+ The health report states its own scope in `scope`: `filter` (the requested
226
+ project, or `null` for the whole store), `projects` (every project whose
227
+ memories were considered) and `entry_count`. Read it before comparing two
228
+ numbers — an unscoped report covers every project in the store.
229
+
230
+ The same `project` filter is available on every audit surface: the
231
+ `muse_health`, `muse_tech_debt`, `muse_bug_clusters`, `memory_anchor_audit` and
232
+ `memory_drift_audit` MCP tools, and the studio's `/api/health`, `/api/drift`,
233
+ `/api/cognition/clusters` and `/api/cognition/debt` endpoints
234
+ (`?project=P`). Code-side metrics stay workspace-wide by design — source code
235
+ is shared between projects — so `scope.code_scope` always reads `workspace`.
@@ -93,9 +93,12 @@ Ecosystem, Migration & Connectivity:
93
93
  daemon [--port N] Real-time agency hub (SSE event stream + publish API, default port 7878)
94
94
  sync [status|broadcast|ingest|pool] Cross-agent knowledge sync & P2P gossip mesh
95
95
  mesh [query|check|link|unlink|propagate] Multi-repo & monorepo cross-project mesh
96
- health Run unified 5-pillar architectural health evaluation
96
+ health [--project P] Run unified 5-pillar architectural health evaluation; --project scopes it to one memory project
97
+ conflicts [--dry-run] Inspect recorded contradictions; --dry-run previews what would be flagged
97
98
  reconcile [--prune] [--stale] Reconcile orphaned & drifted code anchors across memories
98
99
  benchmark [--iterations N] Run microsecond speed, quality & token economy benchmark suite
100
+ scan-secrets [dir] [--json] Native Vibeguard secret scanner (zero external dependencies)
101
+ terrain [--out file.md] Collect machine hardware, toolchain & agent ecosystem map
99
102
  code-impact <file> [--symbol] Synthesize code callers, ADRs, negative warnings & risk score
100
103
  pr-context [--base B] [--out] Generate memory-verified PR description from git diff
101
104
  mcp Run stdio MCP server for agent platforms
@@ -260,4 +263,4 @@ Select a profile with the `MUSE_MCP_PROFILE` environment variable. Call `muse_pr
260
263
 
261
264
  ---
262
265
 
263
- Counts in this file are generated from the same source as [`claims.json`](../claims.json): 115 tools, 7 profiles, 52 agent platforms, 30 import formats, 8 credential rule families.
266
+ Counts in this file are generated from the same source as [`claims.json`](../claims.json): 115 tools, 7 profiles, 30 import formats, 8 credential rule families.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "musememory",
3
- "version": "3.0.1",
3
+ "version": "3.2.0",
4
4
  "description": "Autonomous, self-organizing cognitive memory system for AI agents and agency networks",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -21,12 +21,17 @@
21
21
  "build:gif": "bun run --cwd apps/website scripts/build-readme-gif.ts",
22
22
  "claims:generate": "bun scripts/generate-claims.ts && bun scripts/generate-cli-reference.ts",
23
23
  "claims:check": "bun scripts/generate-claims.ts --check",
24
+ "check:landed": "bun run scripts/check-landed.ts",
25
+ "check:landed:pr": "bun run scripts/check-landed.ts --pr",
24
26
  "docs:check": "bun scripts/check-doc-links.ts",
25
27
  "test": "bun test",
26
28
  "typecheck": "tsc --noEmit",
27
29
  "validate": "bun run dist/index.js validate --dry-run",
28
30
  "start": "bun run dist/index.js mcp",
29
- "prepublishOnly": "bun run build && bun test"
31
+ "prepublishOnly": "bun run build && bun test",
32
+ "site:qa": "bun run --cwd apps/website scripts/qa-gate.ts",
33
+ "showreel:hash": "bun scripts/showreel-hash.ts",
34
+ "showreel:hash:write": "bun scripts/showreel-hash.ts --write"
30
35
  },
31
36
  "bin": {
32
37
  "memory": "dist/index.js",
@@ -62,6 +67,9 @@
62
67
  "url": "git+ssh://git@github.com/harshsinghmp/musememory.git"
63
68
  },
64
69
  "license": "MIT",
70
+ "publishConfig": {
71
+ "access": "public"
72
+ },
65
73
  "dependencies": {
66
74
  "@modelcontextprotocol/sdk": "^1.0.0",
67
75
  "ajv": "^8.17.1",