mirror of
https://github.com/Kaelio/ktx.git
synced 2026-06-07 07:55:13 +02:00
* refactor(context): validate ktx.yaml with Zod and surface issues in status
- Replace hand-rolled ktx.yaml parsing with a strict Zod schema and
derive KtxProjectConfig types from it.
- Add validateKtxProjectConfig returning structured KtxConfigIssue[]
with migration hints for deprecated keys (ingest.llm,
scan.enrichment.backend, etc.).
- Wire ktx status/doctor to run validation, render schema issues in
plain and JSON output, and add a Config row to project status.
- Update the orbit example to camelCase scan.relationships keys to
match the schema.
* fix(context): tolerate legacy setup.completed_steps and optional driver
- Accept and drop the legacy setup.completed_steps field so existing
ktx.yaml files migrated from older versions still load.
- Make connections.<id>.driver optional in the schema; runtime code
already produces a clear "no driver" error at use time.
* feat(cli): add ktx status --validate to run only ktx.yaml schema validation
- New --validate flag dispatches a focused runKtxDoctor 'validate' branch
that reads ktx.yaml, runs validateKtxProjectConfig, and skips LLM,
connection, embedding, and query-history checks.
- Plain output prints a single Config row; JSON output emits
{ok: true} on success or the existing invalid_config / missing_project
shapes on failure.
|
||
|---|---|---|
| .. | ||
| acquire-public-benchmark-fixtures.mjs | ||
| acquire-public-benchmark-fixtures.test.mjs | ||
| adventureworks-oltp-source.json | ||
| adventureworks-oltp-source.test.mjs | ||
| anti-fixture-conditional.test.mjs | ||
| build-adventureworks-oltp-fixture.mjs | ||
| build-benchmark-snapshot.mjs | ||
| build-benchmark-snapshot.test.mjs | ||
| build-evidence-fusion-adversarial-fixtures.mjs | ||
| build-public-npm-package.mjs | ||
| build-public-npm-package.test.mjs | ||
| build-python-runtime-wheel.mjs | ||
| build-python-runtime-wheel.test.mjs | ||
| check-boundaries.mjs | ||
| check-boundaries.test.mjs | ||
| ci-artifact-upload.test.mjs | ||
| conductor-run.sh | ||
| conductor-scripts.test.mjs | ||
| conductor-setup.sh | ||
| examples-docs.test.mjs | ||
| installed-live-database-smoke.mjs | ||
| installed-live-database-smoke.test.mjs | ||
| link-dev-cli.mjs | ||
| link-dev-cli.test.mjs | ||
| local-embeddings-runtime-smoke.mjs | ||
| local-embeddings-runtime-smoke.test.mjs | ||
| package-artifacts.mjs | ||
| package-artifacts.test.mjs | ||
| prepare-cli-bin.mjs | ||
| public-benchmark-manifest.json | ||
| publish-public-npm-package.mjs | ||
| publish-public-npm-package.test.mjs | ||
| published-package-smoke-config.mjs | ||
| published-package-smoke.mjs | ||
| published-package-smoke.test.mjs | ||
| relationship-orbit-verification.mjs | ||
| relationship-orbit-verification.test.mjs | ||
| release-readiness.mjs | ||
| release-readiness.test.mjs | ||
| release-workflow.test.mjs | ||
| run-ktx.mjs | ||
| run-ktx.test.mjs | ||
| setup-dev.mjs | ||
| setup-dev.test.mjs | ||
| standalone-ci-workflow.test.mjs | ||
| test-tiering.test.mjs | ||
| validate-llm-debug-jsonl.mjs | ||
| validate-llm-debug-jsonl.test.mjs | ||