Skip to main content

Configuration

Current source review

This page was reconciled against current development source on 2026-11-08. Historical public-source links retain their original revisions and do not establish that a public mirror or installed runtime contains current behavior. This is static documentation/source review, not an application, provider, database or security test.

BURROW stores operator-managed configuration in PostgreSQL. The service environment supplies deployment paths, database connectivity, encryption keys and optional overrides. The retained loadBurrowConfig() function is inert: it does not read or write burrow.json.

Choose the right configuration surface​

SettingAuthoritative surfaceOperator entry point
Agents, identities, six profile documentsPostgreSQL registry, identity and profile storesSettings → Agents; General operator profile
Model connections, credentials, enabled models, agent selectionPostgreSQL model settingsSettings → Connections → Models; Chat toolbar model selector
MCP connections, discovered catalog and per-agent tool grantsPostgreSQL MCP settingsSettings → Connections → MCP servers; agent MCP tools
UI authenticationPostgreSQL settings and secret store, with explicit environment overridesSettings → Connections → Authentication
Execution hard boundariesPostgreSQL metadataSettings → Agents → Global
Operator timezonePostgreSQL metadataSettings → General → Personalization → Operator profile
Skills, Git sources and per-agent assignmentsPostgreSQL skill/source records; installed package files on diskSettings → Skills; per-agent assignments under Agents
Browser Origin checkingDeployment environment; enabled by defaultBURROW_UI_ORIGIN_CHECK and BURROW_UI_ALLOWED_ORIGINS; no Settings/API editor
OpenTelemetry exportPostgreSQL destination list/master switch and encrypted credentials/headers, with explicit environment overridesSettings → Connections → OpenTelemetry; /api/settings/opentelemetry
System-mod authorityCore-owned capability and agent grants/api/operator/mods/{modId}/access; current Core allows direct UI use in none mode; enabled authentication requires operator login; API tokens do not authorize this route
Dream schedule and model selectionPostgreSQL agent Dream settingsAgent Dreams settings
RetentionSaved trace policy; separate CLI session-retention policySettings → General → Trace retention; deliberate CLI maintenance
BrainsAgent-owned saved memories; optional embedding settingsBrains; Settings → General → Continuity
Database, listener, process paths, encryption keyService environment and installer/container configurationService environment file or deployment configuration
Theme, rail layout and other allowlisted display choicesHome-server operator-wide ui_preferences, with browser cache/retry journalRestored after authentication; not per-user settings
Drafts and cached conversationsBrowser-local storage/stateNot synchronized by the UI preference API

These are separate ownership domains. Copying a workspace directory does not copy all application settings; exporting selected categories is not a complete backup. See storage, backup and recovery, and browser state.

Resolution and overrides​

Runtime composition requires injected PostgreSQL-backed stores; there is no silent fallback to a local settings file. A caller can explicitly tolerate model-resolution errors for inspection, but normal execution still needs a usable model selection.

For UI authentication, precedence is explicit runtime arguments → service environment → persisted settings → defaults. A saved authentication form can therefore differ from the effective mode. GET /api/settings/ui-auth returns both the saved auth object and effective mode, enabled state and source. Responses report whether secrets are configured rather than returning them. Saving an omitted Basic password preserves its existing hash; a nonblank supplied OIDC client secret replaces the encrypted stored secret.

Listener host/port are selected at process start. Changing the service environment requires a restart. The direct HTTP entry point defaults to 0.0.0.0:42817; the native installer explicitly writes 127.0.0.1, while Docker uses 0.0.0.0. The generic configuration resolver's loopback default does not override the server entry point. Set the listener deliberately before enabling remote access.

OpenTelemetry destination ownership​

Current development saves a master switch and an authoritative list of named OTLP/HTTP destinations. Each destination selects its provider preset, enabled signals, base or exact signal URLs, protocol and metric temporality; headers, credentials and CA material are encrypted and write-only. Changes apply live to Core. See configuration procedure and settings API.

BURROW_OTEL_ENABLED overrides only the master switch. Generic/signal-specific OTLP endpoint or header overrides select one effective environment destination rather than fan out environment credentials to saved destinations. The saved list remains unchanged. A headers-only transport override uses the first enabled saved transport for endpoint/signal defaults but does not copy its destination credentials; legacy scalar settings retain their documented saved-header fallback for an endpoint-only override. Generic and signal-specific headers are combined with signal-specific names winning. Standard environment CA/mTLS settings apply to environment-owned transport, not saved destinations. See environment variables.

Existing scalar settings remain a virtual Custom destination until a successful list save adopts them. Reading does not migrate them or identify their original provider. An explicitly saved empty list stays empty across restart. Older scalar clients cannot overwrite a non-equivalent or multi-destination list; the API rejects ambiguous updates. Existing runs and their descendants retain their old export generation while new independent runs use the changed configuration.

Paths and agent ownership​

The native installer normally uses $HOME/.burrow. The generic runtime fallback is /mnt/local/burrow; it is not the native installation recommendation. Explicit path arguments precede environment values. Agent workspaces normally resolve under the shared workspace root, with agent data and workspace pointing to the same selected tree.

Resolved pathDefault relative to configured roots
Workspace<runtimeRoot>/workspace
Agent workspace/data<workspaceRoot>/<agentId>
Skills fallback<agentWorkspaceRoot>/skills
Cache<runtimeRoot>/cache
Archive<runtimeRoot>/archive

