Skip to main content

Storage schema

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.

This reference reviews application storage ownership and records the current migration ledger through 104, checked against Core on 15 November 2026. Current additions are listed explicitly below; historical table descriptions are not a complete column-by-column schema export. Use application stores or the API, not direct SQL writes, so validation and lifecycle rules remain intact. See source coverage.

See Persistence architecture for the data flow and Backup and recovery for recovery scope.

Migration ledger​

burrow_schema_migrations records version, name, checksum and applied_at. The runner validates an append-only, contiguous history and uses a transaction advisory lock. Changing an already applied migration is an error. burrow_migration_receipts is a separate table for verified source-cutover receipts (migration_id, manifest, fingerprint, result and completion time).

VersionMigration name
1application-stores
2conversation-session-boundary
3conversation-archives
4settings-metadata-boundary
5ui-auth-secrets
6core-mod-settings-lifecycle
7mod-distribution
8verified-source-cutover-receipts
9lossless-conversation-json
10operator-message-lookup
11scheduled-job-timezone-inheritance
12dream-timezone-inheritance
13albdruck-knowledge
14dream-incremental-extraction
15lexical-original-lookup
16original-occurrence-rows
17conversation-search-candidates
18unified-rolling-continuity
19native-conversation-archive-payloads
20native-conversation-extracted-metadata
21ascii-run-search-candidates
22forge-native-status-and-identity
23native-continuity-log-and-queue
24mcp-provider-lifecycle-state
25native-dream-state-entries
26native-tiddle-entries-and-scheduling
27lossless-continuity-payloads
28forge-mcp-native-persistence-boundaries
29stable-dream-scope-review-identity
30native-dream-tiddle-identity
31typed-mod-lifecycle-boundary
32native-model-mcp-catalogs
33lossless-settings-json
34native-timestamps-and-agent-identities
35restore-required-instant-contracts
36safe-session-reset-instant
37history-keyset-order-and-precedence
38logical-json-member-identity
39archive-relational-fallback-identity
40catalog-lossless-scalar-identity
41logical-original-lookup-indexes
42indexed-dream-occurrence-windows
43durable-agent-message-deliveries
44dream-quiet-day-setting
45agent-owned-deliberate-brains
46legacy-albdruck-brain-snapshot
47optional-brain-embeddings
48indexed-operator-message-instants
49live-run-steering
50agent-minion-model-defaults
51git-managed-skills
52official-runtime-source-adoption
53operator-only-scheduling-timezone
54mods-disabled-by-default
55durable-mod-management-operations
56bounded-archive-listing-indexes
57indexed-proof-run-directory
58operator-owned-mod-authority
59task-audit-history-and-documents
60opentelemetry-operator-settings
61global-profile-documents
62global-profile-document-timestamps
63mod-external-agent-turns
64mod-text-generations
65native-compaction-projection-reuse
66owned-agent-message-deliveries
67mod-external-turn-display-message
68scheduled-model-context-mode
69provider-pool-connections-and-routing-state
70dream-memory-promotion-toggle
71retained-forge-execution-history
72native-openai-pool-metrics

Early schema constants intentionally remain immutable. Read them together with later migrations: for example, the original conversation_archives.entries column is removed by version 19, and timezone columns introduced as non-null become nullable in versions 11 and 12.

Identity, profiles and model settings​

TableKey / relationshipStored data
agentsidName, enabled flag, available capabilities, context and execution-environment configuration
agent_profile_documents(agent_id, kind); agent FK cascadesMarkdown for SOUL, RULES, ORIENTATION, PREFERENCES, TOOLS, DREAM_MEMORY
chat_identities(kind, id); kind is operator/agentDisplay name and avatar; separate from the runtime agent registry
model_connectionsid; ASCII-case-insensitive unique provider labelAPI type, base URL, input capabilities and model catalog JSON text
model_connection_secretsid; unique (connection_id, name); connection FK cascadesCiphertext, nonce and authentication tag
model_auth_previewsconnection_id; connection FK cascadesNon-secret authentication preview JSON text
model_settings_cachecache_keyCatalog/settings cache JSON text and update time
agent_model_selectionsagent_id; agent FK cascades, connection FK restrictsSelected connection/model, reasoning effort, nullable thinking mode and temperature
agent_minion_model_selectionsagent_id; agent FK cascades, connection FK restrictsLegacy Minion connection/model selection retained for compatibility; normal dispatch uses current simple Minion settings
Temperature is constrained to 0–2, default 0.2. Profile kind is constrained by the database; profile size and complete-replacement semantics are enforced by the store. Secret tables store encrypted bytes, not the external BURROW_SETTINGS_KEY. See Authentication.

