CLI for agents: non-TTY safe run/confirmations, compact inspect, wait hints and exit codes
- Without a terminal, run behaves as --json, tui refuses and confirmations fail fast naming --yes instead of prompting. - inspect prints a compact summary by default; --step N, --transcripts and --json give detail. - wait names a failed run's stage and first diagnostic line, prints how to answer a run waiting on a person, and exits 2 when any run failed, was canceled or interrupted (1 stays for client errors). - help describes the current # outcome / # handoff format. - Task starter's Land stage drops edit to match format.md; skill docs document run --json --yes, retry --yes --json and the new behaviour. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -80,7 +80,7 @@ func stageByKey(t *testing.T, graph protocol.Graph, key string) protocol.Stage {
|
||||
// make the requested change may edit; nothing has web tools.
|
||||
var exampleTools = map[string]map[string][]string{
|
||||
"research": {"research": {"read", "glob", "grep", "shell", "websearch", "webfetch"}, "report": {"read", "glob", "grep", "edit", "shell"}},
|
||||
"task": {"Code": {"read", "glob", "grep", "edit", "shell"}, "Review": {"read", "glob", "grep", "shell"}, "UIReview": {"read", "glob", "grep", "shell"}, "Land": {"read", "glob", "grep", "edit", "shell"}},
|
||||
"task": {"Code": {"read", "glob", "grep", "edit", "shell"}, "Review": {"read", "glob", "grep", "shell"}, "UIReview": {"read", "glob", "grep", "shell"}, "Land": {"read", "glob", "grep", "shell"}},
|
||||
}
|
||||
|
||||
func TestExampleRoleToolRestrictions(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user