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.

A capture door writes into the inbox, and the classifier picks it up.mindbase_captureidea / task_inbox/the vault doormindbase-classifierpicks it up
MCP toolmindbase_capture

Files an idea, task or loose thought into the inbox for MindBase to sort.

lives in api/mcp_app.py

MCP toolmindbase_land

Files a finished document straight into its project folder, not the idea pipeline.

lives in api/mcp_app.py

MCP toolmindbase_append

Adds a note onto something that already exists, instead of making a new file.

lives in api/mcp_app.py

API endpointPOST /api/capture

The web door that does the same filing as mindbase_capture, for curl and Siri.

lives in api/capture.py

API endpointPOST /api/land

The web door that does the same filing as mindbase_land, for curl and Siri.

lives in api/land.py

API endpointPOST /api/status

Marks a project, idea or chat thread active, on hold, or done, from outside a chat.

lives in api/status.py

daemonmindbase-classifier

Watches the inbox every few seconds and picks up whatever a door just wrote.

lives in ecosystem.config.js

doorFile an idea or a task

The idea door — use it for anything that still needs a decision.

lives in daemons/land.py · via mindbase_capture

doorFile a finished document

The asset door — use it once a document is done and ready to live in its folder.

lives in daemons/land.py · via mindbase_land

page/

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.

The classifier reads a capture and writes a brief describing it._inbox/raw captureclassifiersorts + briefsbrief_briefs/{slug}.md
daemonmindbase-classifier

Sorts a capture into a lane, writes a short brief, and hands it to the planner.

lives in daemons/classifier.py

custodian dutyfrontmatter

A Custodian sweep that stamps every note with the six keys the whole system reads.

lives in daemons/custodian.py

custodian dutyslugcheck

Makes sure a note's project name is real and registered before anything trusts it.

lives in daemons/custodian.py

settingclassifier

The 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.

The planner drafts a plan and posts it for the one human gate: approval.brieffrom classifyplannerdrafts a plan#mindbase-planshuman approval
daemonmindbase-planner

Turns a brief into a full plan and posts it to #mindbase-plans for approval.

lives in daemons/planner.py

MCP toolmindbase_reply

Lets you approve, reject, or add feedback to a plan from any chat surface.

lives in api/mcp_app.py

API endpointPOST /api/plans/{slug}/feedback

The 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.

Approval triggers the stylist and the executor, autonomously, except money.approved planhuman said yesstyliststyled HTMLexecutorbuilds it
daemonmindbase-stylist

Turns an approved plan into a branded, self-contained HTML page.

lives in daemons/stylist.py

daemonmindbase-executor

Runs the approved plan on its own and commits what it built, except money.

lives in daemons/executor.py

API endpointGET /api/executions

Shows 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.

Four context layers compile into one brief an agent reads before acting.L0 canon.mdL1 projectL2 recentL3 relatedbrief.mdcompiled context
MCP toolmindbase_get_project_context

Hands an agent a compiled brief of a project — the fast way to catch up.

lives in api/mcp_app.py

custodian dutycontext_rebuild

Keeps every project's compiled brief current as new notes land.

lives in daemons/custodian.py

scriptmindbase-context

Prints a project's briefing to your terminal so any tool can read it.

lives in bin/mindbase-context

API endpointGET /api/context

The dashboard's way of reading the same compiled brief the tool returns.

lives in api/server.py

page/projects

One 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.

Each device's Claude and Codex apps sync against one shared thread registry.registrythreads.jsonmacserverClaudeCodexMBPClaudeCodexname · pin · archivereportimport planGB approves on /now
API endpointGET /api/registry/mirror

Hands a device everything one cycle needs: settings, grammar, the project catalog and the last report.

lives in api/registry.py

API endpointPOST /api/registry/mirror-report

Takes one device's cycle report and either applies it or turns it into a plan for GB.

lives in api/registry.py

API endpointGET /api/registry/mirror-plans

Lists the import and bootstrap plans waiting for GB to approve on /now.

lives in api/registry.py

