fix(eda): clear completed tasks; document the tool allowlist's reach and unchecked profile names

ClearTerminalTasks now deletes completed tasks, with a test that holds its
SQL list to taskstate.Terminal. The AllowTools comment says agentloop's
built-in file tools are outside the allowlist and why. The PRD model
diagram lists only what a profile holds (image, tools), and the profile
field and AgentProfile say a workflow's profile name is resolved at
dispatch, not when the workflow is saved.
This commit is contained in:
sam committed 2026-09-24 20:53:51 +10:00
1 parent d320a1a01a
commit d8bec1ae06
8 files changed
+51 -10

No files matched your search

+2 -2
View File
@@ -23,8 +23,8 @@ able to start an agent built for that job. The shape this replaces cannot:
```
source ─▶ event type ─▶ mapping ─▶ binding ─▶ workflow ─▶ agent profile
(identified) (params) (+ filter, (inputs, (image, tools,
repo) profile) secrets, access)
(identified) (params) (+ filter, (inputs, (image, tools)
repo) profile)
```
### Sources