OBJECT_SCHEMA_VERSION

Constant OBJECT_SCHEMA_VERSION 

Source
pub const OBJECT_SCHEMA_VERSION: i64 = 4;
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)