ktx/packages/context/skills
Andrey Avtomonov f561bfa850 refactor(sl): split overlay columns from column_overrides and enforce TS/Python wire contract
Overlay sources now have two distinct collections: `columns:` for computed
columns (requiring `expr` + `type`) and `column_overrides:` for metadata
patches to inherited manifest columns. Composing or loading an overlay that
mixes the two — or references an unknown column — fails with a typed error.

Introduce `ResolvedSemanticLayerSource` / `resolvedSourceSchema` /
`toResolvedWire` as the strict shape sent to the Python engine, and add a
schema contract test that diffs Zod against the Pydantic JSON schema dumped
by `python -m semantic_layer dump-schema`. `SourceDefinition` is now
`extra="forbid"` on the Python side.

`loadAllSources` surfaces per-file load errors instead of swallowing them,
so validation/query paths can report manifest shard parse failures.
2026-05-15 00:36:52 +02:00
..
_shared feat(context): add warehouse verification tools (#46) 2026-05-13 13:43:23 +02:00
dbt_ingest refactor(sl): split overlay columns from column_overrides and enforce TS/Python wire contract 2026-05-15 00:36:52 +02:00
historic_sql_patterns feat(context): add warehouse verification tools (#46) 2026-05-13 13:43:23 +02:00
historic_sql_table_digest feat(context): add warehouse verification tools (#46) 2026-05-13 13:43:23 +02:00
ingest_triage fix: align KTX agent tools and repair handling (#73) 2026-05-14 00:57:51 +02:00
live_database_ingest feat(context): add warehouse verification tools (#46) 2026-05-13 13:43:23 +02:00
looker_ingest feat(context): add warehouse verification tools (#46) 2026-05-13 13:43:23 +02:00
lookml_ingest refactor(sl): split overlay columns from column_overrides and enforce TS/Python wire contract 2026-05-15 00:36:52 +02:00
metabase_ingest refactor(sl): split overlay columns from column_overrides and enforce TS/Python wire contract 2026-05-15 00:36:52 +02:00
metricflow_ingest refactor(sl): split overlay columns from column_overrides and enforce TS/Python wire contract 2026-05-15 00:36:52 +02:00
notion_synthesize fix: align KTX agent tools and repair handling (#73) 2026-05-14 00:57:51 +02:00
sl refactor(sl): split overlay columns from column_overrides and enforce TS/Python wire contract 2026-05-15 00:36:52 +02:00
sl_capture refactor(sl): split overlay columns from column_overrides and enforce TS/Python wire contract 2026-05-15 00:36:52 +02:00
wiki_capture fix: align KTX agent tools and repair handling (#73) 2026-05-14 00:57:51 +02:00