ktx/packages/context/src
Andrey Avtomonov 4ec5903aa5
feat(ingest): adapter-owned finalization replaces post-processor escape hatch (#136)
* Refine adapter-owned ingest finalization design after adversarial review iteration 1

* Refine adapter-owned ingest finalization design after adversarial review iteration 2

* Refine adapter-owned ingest finalization design after adversarial review iteration 3

* Implement adapter-owned ingest finalization v1

Moves finalization from runner-owned post-processors into typed
SourceAdapter.finalize() contracts. Adds finalization report schema,
scope derivation, override replay context, and migrates historic-SQL
projection. Removes IngestBundlePostProcessorPort wiring and
HistoricSqlProjectionPostProcessor.

* feat(ingest): export finalization adapter contract types

* test(ingest): exercise historic sql finalization locally

* docs(plans): add adapter-owned finalization v1 closure plan

* fix(setup): unblock clean Linux installs and add enabled_tables allowlist

- Pin managed Python runtime to 3.13 via `uv venv --python 3.13` so installs
  don't pick the system 3.12 on Ubuntu 24.04 and fail at wheel install.
- Sanitize NO_PROXY/no_proxy for the daemon child process — drop IPv6 CIDR
  entries that httpx rejects with InvalidURL (OrbStack injects these by
  default).
- Add `enabled_tables` allowlist on warehouse connections (zod schema +
  live-database introspection filter) to scope ingest to specific tables.
- Add `getting-started/troubleshooting-linux` docs page covering the Python
  3.13 prerequisite, IPv6 proxy gotcha, and a minimal working recipe; link
  it from the quickstart troubleshooting table and the llms-docs map.
- Make docs-site origin overridable via `KTX_DOCS_ORIGIN` so local builds
  can serve under host.docker.internal.

* Move docs changes to specs repo

* fix(cli): keep managed runtime python version private

* Deduplicate enabled tables filtering
2026-05-20 14:17:10 +02:00
..
agent feat: add claude-code llm backend with runtime port (#115) 2026-05-16 12:06:34 +02:00
connections feat(context): add driver-discriminated connection schemas (#96) 2026-05-15 00:08:11 +02:00
core feat(ingest): adapter-owned finalization replaces post-processor escape hatch (#136) 2026-05-20 14:17:10 +02:00
daemon feat(setup): add Claude Desktop target and MCP-first agent setup (#114) 2026-05-16 11:39:55 +02:00
index-sync feat(cli): add ktx admin reindex (#160) 2026-05-20 01:36:54 +02:00
ingest feat(ingest): adapter-owned finalization replaces post-processor escape hatch (#136) 2026-05-20 14:17:10 +02:00
llm fix: remove deterministic embedding backend (#146) 2026-05-19 16:40:01 +02:00
mcp feat(setup): add Claude Desktop target and MCP-first agent setup (#114) 2026-05-16 11:39:55 +02:00
memory feat(cli): add ktx admin reindex (#160) 2026-05-20 01:36:54 +02:00
project feat(ingest): adapter-owned finalization replaces post-processor escape hatch (#136) 2026-05-20 14:17:10 +02:00
prompts rename klo to ktx 2026-05-10 23:51:24 +02:00
scan feat(ingest): adapter-owned finalization replaces post-processor escape hatch (#136) 2026-05-20 14:17:10 +02:00
search feat(mcp):added MCP server (#97) 2026-05-15 02:35:09 +02:00
skills feat: rename project wiki directory (#66) 2026-05-13 16:05:58 +02:00
sl feat(cli): add ktx admin reindex (#160) 2026-05-20 01:36:54 +02:00
sql-analysis feat(mcp):added MCP server (#97) 2026-05-15 02:35:09 +02:00
test rename klo to ktx 2026-05-10 23:51:24 +02:00
tools feat(ingest): default local ingest to isolated diffs (#128) 2026-05-18 13:38:06 +02:00
wiki feat(cli): add ktx admin reindex (#160) 2026-05-20 01:36:54 +02:00
index.test.ts rename klo to ktx 2026-05-10 23:51:24 +02:00
index.ts feat(cli): add ktx admin reindex (#160) 2026-05-20 01:36:54 +02:00
package-exports.test.ts feat(ingest): adapter-owned finalization replaces post-processor escape hatch (#136) 2026-05-20 14:17:10 +02:00