Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions backend/internal/session_manager/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -1016,6 +1016,10 @@ Spawn worker sessions for implementation with:
Message workers with `+"`ao send`"+`, for example:
`+"`ao send --session <worker-session-id> --message \"<your message>\"`"+`

Check on workers with `+"`ao session ls`"+` and `+"`ao session get <worker-session-id>`"+`.

If you're unsure which command to use, run `+"`ao --help`"+` before guessing.

Use workers for focused implementation tasks, track their progress, synthesize their results, and only step into implementation directly for true emergencies or small coordination fixes.`, project, project)
}

Expand Down
3 changes: 3 additions & 0 deletions backend/internal/session_manager/manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -807,6 +807,9 @@ func TestSpawnOrchestrator_UsesCoordinatorPrompt(t *testing.T) {
"You are the human-facing coordinator for project mer",
`ao spawn --project mer --prompt "<clear worker task>"`,
"`ao send`",
"`ao session ls`",
"`ao session get <worker-session-id>`",
"run `ao --help` before guessing",
"avoid doing implementation yourself unless it is necessary",
} {
if !strings.Contains(systemPrompt, want) {
Expand Down