Conversations and original evidence​

Table/viewIdentityContract
conversation_sessions(agent_id, session_id)JSONB metadata, timestamps; owns native entries and archives
conversation_entries(agent_id, session_id, sequence)Live entry JSON; unique entry ID and idempotency key within session
conversation_archives(agent_id, session_id, archive_id)Generation, kind, metadata and timestamp; no aggregate entries payload in current schema
conversation_archive_entries(agent_id, session_id, source_store, source_id, ordinal)Native archived occurrence and original entry JSON; owner FK cascades from archive header
conversation_original_rowsRead-only UNION ALL viewUnified lookup across live entries and archive occurrences

The session owner FK cascades to entries and archive headers; archive ownership cascades to native archive occurrences. Conversation session agent_id is a scope field, not an agents foreign key. Do not infer cross-table deletion behavior from similarly named columns. Current native rows also contain extracted entry_key, search_projection, search_grams, has_payload_id and has_compression_summary metadata. Triggers extract metadata only when payloads change, with conservative fallback when fields cannot be safely projected. GIN candidate indexes speed lookup; original JSON and the final JavaScript matcher remain authoritative. Session metadata retains transcript/reset generation, archive status and read evidence. Migration 23 moves continuityHead, interruptedRun and recoveryQueue into native stores and removes the old metadata copies. Session listing joins the current head for compatibility.

TableKey / relationshipStored data
continuity_state(agent_id, session_id); session FK cascadeshead, manifest, queue as json; extracted owner/head/queue state, auto-resume and queued/update time
continuity_logIdentity bigint sequence; session FK cascadesAppend-only transition snapshots using json payloads

Continuity updates lock the session row, atomically update native state and append a log only when the continuity payload changes. Pending/active indexes drive recovery selection. Original session rename updates both tables; session deletion and Albdruck purge reject active native heads or running recovery queues.

Working memory, rolling continuity and handoffs​

TableKey / relationshipStored data
working_memoryid; scope columns agent/session/conversation/projectKind, state, title, content, source refs, pinning, timestamps, expiry and last recall
working_memory_metakeyRemaining working-memory JSONB metadata; native Dream collections moved in migration 25
working_memory_retention_settingsowner_idPersisted working-record and rolling-card TTL policy
rolling_continuity_cards(agent_id, project, card_id)Complete card JSON, update time and preserved migration metadata
rolling_continuity_envelopes(legacy_source, legacy_key)Preserved legacy envelope metadata from migration 18
continuity_handoffsid; indexed by agent/expiry/updateAgent/session/run, explicit/runtime source, content, refs, evidence summary and expiry
tiddle_envelopeskeyEnvelope JSONB, update time and indexed next_run_at scheduling projection
tiddle_entriesIdentity bigint id; envelope FK cascadesOrdered JSONB history/residue entries with timestamp and reference

Working-memory kind is constrained to decision, finding, blocker, handoff, task; state to active, resolved, superseded. Scope columns here are not agent/session foreign keys. Lifecycle and purge behavior therefore belong to the stores as well as the schema. Migration 26 moves Tiddle residue/history and pass/scope/receipt/synthesis envelopes out of settings_meta. Native append keeps ordering and prunes by age/reference; the old 240-entry residue cap is removed. Generic metadata atomic updates reject these keys, requiring the native writer. Migration 18 moves legacy rolling envelopes into relational scope/identity while preserving complete card JSON and additional envelope metadata. Malformed source envelopes stop the migration rather than being silently discarded. See Memory and continuity.

Dream​

