[aidan] feat/scheduled-tasks: remember workflow tool permissions across runs

This commit is contained in:
abccodes
2026-06-16 22:37:53 -07:00
parent 5a5046d5a9
commit ae68c1289b
6 changed files with 298 additions and 6 deletions
@@ -81,6 +81,10 @@ export interface Workflow {
edit_agent_session_id?: string | null;
/** Sticky session id for the embedded scheduling agent (cadence -> gated tool call). */
schedule_agent_session_id?: string | null;
/** Tool permissions the user answered once and we reuse on later runs so an
* unattended scheduled fire doesn't stall on a prompt. tool name -> answer. */
remembered_approvals?: Record<string, 'allow' | 'deny'>;
step_tool_usage?: Record<string, Record<string, boolean>>;
}
export interface WorkflowRun {