Skip to content

core: RootEntry type missing default_runtime field (schema/type drift) #147

Description

@tadasant

Surfaced during fresh-eyes review of #142.

schemas/roots.schema.json defines default_runtime (added in #146), and packages/core/tests/validator.test.ts covers it, but the RootEntry TypeScript interface in packages/core/src/types.ts was never updated to include default_runtime?: string.

Impact: TS consumers can't read root.default_runtime even though the schema accepts and validates it. Schema/type drift.

Fix: add default_runtime?: string; to interface RootEntry in packages/core/src/types.ts.

Pre-existing on main (from #146), unrelated to the Cursor adapter — filed separately rather than bundled into #142.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    convergentIssue-work-gate direction: closes a gap the system is already supposed to have closed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions