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
test(feature-forwarding): cover session testkit gate placement
Steven Enamakel4f98afe29aa6
diff --git a/scripts/__tests__/feature-forwarding.test.mjs b/scripts/__tests__/feature-forwarding.test.mjsindex 8a666fd99d..833eeb42be 100644--- a/scripts/__tests__/feature-forwarding.test.mjs+++ b/scripts/__tests__/feature-forwarding.test.mjs@@ -855,6 +855,11 @@ test('every chain allow-list entry carries a reason', () => {}});+test('session testkit stays local to the embed facade', () => {+ assert.match(CHAIN_LOCAL_GATES['openhuman-embed'].testkit, /test-only/i);+ assert.match(CHAIN_GATES_NOT_FORWARDED['openhuman-tinyhumans'].testkit, /test scaffolding/i);+});+test('the checker reports the chain and fails when a layer drops a gate', () => {// End-to-end through the CLI: a core gate that embed never took must exit 1// with the crate and gate named.diff --git a/scripts/lib/feature-forwarding.mjs b/scripts/lib/feature-forwarding.mjsindex 75685c3b4b..e71f391f90 100644--- a/scripts/lib/feature-forwarding.mjs+++ b/scripts/lib/feature-forwarding.mjs@@ -466,6 +466,8 @@ export function formatReport(result, { coreDefaults, shell, allowlist = {} }) {export const CHAIN_GATES_NOT_FORWARDED = {'openhuman-tinyhumans': {profiles: 'The headless ProfileRuntime API belongs to openhuman-embed; the TinyHumans layer does not expose a standalone profiles gate. Its channels gate already enables embed profiles for channel relays.',+ testkit:+ 'Test scaffolding for the session testkit is only used by embed-local tests and is not a TinyHumans or host runtime capability.',},'openhuman-embed': {'rss-bench':@@ -483,6 +485,8 @@ export const CHAIN_GATES_NOT_FORWARDED = {export const CHAIN_LOCAL_GATES = {'openhuman-embed': {profiles: 'The in-process ProfileRuntime facade is implemented in openhuman-embed and has no core gate; channels also enables it for profile relays.',+ testkit:+ 'Test-only session-store scaffolding for embed tests; it does not enable a runtime or product capability.',},'openhuman-tinyhumans': {jev: 'This crate owns the gate: the Jev-backed `tool_search` ranker (`tinytools-jev` over the TinyHumans System One proxy).',