musememory 3.0.2 → 3.3.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 +236 -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/TECHNICAL_DEBT-wave24-25.md +12 -0
- package/.agents/artifacts/TECHNICAL_DEBT-wave26.md +11 -0
- package/.agents/artifacts/TECHNICAL_DEBT-wave27.md +13 -0
- package/.agents/artifacts/WORKTREE-LEASE.md +86 -0
- package/.agents/artifacts/gauntlet-wave23-pr1/ACCEPTANCE_PACKET.md +85 -0
- package/.agents/artifacts/gauntlet-wave23-pr1/GAUNTLET_JOB_CONTRACT.md +50 -0
- package/.agents/artifacts/gauntlet-wave23-pr1/ITERATION_LEDGER.md +131 -0
- package/.agents/artifacts/gauntlet-wave23-pr1/TECHNICAL_DEBT.md +28 -0
- package/.agents/artifacts/gauntlet-wave23-pr456/ACCEPTANCE_PACKET.md +22 -0
- package/.agents/artifacts/gauntlet-wave23-pr456/GAUNTLET_JOB_CONTRACT.md +41 -0
- package/.agents/artifacts/gauntlet-wave23-pr456/ITERATION_LEDGER.md +36 -0
- package/.agents/artifacts/gauntlet-wave24-25/ACCEPTANCE_PACKET.md +13 -0
- package/.agents/artifacts/gauntlet-wave24-25/ITERATION_LEDGER.md +28 -0
- package/.agents/artifacts/gauntlet-wave25-wiring/ACCEPTANCE_PACKET.md +7 -0
- package/.agents/artifacts/gauntlet-wave25-wiring/ITERATION_LEDGER.md +27 -0
- package/.agents/artifacts/gauntlet-wave27/ACCEPTANCE_PACKET.md +7 -0
- package/.agents/artifacts/gauntlet-wave27/ITERATION_LEDGER.md +36 -0
- package/.agents/context/current.md +146 -6
- package/.agents/context/decisions.md +8 -0
- package/.agents/context/deep-research-agentic-memory-evolution.md +1 -1
- package/.agents/context/evidence-ledger.md +89 -0
- package/.agents/context/index.md +1 -1
- package/.agents/context/roadmap.md +11 -2
- package/.agents/context/ticket-plan.md +203 -10
- 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/frontend-astro.md +3 -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 +227 -95
- package/claims.json +5 -5
- package/dist/index.js +11330 -5944
- package/docs/agent-reference.md +36 -0
- package/docs/cli-reference.md +21 -6
- package/docs/mcp-tool-matrix.json +5 -1
- package/package.json +9 -2
- package/schema.json +1 -0
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
|
@@ -59,6 +59,8 @@ Context & Retrieval Commands:
|
|
|
59
59
|
reindex Rebuild the local vector index (.memory/index.json) for hybrid search
|
|
60
60
|
embed [status|build|reindex] Manage semantic embeddings (llama.cpp / OpenAI-compatible endpoint; opt-in)
|
|
61
61
|
recall [query] Search active/confirmed memories with filters
|
|
62
|
+
preflight [files...] Speculative context for the files being edited
|
|
63
|
+
project [name] Show or set the configured project identity
|
|
62
64
|
search-transcript <query> [file.jsonl] [--window N] Full-text transcript search with bookends
|
|
63
65
|
|
|
64
66
|
Wiki & Entity Knowledge Compounding:
|
|
@@ -93,9 +95,13 @@ Ecosystem, Migration & Connectivity:
|
|
|
93
95
|
daemon [--port N] Real-time agency hub (SSE event stream + publish API, default port 7878)
|
|
94
96
|
sync [status|broadcast|ingest|pool] Cross-agent knowledge sync & P2P gossip mesh
|
|
95
97
|
mesh [query|check|link|unlink|propagate] Multi-repo & monorepo cross-project mesh
|
|
96
|
-
health
|
|
98
|
+
health [--project P] Run unified 5-pillar architectural health evaluation; --project scopes it to one memory project
|
|
99
|
+
conflicts [--dry-run] Inspect recorded contradictions; --dry-run previews what would be flagged
|
|
97
100
|
reconcile [--prune] [--stale] Reconcile orphaned & drifted code anchors across memories
|
|
98
101
|
benchmark [--iterations N] Run microsecond speed, quality & token economy benchmark suite
|
|
102
|
+
playbook [--list|--tag T|<id>] [--success|--fail] Procedural playbooks: list, inspect or record an outcome
|
|
103
|
+
scan-secrets [dir] [--json] Native Vibeguard secret scanner (zero external dependencies)
|
|
104
|
+
terrain [--workspace] [--out] Machine terrain, or --workspace for the six workspace maps
|
|
99
105
|
code-impact <file> [--symbol] Synthesize code callers, ADRs, negative warnings & risk score
|
|
100
106
|
pr-context [--base B] [--out] Generate memory-verified PR description from git diff
|
|
101
107
|
mcp Run stdio MCP server for agent platforms
|
|
@@ -109,7 +115,7 @@ Version Control (R23):
|
|
|
109
115
|
|
|
110
116
|
## MCP tools
|
|
111
117
|
|
|
112
|
-
**
|
|
118
|
+
**119 tools** are registered, exposed through **7 task-focused profiles** (`core`, `coding`, `debugging`, `review`, `architecture`, `maintenance`, `full`). The authoritative machine-readable list is [`mcp-tool-matrix.json`](./mcp-tool-matrix.json).
|
|
113
119
|
|
|
114
120
|
Select a profile with the `MUSE_MCP_PROFILE` environment variable. Call `muse_profile_list` for the live mapping.
|
|
115
121
|
|
|
@@ -220,9 +226,9 @@ Select a profile with the `MUSE_MCP_PROFILE` environment variable. Call `muse_pr
|
|
|
220
226
|
| `memory_adr_list` | `target` | List all Architecture Decision Records (ADRs) recorded in the memory store, optionally filtered by status |
|
|
221
227
|
| `memory_drift_audit` | `target` | Run bidirectional documentation <-> code drift audit: verifies if documented decisions are implemented in code and flags missing/stale/conflicting code or docs |
|
|
222
228
|
| `muse_why` | `target` | Autonomous Engineering Cognition: Explain WHY code was designed or modified the way it is by tracing historical bug fixes, ADRs, trade-offs, and invariants |
|
|
223
|
-
| `muse_bug_clusters` |
|
|
224
|
-
| `muse_tech_debt` |
|
|
225
|
-
| `muse_health` |
|
|
229
|
+
| `muse_bug_clusters` | — | Analyze and cluster recurring bug fixes, negative lessons, and failures into architectural fragility hotspots with root-cause hypotheses |
|
|
230
|
+
| `muse_tech_debt` | — | Scan repository and memory store for technical debt indicators (TODO/FIXME/HACK, unsafe 'as any' casts, drifted code anchors) and generate refactoring priorities |
|
|
231
|
+
| `muse_health` | — | Unified 5-Pillar Project Health Gate: audit memory store integrity, code anchor validity, documentation drift, anti-pattern sentry, and technical debt with overall grade (A-F) and pass/fail gate status |
|
|
226
232
|
| `muse_code_impact` | `file_path` | Evaluates comprehensive code and memory impact before editing: callers, test suites, ADRs, negative warnings, active constraints, and composite risk level |
|
|
227
233
|
| `muse_pr_context` | — | Generates rich GitHub PR descriptions from git diff linking touched code anchors, respected ADRs, tested invariants, and composite risk assessment |
|
|
228
234
|
| `muse_reconcile_anchors` | — | Interactively audits, prunes, or updates drifted and orphaned code anchors across memories when code is refactored or deleted |
|
|
@@ -258,6 +264,15 @@ Select a profile with the `MUSE_MCP_PROFILE` environment variable. Call `muse_pr
|
|
|
258
264
|
| `graph_index` | `query` | Index AST symbols from the project's CodeGraph/Graphify provider and cache in .memory/ |
|
|
259
265
|
| `muse_profile_list` | `title`, `context_and_drivers`, `decision`, `consequences` | List all available task-focused MCP profiles (core, coding, debugging, review, architecture, maintenance, full) and their exposed tools |
|
|
260
266
|
|
|
267
|
+
### Other
|
|
268
|
+
|
|
269
|
+
| Tool | Required parameters | Description |
|
|
270
|
+
| --- | --- | --- |
|
|
271
|
+
| `muse_preflight` | — | Read-only pre-flight: anchored invariants, blast-radius risk and a token-budgeted context pack for the files about to be edited |
|
|
272
|
+
| `muse_episodes` | `packet` | Recall recent episodic narratives (goal → hypothesis → trajectory → verification → retrospective) built from observations |
|
|
273
|
+
| `muse_playbook_recall` | `packet` | Recall procedural playbooks: list by tag, or fetch one by id/title |
|
|
274
|
+
| `muse_playbook_record` | `packet` | Save a playbook trajectory, or record success/failure for an existing playbook |
|
|
275
|
+
|
|
261
276
|
---
|
|
262
277
|
|
|
263
|
-
Counts in this file are generated from the same source as [`claims.json`](../claims.json):
|
|
278
|
+
Counts in this file are generated from the same source as [`claims.json`](../claims.json): 119 tools, 7 profiles, 30 import formats, 8 credential rule families.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$comment": "Generated by scripts/generate-claims.ts — the authoritative MCP tool list.",
|
|
3
|
-
"count":
|
|
3
|
+
"count": 119,
|
|
4
4
|
"tools": [
|
|
5
5
|
"confirm_fix",
|
|
6
6
|
"get_context",
|
|
@@ -100,13 +100,17 @@
|
|
|
100
100
|
"muse_code_for_memory",
|
|
101
101
|
"muse_code_impact",
|
|
102
102
|
"muse_context",
|
|
103
|
+
"muse_episodes",
|
|
103
104
|
"muse_health",
|
|
104
105
|
"muse_memory_for_code",
|
|
105
106
|
"muse_mesh_audit",
|
|
106
107
|
"muse_mesh_link",
|
|
107
108
|
"muse_mesh_query",
|
|
108
109
|
"muse_mesh_status",
|
|
110
|
+
"muse_playbook_recall",
|
|
111
|
+
"muse_playbook_record",
|
|
109
112
|
"muse_pr_context",
|
|
113
|
+
"muse_preflight",
|
|
110
114
|
"muse_profile_list",
|
|
111
115
|
"muse_reconcile_anchors",
|
|
112
116
|
"muse_sync_broadcast",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "musememory",
|
|
3
|
-
"version": "3.0
|
|
3
|
+
"version": "3.3.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",
|
package/schema.json
CHANGED
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
"salience": { "type": "number", "minimum": 0, "maximum": 1 },
|
|
16
16
|
"created_at": { "type": "string", "format": "date-time" },
|
|
17
17
|
"updated_at": { "type": "string", "format": "date-time" },
|
|
18
|
+
"asserted_at": { "type": "string", "format": "date-time" },
|
|
18
19
|
"valid_from": { "type": "string", "format": "date-time" },
|
|
19
20
|
"valid_to": { "type": "string", "format": "date-time" },
|
|
20
21
|
"valid_to_exact": { "type": "boolean" },
|