open() elsewhere on that disk. Keeping agents to one-vault-per-host (device or container mount) is what preserves the boundary at runtime.brain mcp-router is not
a personal agent and holds no vault; each brain mcp --http process serves exactly one
person's compiled vault and answers only to that person.123456# refresh everyone: write back edits, sweep drafts, recompile, triage doctor findings (+ reindex) # flock -n: one cycle at a time — an overlapping tick skips rather than racing the run in flight */10 * * * * flock -n /var/lock/brain-cycle brain cycle --master /srv/brain/master --out /srv/brain/compiled --index --json >> /var/log/brain-cycle.log 2>&1 # integrity check — nonzero exit on any error finding 0 * * * * brain doctor --master /srv/brain/master --out /srv/brain/compiled --json >> /var/log/brain-doctor.log 2>&1
brain cycle runs write-back → promotion sweep → recompile → triage in the one order that's safe; a held edit or a failed write-back exits nonzero without halting the refresh. The closing triage step routes actionable brain doctor findings to each responsible person as a rolling Inbox digest their agent processes (see brain triage), so content maintenance closes its own loop instead of waiting for someone to read the doctor log. The --index flag also refreshes each vault's search index — worth it when agents run server-side (container mounts) rather than on employee devices; an index failure only warns, it never fails the cycle. brain doctor is the read-only health check — point it at both the master and the compiled root so it can catch a _meta/ leak or a crashed-compile tombstone before anyone syncs.deploy/, and the
restore drill for each failure._meta/cache/ so a chunk
shared across people embeds once. If no provider is set, --index still
builds keyword-only indexes. Enabling a provider later does not backfill
vectors into an existing index — run brain index --vault <path> --full
once per vault (see the
reference deployment). Note that configuring a provider means note text
is sent to that endpoint — use a self-hosted or company-proxy endpoint if that
matters.