Skip to content

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

chore(ci): extend storage bypass inventory to task and catalog stores

Steven Enamakel0b6a69fa6eee
diff --git a/scripts/ci/storage-bypass-extension.json b/scripts/ci/storage-bypass-extension.json
index 57e9352f67..a9b7a6104c 100644
--- a/scripts/ci/storage-bypass-extension.json
+++ b/scripts/ci/storage-bypass-extension.json
@@ -149,6 +149,16 @@
"reason": "Historical artifact/attachment file publication or source-preserving import; native BlobStore availability does not authorize local historical source ownership.",
"issue": "https://github.com/tinyhumansai/openhuman/issues/7425"
},
+ {
+ "rule": "task-store-open",
+ "path": "crates/openhuman-core/src/agent/orchestration/running_subagents/task_ledger.rs",
+ "line": 65,
+ "text": "open_jsonl_task_store_or_memory(&task_store_path(workspace_dir))",
+ "occurrence": 1,
+ "classification": "classic",
+ "reason": "Classic detached-task or completion JSONL opener, append, torn-tail repair, or compaction publication; native task routing does not remove the owning library local fallback.",
+ "issue": "https://github.com/tinyhumansai/openhuman/issues/7426"
+ },
{
"rule": "file-mutation",
"path": "crates/openhuman-core/src/agent/orchestration/subagent_sessions/store.rs",
@@ -189,6 +199,36 @@
"reason": "Historical subagent lifecycle/checkpoint file publication; scoped native orchestration stores must be selected separately.",
"issue": "https://github.com/tinyhumansai/openhuman/issues/7426"
},
+ {
+ "rule": "file-store-new",
+ "path": "crates/openhuman-core/src/agent/tinyagents/reaper.rs",
+ "line": 47,
+ "text": "let store = FileStatusStore::new(open_session_stores(workspace).kv);",
+ "occurrence": 1,
+ "classification": "classic",
+ "reason": "Historical status reader wraps the concrete FileStore returned by the classic session opener; FileStatusStore::new is not a captured native KV adapter.",
+ "issue": "https://github.com/tinyhumansai/openhuman/issues/7423"
+ },
+ {
+ "rule": "file-store-new",
+ "path": "crates/openhuman-core/src/agent/tinyagents/replay/ops.rs",
+ "line": 34,
+ "text": "let store = FileStatusStore::new(open_session_stores(workspace).kv);",
+ "occurrence": 1,
+ "classification": "classic",
+ "reason": "Historical status reader wraps the concrete FileStore returned by the classic session opener; FileStatusStore::new is not a captured native KV adapter.",
+ "issue": "https://github.com/tinyhumansai/openhuman/issues/7423"
+ },
+ {
+ "rule": "file-store-new",
+ "path": "crates/openhuman-core/src/agent/tinyagents/replay/ops.rs",
+ "line": 46,
+ "text": "let store = FileStatusStore::new(open_session_stores(workspace).kv);",
+ "occurrence": 2,
+ "classification": "classic",
+ "reason": "Historical status reader wraps the concrete FileStore returned by the classic session opener; FileStatusStore::new is not a captured native KV adapter.",
+ "issue": "https://github.com/tinyhumansai/openhuman/issues/7423"
+ },
{
"rule": "file-mutation",
"path": "crates/openhuman-core/src/config/schema/load/atomic_commit.rs",
@@ -589,6 +629,16 @@
"reason": "Owner-only atomic encrypted-secret/bootstrap file helper; native SecretStore and machine master-key policy have separate admission.",
"issue": "https://github.com/tinyhumansai/openhuman/issues/7421"
},
+ {
+ "rule": "file-store-new",
+ "path": "crates/openhuman-core/src/skills/catalog/registry.rs",
+ "line": 118,
+ "text": "builder.store(FileCatalogStore::new(dir.clone())).build()",
+ "occurrence": 1,
+ "classification": "scratch",
+ "reason": "Refetchable skill catalog metadata cache uses FileCatalogStore and capability-directory temporary-file publication; SaaS cache routing and desktop cache selection remain separate work.",
+ "issue": "https://github.com/tinyhumansai/openhuman/issues/7429"
+ },
{
"rule": "file-mutation",
"path": "crates/openhuman-core/src/threads/welcome_migration.rs",
@@ -799,6 +849,16 @@
"reason": "Explicit legacy transcript import stages and publishes files; native session ports do not authorize implicit historical import.",
"issue": "https://github.com/tinyhumansai/openhuman/issues/7426"
},
+ {
+ "rule": "file-store-new",
+ "path": "vendor/tinyagents/crates/tinyagents-session/src/transcript/import/ops.rs",
+ "line": 111,
+ "text": "kv: FileStore::new(root.join(KV_SUBDIR)),",
+ "occurrence": 1,
+ "classification": "classic",
+ "reason": "Legacy transcript importer and live dual-write explicitly construct the file KV destination under tinyagents_store; source-preserving import is distinct from native session routing.",
+ "issue": "https://github.com/tinyhumansai/openhuman/issues/7424"
+ },
{
"rule": "sqlite-open",
"path": "vendor/tinyagents/crates/tinyagents-session/src/transcript/import/ops.rs",
@@ -899,6 +959,76 @@
"reason": "Classic turn-state temporary-file publication retained separately from the native typed-state port.",
"issue": "https://github.com/tinyhumansai/openhuman/issues/7426"
},
+ {
+ "rule": "json-write",
+ "path": "vendor/tinyagents/crates/tinyagents-tasks/src/completions/store.rs",
+ "line": 153,
+ "text": "std::fs::OpenOptions::new()",
+ "occurrence": 1,
+ "classification": "classic",
+ "reason": "Classic detached-task or completion JSONL opener, append, torn-tail repair, or compaction publication; native task routing does not remove the owning library local fallback.",
+ "issue": "https://github.com/tinyhumansai/openhuman/issues/7426"
+ },
+ {
+ "rule": "json-write",
+ "path": "vendor/tinyagents/crates/tinyagents-tasks/src/completions/store.rs",
+ "line": 206,
+ "text": "let file = std::fs::OpenOptions::new()",
+ "occurrence": 1,
+ "classification": "classic",
+ "reason": "Classic detached-task or completion JSONL opener, append, torn-tail repair, or compaction publication; native task routing does not remove the owning library local fallback.",
+ "issue": "https://github.com/tinyhumansai/openhuman/issues/7426"
+ },
+ {
+ "rule": "json-write",
+ "path": "vendor/tinyagents/crates/tinyagents-tasks/src/completions/store.rs",
+ "line": 275,
+ "text": "let mut out = std::fs::OpenOptions::new()",
+ "occurrence": 1,
+ "classification": "classic",
+ "reason": "Classic detached-task or completion JSONL opener, append, torn-tail repair, or compaction publication; native task routing does not remove the owning library local fallback.",
+ "issue": "https://github.com/tinyhumansai/openhuman/issues/7426"
+ },
+ {
+ "rule": "file-mutation",
+ "path": "vendor/tinyagents/crates/tinyagents-tasks/src/completions/store.rs",
+ "line": 291,
+ "text": "std::fs::rename(&tmp, &self.path).map_err(|e| store_err(\"swap compacted log\", e))?;",
+ "occurrence": 1,
+ "classification": "classic",
+ "reason": "Classic detached-task or completion JSONL opener, append, torn-tail repair, or compaction publication; native task routing does not remove the owning library local fallback.",
+ "issue": "https://github.com/tinyhumansai/openhuman/issues/7426"
+ },
+ {
+ "rule": "json-write",
+ "path": "vendor/tinyagents/crates/tinyagents-tasks/src/store.rs",
+ "line": 373,
+ "text": "let file = std::fs::OpenOptions::new()",
+ "occurrence": 1,
+ "classification": "classic",
+ "reason": "Classic detached-task or completion JSONL opener, append, torn-tail repair, or compaction publication; native task routing does not remove the owning library local fallback.",
+ "issue": "https://github.com/tinyhumansai/openhuman/issues/7426"
+ },
+ {
+ "rule": "task-store-open",
+ "path": "vendor/tinyagents/crates/tinyagents-tasks/src/store_registry.rs",
+ "line": 157,
+ "text": "pub fn open_jsonl_task_store_or_memory(path: &Path) -> Arc<dyn TaskStore> {",
+ "occurrence": 1,
+ "classification": "classic",
+ "reason": "Classic detached-task or completion JSONL opener, append, torn-tail repair, or compaction publication; native task routing does not remove the owning library local fallback.",
+ "issue": "https://github.com/tinyhumansai/openhuman/issues/7426"
+ },
+ {
+ "rule": "sqlite-open",
+ "path": "vendor/tinymcp/crates/tinymcp/src/audit/store/types.rs",
+ "line": 52,
+ "text": "let connection = Connection::open(path).map_err(|source| {",
+ "occurrence": 1,
+ "classification": "classic",
+ "reason": "Owning MCP local registry/audit store implementation used by the module local opener; native captured callback storage is distinct and does not remove this local mode.",
+ "issue": "https://github.com/tinyhumansai/openhuman/issues/7430"
+ },
{
"rule": "json-write",
"path": "vendor/tinymcp/crates/tinymcp/src/registry/store/types.rs",
@@ -940,13 +1070,23 @@
"issue": "https://github.com/tinyhumansai/openhuman/issues/7430"
},
{
- "rule": "sqlite-open",
- "path": "vendor/tinymcp/crates/tinymcp/src/audit/store/types.rs",
- "line": 52,
- "text": "let connection = Connection::open(path).map_err(|source| {",
+ "rule": "json-write",
+ "path": "vendor/tinyskills/crates/tinyskills/src/registry/store.rs",
+ "line": 261,
+ "text": "let mut options = OpenOptions::new();",
"occurrence": 1,
- "classification": "classic",
- "reason": "Owning MCP local registry/audit store implementation used by the module local opener; native captured callback storage is distinct and does not remove this local mode.",
- "issue": "https://github.com/tinyhumansai/openhuman/issues/7430"
+ "classification": "read-only",
+ "reason": "Catalog reader opens an existing capability-directory file with read(true) and no write/create flag; this exact occurrence is not the catalog publisher.",
+ "issue": "https://github.com/tinyhumansai/openhuman/issues/7429"
+ },
+ {
+ "rule": "json-write",
+ "path": "vendor/tinyskills/crates/tinyskills/src/registry/store.rs",
+ "line": 339,
+ "text": "let mut options = OpenOptions::new();",
+ "occurrence": 2,
+ "classification": "scratch",
+ "reason": "Refetchable skill catalog metadata cache uses FileCatalogStore and capability-directory temporary-file publication; SaaS cache routing and desktop cache selection remain separate work.",
+ "issue": "https://github.com/tinyhumansai/openhuman/issues/7429"
}
]
diff --git a/scripts/ci/storage-bypass.md b/scripts/ci/storage-bypass.md
index 5fbb7a0be4..2bf8efcad2 100644
--- a/scripts/ci/storage-bypass.md
+++ b/scripts/ci/storage-bypass.md
@@ -3,14 +3,14 @@
The cancellation-supervised checks lane scans every immediate `crates/*/src`
host directory. The original core document/storage implementation exclusion and
sibling test exclusions remain. It also scans explicitly curated classic
-TinyAgents session stores and the TinyMCP registry/audit stores actually opened
+TinyAgents session/task/completion stores, TinySkills catalog storage, and the TinyMCP registry/audit stores actually opened
by host composition. Native storage driver implementations are not bypasses;
their host adapters remain scanned.
Rules cover database opens, filesystem writes/creation, rename/copy/hard-link
publication, tempfile builders, JSON writer destinations, the known filesystem
helper definitions `write_private`, `create_private`, and `write_atomic`, and
-store open calls with a nearby `.db` or `.jsonl` literal argument. Tokio calls
+store open calls with a nearby `.db` or `.jsonl` literal argument, file-backed `File*Store::new` / `File*Ledger::new` constructors, and the JSONL task opener. Tokio calls
are included: the original `fs::write` pattern already recognized their `fs::`
suffix. The missing embed detection was a directory coverage bug.
@@ -21,10 +21,10 @@ This change does not increase or replace that baseline. Regeneration requires an
existing baseline and refuses new findings; it can only remove fixed sites.
The merge-base check also prevents editing the manifest to accept new debt.
-`storage-bypass-extension.json` contains **95** reviewed identities for coverage
+`storage-bypass-extension.json` contains **109** reviewed identities for coverage
that this change introduces. Each identifies its exact rule, path, source line,
and occurrence, with a destination classification, reason, and owning issue.
-These are sites, not 95 independent stores. The initial extension must match
+These are sites, not 109 independent stores. The initial extension must match
source already present at the canonical merge base, including its recorded
vendor gitlinks. A branch-added or moved writer cannot enter this inventory.
Once the extension exists in the base, its identities can only shrink. Removing
@@ -75,3 +75,5 @@ bash scripts/ci-cancel-aware.sh node scripts/ci/check-storage-bypass.mjs
This guard does not implement backend migration, desktop import authority, or
Memory/SQLite/MongoDB runtime composition. Those belong to the linked owner
issues and their authentic native integration proofs.
+
+The latest review added task/completion and catalog owner coverage. Three curated/constructor regressions and one host task-opener regression failed before their fixes. The expanded focused suite passed 70 controls. The additional 14 canonical sites include a read-only catalog opener, refetchable catalog cache publication, classic task/completion logs, and classic file-backed status/import stores. No site is classified as migrated solely because another native implementation exists. Changes to the shared Rust comment masker also arm the scripts lane.