- Bail command moved from hardcoded closure to external script
specified in agent JSON header ("bail": "bail-no-competing.sh")
- Runner executes script between steps with pid file path as $1,
cwd = state dir. Non-zero exit stops the pipeline.
- PID files simplified to just the phase name (no JSON) for easy
bash inspection (cat pid-*)
- scan_pid_files helper deduplicates pid scanning logic
- Timeout check uses file mtime instead of embedded timestamp
- PID file cleaned up on bail/error (not just success)
- output() tool validates key names (rejects pid-*, /, ..)
- Agent log files append instead of truncate
- Fixed orphaned derive and doc comment on AgentStep/AgentDef
- Phase written after bail check passes, not before
Co-Authored-By: Kent Overstreet <kent.overstreet@linux.dev>
|
||
|---|---|---|
| .. | ||
| bash.rs | ||
| control.rs | ||
| edit.rs | ||
| glob_tool.rs | ||
| grep.rs | ||
| journal.rs | ||
| memory.rs | ||
| mod.rs | ||
| read.rs | ||
| vision.rs | ||
| working_stack.rs | ||
| write.rs | ||