|
1 | 1 | # CLAUDE.md — lance-graph |
2 | 2 |
|
| 3 | +## P0 — AdaWorldAPI forks ONLY, NEVER crates.io upstream |
| 4 | + |
| 5 | +**Always depend on the AdaWorldAPI fork of any crate that has one. NEVER use the |
| 6 | +upstream crates.io version of a forked crate.** Non-negotiable; applies to every |
| 7 | +`Cargo.toml` and every dependency decision in this repo. Every repo in this |
| 8 | +workspace is local — prefer the local/fork source over the registry, always. |
| 9 | + |
| 10 | +- Crates with an `AdaWorldAPI/<name>` fork — e.g. `ndarray`, `lance` / |
| 11 | + `lancedb` / `lance-index` / `lance-linalg` / `lance-namespace`, `surrealdb`, |
| 12 | + and any other — MUST be wired via the fork (`path` / `git` / `[patch.crates-io]`), |
| 13 | + never the registry version. |
| 14 | +- If a fork's coordinates (git URL, branch/tag, feature flag) are unknown, |
| 15 | + **STOP and ask**. Do NOT fall back to crates.io as a convenience or to make a |
| 16 | + build pass. |
| 17 | +- `"warning: Patch <crate> ... was not used in the crate graph"` means the fork |
| 18 | + is NOT actually wired — treat it as a build error to fix, never a warning to |
| 19 | + ignore. |
| 20 | +- crates.io is permitted ONLY for crates that have no AdaWorldAPI fork / no local |
| 21 | + source. |
| 22 | + |
3 | 23 | > **Updated**: 2026-04-21 (categorical-algebraic inference click) |
4 | 24 | > **Role**: The obligatory spine — query engine, codec stack, semantic transformer, and orchestration contract |
5 | 25 | > **Status**: 22 crates, 7 in workspace, 15 excluded (standalone/DTO), Phases 1-2 DONE, Phases 6-7 DONE (grammar + governance), Phase 3 IN PROGRESS |
|
0 commit comments