release: harden trust and consistency in 0.24.0#128
Merged
Conversation
ccf
marked this pull request as ready for review
July 12, 2026 05:06
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
agentcairn | cbfb365 | Commit Preview URL Branch Preview URL |
Jul 12 2026, 05:08 AM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Ships agentcairn 0.24.0 with a trust-boundary and consistency hardening pass across recall, ingestion, indexing, MCP, CLI, Hermes, OpenCode, plugins, and the website.
Why
Several independent paths could mutate the same vault/index without shared writer coordination; retrieval could keep serving a stale or incompatible vector index after failures; and automatically recalled/model-generated text needed a stricter untrusted-data boundary before prompt insertion, filenames, storage, or network egress.
What changed
rememberwrite-through so successful writes are immediately searchable.~/agentcairn; adds file-configurable cloud embedding credentials/endpoints.Verification
Release
After merge, tag
v0.24.0. The tag workflow publishes to PyPI; a GitHub Release will be created separately from the changelog notes.Note
High Risk
Touches authentication-adjacent prompt injection boundaries, secret egress, concurrent vault/index mutation, and default recall scope—behavior changes are broad but heavily tested.
Overview
agentcairn 0.24.0 is a trust-boundary and consistency release across the Python core, MCP, CLI, Hermes, OpenCode, and plugin manifests.
Writer coordination and durable I/O: A new per-vault advisory lock serializes CLI sweep/reindex/ingest/link/init, MCP
remember/reconcile, and Hermes capture/saves; contention exits with retry guidance (VaultBusyError). Vault and cache writes move throughatomic_write_text, private0600/0700defaults, and preserved modes on existing user files.Index and retrieval:
reconcileruns in a DuckDB transaction so embedding/FTS failures keep the last good index. MCP lazily reconciles on first read withfreshness/retrievaldiagnostics;rememberis write-through when an index path is set. Search degrades visibly to BM25 on model/dimension mismatch or provider failure; reranker failure keeps fused order; temporal/project boosts use log-space adjustment so negative cross-encoder scores rank correctly.Automatic recall and prompt injection: Default
auto_recall_scopeisproject(cross-project requires explicitall). Claude Code, OpenCode, and Hermes inject memories as quoted, provenance-tagged, untrusted evidence with an explicit trust boundary—not raw instructions.Security egress and vault boundary: Cloud embedding payloads, LLM consolidation prompts, and model-generated titles/distillations are redacted before network or Markdown write; vault Markdown symlinks that escape the vault are rejected before index/embed. Config file gains
voyage_api_key,openai_api_key, andopenai_base_url; Codex/Antigravity MCP manifests no longer pinCAIRN_VAULT.Package version 0.24.0; affected plugins 0.1.1. Changelog and README updated accordingly.
Reviewed by Cursor Bugbot for commit cbfb365. Bugbot is set up for automated code reviews on this repo. Configure here.