miyavis242 downloadsLocal-first knowledge dashboard with heatmaps, quick memos, weekly reviews, and agent knowledge deposition via MCP.
Local, controllable AI write auditing for your knowledge vault. Every write an agent makes into your notes can be approved, rolled back, and traced.
Why Sediment

You let an agent write into your Obsidian vault. Then the hard questions start:
Chat diffs answer the first question for the current session. They do not survive a restart, do not record shell-level changes, and do not tell the agent that you revoked something. Sediment is built for the second and third questions.
before/after preview, and a SHA-256 hash of before. Nothing lands yet.CONTENT_CHANGED). This closes the "approve A, write B" race.decisions/<id>.json for the agent to poll.The result is a chain you can inspect: MCP call → pending write → approval → snapshot → change timeline.

| Tool | What it does | Write governance |
|---|---|---|
| Copilot for Obsidian | Agent container, chat, autocomplete | Permission tiers and a session diff — its own docs call it a review aid, not a complete audit: shell changes are not recorded, revoke is not sent to the agent, diff is lost on restart |
| MCP bridges (mcp-obsidian, local-rest-api) | Vault access over MCP/HTTP | Auth and optimistic locking, but no approval queue, diff, rollback, or provenance |
| Smart Connections / Tracker / Heatmap Calendar | Semantic search and statistics | Read-only; no write path |
| Notion AI / Capacities | Cloud AI knowledge work | Approval previews exist, but no local model and no vault-level audit trail |
Sediment does not try to be a chat client or a search engine. It is the write-audit layer underneath whichever agent you already use.
get_change_timeline.
Supporting views exist to explain and feed the audit story: writing statistics, heatmaps, contribution trends, knowledge strata, quick memos, weekly reviews, task scanning and health checks. Focus-time tracking lives in Knowledge Strata as the data source for the human-vs-AI stratification; it is on by default and can be disabled in settings. Poster export and art-style switching are experimental and off by default.
miyavis/Sediment as a beta plugin. Manual: copy main.js, manifest.json and styles.css from Releases into <vault>/.obsidian/plugins/sediment/.examples/.pending: true; you review it in the workshop; the result appears in the timeline.One-click client setup supports 14 clients: OpenCode, Qoder (+ CN), Claude Desktop, Claude Code, Cursor, Cline (CLI + VS Code), Gemini CLI, Windsurf (+ Next), OpenAI Codex (TOML), Hermes Agent (YAML), and VS Code / Copilot. Detected clients are listed first; supported-but-not-installed clients are shown in a collapsed section so you always see the full support range.
127.0.0.1 only, requires a Bearer token, and ignores ?token=..obsidian/ and .git/ are always blocked; blocked folders and tags cannot be read, written, or searched.fs is used only for MCP client config, the bundled bridge script, and note snapshots.examples/SECURE-AGENT-SETUP.md for the full threat model and recommended settings.Claude Code / OpenCode / Qoder / Cursor / Claude Desktop
│ MCP stdio
▼
mcp-server/index.mjs
│ HTTP + Bearer token
▼
127.0.0.1:27123
Public MCP surface (14 task-oriented tools, AGENT_API_VERSION = 1; read-only additions do not change it):
get_daily_context, get_active_contextsearch_notes, list_notes, read_notewrite_note, patch_noteadd_memo, add_knowledge, record_work_logmanage_tasksmanage_changesget_change_timelineget_workspace_stateSee examples/SECURE-AGENT-SETUP.md, the Claude Code skill in examples/claude-code/, and the OpenCode / Cursor snippets in examples/. Recommended: copy examples/AGENTS.md into your vault root as AGENTS.md. Coding agents (Codex, Claude Code, Cursor, …) read it automatically and will then write through MCP, wait for human approval in confirm mode, and keep tokens out of notes — instead of editing the vault with raw filesystem access.
Off by default. When enabled, proposals/ and decisions/ appear under .obsidian/plugins/sediment/bridge/. Any agent that can write files may submit a proposal; it enters the pending queue and is applied only after you accept. Files are capped at 256 KB; only write_note, patch_note and add_knowledge are supported. Existing decisions are never overwritten — resend with a new id.
.obsidian/plugins/sediment/data.json; backups and audit exports are local.Sediment/ in the vault: daily, reviews, agent-logs, knowledge, backups.When reporting issues, do not include tokens, private note contents, or a full data.json.
npm install
npm run build
npm test
npm run test:typecheck
npm run lint:eslint
npm run lint:stylelint
npm run test:release
npm run build — sync versions/changelog/bridge, type-check, bundle main.js, package dist/sediment/npm test — i18n lint, unit suites, MCP smoke testnpm run test:release — verify version, changelog, and release artifactsnpm run check — run all lint/type/test/release checks in one passnpm run audit:prod — audit production dependencies only (dev toolchain advisories do not ship)One version source: version in package.json. scripts/version-bump.mjs syncs it to the lockfile, manifest, versions.json, MCP serverInfo, and both README badges. Generated files use LF so Windows and Linux builds are byte-identical.
src/ plugin entry, data, agent, timeline, UI
tests/suites/ unit suites + shared helpers
examples/ agent setup snippets, threat model, demo data
scripts/ build sync, tests, release verification
mcp-server/ MCP stdio bridge
.github/workflows/ CI and release
isDesktopOnly): client setup, snapshots, and uninstall use Node's filesystem.See CHANGELOG.md. Release notes are on the Releases page.
MIT © miyavis <[email protected]>