Skip to content

Commit a676121

Browse files
committed
CLAUDE.md: P0 rule — AdaWorldAPI forks only, never crates.io upstream
1 parent 4d0774b commit a676121

2 files changed

Lines changed: 28 additions & 0 deletions

File tree

CLAUDE.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
11
# CLAUDE.md — lance-graph
22

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+
323
> **Updated**: 2026-04-21 (categorical-algebraic inference click)
424
> **Role**: The obligatory spine — query engine, codec stack, semantic transformer, and orchestration contract
525
> **Status**: 22 crates, 7 in workspace, 15 excluded (standalone/DTO), Phases 1-2 DONE, Phases 6-7 DONE (grammar + governance), Phase 3 IN PROGRESS

python/CLAUDE.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
## P0 — AdaWorldAPI forks ONLY, NEVER crates.io upstream
2+
3+
**Always depend on the AdaWorldAPI fork of any crate that has one. NEVER use the
4+
upstream crates.io version of a forked crate.** Non-negotiable; applies to every
5+
`Cargo.toml` and every dependency decision in this repo. Every repo in this
6+
workspace is local — prefer the local/fork source over the registry, always.
7+
If a fork's coordinates are unknown, STOP and ask — never fall back to crates.io.
8+
19
Use the makefile for most actions:
210

311
* Build: `maturin develop`

0 commit comments

Comments
 (0)