@remembrance-ai/mcp-server 0.1.66 → 0.1.72

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
@@ -25,6 +25,8 @@ release check. If a newer verified version is published, the agent receives
25
25
  locally bundled update guidance and must ask before changing the MCP
26
26
  registration. Restart the host after updating; the running MCP process cannot
27
27
  become the new version in place. `run_connection_doctor` reports the same state.
28
+ The manifest resolves MCP independently from native plugin marketplaces, so a
29
+ pending ClawHub publication cannot hold back an npm MCP update.
28
30
  Set `REMEMBRANCE_CLIENT_UPDATE_CHECK=0` to disable the advisory check.
29
31
 
30
32
  MCP processes from before this initialization check existed still receive
@@ -195,6 +197,11 @@ steer relevant public and team skills without changing shared instructions or
195
197
  weakening organization policy. Profiles, observations, compatibility records,
196
198
  and feedback remain private to the authenticated organization.
197
199
 
200
+ An explicit instruction governs the current task immediately. Known built-ins
201
+ activate durably at once. Custom preferences remain pending until automatic
202
+ normalization and validation approves them; unsafe, malformed, or uncertain
203
+ custom behavior stays inactive and is never replayed to an agent.
204
+
198
205
  Native hooks may add a locally derived `client_context.project_key`. It is an
199
206
  installation-keyed opaque project-context digest; the path and
200
207
  repository name never leave the device. Preferences never change base
@@ -300,6 +307,26 @@ With an organization key, `propose_skill_idea` also stays in the organization
300
307
  review queue. Never remove or bypass the key to force a public candidate;
301
308
  submit privately, then use the reviewed public-propagation flow.
302
309
 
310
+ Routine organization lessons use a narrower exact-action approval. Allow
311
+ `submit_private_lesson_candidate` persistently without granting every write
312
+ tool. The local server first runs `prepare_private_lesson_candidate`, which
313
+ canonicalizes and redacts in memory and stores only the encrypted canonical
314
+ record in a private local outbox. The separate submit action then sends those
315
+ exact bytes. Claude Code's exact permission name is
316
+ `mcp__remembrance__submit_private_lesson_candidate`; OpenCode's generated MCP
317
+ permission name is `remembrance_submit_private_lesson_candidate`. Cursor and
318
+ VS Code can approve the individual tool for all future invocations. OpenClaw
319
+ must expose the optional tool and persist its plugin-owned `allow-always`
320
+ decision. Keep broader public/admin writes disabled when they are not needed.
321
+
322
+ The preparation action never contacts Remembrance. A host denial is retained
323
+ locally and is never retried through another transport. The outbox never
324
+ expires or evicts drafts; reaching its 64 MiB ceiling pauses capture rather
325
+ than deleting data. Only `delete_private_lesson_candidate` with explicit
326
+ confirmation removes a selected draft. Hosted MCP exposes policy and the exact
327
+ submit action, but no local outbox tools, and reports
328
+ `auto_capture_supported: false` unless a local plugin is paired with it.
329
+
303
330
  ## Claude Desktop (local stdio)
304
331
 
305
332
  ```json
@@ -423,10 +450,38 @@ current instructions. Catalog browsing and handle reads do not count as use.
423
450
  necessarily the key used for the original query, and never enter public
424
451
  cohorts. Raw REST proof retrieval remains unchanged for clients that perform
425
452
  their own verification.
453
+ - `get_private_lesson_policy`: fetch and verify the signed organization policy
454
+ for the private lesson lane. It binds the organization audience, monotonic
455
+ policy sequence, enabled safe tiers, exact action and endpoint, 4 KiB limit,
456
+ encryption readiness, kill switch, contract/redactor versions, and
457
+ `public_fallback: false`.
458
+ - `prepare_private_lesson_candidate`: local-only preparation for failure,
459
+ correction, or reusable-workflow lessons. It canonicalizes, redacts,
460
+ validates, encrypts, and durably queues the post-redaction record without a
461
+ network request. Unsafe or ambiguous content enters `held_safety` instead of
462
+ being sent. The current policy pins `private-lesson-redaction-v2` and its exact
463
+ rules digest; an unsupported version or digest moves the retained encrypted
464
+ draft to terminal `superseded_redactor` rather than retrying or re-redacting
465
+ it.
466
+ - `submit_private_lesson_candidate`: submit one exact canonical queued draft to
467
+ the authenticated organization's private verifier queue, or send one
468
+ content-free `held_safety_event` through the same approved action. It verifies
469
+ the signed policy, purpose-bound TOFU challenge, server receipt, audience,
470
+ and digests. Hold telemetry contains only category counts and protocol
471
+ metadata, never lesson content, and cannot enter verification, review,
472
+ topology, or skill materialization.
473
+ - `inspect_private_lesson_outbox`, `retry_private_lesson_candidate`, and
474
+ `delete_private_lesson_candidate`: inspect content-free local state, retry a
475
+ selected eligible draft, or explicitly delete one with confirmation.
476
+ Inspection includes terminal count, retained bytes, reason, and deletion
477
+ guidance. Drafts are never expired, evicted, or silently discarded, and
478
+ terminal files still count toward the 64 MiB ceiling.
426
479
  - Feedback responses may include `next_step.submit_remembrance_payload` for
427
- negative or substantive lessons. Call `submit_remembrance` with that payload,
428
- plus `verified_attestation: true`, to promote the lesson to verified reusable
429
- evidence; local MCP initializes a missing signing identity automatically.
480
+ negative or substantive lessons. With organization authentication, prefer
481
+ the private lesson two-stage lane for routine bounded lessons. Use
482
+ `submit_remembrance` only when the richer existing evidence contract is
483
+ actually required. Local MCP initializes a missing signing identity
484
+ automatically.
430
485
  - Raw MCP clients do not have plugin Stop hooks. Before finishing, self-check
431
486
  for a missed query or unopened high match. Open that result now or submit
432
487
  explicit poor-fit query feedback with a reason. Submit a `failure_report`