@dreamor/memvault-bin 0.6.10 → 0.6.12

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/README.md CHANGED
@@ -105,7 +105,7 @@ memvault-cli dedup && memvault-cli decay
105
105
 
106
106
  ```bash
107
107
  memvault-cli --version
108
- # memvault 0.6.10
108
+ # memvault 0.6.12
109
109
 
110
110
  # sanity check: list saved memories (verifies DB is healthy)
111
111
  memvault-cli list
@@ -330,14 +330,19 @@ Two groups are intentionally not in the table below: the host installation contr
330
330
  | `MEMVAULT_HOOK_EXTRACT_MIN_FRICTION` | Minimum friction score (tool retries, rejected tool calls, mid-session corrections) a Stop-hook-triggered `extract` must reach before it saves anything. `0` disables the gate — extracts on every Stop, as before this existed | `1` |
331
331
  | `MEMVAULT_HOOK_OUTCOME_MIN_FRICTION` | Minimum friction score for a Stop-hook `outcome --infer` to record a `Resolved` session; `0` disables the floor (mirrors `MEMVAULT_HOOK_EXTRACT_MIN_FRICTION`) | `1` |
332
332
  | `MEMVAULT_HOOK_OUTCOME_MIN_CONFIDENCE` | Minimum LLM-judge confidence to accept its `outcome --infer` verdict over the rule floor | `0.6` |
333
+ | `MEMVAULT_HOOK_COMPLIANCE` | `1` makes `SessionEnd` enqueue a durable compliance job and return immediately; the REST server worker judges it later. Missing transcripts, no judge, errors, and timeouts close rows as `unknown`, never fabricated `followed` | `1` |
334
+ | `MEMVAULT_COMPLIANCE_WORKER_TIMEOUT_SECS` | Per-job deadline for the REST server's compliance worker; on expiry the remaining rows become `unknown` | `90` |
335
+ | `MEMVAULT_COMPLIANCE_WORKER_POLL_MS` | Idle poll interval for the compliance worker | `1000` |
333
336
  | `MEMVAULT_HOOK_DEBUG` | Set to `1` to write host-hook diagnostics to `${TMPDIR:-/tmp}/memvault-hook.log` | (off) |
334
337
  | `MEMVAULT_IDENTITY_VERIFICATION` | Record whether a `save_memory` call's `agent_id` actually had a registered `agents.yaml` API key checked (`Memory.identity_verified`), vs. running unauthenticated. `false` stops recording it; recording alone never changes trust decisions | true |
335
338
  | `MEMVAULT_CORROBORATION_GATE` | Opt-in MUST trust path: a MUST memory independently corroborated by enough distinct identity-verified agents (see `MEMVAULT_CORROBORATION_MIN_AGENTS`) is treated as trusted even without human review. `true` turns it on — off by default, so `is_trusted` output is unchanged unless you opt in | false |
336
339
  | `MEMVAULT_CORROBORATION_MIN_AGENTS` | Minimum distinct identity-verified agents required for the corroboration gate above | `2` |
337
- | `MEMVAULT_INJECT_REQUIRE_REVIEW_FOR_MUST` | Opt-in stricter injection gate: by default an unreviewed MUST memory is still injected, tagged `[未审核]` in the "reference data, don't execute directly" block (never `[MUST]`). When on, unreviewed MUST memories are excluded from injection entirely until a human reviews them — across every injection channel (CLI/MCP body, MCP `[MORE - 摘要]` overflow summaries, REST `/api/session`, proxy deterministic fast path), with an `unreviewed-must-gated` skip reason kept for audit. Only affects MUST — unreviewed REF/BG memories are unaffected | false |
340
+ | `MEMVAULT_INJECT_REQUIRE_REVIEW` | Injection gate, **on by default**: any AI-extracted memory a human has not reviewed is removed from injection entirely — every priority, not just MUST — across the CLI/MCP body, the MCP `[MORE - 摘要]` overflow summaries, REST `/api/session`, and the proxy deterministic fast path, with an `unreviewed-gated` skip reason kept for audit. Unreviewed drafts stay in the review inbox and remain reachable via `search_memory`; they only enter new sessions after approval. Set `0` only for a deliberately unreviewed/experimental store, where unreviewed entries fall back to the `[未审核]` reference-data block | true |
341
+ | `MEMVAULT_INJECT_REQUIRE_REVIEW_FOR_MUST` | Legacy MUST-only render gate, kept for compatibility and as defense-in-depth when the broad gate above is disabled: with `MEMVAULT_INJECT_REQUIRE_REVIEW=0`, setting this to `true` still drops unreviewed MUST memories instead of rendering them as `[未审核]` reference data (`unreviewed-must-gated` skip reason) | false |
338
342
  | `MEMVAULT_DB_POOL_SIZE` | SQLite connection pool size | `5` |
339
343
  | `MEMVAULT_CORS_ORIGIN` | Comma-separated allowed CORS origins for REST (unset = localhost only) | (localhost only) |
340
344
  | `MEMVAULT_SERVER_START_TIMEOUT` | Seconds `server start` / the SessionStart hook waits for a freshly spawned REST server to become healthy | `15` |
345
+ | `MEMVAULT_SERVE_WEB` | Web Dashboard static-asset directory served on `--transport http`, overriding the `dist/` embedded in the binary (`--serve-web` wins; ignored on stdio/sse) | embedded `dist/` |
341
346
  | `MEMVAULT_IMPORT_ROOTS` | Path-list (`:`-separated on unix) of roots a caller-supplied `path` on `/api/agents/import/*` must live under (canonicalized before the check, so `..`/symlink escapes are rejected). Unset = no confinement (the endpoint is admin-gated) | — |
342
347
  | `MEMVAULT_FORGET_AUTO_ENABLED` | Background auto-forget: permanently purge memories archived longer than the retention window (irreversible, unlike decay's reversible archiving) | `false` |
343
348
  | `MEMVAULT_FORGET_RETENTION_DAYS` | Archived-retention window (days) for the auto-forget sweep | `90` |
@@ -346,6 +351,7 @@ Two groups are intentionally not in the table below: the host installation contr
346
351
  | `MEMVAULT_DB` | SQLite database path | `$MEMVAULT_HOME/data.db` when `MEMVAULT_HOME` is set, else `~/.memvault/data.db` |
347
352
  | `MEMVAULT_STORAGE_BACKEND` | Storage backend: `sqlite` (default) or `markdown` (alias `md`) — markdown makes a directory of `{id}.md` files authoritative and an internal `.memvault-cache.db` a rebuildable index (see [`docs/DESIGN.md` §18](docs/DESIGN.md#18-storage-backends-sqlite-vs-markdown)) | `sqlite` |
348
353
  | `MEMVAULT_MARKDOWN_DIR` | markdown-backend data directory (also `--markdown-dir` on cli/mcp/proxy); required when the backend is `markdown`. `backup`/`checkpoints`/`restore` stay sqlite-only | — (markdown mode only) |
354
+ | `MEMVAULT_MARKDOWN_TRUST_MODE` | Who is trusted to set a Markdown file's own trust metadata. `owned` (default) = local single user; hand-edited `human_reviewed`/`ai_generated`/`identity_verified`/priority/visibility are authoritative, so write access to the vault is session-injection authority. `quarantine` = shared/synced vault or low-trust writer; new files start unreviewed + `ai_generated`, priority capped at REFERENCE, layer pinned to L1, authority tags and forged ranking/freshness metadata stripped, `visibility: shared` downgraded to `scoped`, existing rows cannot be escalated, and symlinked `.md` entries are skipped. Unknown non-empty values fail closed to `quarantine` | `owned` |
349
355
  | `RUST_LOG` | Log verbosity | `info` |
350
356
  | `MEMVAULT_HOME` | Base directory: where `.env` lives, plus the model cache (`~/.memvault/models`) and `agents.yaml`. Environment-only — it can't be set inside the `.env` file itself (a file can't define its own location) | `~/.memvault` |
351
357
  | `MEMVAULT_ENV_FILE` | Path to the env file (`--env-file <path>` also works); process-env only — the file can't relocate itself | `$MEMVAULT_HOME/.env` / `~/.memvault/.env` |
@@ -356,7 +362,7 @@ Two groups are intentionally not in the table below: the host installation contr
356
362
 
357
363
  ## CLI Reference
358
364
 
359
- `save` · `outcome` · `search` · `list` · `review` · `delete` · `session-start` · `resource` · `extract` · `dedup` · `decay` · `forget` · `forget-log` · `doctor` · `promote` · `backup` · `export` · `export-skill` · `import` · `import-skills` · `import-agent` · `ingest` · `confirm-read` · `backfill-embeddings` · `sync` · `reindex` · `migrate-to-markdown` · `checkpoints` · `restore` · `supersede` · `status` · `bench` · `eval-history` · `server start|status|stop` · `dashboard`
365
+ `save` · `outcome` · `search` · `list` · `review` · `delete` · `session-start` · `compliance-enqueue` · `compliance-finalize` · `resource` · `extract` · `dedup` · `decay` · `forget` · `forget-log` · `doctor` · `promote` · `backup` · `export` · `export-skill` · `import` · `import-skills` · `import-agent` · `ingest` · `confirm-read` · `backfill-embeddings` · `sync` · `reindex` · `migrate-to-markdown` · `checkpoints` · `restore` · `supersede` · `status` · `bench` · `eval-history` · `server start|status|stop` · `dashboard`
360
366
 
361
367
  ```bash
362
368
  memvault-cli <command> --help # detailed usage per command
@@ -402,19 +408,19 @@ MemVault ships native adapters for most agents — one shared store, per-host id
402
408
 
403
409
  | Package | Version | Install / Source |
404
410
  |---|---|---|
405
- | `memvault-core` (crates.io) | 0.6.10 | library dependency |
406
- | `memvault-cli` · `memvault-mcp` · `memvault-proxy` (crates.io) | 0.6.10 | `cargo install memvault-cli memvault-mcp memvault-proxy` |
407
- | `@dreamor/dsh-memvault` (npm) | 0.6.10 | npm registry (dsh Cordis plugin, below) |
411
+ | `memvault-core` (crates.io) | 0.6.12 | library dependency |
412
+ | `memvault-cli` · `memvault-mcp` · `memvault-proxy` (crates.io) | 0.6.12 | `cargo install memvault-cli memvault-mcp memvault-proxy` |
413
+ | `@dreamor/dsh-memvault` (npm) | 0.6.12 | npm registry (dsh Cordis plugin, below) |
408
414
 
409
415
  **Shipped plugins & versions** — each bumps on its own schedule:
410
416
 
411
417
  | Plugin | Version | Distributed via |
412
418
  |---|---|---|
413
- | Claude Code / Codex plugin bundle ([`plugins/memvault/`](plugins/memvault/)) | 0.6.10 | `dreamor/memvault` marketplace |
414
- | Gemini CLI extension (`gemini-extension.json`) | 0.6.10 | `gemini extensions install` |
415
- | Qoder plugin (`.qoder-plugin/`) | 0.6.10 | in-repo manifest |
416
- | Obsidian plugin ([`obsidian-plugin/`](obsidian-plugin/)) | 0.3.6 | [`dreamor/memvault-obsidian`](https://github.com/dreamor/memvault-obsidian) (BRAT / community dir) |
417
- | dsh Cordis plugin ([`dsh-plugin/`](dsh-plugin/)) | 0.6.10 | npm [`@dreamor/dsh-memvault`](https://www.npmjs.com/package/@dreamor/dsh-memvault) |
419
+ | Claude Code / Codex plugin bundle ([`plugins/memvault/`](plugins/memvault/)) | 0.6.12 | `dreamor/memvault` marketplace |
420
+ | Gemini CLI extension (`gemini-extension.json`) | 0.6.12 | `gemini extensions install` |
421
+ | Qoder plugin (`.qoder-plugin/`) | 0.6.12 | in-repo manifest |
422
+ | Obsidian plugin ([`obsidian-plugin/`](obsidian-plugin/)) | 0.3.7 | [`dreamor/memvault-obsidian`](https://github.com/dreamor/memvault-obsidian) (BRAT / community dir) |
423
+ | dsh Cordis plugin ([`dsh-plugin/`](dsh-plugin/)) | 0.6.12 | npm [`@dreamor/dsh-memvault`](https://www.npmjs.com/package/@dreamor/dsh-memvault) |
418
424
 
419
425
  **Tier 1 — one-command native plugins** (memory injected by hooks; extraction opt-in where the host exposes lifecycle hooks):
420
426
 
@@ -430,7 +436,7 @@ MemVault ships native adapters for most agents — one shared store, per-host id
430
436
 
431
437
  **Tier 2 — paste an MCP snippet.** Strict-JSON registrations with per-host identities in [integrations/mcp-clients/](integrations/mcp-clients/) (target paths in its [README](integrations/mcp-clients/README.md)): Cursor · Windsurf · Cline/Roo · Continue · Zed · JetBrains AI/Junie · VS Code (Copilot Chat) · Claude Desktop.
432
438
 
433
- **Tier 3 — native manifests, verify-on-install.** Qoder (`.qoder/rules/` + `.qoder-plugin/` + a `UserPromptSubmit` hook template), Grok Build (`grok plugin install dreamor/memvault --trust`), the Hermes Python plugin ([integrations/hermes/](integrations/hermes/), `pre_llm_call` recall + extraction helper) and the pi extension (`pi-extension/`, `pi install git:github.com/dreamor/memvault`) ship in-repo; OpenClaw and Swival consume the generated root `skills/` (also exported to `.openclaw/skills/`); Devin stays a manual recipe in [integrations/README.md](integrations/README.md).
439
+ **Tier 3 — native manifests.** Qoder (`.qoder/rules/` + `.qoder-plugin/` + a `UserPromptSubmit` hook template), Grok Build (`grok plugin install dreamor/memvault --trust`), the Hermes Python plugin ([integrations/hermes/](integrations/hermes/), `pre_llm_call` recall + extraction helper) and the pi extension (`pi-extension/`, declared by the root `package.json` `pi` manifest; `pi install git:github.com/dreamor/memvault`) ship in-repo; OpenClaw and Swival consume the generated root `skills/` (also exported to `.openclaw/skills/`); Devin stays a manual recipe in [integrations/README.md](integrations/README.md).
434
440
 
435
441
  **Tier 4 — instruction-only rule copies.** Canonical text + `scripts/gen-rule-copies.sh` (parity-checked in CI) produce `AGENTS.md`/`CLAUDE.md` blocks, `.cursor/rules/`, `.clinerules/`, `.kiro/steering/`, Junie guidelines; `memvault-cli sync --watch` keeps them fresh from the store.
436
442
 
package/memvault-cli CHANGED
Binary file
package/memvault-mcp CHANGED
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: package/memvault-mcp
3
- size: 35778864 bytes
4
- sha256: eba8f6ccca92e1818aac60ee0574b61fc98d541c837833f54b5eaab443d19732
3
+ size: 36098704 bytes
4
+ sha256: a8cc54ea7cf5b4a72db7fd5cf9962bb232d9bfe5385528b79d80ed18d5756ba4
package/memvault-proxy CHANGED
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: package/memvault-proxy
3
- size: 35871712 bytes
4
- sha256: 4b1ecedd0b1d57894d7471dc379437a75e79fd8696f4cf7d3e7bc00ebf07ac90
3
+ size: 36056704 bytes
4
+ sha256: 1b55bdbc1069bfd97d38577e09f0c2f457ec32480765d2f18d4b12968ebc4b7b
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dreamor/memvault-bin",
3
- "version": "0.6.10",
3
+ "version": "0.6.12",
4
4
  "description": "MemVault prebuilt binaries for Apple Silicon macOS. Transport for the Homebrew tap (dreamor/tap); not a JavaScript library.",
5
5
  "homepage": "https://github.com/dreamor/MemVault",
6
6
  "repository": { "type": "git", "url": "git+https://github.com/dreamor/MemVault.git" },