API endpointGET /api/registry/threads

The registry the mirror syncs against — every known conversation thread, one row each.

lives in api/registry.py

settingmirror.enabled

The global switch. Off by default — every device reports but applies nothing until GB flips it.

lives in schema/settings.schema.json

settingmirror.max_actions

A ceiling on how many renames, pins or archives one device may apply in a single cycle.

lives in schema/settings.schema.json

page/now

Where 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.

Auto Mode loops through Pick, Build, two Gates, then Ship, one project at a time.Pickqueued itemBuildin a worktreeGate 1tests + tscGate 2a critic checksShipopens a PR
daemonmindbase-auto

The scheduler loop: Pick a queued item, Build it, Gate it twice, then Ship.

lives in daemons/auto.py

settingauto.enabled

The master switch. Off by default — nothing runs until a human turns it on.

lives in schema/settings.schema.json

page/auto

Where 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.

A small fleet of always-on processes surrounds the vault, each with one job.the vaultplain markdownmindbase-apimindbase-dashboardmindbase-custodianmb-worker-mbamb-recentsmb-model-sync
daemonmindbase-api

The API every page and every tool talks to.

lives in ecosystem.config.js

daemonmindbase-dashboard

Serves the website you are reading this page on.

lives in ecosystem.config.js

daemonmindbase-custodian

Sweeps the vault every five minutes and keeps its laws true.

lives in ecosystem.config.js

daemonmb-worker-mba

A worker that pulls jobs it can do and runs them on its own machine.

lives in ecosystem.config.js

daemonmb-recents

Keeps the Recents note in the vault showing the 50 newest things.

lives in ecosystem.config.js

daemonmb-model-sync

Checks daily which AI models are available and keeps the list current.

lives in ecosystem.config.js

page/apps

Shows every live app and internal system, with its health at a glance.

lives in dashboard/app/apps/page.tsx

page/now

The 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.

Four backup layers plus offsite copy, watched by one health check.git commitgit pushsnapshotrestore drillhealth checkGET /api/backups/health
daemonmb-vault-commit

Commits the vault to git every 30 minutes, refusing anything that looks like a secret.

lives in ecosystem.config.js

daemonmb-vault-push

Pushes the vault's git history off this machine every night.

lives in ecosystem.config.js

daemonmb-vault-snapshot

Writes a compressed, verified snapshot of the whole vault every night.

lives in ecosystem.config.js

daemonmb-vault-restore-drill

Restores a snapshot once a month to prove backups really work.

lives in ecosystem.config.js

settingbackups.stale_hours

How many hours without a fresh backup counts as a problem worth flagging.

lives in schema/settings.schema.json

API endpointGET /api/backups/health

The dashboard's live read of every backup layer's health, in one call.

lives in daemons/backup_health.py

scriptmb-backup-health

Prints 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.

The Custodian sweeps every duty in a loop, once every five minutes.frontmatterslugcheckdropboxdigestsecret_scanstale_threadslibrarian_proposeindex_rebuild5-minutesweep
daemonmindbase-custodian

Runs every duty below, in order, inside one 90-second budget.

lives in ecosystem.config.js

custodian dutystale_threads

Notices when a conversation thread looks finished and proposes closing it.

lives in daemons/custodian.py

custodian dutylibrarian_propose

Finds near-duplicate and stray notes and proposes a tidy-up, never applies one alone.

lives in daemons/custodian.py

custodian dutyindex_rebuild

Keeps the vault's search index matching what is actually on disk.

lives in daemons/custodian.py

custodian dutymedia_sweep

Files a pasted image from the vault root into the media folder of the project whose note shows it.

lives in daemons/custodian.py

custodian dutysecret_scan

Reads every note for a leaked key and reports it, but never edits or deletes.

lives in daemons/custodian.py

custodian dutystatus_projection

Keeps a note's filename prefix matching its real status, like a name tag that stays honest.

lives in daemons/custodian.py

page/flow

This page: built from a manifest the tests check, so it can only name things that exist.

lives in dashboard/app/flow/page.tsx