musememory 3.0.2 → 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.
- package/.agents/artifacts/2026-10-26-dashboard-rehaul-rashin-research-and-wave-23-tickets.md +234 -0
- package/.agents/artifacts/2026-10-26-wave-29-code-review-audit.md +52 -0
- package/.agents/artifacts/2026-10-26-wave-29-gauntlet-acceptance-packet.md +48 -0
- package/.agents/artifacts/2026-10-26-wave-29-muse-security-audit.md +71 -0
- package/.agents/artifacts/2026-10-26-wave-29-sovereign-lifeos-migration-plan.md +88 -0
- package/.agents/artifacts/HANDOFF.md +124 -15
- package/.agents/artifacts/WORKTREE-LEASE.md +86 -0
- package/.agents/context/current.md +91 -6
- package/.agents/context/index.md +1 -1
- package/.agents/context/roadmap.md +10 -1
- package/.agents/context/ticket-plan.md +99 -6
- package/.agents/skills/muse-health/SKILL.md +29 -0
- package/.agents/standards/README.md +1 -0
- package/.agents/standards/dox-hierarchy.md +2 -1
- package/.agents/standards/git-workflow.md +14 -1
- package/.agents/standards/landing-gate.md +253 -0
- package/.agents/standards/memory-context.md +5 -6
- package/.agents/standards/security-vibeguard.md +1 -1
- package/.agents/standards/workflows.md +8 -2
- package/README.md +220 -91
- package/claims.json +4 -4
- package/dist/index.js +1669 -194
- package/docs/agent-reference.md +36 -0
- package/docs/cli-reference.md +4 -1
- package/package.json +9 -2
package/docs/agent-reference.md
CHANGED
|
@@ -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`.
|
package/docs/cli-reference.md
CHANGED
|
@@ -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
|
|
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
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "musememory",
|
|
3
|
-
"version": "3.0
|
|
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,13 +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
31
|
"prepublishOnly": "bun run build && bun test",
|
|
30
|
-
"site:qa": "bun run --cwd apps/website scripts/qa-gate.ts"
|
|
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"
|
|
31
35
|
},
|
|
32
36
|
"bin": {
|
|
33
37
|
"memory": "dist/index.js",
|
|
@@ -63,6 +67,9 @@
|
|
|
63
67
|
"url": "git+ssh://git@github.com/harshsinghmp/musememory.git"
|
|
64
68
|
},
|
|
65
69
|
"license": "MIT",
|
|
70
|
+
"publishConfig": {
|
|
71
|
+
"access": "public"
|
|
72
|
+
},
|
|
66
73
|
"dependencies": {
|
|
67
74
|
"@modelcontextprotocol/sdk": "^1.0.0",
|
|
68
75
|
"ajv": "^8.17.1",
|