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
|
|
|
|
|
```
|
|
|
|
|
|
2026-05-11 10:40:30 +02:00
|
|
|
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
|
2026-05-10 23:51:24 +02:00
|
|
|
KTX_ORBIT_PROJECT_DIR=/path/to/orbit-project pnpm run relationships:verify-orbit
|
2026-05-10 23:12:26 +02:00
|
|
|
```
|