TableKey / relationshipStored data
dream_settingsagent_id; agent FK cascadesEnabled, quiet-day setting, cron, legacy nullable timezone, prompt and optional model override; effective timezone comes from the operator
dream_diary_entriesid; agent FK cascadesDate, phase, narrative, digest and source refs; unique agent/date/phase/digest
dream_cycle_stateagent_id; agent FK cascadesScheduler/cycle state JSONB
dream_cycle_occurrences(agent_id, scheduled_for); agent FK cascadesClaim identity and occurrence JSONB
dream_cycle_receipts(agent_id, run_id); agent FK cascadesProgress/result receipt JSONB, indexed by update time
dream_extraction_batches(agent_id, batch_id); agent FK cascadesContract version, source fingerprints, pre-reconciliation candidates and completion time
dream_state_envelopeskeyKind (ledger, preload, scope_review), metadata JSONB and update time
dream_ledger_entries(key, position); envelope FK cascadesOrdered ledger payload JSONB
dream_preload_entries(key, position); envelope FK cascadesOrdered preload payload JSONB
dream_scope_review_entries(key, position); envelope FK cascadesOrdered scope-review candidate JSONB
Migration 25 splits legacy Dream collections from working_memory_meta into envelope metadata and native rows, preserving array order and refusing malformed object/array envelopes. The write helper uses an advisory lock per key, merges metadata and appends or replaces entries transactionally. It removes legacy store-level count/reference truncation; generation callers can still select bounded subsets.
Diary phase permits light, deep, rem and manual. Incremental batches are successful derived checkpoints, including empty candidate results; they are not another store of original transcripts. The legacy DREAM_MEMORY document remains in agent_profile_documents, not a dedicated table. Current ordinary context assembly excludes it from prompt injection; its presence is not proof that a current turn received it. See Dream cycles.

Brains and optional embeddings​

brain_memories is keyed by (agent_id, id) and stores title, content, source references, revision, operator ownership, timestamps and a soft-delete marker. Operator-owned entries cannot be changed by agent tools; edits require the expected revision. Migration 46 preserves legacy snapshots in brain_legacy_albdruck and adds origin/status/snapshot fields to migrated memories. Legacy global entries are assigned to hatchet, not copied to every agent.

Optional embedding configuration, vectors and pending jobs live in brain_embedding_settings, brain_embedding_vectors and brain_embedding_jobs. Embeddings start disabled. Revision/generation checks keep stale vectors from becoming current; disabling semantic search does not delete the saved memory itself.

Legacy Albdruck knowledge​

These tables remain in the database for compatibility and migration. They do not establish a current Albdruck UI or mounted HTTP route. Use Brains and recall for current operator behavior.

TableKey / relationshipStored data
albdruck_knowledgeid; unique (scope, fingerprint)Normalized document JSONB, active/superseded/deleted state and timestamps
albdruck_evidence(knowledge_id, evidence_key); knowledge FK cascadesOriginal locator JSONB, preserved excerpt and creation time
albdruck_revisionsIdentity bigint id; knowledge FK cascadesOperation, document JSONB and timestamp
albdruck_retentionowner_idPolicy JSONB

Original references are semantic locators resolved through the conversation store; they are not SQL foreign keys into message payloads. Evidence and knowledge are derived. Store validation checks source existence, scope, fingerprints and user evidence for supersession.

Task board and scheduling​

TableKey / relationshipStored data
task_board_projectsid; unique nameDescription, notes and timestamps
task_board_project_pathsid; project FK cascadesLabel/path/note and sort order
task_board_tasksid; project FK cascades, assigned-agent FK sets nullStatus, priority, metadata/provenance JSONB and execution JSONB
conversation_project_bindings(agent_id, session_id); agent and project FKs cascadeExplicit conversation-to-project binding
task_board_task_eventsid; task FK cascadesActor, action, changed fields/details, session/run and timestamp
task_board_task_attachmentsid; task FK cascadesName/type, size, SHA-256, byte content and actor metadata
scheduled_jobsid; agent FK cascadesOwner mod, prompt, cron, legacy nullable timezone, operator-derived effective timezone, session/model and next/last run
scheduled_job_runsid; job FK cascades; unique (job_id, scheduled_for)Run status, dispatch/completion, trace/result/error fields

