Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,13 @@ object_store = { version = "0.14", features = ["aws"] }
# Full measurement + the target geometry: .claude/knowledge/CARGO-COMPUTE-SUBSTRATE.md
ndarray = { path = "../ndarray" }

[patch."https://github.com/AdaWorldAPI/ndarray"]
# The same sibling checkout for crates that name the canonical git coordinate
# (today `lance-graph-mask-risc`, so that git consumers of Quack can build).
# Without this, a member on the git coordinate would resolve a second ndarray
# package beside the path one (CARGO-COMPUTE-SUBSTRATE rule 9).
ndarray = { path = "../ndarray" }

# Dev/test debuginfo OFF (operator, 2026-08-18: "Cargo Debug*=0 or so makes it
# much smaller and faster"). Measured incident the same day: full debuginfo
# test binaries grew target/ to 17 GB and killed the linker with SIGBUS on a
Expand Down
6 changes: 6 additions & 0 deletions crates/d-diamond-1-probe/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,9 @@ ndarray = { path = "../../../ndarray", default-features = false, features = ["st

[profile.release]
debug = 1

# mask-risc names ndarray by its canonical git coordinate; point it at the
# sibling checkout so this workspace has one ndarray identity and needs no
# network for it (same patch as the lance-graph root).
[patch."https://github.com/AdaWorldAPI/ndarray"]
ndarray = { path = "../../../ndarray" }
6 changes: 6 additions & 0 deletions crates/lance-graph-dir-sim/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,9 @@ ogar-dir-core = { path = "../../../OGAR/crates/ogar-dir-core" }
ogar-dir-sim = { path = "../../../OGAR/crates/ogar-dir-sim" }
ogar-ad = { path = "../../../OGAR/crates/ogar-ad" }
ogar-az = { path = "../../../OGAR/crates/ogar-az" }

# mask-risc names ndarray by its canonical git coordinate; point it at the
# sibling checkout so this workspace has one ndarray identity and needs no
# network for it (same patch as the lance-graph root).
[patch."https://github.com/AdaWorldAPI/ndarray"]
ndarray = { path = "../../../ndarray" }
6 changes: 6 additions & 0 deletions crates/lance-graph-glove-parity/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,9 @@ lance-graph-quack = { path = "../lance-graph-quack" }
[dev-dependencies]
lance-graph-mask-risc = { path = "../lance-graph-mask-risc" }
lance-graph-sap = { path = "../lance-graph-sap" }

# mask-risc names ndarray by its canonical git coordinate; point it at the
# sibling checkout so this workspace has one ndarray identity and needs no
# network for it (same patch as the lance-graph root).
[patch."https://github.com/AdaWorldAPI/ndarray"]
ndarray = { path = "../../../ndarray" }
10 changes: 9 additions & 1 deletion crates/lance-graph-mask-risc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,16 @@ description = "The one mask-RISC evaluator/fuser above ndarray::simd — a plan
# `ndarray` is the T1 facade every op delegates to — the SAME coordinates the
# planner uses (`std` only: `simd_masking_ops` sits behind it). No contract dep:
# `Planes::masks` is `&[&[u64]]`, so an `AlphaMask` caller passes `words()`.
#
# The canonical git coordinate, not a relative path (CARGO-COMPUTE-SUBSTRATE
# rule 5): a `path = "../../../ndarray"` here leaves the checkout, so a git
# consumer of this crate (or of `lance-graph-quack`, which depends on it)
# fails with "no matching package named `ndarray`". Inside this workspace the
# root `[patch."https://github.com/AdaWorldAPI/ndarray"]` points the same
# coordinate back at the sibling checkout, so local builds keep one ndarray
# package identity and need no network for it.
[dependencies]
ndarray = { path = "../../../ndarray", default-features = false, features = ["std"] }
ndarray = { git = "https://github.com/AdaWorldAPI/ndarray", branch = "master", default-features = false, features = ["std"] }

[dev-dependencies]
# D-RPF-0 (`tests/resident_ce64_predicate.rs`): the CE64 accessors are the
Expand Down
6 changes: 6 additions & 0 deletions crates/lance-graph-sap/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,9 @@ lance-graph-mask-risc = { path = "../lance-graph-mask-risc" }
lance-graph-quack = { path = "../lance-graph-quack" }
hmac = "0.12"
sha2 = "0.10"

# mask-risc names ndarray by its canonical git coordinate; point it at the
# sibling checkout so this workspace has one ndarray identity and needs no
# network for it (same patch as the lance-graph root).
[patch."https://github.com/AdaWorldAPI/ndarray"]
ndarray = { path = "../../../ndarray" }
18 changes: 12 additions & 6 deletions crates/r2il-mask-abi-probe/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ publish = false
description = "W0B: the mask-ABI differential at the R2IL seam. Proves ogar-r2il's CallMask algebra and lance-graph-mask-risc's agree BIT-IDENTICALLY over the same borrowed words — and nothing more. NOT a Quack<->R2IL bridge: CallMask indexes call slots inside ONE body (<=180), mask-risc indexes rows of a projection (~64K). Same algebra, different index spaces; the row bridge is W0C — `tests/row_bridge.rs`, which carries a factored join predicate as loco program data under its own vocabulary, lets loco INTERPRET it into a mask-risc Program, and executes that fused. No population crosses; the result is bit-identical to quack's lowering."

# Its OWN workspace root. Excluded from lance-graph's so no ordinary
# workspace test pays for the OGAR sibling checkout, and so `ndarray`'s
# escaping `../../../ndarray` path (reached through mask-risc) still resolves
# from its own manifest dir. Same shape as `helix` / `symbiont`.
# workspace test pays for the OGAR sibling checkout. Same shape as `helix` /
# `symbiont`. (mask-risc now names ndarray by git; the patch at the end of
# this file points that back at the sibling checkout.)
[workspace]

[dependencies]
Expand All @@ -20,9 +20,9 @@ lance-graph-mask-risc = { path = "../lance-graph-mask-risc" }
# bit-for-bit. Consumed, never delegated to — the probe compares RESULTS.
lance-graph-quack = { path = "../lance-graph-quack" }
# The oracle in THIS probe — deliberately not yet the delegating side. Reached
# by PATH, not git: mask-risc path-deps `ndarray` at `../../../ndarray`, a
# path that leaves its own workspace and can never resolve through a cargo git
# checkout, so the differential cannot live on the OGAR side. The direction
# by PATH, not git. Until 2026-10-10 mask-risc path-depped `ndarray` at
# `../../../ndarray`, which no cargo git checkout could resolve, so the
# differential could not live on the OGAR side. The direction
# here matches `crates/symbiont`'s existing `../../../OGAR/crates/...` deps.
ogar-r2il = { path = "../../../OGAR/crates/ogar-r2il" }
ogar-loco = { path = "../../../OGAR/crates/ogar-loco" }
Expand All @@ -36,3 +36,9 @@ lance-graph-contract = { path = "../lance-graph-contract" }
# one contract identity — the local one — rather than two.
[patch."https://github.com/AdaWorldAPI/lance-graph"]
lance-graph-contract = { path = "../lance-graph-contract" }

# mask-risc names ndarray by its canonical git coordinate; point it at the
# sibling checkout so this workspace has one ndarray identity and needs no
# network for it (same patch as the lance-graph root).
[patch."https://github.com/AdaWorldAPI/ndarray"]
ndarray = { path = "../../../ndarray" }
Loading