The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
docs: record the library-chain feature forwarding check
obchain024e2a03f29d
diff --git a/AGENTS.md b/AGENTS.mdindex caa36cb03f..c79b285c22 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -411,7 +411,10 @@ Cargo default features define the contributor build;`scripts/ci/product-features.txt` defines the shipped product. The Tauri shelldisables default features, so product gates must be forwarded explicitly in`crates/openhuman-app/Cargo.toml` and checked by-`scripts/ci/check-feature-forwarding.mjs`. Test both enabled and disabled+`scripts/ci/check-feature-forwarding.mjs`. The same gate checks the library+chain: a core gate must be forwarded by `openhuman-embed`, then+`openhuman-tinyhumans`, then `openhuman-cli`, or be listed in+`CHAIN_GATES_NOT_FORWARDED` / `CHAIN_LOCAL_GATES` with a reason. Test both enabled and disabledbuilds after changing a gate. Use `scripts/assert-shed.sh` or`scripts/dep-sim.py` before claiming a dependency reduction.diff --git a/docs/library-minimal-recipe.md b/docs/library-minimal-recipe.mdindex fc1732ef35..e86149065b 100644--- a/docs/library-minimal-recipe.md+++ b/docs/library-minimal-recipe.md@@ -196,10 +196,12 @@ become unknown-method) pass under this recipe. No pre-existing failures.Nothing is added to the `default` feature list — this is a **subtractive**`--no-default-features` recipe, not a new default-ON gate. The **Feature-Forwarding Gate** (`scripts/ci/check-feature-forwarding.mjs`) only inspects the-`default` list and its forwarding into the desktop shell's `Cargo.toml`, so it-**does not apply** here: there is nothing to forward. This recipe carries no CI-risk and needs no `INTENTIONALLY_NOT_FORWARDED` entry.+Forwarding Gate** (`scripts/ci/check-feature-forwarding.mjs`) inspects the+`default` list, its forwarding into the desktop shell's `Cargo.toml`, and the+`openhuman-embed` → `openhuman-tinyhumans` → `openhuman-cli` chain — all of+which are about gates that exist, so the gate **does not apply** here: there is+nothing to forward. This recipe carries no CI risk and needs no+`INTENTIONALLY_NOT_FORWARDED` entry.## Why no `Cargo.toml` aliasdiff --git a/scripts/ci/README.md b/scripts/ci/README.mdindex b01ae93a8d..e2e10d2b08 100644--- a/scripts/ci/README.md+++ b/scripts/ci/README.md@@ -7,7 +7,7 @@ authoritative spec; this is an index so a CI failure log points somewhere.| File | Checks || --- | --- || `check-openhuman-rust-layout.mjs` (`pnpm rust:layout`) | Every file under `crates/openhuman-core/src` (except `api`, `bin`, `core`, `lib.rs`, `main.rs`, `rpc`) stays under a 750-line ceiling, with pinned legacy exceptions; forbids inline `#[cfg(test)] mod` blocks and `tests.rs`/`test.rs` filenames; and asserts every root `tests/*.rs` / `examples/*.rs` has a matching `[[test]]`/`[[example]]` entry in `crates/openhuman-core/Cargo.toml`. |-| `check-feature-forwarding.mjs` | The Tauri shell (`crates/openhuman-app/Cargo.toml`, which sets `default-features = false`) forwards exactly the gates in `product-features.txt` — no more, no less. Logic lives in `scripts/lib/feature-forwarding.mjs` (openhuman#4919). |+| `check-feature-forwarding.mjs` | The Tauri shell (`crates/openhuman-app/Cargo.toml`, which sets `default-features = false`) forwards exactly the gates in `product-features.txt` — no more, no less — and the library chain that re-declares the core's gates (`openhuman-embed` → `openhuman-tinyhumans` → `openhuman-cli`) forwards every one of them, by target and not just by name. Logic lives in `scripts/lib/feature-forwarding.mjs` (openhuman#4919, openhuman#6364). || `product-features.txt` / `product-features.sh` | Source of truth for the shipped desktop product's Cargo feature gates, distinct from `[features] default` (the contributor build). The `.sh` prints them comma-separated for `cargo --features "$(scripts/ci/product-features.sh)"`. || `check-module-pins.mjs` + `module-pin-exemptions.json` | A loadable module's registry pin (`crates/openhuman-core/src/modules/registry.rs`) and its `vendor/*` submodule pin must describe the same release (openhuman#5727). The exemptions file records known, expected drift — not a way to silence the gate. Logic lives in `scripts/lib/module-pins.mjs`. || `check-submodule-monotonic.mjs` | A `vendor/*` submodule pin may never move backwards onto a commit that is an ancestor of what the base branch already has. |