ktx/examples/orbit-relationship-verification/README.md

34 lines
732 B
Markdown
Raw Permalink Normal View History

2026-05-10 23:12:26 +02:00
# Orbit-style relationship discovery verification
2026-05-10 23:51:24 +02:00
This KTX project backs the default `relationships:verify-orbit` command. It uses
2026-05-10 23:12:26 +02:00
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.
2026-05-10 23:51:24 +02:00
Run from the KTX workspace root:
2026-05-10 23:12:26 +02:00
```bash
pnpm run relationships:verify-orbit
```
Expected relationship summary:
```text
Accepted: 9
Review: 0
Rejected: 0
Skipped: 0
```
2026-05-10 23:12:26 +02:00
The command refreshes:
```text
examples/orbit-relationship-verification/reports/orbit-verification.md
```
Use a real local Orbit project by overriding the project directory:
```bash
KTX_PROJECT_DIR=/path/to/orbit-project pnpm run relationships:verify-orbit
2026-05-10 23:12:26 +02:00
```