How MindBase works
The vault is GB's notebook: every idea, plan and finished document lives there as plain text. Doors are the different ways to write into that notebook, from a chat, an app, or a phone. Daemons are helpers that never sleep — they read what lands, turn it into plans, build it, and back it all up.
- Vault
- GB's notebook — plain markdown files, nothing hidden in a database.
- Door
- A way to write into the vault, from a chat, an app, or a phone.
- Daemon
- A helper process that never sleeps, watching for new work.
- Duty
- One small, named job the Custodian daemon runs on a five-minute loop.
Capture
Every door writes straight into the vault notebook, so nothing you tell MindBase gets lost.
mindbase_captureFiles an idea, task or loose thought into the inbox for MindBase to sort.
lives in api/mcp_app.py
mindbase_landFiles a finished document straight into its project folder, not the idea pipeline.
lives in api/mcp_app.py
mindbase_appendAdds a note onto something that already exists, instead of making a new file.
lives in api/mcp_app.py
POST /api/captureThe web door that does the same filing as mindbase_capture, for curl and Siri.
lives in api/capture.py
POST /api/landThe web door that does the same filing as mindbase_land, for curl and Siri.
lives in api/land.py
POST /api/statusMarks a project, idea or chat thread active, on hold, or done, from outside a chat.
lives in api/status.py
mindbase-classifierWatches the inbox every few seconds and picks up whatever a door just wrote.
lives in ecosystem.config.js
File an idea or a taskThe idea door — use it for anything that still needs a decision.
lives in daemons/land.py · via mindbase_capture
File a finished documentThe asset door — use it once a document is done and ready to live in its folder.
lives in daemons/land.py · via mindbase_land
/Home: the feed of every idea, with a Create box that is one more door into the vault.
lives in dashboard/app/page.tsx
Classify
The classifier reads each capture and works out what kind of thing it is before anything else touches it.
mindbase-classifierSorts a capture into a lane, writes a short brief, and hands it to the planner.
lives in daemons/classifier.py
frontmatterA Custodian sweep that stamps every note with the six keys the whole system reads.
lives in daemons/custodian.py
slugcheckMakes sure a note's project name is real and registered before anything trusts it.
lives in daemons/custodian.py
classifierThe Settings entry that tunes how the classifier reads and sorts a capture.
lives in schema/settings.schema.json
Plan
One idea becomes one plan, and a human always gets the last word before it ships.
mindbase-plannerTurns a brief into a full plan and posts it to #mindbase-plans for approval.
lives in daemons/planner.py
mindbase_replyLets you approve, reject, or add feedback to a plan from any chat surface.
lives in api/mcp_app.py
POST /api/plans/{slug}/feedbackThe dashboard's way of asking the planner for a new version of a plan.
lives in api/server.py
Execute
Once a plan is approved, everything after that is autonomous, except money — finance plans stop at a draft.
mindbase-stylistTurns an approved plan into a branded, self-contained HTML page.
lives in daemons/stylist.py
mindbase-executorRuns the approved plan on its own and commits what it built, except money.
lives in daemons/executor.py
GET /api/executionsShows every execution's status, live, in the dashboard.
lives in api/server.py
Context
Before doing anything, an agent can ask what a project already knows — including canon.md, the one page only a human edits.
mindbase_get_project_contextHands an agent a compiled brief of a project — the fast way to catch up.
lives in api/mcp_app.py
context_rebuildKeeps every project's compiled brief current as new notes land.
lives in daemons/custodian.py
mindbase-contextPrints a project's briefing to your terminal so any tool can read it.
lives in bin/mindbase-context
GET /api/contextThe dashboard's way of reading the same compiled brief the tool returns.
lives in api/server.py
/projectsOne card per project, with its brief, its ideas and the context tab where canon.md is edited.
lives in dashboard/app/projects/page.tsx
Sync Mirror
Retired in 7.7: the helper that renamed, pinned and archived chats is archived (_archive/mirror). The registry endpoints below stay, inert without it, and the MindBase thread is the only record.
GET /api/registry/mirrorHands a device everything one cycle needs: settings, grammar, the project catalog and the last report.
lives in api/registry.py
POST /api/registry/mirror-reportTakes one device's cycle report and either applies it or turns it into a plan for GB.
lives in api/registry.py
GET /api/registry/mirror-plansLists the import and bootstrap plans waiting for GB to approve on /now.
lives in api/registry.py
GET /api/registry/threadsThe registry the mirror syncs against — every known conversation thread, one row each.
lives in api/registry.py
mirror.enabledThe global switch. Off by default — every device reports but applies nothing until GB flips it.
lives in schema/settings.schema.json
mirror.max_actionsA ceiling on how many renames, pins or archives one device may apply in a single cycle.
lives in schema/settings.schema.json
/nowWhere GB approves the mirror's first import plan and sees what it has synced since.
lives in dashboard/app/now/page.tsx
Auto
A registered project can run itself — Pick a queued item, Build it, Gate it twice, then Ship a pull request.
mindbase-autoThe scheduler loop: Pick a queued item, Build it, Gate it twice, then Ship.
lives in daemons/auto.py
auto.enabledThe master switch. Off by default — nothing runs until a human turns it on.
lives in schema/settings.schema.json
/autoWhere you turn Auto Mode on for a project and watch it work.
lives in dashboard/app/auto/page.tsx
Fleet
MindBase is a small fleet of always-on processes, each with exactly one job.
mindbase-apiThe API every page and every tool talks to.
lives in ecosystem.config.js
mindbase-dashboardServes the website you are reading this page on.
lives in ecosystem.config.js
mindbase-custodianSweeps the vault every five minutes and keeps its laws true.
lives in ecosystem.config.js
mb-worker-mbaA worker that pulls jobs it can do and runs them on its own machine.
lives in ecosystem.config.js
mb-recentsKeeps the Recents note in the vault showing the 50 newest things.
lives in ecosystem.config.js
mb-model-syncChecks daily which AI models are available and keeps the list current.
lives in ecosystem.config.js
/appsShows every live app and internal system, with its health at a glance.
lives in dashboard/app/apps/page.tsx
/nowThe one page that shows what landed today and what needs you, across every project.
lives in dashboard/app/now/page.tsx
Backups
Nothing in the vault is ever more than thirty minutes from a safety copy.
mb-vault-commitCommits the vault to git every 30 minutes, refusing anything that looks like a secret.
lives in ecosystem.config.js
mb-vault-pushPushes the vault's git history off this machine every night.
lives in ecosystem.config.js
mb-vault-snapshotWrites a compressed, verified snapshot of the whole vault every night.
lives in ecosystem.config.js
mb-vault-restore-drillRestores a snapshot once a month to prove backups really work.
lives in ecosystem.config.js
backups.stale_hoursHow many hours without a fresh backup counts as a problem worth flagging.
lives in schema/settings.schema.json
GET /api/backups/healthThe dashboard's live read of every backup layer's health, in one call.
lives in daemons/backup_health.py
mb-backup-healthPrints the same health check to your terminal, no browser needed.
lives in bin/mb-backup-health
Custodian
One daemon is permanently in charge of the vault's laws, running a sweep of small duties every five minutes.
mindbase-custodianRuns every duty below, in order, inside one 90-second budget.
lives in ecosystem.config.js
stale_threadsNotices when a conversation thread looks finished and proposes closing it.
lives in daemons/custodian.py
librarian_proposeFinds near-duplicate and stray notes and proposes a tidy-up, never applies one alone.
lives in daemons/custodian.py
index_rebuildKeeps the vault's search index matching what is actually on disk.
lives in daemons/custodian.py
media_sweepFiles a pasted image from the vault root into the media folder of the project whose note shows it.
lives in daemons/custodian.py
secret_scanReads every note for a leaked key and reports it, but never edits or deletes.
lives in daemons/custodian.py
status_projectionKeeps a note's filename prefix matching its real status, like a name tag that stays honest.
lives in daemons/custodian.py
/flowThis page: built from a manifest the tests check, so it can only name things that exist.
lives in dashboard/app/flow/page.tsx