From 2e3e11512810fbbf8350ee9846d67b1b56b61acb Mon Sep 17 00:00:00 2001 From: "Rai (Michael Pokorny)" Date: Tue, 24 Jun 2025 13:28:28 -0700 Subject: [PATCH] agentydragon(tasks): consolidate external script predicates as Python predicates (never expire) --- agentydragon/tasks/11-custom-approval-predicates.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agentydragon/tasks/11-custom-approval-predicates.md b/agentydragon/tasks/11-custom-approval-predicates.md index cafabddfa8..4e023ca819 100644 --- a/agentydragon/tasks/11-custom-approval-predicates.md +++ b/agentydragon/tasks/11-custom-approval-predicates.md @@ -13,7 +13,7 @@ Allow users to plug in an external executable that makes approval decisions for ## Acceptance Criteria -- Support a new `[[custom_approval_predicates]]` section in `config.toml`, each with an `executable = "..."` field. +- Support a new `[[approval_predicates]]` section in `config.toml` for Python-based predicates, each with a `python_predicate_binary = "..."` field (pointing to the predicate executable) and an implicit `never_expire = true` setting. - Before prompting the user, invoke each configured predicate in order, passing the following (via CLI args or env vars): - Session ID - Container working directory (CWD)