Task statuses are backlog, todo, in_progress, review, done, cancelled, parked; priorities are critical, high, normal, low. Scheduled-run statuses are running, completed, failed, cancelled, missed, skipped. Model override fields on scheduled jobs are validated by the store rather than declared as model-connection foreign keys.

Forge and filesystem artifacts​

TableKeyStored data
forge_jobsid; idempotency/status indexes; identity ordinalOperator ownership, owner token, native status, request/record JSONB, timestamps and artifact references
forge_selectionsmodeSaved connection/model selection
forge_idempotency_claimsidem; first_job_id FK to jobsUnique claim for an idempotency identity, preserving existing colliding historical jobs

Forge claims idempotency under an advisory lock and inserts a unique claim row before provider dispatch. Migration 22 preserves colliding legacy jobs while reserving their shared identity; a trigger derives native status from the job record. Artifact bytes live on disk. Store initialization retains compatibility DDL and checks native-schema presence under a transaction advisory lock. The previously missing path import in the attachment cleanup code is present in the public release. Generation and attachment delivery remain separate outcomes; do not treat a stored generated artifact as proof of successful session delivery.

MCP, skills, mods and authentication​

TableKey / relationshipStored data
mcp_connectionsid; unique nameTransport/kind, URL or stdio command/args, lifecycle, enabled state and tool catalog
mcp_connection_secretsid; unique (connection_id, name); connection FK cascadesEncrypted API key/environment values
agent_mcp_tools(agent_id, connection_id, tool_name); both FKs cascadePer-agent enablement grants
mcp_provider_eventsIdentity bigint sequenceSanitized lifecycle receipt as json; latest 200 retained
mcp_provider_legacy_importssource_pathComplete legacy JSONL text and import timestamp, once per path
skillsidName, description, content, lifecycle, storage/content owner, installed path/hash
skill_package_files(skill_id, file_path); skill FK cascadesPackage file size and executable flag
skill_git_sourcesskill_id; skill FK cascadesGit repository/ref/path, schedule, sync lease, installed/observed revisions and status
skill_sync_historybigint sequence; skill FK cascadesUpdated/unchanged/failed receipts, revision/hash, errors and timestamps
skill_global_assignmentsskill_id; skill FK cascadesGlobal assignment
agent_skill_assignments(agent_id, skill_id); both FKs cascadeAgent assignment
mod_settings(mod_id, name)JSON text settings
mod_secrets(mod_id, name)Encrypted secret bytes
mod_lifecyclemod_idEnabled state and timestamps
mod_sourcesid; unique URLDistribution source, discovered version/archive, status and errors
mod_source_secretssource_id; source FK cascadesEncrypted source credential
mod_installationsmod_id; source FK sets nullInstalled version, archive SHA-256 and timestamps
mod_management_operationsUUID id; unique queue sequenceOwner/agent/session/run, install/update/lifecycle action, status and bounded result
core_mod_authoritymod_idOperator-owned capability grants and administrative/diagnostic agent allowlists
core_mod_denialsbigint idDenied capability, owner mod, agent and timestamp
api_tokensid; unique token hashSHA-256 hash, prefix, scope, expiry/revocation and last use
ui_auth_secretsid; unique nameEncrypted UI-auth material
In the composed server, MCP lifecycle events use PostgreSQL. Hydration imports an existing JSONL file once per path, preserves the entire raw source (including malformed lines/unknown fields) in the import table, and combines normalized historical/live receipts before keeping the latest 200. The original file is not removed. The raw import receipt is not a redaction guarantee. Standalone adapters without the configured store retain the file-backed fallback.
Managed mod MCP catalogs use stable mod:// identities. Removing an installation preserves mod settings/secrets and sibling mod-data files; uninstall is not a full data purge. The API-token scope implemented in this version is diagnostics:read. See MCP, Extensions and Authentication for supported administration.

General metadata and policy​

TableKeyStored data
settings_metakeyJSON text and update time; application-owned metadata keys
opentelemetry_settingsid=operatorMaster enabled state, destination-list authority, and retained legacy scalar transport
opentelemetry_destinationsStable destination id, unique list positionProvider/transport/signal settings and encrypted per-ID protected headers/credentials
installation_setup_stateowner_idPersisted initial-setup state JSONB
retention_settingsowner_idTrace retention policy/state JSONB
working_memory_retention_settingsowner_idWorking/rolling TTL settings JSONB
The schema uses a mixture of timestamp text and timestamptz, and JSON text, json and jsonb. Do not normalize these columns wholesale: original json is a deliberate losslessness boundary, and changing historical migration SQL breaks ledger validation.

