Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore: files changed scripts/ci/check-storage-bypass.mjs

Steven Enamakel0d4a21c17240
diff --git a/scripts/ci/check-storage-bypass.mjs b/scripts/ci/check-storage-bypass.mjs
index 85a3bdb680..be11db3a8a 100755
--- a/scripts/ci/check-storage-bypass.mjs
+++ b/scripts/ci/check-storage-bypass.mjs
@@ -61,6 +61,8 @@ function sameCheckout(root) {
const enforceHistory = rootFlag === -1 || sameCheckout(repoRoot);
export const CURATED_VENDOR_ROOTS = [
+ "vendor/tinyagents/crates/tinyagents-tasks/src",
+ "vendor/tinyskills/crates/tinyskills/src/registry/store.rs",
"vendor/tinyagents/crates/tinyagents-session/src/run_ledger",
"vendor/tinyagents/crates/tinyagents-session/src/threads/store",
"vendor/tinyagents/crates/tinyagents-session/src/transcript",
@@ -71,6 +73,16 @@ export const CURATED_VENDOR_ROOTS = [
];
export const RULES = [
+ {
+ rule: "file-store-new",
+ pattern: /\b(?:[A-Za-z_][\w]*::)*File[A-Za-z_]*(?:Store|Ledger)::new\s*\(/,
+ hint: "a file-backed constructor needs captured native routing or an audited cache classification",
+ },
+ {
+ rule: "task-store-open",
+ pattern: /\bopen_jsonl_task_store_or_memory\s*\(/,
+ hint: "the JSONL task opener needs captured native routing; a fallback does not make its file portable",
+ },
{
rule: "sqlite-open",
pattern: /\bConnection::open(?:_with_flags)?\s*\(/,