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(module-pins): verify voice source version matches registry pin
Steven Enamakelee6c17f7447c
diff --git a/scripts/__tests__/module-pins.test.mjs b/scripts/__tests__/module-pins.test.mjsindex 0e26906b37..397ad1a39c 100644--- a/scripts/__tests__/module-pins.test.mjs+++ b/scripts/__tests__/module-pins.test.mjs@@ -105,6 +105,27 @@ function submodulesPresent() {}}++// This reads the release manifest directly, so a stale voice gitlink is caught+// even in a shallow checkout without the tags used by the general pin gate.+test("voice source release matches the artifact used for recording summaries", () => {+ const record = [...parseRecords(readRegistry()).values()].find(+ (record) => record.id === "tinyvoice",+ );+ assert.ok(record, "voice adapter requires a registered module");+ const source = readFileSync(+ join(REPO_ROOT, "vendor/tinyvoice/crates/tinyvoice-module/Cargo.toml"),+ "utf8",+ );+ const version = source.match(/^version\\s*=\\s*"([^"]+)"/m)?.[1];+ assert.ok(version, "voice module source must declare its release version");+ assert.equal(+ version,+ record.version,+ "the host must compile against the same voice release it loads",+ );+});+// ── Registry parsing ──────────────────────────────────────────────────────────test("parses every record `ALL` lists out of the real registry", () => {