You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Hide extension-owned system subtypes such as sync-database-settings from the sidebar types list #3851
sync-database-settings, the subtype of database-settings that the Sync app registers to hold its per-database state, shows up in the sidebar's types list as if it were a type the user defined. It is a system type: the database-settings singleton is retyped to it in place, and a user never creates or browses it.
Cause (to confirm)
schemas.svelte.ts: builtInSchemas is a hard-coded allowlist of core types (task, issue, project, software-project, spec, plan, decision, skill, person, agent-guidance), but customSchemas is every schema with !isCore, with no filter. A schema registered by an extension build is not core's, so it should fall into customSchemas. Confirm the schema node's isCore value in a Sync database.
Options
Exclude a schema whose extends chain reaches a core type that is not browsable (e.g. database-settings). No new field; the risk is a user type extending a hidden base vanishing.
A declared flag on the schema envelope (e.g. hidden or system) that extension subtypes set. More explicit, but a schema-field change follows the node-type sequence and likely needs an ADR.
The extension registers the subtype with a generic marker core already understands. Core stays free of any sync naming (the Sync boundary).
The rule underneath: the types list shows only types a user can create and browse. Other extension-owned subtypes of system types (e.g. a person or collection subtype) may leak the same way and would be covered by it.
Acceptance Criteria
sync-database-settings does not appear in the types list of a database Sync has written to
A user-defined type still appears, including one that extends a core type
The fix names no Sync type, extension id or product in core code or comments
Test covers a registered extension subtype of a non-browsable core type being hidden, and a user type extending a browsable one being shown
If the fix needs a change on the Sync side, a nodespace-sync issue is filed for it
Activity
mstomar125 commentedon Oct 20, 2026
Taking this for core v0.3.9.
Hide system subtypes and seeded agent queries from the sidebar; Types…