Skip to content

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

chore(ci): track approval task-local statics in boundary check

Steven Enamakel9d9e7682ed16
diff --git a/scripts/ci/check-agent-runtime-boundary.mjs b/scripts/ci/check-agent-runtime-boundary.mjs
index 810e4f4e63..8a3e92ff3d 100644
--- a/scripts/ci/check-agent-runtime-boundary.mjs
+++ b/scripts/ci/check-agent-runtime-boundary.mjs
@@ -164,7 +164,6 @@ const deletedTaskLocalModules = [
const taskLocalDeclarationAllowlist = [
"crates/openhuman-core/src/core/runtime/context.rs",
"crates/openhuman-core/src/memory/scope.rs",
- "crates/openhuman-core/src/security/approval/gate.rs",
];
const taskLocalAccessors = [
"current_parent",
@@ -228,6 +227,9 @@ const taskLocalStatics = [
"JOB_STATE",
"CURRENT_TURN_ACTIVITY",
"CURRENT_METER",
+ "APPROVAL_CHAT_CONTEXT",
+ "APPROVAL_COPILOT_STREAM_CONTEXT",
+ "APPROVAL_FLOW_RUN_CONTEXT",
];
async function filesUnder(root, predicate) {