Files outside PostgreSQL​

Database rows may reference bytes or records under the configured roots:

  • Agent workspace artifacts/attachments/ and artifacts/generated/
  • Runtime subagents/<id>/subagent.json and work-items/<id>/work-item.json
  • Group-channel metadata and per-run trace files
  • Installed mod files and mod-owned sibling data
  • Filesystem-backed skill package files referenced by the skill/source tables

See Persistence architecture for storage owners. Portable settings export does not include the entire database or these files. Use the backup procedure, preserving the external settings-encryption key as part of the recovery plan.

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.

Current additions after migration 60​

  • Global profile documents and timestamps: shared Rules/Orientation remain opt-in per agent.
  • Durable mod-owned external turns and text generations: receipt ownership/idempotency is separate from ordinary conversation storage.
  • Native compaction projections and owned agent deliveries: retain their application-managed lifecycle rather than editing cached projections manually.
  • External turns can persist a human-visible displayMessage distinct from the model-facing message.
  • Scheduled jobs have context_mode (continue by default, or fresh); fresh mode requires a named non-default session. This does not imply a control exists in the current cron editor.
  • Model connections add pool_json; provider_pool_affinity and provider_pool_health retain logical-pool ownership and cooldown state. Pool connections do not own separate credentials. See account pools.

Application migrations are not PostgreSQL major-version upgrades. Preserve the ledger and matching recovery backup; do not modify old checksums or assume an older binary can read the new schema.

Additions after migration 69​

Migration 70 adds default-true per-agent Dream promotion; the global promotion flag uses settings metadata. Migration 71 adds transactionally maintained forge_archive metadata receipts, retained when live jobs/media are deleted. Migration 72 adds provider_pool_requests and provider_pool_attempts for durable native OpenAI LB logical results and measured attempt usage. Unfinished requests are not completed-window outcomes; unknown usage is not zero. These are application-schema changes, not PostgreSQL-major upgrades or automatic retention rules.

Additions after migration 72​

The 29 October baseline reached migration 79: 73 adds per-agent Dream memory emphasis/override; 74 durable GitHub completion watches/events; 75 settings-managed encrypted webhook receiver; 76 retained operator event projections; 77 durable chat inputs, session holds and generation fencing; 78 authoritative OpenTelemetry destination storage; 79 the built-in group-channel shared-transcript identity. This identity is not an executable agent: participants still run as themselves, existing identity metadata/transcripts remain intact and session foreign keys remain enforced. Legacy scalar OTel settings remain readable until a list save adopts them; an explicitly saved empty list stays authoritative across restart. Per-agent Minion Depth is stored in metadata independently of Minion model selection; child depth/root/budget persist with session lineage. Side-question snapshots/results are owned by the chat-input store, not automatically injected main-lane memory. Preview source tokens remain bounded in-process state; preview execution traces are filesystem evidence, not saved Dream memories. These are application migrations, not instructions to edit the migration ledger or perform a PostgreSQL-major upgrade.

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.

Additions after migration 79​

VersionMigration namePurpose
80mod-external-turn-attachmentsRetains normalized attachment content in mod_external_turns.attachments JSON, default []
81archive-lossless-candidate-projectionLossless lexical extraction and indexed occurrence fallback probes
82archive-chat-projection-revisionsTransactional source revisions and indexed Chat visibility/occurrence projections with resumable backfill
83archive-discovery-scalar-probe-indexesPartial winner-probe indexes for present non-string payload IDs, excluding id-less rows

Migration 82 maintains per-source revisions on ordinary SQL writes; rollback does not publish a revision and TRUNCATE rotates an epoch. The automatic backfill examines at most 256 keys per transaction, checkpoints progress and writes only derived side rows; retained original JSON is not rewritten. Unprojected history remains readable by fallback until completion. Index creation still takes PostgreSQL DDL locks. Reset count caches are revision-bound and process-local; listing/detail GETs no longer update historical metadata.

