musememory 3.2.0 → 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.
Files changed (31) hide show
  1. package/.agents/artifacts/2026-10-26-dashboard-rehaul-rashin-research-and-wave-23-tickets.md +2 -0
  2. package/.agents/artifacts/TECHNICAL_DEBT-wave24-25.md +12 -0
  3. package/.agents/artifacts/TECHNICAL_DEBT-wave26.md +11 -0
  4. package/.agents/artifacts/TECHNICAL_DEBT-wave27.md +13 -0
  5. package/.agents/artifacts/gauntlet-wave23-pr1/ACCEPTANCE_PACKET.md +85 -0
  6. package/.agents/artifacts/gauntlet-wave23-pr1/GAUNTLET_JOB_CONTRACT.md +50 -0
  7. package/.agents/artifacts/gauntlet-wave23-pr1/ITERATION_LEDGER.md +131 -0
  8. package/.agents/artifacts/gauntlet-wave23-pr1/TECHNICAL_DEBT.md +28 -0
  9. package/.agents/artifacts/gauntlet-wave23-pr456/ACCEPTANCE_PACKET.md +22 -0
  10. package/.agents/artifacts/gauntlet-wave23-pr456/GAUNTLET_JOB_CONTRACT.md +41 -0
  11. package/.agents/artifacts/gauntlet-wave23-pr456/ITERATION_LEDGER.md +36 -0
  12. package/.agents/artifacts/gauntlet-wave24-25/ACCEPTANCE_PACKET.md +13 -0
  13. package/.agents/artifacts/gauntlet-wave24-25/ITERATION_LEDGER.md +28 -0
  14. package/.agents/artifacts/gauntlet-wave25-wiring/ACCEPTANCE_PACKET.md +7 -0
  15. package/.agents/artifacts/gauntlet-wave25-wiring/ITERATION_LEDGER.md +27 -0
  16. package/.agents/artifacts/gauntlet-wave27/ACCEPTANCE_PACKET.md +7 -0
  17. package/.agents/artifacts/gauntlet-wave27/ITERATION_LEDGER.md +36 -0
  18. package/.agents/context/current.md +56 -1
  19. package/.agents/context/decisions.md +8 -0
  20. package/.agents/context/deep-research-agentic-memory-evolution.md +1 -1
  21. package/.agents/context/evidence-ledger.md +89 -0
  22. package/.agents/context/roadmap.md +7 -7
  23. package/.agents/context/ticket-plan.md +140 -40
  24. package/.agents/standards/frontend-astro.md +3 -1
  25. package/README.md +7 -4
  26. package/claims.json +5 -5
  27. package/dist/index.js +10488 -6577
  28. package/docs/cli-reference.md +18 -6
  29. package/docs/mcp-tool-matrix.json +5 -1
  30. package/package.json +1 -1
  31. package/schema.json +1 -0
@@ -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:
@@ -97,8 +99,9 @@ Ecosystem, Migration & Connectivity:
97
99
  conflicts [--dry-run] Inspect recorded contradictions; --dry-run previews what would be flagged
98
100
  reconcile [--prune] [--stale] Reconcile orphaned & drifted code anchors across memories
99
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
100
103
  scan-secrets [dir] [--json] Native Vibeguard secret scanner (zero external dependencies)
101
- terrain [--out file.md] Collect machine hardware, toolchain & agent ecosystem map
104
+ terrain [--workspace] [--out] Machine terrain, or --workspace for the six workspace maps
102
105
  code-impact <file> [--symbol] Synthesize code callers, ADRs, negative warnings & risk score
103
106
  pr-context [--base B] [--out] Generate memory-verified PR description from git diff
104
107
  mcp Run stdio MCP server for agent platforms
@@ -112,7 +115,7 @@ Version Control (R23):
112
115
 
113
116
  ## MCP tools
114
117
 
115
- **115 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).
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).
116
119
 
117
120
  Select a profile with the `MUSE_MCP_PROFILE` environment variable. Call `muse_profile_list` for the live mapping.
118
121
 
@@ -223,9 +226,9 @@ Select a profile with the `MUSE_MCP_PROFILE` environment variable. Call `muse_pr
223
226
  | `memory_adr_list` | `target` | List all Architecture Decision Records (ADRs) recorded in the memory store, optionally filtered by status |
224
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 |
225
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 |
226
- | `muse_bug_clusters` | `packet` | Analyze and cluster recurring bug fixes, negative lessons, and failures into architectural fragility hotspots with root-cause hypotheses |
227
- | `muse_tech_debt` | `packet` | Scan repository and memory store for technical debt indicators (TODO/FIXME/HACK, unsafe 'as any' casts, drifted code anchors) and generate refactoring priorities |
228
- | `muse_health` | `packet` | 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 |
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 |
229
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 |
230
233
  | `muse_pr_context` | — | Generates rich GitHub PR descriptions from git diff linking touched code anchors, respected ADRs, tested invariants, and composite risk assessment |
231
234
  | `muse_reconcile_anchors` | — | Interactively audits, prunes, or updates drifted and orphaned code anchors across memories when code is refactored or deleted |
@@ -261,6 +264,15 @@ Select a profile with the `MUSE_MCP_PROFILE` environment variable. Call `muse_pr
261
264
  | `graph_index` | `query` | Index AST symbols from the project's CodeGraph/Graphify provider and cache in .memory/ |
262
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 |
263
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
+
264
276
  ---
265
277
 
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.
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": 115,
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.2.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",
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" },