ktx/examples/orbit-relationship-verification
Andrey Avtomonov 38e71a94e7 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.
2026-05-14 15:22:46 +02:00
..
ktx.yaml refactor(context): validate ktx.yaml with Zod and surface issues in status 2026-05-14 15:22:46 +02:00
README.md fix: standardize KTX environment variables 2026-05-12 11:21:37 +02:00

Orbit-style relationship discovery verification

This KTX project backs the default relationships:verify-orbit command. It uses the checked-in Orbit-style SQLite fixture from the relationship discovery benchmark corpus, with no declared primary keys or foreign keys in the database schema.

Run from the KTX workspace root:

pnpm run relationships:verify-orbit

Expected relationship summary:

Accepted: 9
Review: 0
Rejected: 0
Skipped: 0

The command refreshes:

examples/orbit-relationship-verification/reports/orbit-verification.md

Use a real local Orbit project by overriding the project directory:

KTX_PROJECT_DIR=/path/to/orbit-project pnpm run relationships:verify-orbit