These are application migrations, not a PostgreSQL major upgrade or permission to edit SQL/ledger checksums. Source: Core 8275b6bedf1fcd969fb5289cf0b673a80ddc8146, statically reviewed on 31 October 2026.

Additions after migration 83​

VersionMigration namePurpose
84scheduled-board-tasks-and-onceAdds job kind, task target, extra instructions, schedule kind, one-time instant and consumption timestamp; cron becomes nullable for once jobs; run receipts retain task identity.
85anthropic-thinking-mode-selectionsAdds nullable thinking_mode to main and Minion model selections, constrained to the supported mode names. Existing rows remain legacy null, not provider default.

Task schedules are constrained to the default session and continued context. Cron and once schedules have mutually exclusive cron/run-at fields. One-time consumption, task eligibility and restart reconciliation are application lifecycle contracts; never rearm by editing these rows directly. Read scheduling and model selection.

2 November migration additions​

VersionMigrationPurpose
86canonical-agent-reference-imagesAgent-owned canonical-photo metadata and managed artifact reference
87mod-character-reference-imagesMod/key-owned canonical character-photo metadata
88structured-chat-result-projectionIncludes future structured terminal rows, including empty display-only failures, in Archive keysets; no rewrite of historical payloads
89canonical-operator-reference-imageSingleton operator photo metadata and managed artifact reference

Original photo bytes are runtime artifacts, not SQL media values. Agent/operator/Mod photos are distinct from avatars and expiring conversation attachments.

3 November migration addition​

Migration 90, mod-owned-agents, adds the nullable agents.mod_agent_json JSONB column for mod ownership, capability and visibility metadata. Ordinary agent records retain their existing path; owner-scoped identities are managed through the Core mod host contract. See mod-owned native agents. This is an application migration, not a PostgreSQL major-version upgrade or an instruction to edit the migration ledger. Statically checked against Core 32dde3266a231777ddfec6dba141d6b9972a21fd; no database migration was executed by this documentation review.

4 November migration additions​

VersionMigrationPurpose
91independent-mod-agent-authorityAdds mod_management_agent_ids and core_api_agent_ids to core_mod_authority, initially copying legacy assignments into both; subsequent authority checks and edits use the independent lists.
92reset-archive-projection-copiesReuses completed Chat visibility/occurrence projections when reset copies unchanged originals, including a known null occurrence instant; new or changed payloads still require projection.

Reset now copies existing lexical/occurrence projections rather than reparsing every original in application memory. Unprojected originals retain fallback/backfill handling; these changes do not make an archive summary or a timeout proof of completion. Session metadata atomically records the reset operation receipt with its generation. Neither migration changes PostgreSQL's major version or authorizes manual ledger/SQL edits. Statically checked against Core b62c57ef5e831bacebf2214a31c04147471c1267; this documentation review did not execute migrations.

5 November migration additions​

VersionMigrationPurpose
93indexed-session-recallDerived occurrence/lexical indexes, write triggers and a durable bounded background backfill checkpoint; native originals remain authoritative.
94background-conversation-embeddingsIndependent default-false conversation_enabled, derived passage/occurrence/vector storage and durable queues/backfill state; shares the existing embedding connection/model.
95session-recall-projection-repairsPreserves grandfathered null source storage clocks in derived recall and reuses completed recall/operator/Dream projections for verified unchanged reset copies.

Startup does not scan or embed all retained history. Broad session recall remains explicitly not-ready until lexical backfill completes; exact source/session expansion still works. Conversation embeddings require separate consent and pgvector support; missing vector support does not disable lexical retrieval. Disabling or reindexing a derived index does not delete original conversations. Migration 95 preserves published v93/v94 checksums and does not rewrite retained history. These are application migrations, not a PostgreSQL major upgrade or permission to edit the ledger. Statically checked against Core 6465a9b200bc550697ddfc41959d671eac9abf33; no migrations were run in this documentation review.

Migration 96: nonblocking recall preparation​

