fix: harden executor session handling
This commit is contained in:
@@ -158,6 +158,13 @@ Create `agent-workflow.json` in your repository root:
|
||||
- `AGENT_WORKFLOW_DIR` — Override state root (default: `~/.agent-workflow/workflows`)
|
||||
- `AGENT_WORKFLOW_META_STDOUT` — Emit metadata to stdout instead of stderr (set to `1`)
|
||||
|
||||
The Agy adapter runs its non-interactive implementation sessions with
|
||||
`--dangerously-skip-permissions`. This is required because Agy cannot prompt for
|
||||
tool approval in `--print` mode. The workflow's frozen scope, Git gates, and
|
||||
executor safety prompt remain the authorization boundary. Its internal
|
||||
`--print-timeout` is set from the workflow `timeoutSeconds` value so long tasks
|
||||
do not fall back to Agy's five-minute default.
|
||||
|
||||
## State Machine
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user