Separate SYSTEM policy and verify thirteen policy guards on cloud Linux
Rust development slice / linux (push) Failing after 7s

This commit is contained in:
2026-11-14 04:41:09 +01:00
parent b046209ba3
commit 5a6d0b0c3a
15 changed files with 914 additions and 20 deletions
+6 -2
View File
@@ -504,6 +504,11 @@ pub async fn reconcile(
decisions.push(decision);
continue;
}
let missing_helper =
crate::root_policy::needs_helper(&payload.execution_identity) && !helper_ready;
if missing_helper {
ready = false;
}
let grant = sqlx::query(
"SELECT grant_id,payload,created_at FROM execution_permits WHERE job_id=$1 AND attempt_id=$2",
)
@@ -720,8 +725,7 @@ pub async fn reconcile(
}
.into();
}
if payload.execution_identity == "root" && !helper_ready {
ready = false;
if missing_helper {
decision.unlock = false;
decision.reason = "HELPER_JOURNAL_REQUIRED".into();
}