Checked 6 November 2026 against Core 4e5a505c12b236ed394b09a577a2d583b409a69f: additive migration 96 leaves 93–95 unchanged and scans no retained source rows. Structurally irrelevant records bypass expensive content folding/ranking while keeping logical identity, clock and eligibility, so newer ineligible occurrences still shadow older dialogue correctly. The lexical extractor preserves lossless JSON/Unicode handling without a content-length cutoff.

Backfill prepares transaction-local projections before row locks, then uses a short parent-before-source publication window with version rechecks. Trigger projections win; changed unresolved occurrences retry the page instead of being skipped. Default preparation/page budget is 60 seconds, publication ownership budget 250ms, and inter-page yield 100ms. Timeout shrinks the active page size to a minimum of one; four consecutive committed full pages grow it by one toward configured pageSize (default 16). Status distinguishes pageSize and activePageSize. This is source review; no migration or database test was run.

7 November migration additions​

VersionMigrationPurpose
97openai-expiring-reset-claimsDefault-false connection preference and durable account/credit reset claims.
98openai-reset-durable-outcomesExact credit expiry, outcome and retry metadata plus per-attempt records; legacy claim-only rows retain unknown fences.
99agent-run-completion-feedDurable bounded agent-run completion metadata for mod catch-up, without transcript content.

These additive application migrations were inspected against Core f0b17efdadc57c856eb3c5cf5272a3fff2268ad1; this documentation run executed no database migration or application test. Existing published migration bodies remain unchanged. Use supported lifecycle operations, not direct edits to claims, completion cursors or the migration ledger.

8 November migration addition​

Migration 100, parked-board-task-status, adds parked to the task-board status constraint. Parked is a retained, non-executable task state, not deletion or the derived Done archive projection. Move it to an eligible state before executing or selecting it as a new scheduled task target. No migration or application test was executed during this source review.

Operator preferences and initial sessions​

Checked 9 November 2026: allowlisted UI preferences live in the existing settings_meta entry ui_preferences; atomic per-key writes require no new application migration. The record is operator-wide and stores raw strings, not credentials or conversation caches. See UI preference API.

Creating a mod-owned agent now inserts its default conversation in the same transaction. Session listing repairs an agent with no conversation sessions at all, under an agent-row lock. It does not resurrect a missing default when any other session exists, including retained/archived history. Group deletion targets only the group-channel shared transcript identity and leaves participant sessions intact.

Checked 14 November 2026: migration 102, forge-image-gallery, adds forge_gallery_folders (named parent/child folders) and forge_gallery_placements (one folder placement per job/artifact pair). Root placement has no placement row. These operator-wide records organize existing generated media; they do not ingest chat attachments or duplicate file bytes. Live artifact tombstones preserve deletion metadata while removing the storage locator and suppressing deleted media from public projections. Use the Gallery API, not direct SQL. No database migration was run during this review.

Workflow watch conclusions​

Migration 101, workflow-watch-conclusions, adds conclusions to github_workflow_watches. Existing and default watches select failure, timed_out, startup_failure and action_required; explicit supported filters can include other terminal conclusions. See workflow watches. No migration was executed during this documentation review.

15 November source reconciliation: migrations 103–104​

VersionMigrationPurpose
103anthropic-coordination-stateAdds anthropic_coordination_state, keyed by key with a state_json JSONB payload, for durable Anthropic coordination state.
104mcp-connection-tls-verificationAdds non-null mcp_connections.verify_tls, default true. Existing connections retain certificate verification unless deliberately changed through the supported connection controls.

Simple global/per-agent Minion settings use existing settings_meta keys (minion_settings and minion_settings:<agentId>), not another migration or replacement model-selection table. Saved per-agent values and overrideEnabled are distinct from effective inherited settings. Legacy profile and Minion-model rows remain compatibility data, not normal dispatch defaults. See Minion configuration. No migrations or application tests were executed for this review.

Current Forge cleanup and mod update preferences​

Migration 105, forge-durable-artifact-cleanup, adds durable pending cleanup for generated media bytes. Removing the live job or artifact locator and enqueueing cleanup commit together; later cleanup checks remaining references before removing the file. Migration 106, per-mod-auto-update, stores per-installation opt-in and the last blocking reason. Existing installations remain off unless explicitly enabled. Both were inspected statically; no migration was executed for this review.