ktx/packages/cli/test/context/sl
Andrey Avtomonov a278d2f7d0
fix(ingest): verify repair outcomes and reject dangling join targets (#292)
One ingest integration hiccup no longer discards a whole source:

- Replace the duplicated gate-repair and textual-resolver loops with one
  shared constrained-repair loop whose success criterion is re-running
  the failed check (verify), not whether the agent edited files. Verify
  failures feed the retry prompt; maxAttempts is 2.
- Let the resolver declare a conflicting patch redundant: a verified
  no-change resolution is accepted as subsumed instead of failing the
  source (duplicate wiki-page creation from parallel work units).
- Carry per-source validation errors through validateWuTouchedSources
  into gate messages and work-unit failure reasons instead of
  discarding them.
- Move join-neighbor expansion into the shared validation path so
  work-unit validation and integration gates check the same set.
- Reject joins whose target resolves to no source, at sl_write time and
  in the gates, attributed to the declaring source. Resolution mirrors
  the Python engine exactly (case-sensitive name within the
  connection), with a case-mismatch hint for the writing agent.
2026-06-11 14:39:51 +02:00
..
tools fix: read semantic sources safely (#284) 2026-06-10 14:06:13 +02:00
description-normalization.test.ts fix(sl): stop baking drift-prone counts into overlay summaries (#270) 2026-06-08 15:58:12 +02:00
dictionary-search.test.ts test: split cli tests from source tree (#216) 2026-05-26 08:49:05 +02:00
local-query.test.ts test: split cli tests from source tree (#216) 2026-05-26 08:49:05 +02:00
local-sl.test.ts fix: read semantic sources safely (#284) 2026-06-10 14:06:13 +02:00
pglite-sl-search-prototype.test.ts fix: read semantic sources safely (#284) 2026-06-10 14:06:13 +02:00
schemas.contract.test.ts test: split cli tests from source tree (#216) 2026-05-26 08:49:05 +02:00
semantic-layer.service.test.ts fix(ingest): verify repair outcomes and reject dangling join targets (#292) 2026-06-11 14:39:51 +02:00
sl-dictionary-profile.test.ts test: split cli tests from source tree (#216) 2026-05-26 08:49:05 +02:00
sl-search.service.test.ts test: split cli tests from source tree (#216) 2026-05-26 08:49:05 +02:00
sl-source-seeding.test-utils.ts fix: read semantic sources safely (#284) 2026-06-10 14:06:13 +02:00
source-files.test.ts fix: read semantic sources safely (#284) 2026-06-10 14:06:13 +02:00
sqlite-sl-sources-index.test.ts test: split cli tests from source tree (#216) 2026-05-26 08:49:05 +02:00