Add gated agent update planning, preserved handoff and Linux worker ports
Rust development slice / linux (push) Failing after 6s

This commit is contained in:
2026-11-14 21:48:21 +01:00
parent dc9cb1b096
commit 1e89c4577f
82 changed files with 25052 additions and 69 deletions
+3
View File
@@ -326,6 +326,9 @@ pub async fn authorize(
principal: &str,
job: &JobPayload,
) -> Result<(), Error> {
if matches!(job.action, Action::UpdateAgent { .. }) {
return crate::agent_update_policy::authorize(tx, principal, job).await;
}
match job.execution_identity.as_str() {
"system" => return crate::windows_policy::authorize(tx, principal, job).await,
"agent_service" => return Ok(()),