vestige/docs
Michael Kurras 5324c9690b fix(consolidation): add VESTIGE_AUTO_CONSOLIDATE_MERGE opt-out + honor protected pins (#142)
The background consolidation cycle's auto_dedup_consolidation pass silently
concat-merged near-duplicate memories (cosine >= 0.85) into [MERGED] blocks and
hard-deleted the originals, with no opt-out and while ignoring `dedup protect`
pins — so a pinned memory could be absorbed/deleted unattended.

- Gate the pass behind VESTIGE_AUTO_CONSOLIDATE_MERGE (default on; set
  0/false/off/no to disable), parsed like the sibling VESTIGE_BACKFILL_AUTOFIRE,
  at the function top so every consolidation caller is covered consistently.
- Exclude protected (pinned) nodes from merge clusters at both loops, so a
  protected node is never an anchor nor a member — never absorbed, never deleted.
  protected_node_ids() is fetched once before the reader-lock window (lock-safe).
- Tests: default-unchanged regression, flag-off suppression, full protection
  matrix, liveness, and an explicit #142 regression guard.
- Docs: CONFIGURATION.md env-var row + CHANGELOG entry.

Default behavior is unchanged. TOCTOU: the protected set is snapshotted once per
pass (consistent with the function's existing point-in-time idiom). Out of scope
(follow-up): a reversible audit trail for merges that still happen when enabled,
and the [MERGED] concat-bloat itself.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-08 12:21:13 +02:00
..
adr docs: rewrite local-dev-postgres-setup for container approach; bump pg16 -> pg18 2026-05-27 15:09:23 +02:00
blog Add simple Vestige update flow 2026-05-01 13:33:54 -05:00
fixtures/sanhedrin-test-integrity-deltas test: add test-integrity delta fixtures (#79) 2026-06-19 19:41:31 -05:00
integrations Add OpenCode integration and safer startup 2026-06-15 17:06:01 -05:00
launch docs(mcp): add reconciled two-layer tool-consolidation plan; refresh stale comments 2026-06-28 18:16:16 -05:00
plans docs: rewrite local-dev-postgres-setup for container approach; bump pg16 -> pg18 2026-05-27 15:09:23 +02:00
prd Merge pull request #62 from delandtj/design-adr-0002-phase-2-execution 2026-06-15 16:25:38 -05:00
AGENT-MEMORY-PROTOCOL.md Add OpenCode integration and safer startup 2026-06-15 17:06:01 -05:00
claude-desktop-config.json Initial commit: Vestige v1.0.0 - Cognitive memory MCP server 2026-01-25 01:31:03 -06:00
CLAUDE-SETUP.md fix: v2.0.1 release — fix broken installs, CI, security, and docs 2026-03-01 20:20:14 -06:00
COGNITIVE_SANDWICH.md Release v2.1.23 Receipt Lock hardening 2026-05-27 19:03:16 -05:00
COMPOSED_GRAPH.md Add ComposedGraph composition ledger 2026-06-18 16:00:29 -05:00
CONFIGURATION.md fix(consolidation): add VESTIGE_AUTO_CONSOLIDATE_MERGE opt-out + honor protected pins (#142) 2026-07-08 12:21:13 +02:00
CONNECTORS.md feat(connectors): add Redmine and source filters (#57) 2026-06-19 02:21:25 -05:00
FAQ.md Add OpenCode integration and safer startup 2026-06-15 17:06:01 -05:00
GETTING-STARTED.md release: v2.2.1 — Windows embeddings fix + backfill safety + first-run guide (#105) 2026-07-02 12:02:42 -05:00
INSTALL-INTEL-MAC.md Add simple Vestige update flow 2026-05-01 13:33:54 -05:00
MEMORY_CINEMA.md fix(cinema): back-pressure the frame loop — kill parallax lag 2026-06-22 15:12:28 -05:00
MERGE_SUPERSEDE.md feat(merge-supersede): Phase 3 — diff-previewed, reversible merge/supersede controls (v2.1.25) (#75) 2026-06-12 12:55:31 -05:00
ROADMAP.md release: v2.2.1 — Windows embeddings fix + backfill safety + first-run guide (#105) 2026-07-02 12:02:42 -05:00
SANHEDRIN_RECEIPTS.md docs: add test integrity delta receipt sketch 2026-06-18 23:02:32 +00:00
SANHEDRIN_TEST_INTEGRITY_DELTAS.md test: add test-integrity delta fixtures (#79) 2026-06-19 19:41:31 -05:00
SCIENCE.md Prepare agent-neutral hardening release 2026-05-24 16:09:44 -05:00
STORAGE.md Prepare agent-neutral hardening release 2026-05-24 16:09:44 -05:00
VESTIGE_STATE_AND_PLAN.md Add OpenCode integration and safer startup 2026-06-15 17:06:01 -05:00