An explicit workspace-root argument suppresses the ambient agent-workspace override. A workspace or data root is ownership/context information, not a filesystem sandbox. Configure execution boundaries separately and use operating-system isolation where required. See Installation

Models and generation defaults​

Select an enabled connection and an enabled model within it. Agent defaults can supply the pair; explicit per-turn fields override the corresponding selection. A missing pair returns no model; an unknown connection or disabled model is an error. Provider credentials are resolved from the authoritative connection store. Logical OAuth pools resolve an eligible concrete member instead of owning credentials themselves. See native account pools. Ordinary Burrow model execution uses the native API runtime. Codex and Claude Minions are separate, explicitly selected native CLI harnesses with their own saved connection/model pairs; do not apply the ordinary-chat transport description to those children.

ParameterRuntime behavior
Anthropic thinking modeIndependent nullable selection: default, disabled, adaptive, enabled, between_tools; null is legacy inference, not provider default. See selection API.
Reasoning effortoff, minimal, low, medium, high, xhigh, max, ultra; selected provider/model may support a subset
TemperatureDefault 0.2, finite range 0..2; omitted when unsupported by the selected model
Context capacityExplicit model metadata wins; fallback is 292,000 for the OpenAI family and 1,000,000 for Anthropic
Output budgetExplicit positive request/model generation limit wins; general fallback is 32,768 tokens
Image inputPer-model accepted input takes precedence over connection-level compatibility metadata

Capacity fallbacks are BURROW defaults, not a guarantee of a provider's current limits. Catalog output capacity is metadata and is distinct from the requested generation limit. See models before changing provider details.

Minion settings​

Global Minion settings live under Settings → Agents → Global. A per-agent override can replace the simple fields as a group; turning it off inherits global values without deleting the saved agent values. The API returns saved values separately from effective settings.

Minion Depth is an integer 0–2, default 1. Zero disables spawning; one permits direct children; two permits grandchildren. Runtime-owned child lineage retains its original budget and can be tightened by current effective settings.

defaultHarness selects burrow, codex or claude. codexEnabled, claudeEnabled and geminiEnabled independently control new dispatch; selecting a default does not enable a native harness. Existing-session follow-ups are unaffected by disabling new dispatch. Each harness has its own nullable connection/model pair. An unset burrowModel inherits the actual parent turn model, not the obsolete separate Minion model default. Codex/Claude/Gemini require their configured eligible native model pair. Gemini is explicit-only, not a defaultHarness choice. Saved pairs are defaults; separate {harness}ModelLocked booleans enforce a model when enabled. Without a lock, another enabled eligible model on the same connection/pool may be requested. Clearing a pair clears its lock. Legacy profiles and selection storage remain for explicit compatibility operations but do not choose normal dispatch defaults. See the settings API and Minion guide.

Context compression​

Compression policy is runtime configuration, not a client-owned chat-body setting. Defaults are a 0.75 threshold, 48 fresh-tail messages, 24,000 fresh-tail tokens, 20,000 leaf-chunk tokens, a 6,000-token summary target, at most four sweep iterations and a 120,000 ms deadline. A summary-model override is optional. See the exact environment variables and conversation history.

Timezone and independent retention policies​

The operator timezone is the IANA zone used by agent context, scheduled jobs, Dreams and scheduled Git-skill synchronization in public 2026.10.19. Migration 53 removes prior per-job and Dream timezone overrides. Legacy job timezone input is accepted but is no longer authoritative; reconciliation recomputes the next occurrence when the operator zone changes. Saving the operator zone does not force browser-local display into that zone. Trace cleanup, original-conversation retention, working-memory expiration and rolling-continuity history are separate mechanisms. Do not use old session-age environment defaults as a substitute for the current operator policy. See Dreams · Memory retention

Current shared profile documents​

Current Core implements shared RULES and ORIENTATION documents with per-agent opt-in flags, using /api/settings/global-profile-documents. Migrations 61–62 add the documents and timestamps. The six agent-owned documents remain; global prose precedes the corresponding local document only when opted in. This was absent from historical 2026.10.19. See current source pins.

Portable agent context​

The burrow.agent-context/v1 format carries descriptive context: personality, operator preferences, orientation, declared tool/skill identifiers and an optional HTTP(S) UI target. Each of the three context text fields is limited to 24,000 characters; tool/skill identifiers use [a-zA-Z0-9._-]{1,96}. UI-target URLs are limited to 2,000 characters, with a 240-character label.

Unknown fields are discarded. This format does not define executable tools, grant permissions, select a model or establish memory-routing authority. Its text limits differ from the six profile-document limits. An advertised UI target is context, not an automatic browser launch.

Targeted source review​

The current page was statically reconciled on 2026-11-08 against Backend 6b682eae6cd0dc6efa79e173b7d819fb219443b3 and relevant UI/assembly source. The links below remain historical public evidence, not current private-source links. No live deployment or application test was performed.

29 October development delta​

Changed contracts above were checked statically against Backend 4057b50a5d5a9b14d36bb3b70f35781c4b29a9b9 on 2026-10-29. This is not a runtime, provider or collector test, nor a revalidation of unchanged historical sections. See source coverage.