Skip to content

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

chore(ci): register new process statics for background completions and workflow runs

Steven Enamakele261fc55bf00
diff --git a/scripts/ci/process-statics.json b/scripts/ci/process-statics.json
index 225193bbc9..ca272f428e 100644
--- a/scripts/ci/process-statics.json
+++ b/scripts/ci/process-statics.json
@@ -318,5 +318,45 @@
"category": "A",
"reason": "This once-initialized empty set is the immutable visibility sentinel used by the static safety-section PromptContext; no agent or tenant-specific tool names are inserted.",
"verification": "agent/prompts/mod_tests_tools_sections_tests.rs: tools_section_empty_for_native"
+ },
+ {
+ "file": "crates/openhuman-core/src/agent/orchestration/background_completions/store_adapter.rs",
+ "scope": "",
+ "name": "POOL",
+ "type": "OnceLock<CompletionRouterPool<RouterScope>>",
+ "count": 1,
+ "category": "D",
+ "reason": "This process-local router cache is keyed by RouterScope (authenticated profile key plus workspace path); each router retains the matching driver's storage scope, and storage opens run under that explicit context.",
+ "verification": "background_completions_tenant_tests.rs: explicit_profiles_on_one_workspace_keep_durable_completion_records_separate"
+ },
+ {
+ "file": "crates/openhuman-core/src/agent/orchestration/background_completions/store_adapter.rs",
+ "scope": "",
+ "name": "STORES",
+ "type": "OnceLock<Mutex<HashMap<RouterScope,Arc<dyn CompletionStore>>>>",
+ "count": 1,
+ "category": "B",
+ "reason": "Test-only store overrides use the same profile-and-workspace RouterScope key as the production router cache, so test fixtures cannot cross profile or workspace boundaries.",
+ "verification": "background_completions_migration_tests.rs: reopening_a_durable_store_preserves_pending_memory_fallback_records"
+ },
+ {
+ "file": "crates/openhuman-core/src/agent/orchestration/background_delivery.rs",
+ "scope": "",
+ "name": "LEASES",
+ "type": "OnceLock<ThreadDeliveryLeases>",
+ "count": 1,
+ "category": "B",
+ "reason": "Each in-flight delivery lease key combines the calling profile key with its thread id; it stores only active per-thread exclusion keys and no completion contents.",
+ "verification": "background_delivery_slots_tests.rs: one_profiles_busy_turn_does_not_block_anothers_thread"
+ },
+ {
+ "file": "crates/openhuman-core/src/agent/orchestration/workflow_runs/engine/lifecycle.rs",
+ "scope": "",
+ "name": "SUPERVISOR",
+ "type": "OnceLock<WorkflowRunSupervisor>",
+ "count": 1,
+ "category": "D",
+ "reason": "The process-local supervisor holds generation cancellation handles keyed by run id, not durable workflow state or tenant data. Durable run transitions remain fenced by the storage driver's revision and lease checks.",
+ "verification": "workflow_runs/engine/lifecycle_tests.rs: losing_resume_cas_keeps_the_installed_workflow_generation"
}
]