Andrey Avtomonov
cd49d5d4ae
Merge remote-tracking branch 'origin/main' into fix-sl-query-source-column-type
...
# Conflicts:
# packages/context/skills/metabase_ingest/SKILL.md
# packages/context/skills/sl_capture/SKILL.md
2026-05-15 01:43:02 +02:00
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
Luca Martial
372c90b533
Polish documentation copy ( #98 )
2026-05-14 12:43:14 -04:00
Andrey Avtomonov
97da9919e9
refactor: remove legacy compatibility paths ( #64 )
...
* refactor: remove legacy compatibility paths
* fix: support legacy metabase native queries
* test: use canonical semantic layer descriptions
* Rename CLI description
* Recover setup scan from SQLite ABI mismatch
* Remove legacy product name from CLI help
2026-05-13 15:55:00 +02:00
Andrey Avtomonov
c22248dabf
feat(context): add warehouse verification tools ( #46 )
...
* feat(context): add warehouse dialect dispatch
* feat(context): read warehouse scan catalog
* feat(context): add entity details verification tool
* feat(context): add ingest SQL verification tool
* feat(context): add raw warehouse discovery tool
* feat(context): expose warehouse verification tools to ingest
* docs(context): add ingest identifier verification protocol
* test(context): guard ingest identifier verification prompts
* chore(context): verify warehouse verification tools
* docs: add warehouse verification tools plan and spec
* fix(context): expose target warehouses to Notion ingest
* fix(context): update ingest prompts for warehouse verification tools
* fix(context): scope raw schema discovery to allowed connections
* fix(context): verify warehouse column display targets
* docs: add notion warehouse verification gap closure plan
* fix(context): include raw discovery connection names
* fix(context): expose warehouse targets for LookML and MetricFlow
* fix(context): pass connection config to ingest query executors
* fix(cli): enable read-only SQL probes for local ingest
* docs: add warehouse verification final v1 closure plan
* fix(context): align warehouse sql probe prompt shape
* docs: add warehouse verification prompt shape closure plan
* test(context): catch connectionless sql execution prompt examples
* fix(context): include connection name in sl capture sql example
* docs: add warehouse verification sql example closure plan
* fix(context): report structured entity detail misses
* docs: add warehouse verification structured target miss closure plan
* fix: report untracked squash merge conflicts
* feat: require ingest verification ledger
* fix: stabilize ingest wiki references
2026-05-13 13:43:23 +02:00
Luca Martial
60457e9407
Improve schema setup and Notion ingest UX ( #14 )
...
* Improve schema setup and Notion ingest UX
* Handle Postgres network scan failures
* WIP: save local changes before main merge
* Refine setup prompt choices
* Tighten ingest reconciliation guidance
* Commit setup config updates
* Canonicalize unmapped fallback details
* Count reconciliation actions in reports
* Harden semantic layer source validation
* Return wiki content after edits
* Validate SL sources against manifests
* Validate wiki refs before writes
* Simplify CLI next steps
* Clarify agent setup summary
* Surface dbt target SL sources
* Recover SL write fallbacks
* Preserve failed context build metadata
* Track raw paths for ingest actions
* test(cli): update seeded demo expectations
* fix(ingest): scope fallback recovery checks
* fix(sl): tighten source validation guards
* fix(wiki): ignore empty embedding vectors
* Improve Notion ingest UX
* Enforce flat wiki keys
* test(context): update wiki key assertion
---------
Co-authored-by: Andrey Avtomonov <andreybavt@gmail.com>
2026-05-12 22:56:58 +02:00
Luca Martial
86c818a454
Normalize semantic layer descriptions
2026-05-11 00:31:15 -07:00
Andrey Avtomonov
3ce510b55b
rename klo to ktx
2026-05-10 23:51:24 +02:00