pub const OBJECT_SCHEMA_VERSION: i64 = 9;Expand description
user_version value stamped into objects.db after run_object_schema.
The flat schema reset the counter to 1 (the pre-flatten chain never set
user_version, so legacy files read 0). Bumped per additive migration:
v1 — flat schema baseline
v2 — db_agent_definitions.updated_at
v3 — db_agent_definitions.user_hidden (Phase 2 hide templates,
SPEC_AGENT_PICKER_TWO_TIER_2026_05_24.md Q2 Decision Y)
v4 — db_agents consolidation table (Phase 3a; dual-write only,
reads still on db_agent_definitions / db_agent_instances)
v5 — db_agents.last_block_id (Phase 3c; latest launch’s block, so the
consolidated read can find the session snapshot without joining
db_agent_instances)
v6 — container_image / container_volumes / container_name on both
db_agent_definitions and db_agents (Phase 0 of
SPEC_CONTAINER_PANE_SUPPORT_2026_06_11.md; host agents default
to ‘’ / ‘[]’ / ‘’)
v7 — db_muxbus_credentials: global singleton for MuxBus cloud
Cognito PKCE tokens (access, refresh, id) + expiry + user email
v8 — db_memory_bundles.is_global: global-tier flag for Trust Center
bundles injected into every agent’s CLAUDE.md at launch
v9 — db_memory_bundles.sort_order: explicit ordering for the Trust
Center global brain (controls CLAUDE.md injection order). Existing
rows default to 0; the Brain tab assigns positions via reorder.