Skip to content

Architecture Decision Records ​

An Architecture Decision Record (ADR) is a short note of one choice: what was decided, what else was considered, and what the code does with that choice today.

ADRTitleStatusDate
001One long-running process, clients that only attachaccepted2026-10-05
002The graph library only runs graphsaccepted2026-10-05
003One Python model, generated TypeScriptaccepted2026-10-05
004A flock on the pid file owns the socketaccepted2026-10-06
005One TypeScript client, and that client owns the golem commandaccepted2026-10-06
006The checkpoint is the chat's memoryaccepted2026-10-07
007A connection sees only the sessions it attachedaccepted2026-10-14
008A cancelled run keeps what it saidaccepted2026-10-14
009The session list has its own notificationaccepted2026-10-15
010A fork is cut from the checkpoint historyaccepted2026-10-15
011Tools run in golem's own node, inside the session folderaccepted2026-10-19
012Tool rules: first match wins, and a project cannot allow itselfaccepted2026-10-19
013An approval is an interrupt, and the waiting run has no taskaccepted2026-10-19
014The shell runs under sandbox-exec, or not at allaccepted2026-10-19
015A file change is planned, shown as a diff, and applied only as shownaccepted2026-10-20
016Big tool output is an artifact in golem.db, and the model reads it in pagesaccepted2026-10-20
017web_fetch asks per host, refuses private addresses, and returns dataaccepted2026-10-20
018A tool returns a state update, and the node applies only the keys it allowsaccepted2026-10-20
019The golem command is one bun binaryaccepted2026-10-20
020An upgrade copies a database first, and a newer one is refused with a way backaccepted2026-10-21
021Releases are signed with one self-signed certificate, and published only after a clean runner checks themaccepted2026-10-21
022Homebrew installs the signed release unchanged, from a tap the release workflow keeps up to dateaccepted2026-10-22
023MCP servers run under golem's own small client, and their tools ask firstaccepted2026-10-23
024Conventional commits reach main as squashed pull requests, and git-cliff turns them into the release notesaccepted2026-10-23
025Skills come from the project, then the user, then golem, and a broken one never wins a nameaccepted2026-10-25
026golem starts a local Ollama when it needs one, and stops only the one it startedaccepted2026-10-27
027The tab shows golem's state with escape sequences, and iTerm2 gets its ownaccepted2026-10-28
028A browser reaches the daemon only through a strict gateway in the golem binaryaccepted, amended 2026-11-122026-10-31
029The web UI is React and Vite, styled only through golem's own Tailwind tokensaccepted2026-10-31
030The folder of a skill the session ran is a read root, never a write rootaccepted2026-10-31
031The system prompt is built for each model call, and never storedaccepted2026-11-01
032Pinned skills live in the session record, not in graph stateaccepted2026-11-01
033golem offers to start the service when nothing answers, and launchd still owns itaccepted2026-11-01
034The docs are a VitePress site over docs/, published to GitHub Pagesaccepted2026-11-01
035The daemon installs Ollama, Node, and uv, and checks a key before it stores itaccepted2026-11-03
036The setup window asks for the service, inside the chat screenaccepted2026-11-03
037The browser manages MCP servers and config.toml, but cannot move a secret or widen trustaccepted2026-11-05
038A command you approve may run outside the sandbox, as a tool of its ownaccepted2026-11-06
039The browser sets up golem on pages, not in a dialogaccepted2026-11-06
040The browser may list folders under your homeaccepted2026-11-06
041golem records a trace of each session and shows it in the browseraccepted2026-11-07
042The plan lives in GitHub issues and Project 1, not in a fileaccepted2026-11-09
043golem finds the context window of a local model from what Ollama says, and never sends a num_ctx nobody asked foraccepted2026-11-09
044golem recovers tool calls a model writes as textaccepted2026-11-10
045golem keeps a model's thinking, shows it as one line, and never sends it backaccepted2026-11-10
046web_search asks DuckDuckGo's HTML page first, behind a provider settingaccepted2026-11-10
047Permission modes change only the built-in defaults: careful, balanced, and autopilotaccepted2026-11-11
048An MCP server's read-only tools can run without asking, if you trust that serveraccepted2026-11-11
049A hosted MCP server signs in with OAuth, through a loopback listener in the daemonaccepted2026-11-08
050A routine fires a headless session; runs stay agent turns, routine_runs are firingsaccepted, amended 2026-11-132026-11-13
051A phone reaches the Mac through a relay that sees only ciphertextaccepted2026-11-13
052The iPhone app is SwiftUI on iOS 17 over a shared GolemKit package, and may save "Always allow" with Face IDaccepted2026-11-13
053golem opens the web UI, and golem tui opens the terminal chataccepted2026-11-14
054The browser edits user skills, and project skills only in a trusted project; writing a skill never trusts itaccepted2026-11-14
055golem picks a model by fixed rules: three tiers, a route mode per session, and caps on spendingaccepted2026-11-14
056golem plans the window of a local model, and sends a view of the history, never a shorter historyaccepted2026-11-14
057golem keeps a snapshot of every file it changes, and undo is a new changeaccepted2026-11-15
058A helper is a child run on its own thread, with its steps in the parent's logsuperseded by 0592026-11-15
059A helper is a headless session with a parent, started for a reason, never by habitaccepted2026-11-19
060One dispatcher decides how many model calls run at once, and every wait has a named reasonproposed2026-11-19
061golem keeps long-term memory in memory.db, recalls it inside a small budget, and never sends it somewhere less private than the chatproposed2026-11-19
062Workflows on golem.workflow: your code decides the order, golem keeps every stepproposed2026-11-24
063SQL over your files runs in DuckDB in a worker process, read-only by construction, with its extensions installed onceproposed2026-11-26
064Serve mode: one app per deployment, runs before chat, and an HTTP API that is a profile of existing standardsproposed2026-11-29

How the running code fits together is in ../architecture.md.

New records use template.md. Number the next file 065-….md and add a row here.