Repository navigation
Sonny: a task's question reaches its lead, and a decision stands out - #395
Conversation
b7b2e1e to
47c503c
Compare
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGDPi56zM4MybbSLb2Z
d9f4e9f to
18f0bab
Compare
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
Security findingsAdvisory findings (2)
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
🛡️ Codex Security Review · Automatically triggered
Here are some automated security review suggestions for this pull request.
Reviewed commit: 18f0bab7ec
ℹ️ About Codex security reviews in GitHub
This is an experimental Codex feature. Security reviews are triggered when:
- You comment "@codex security review"
- A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review
Once complete, Codex will leave suggestions, or a comment if no findings are found.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0301c4f8d3
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
🛡️ Codex Security Review · Automatically triggered
Here are some automated security review suggestions for this pull request.
Reviewed commit: 342c4e7922
ℹ️ About Codex security reviews in GitHub
This is an experimental Codex feature. Security reviews are triggered when:
- You comment "@codex security review"
- A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review
Once complete, Codex will leave suggestions, or a comment if no findings are found.
A task that asks the person with the ask tool was heard by its lead only as a bare "completed": the lookout followed resolve_task, margin notes and approvals, but not ask, and the tool tells the task not to repeat its question in its reply. The lead's task updates now carry the question, its options and the one recommended, marked as the task's words, and the row gathering them reads "shop.wire asks you". The person still answers in the task, which the roster already marks "needs you" and opens in the pane on a click, as Codex shows a child thread's request in the parent view and opens that thread to answer it. A decision drawn in the conversation gets a yellow bar down its left side, as a callout has, so it no longer reads like a reply. lead.md raised decisions in a "Needs you:" reply and had tasks offer "a short list with a firm recommendation", and task.md never mentioned asking, so models answered in text. Both now send a decision through the ask tool, and the lead leaves a task's question to the person in that task and keeps it on its margin's open list. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGDPi56zM4MybbSLb2Z
…ask's question is news Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGDPi56zM4MybbSLb2Z
A margin note may name an agent with opens: its head gets a ↗ that opens that agent in the pane, as a click on its roster row does. The lead keeps a to-do note for each question a task asked the person, naming that task, so the person answers it where it was asked. A send in the person's name they did not name is asked with the ask tool, its why quoting their words and saying what would go out and to whom. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGDPi56zM4MybbSLb2Z
…g the task that asks Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGDPi56zM4MybbSLb2Z
Per the visual system: every colored mark has a shape of its own, so the ? stays as what needs the person and the bar is muted; yellow is kept for what needs the person, so the margin's ↗ is cyan, as /open's is. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGDPi56zM4MybbSLb2Z
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGDPi56zM4MybbSLb2Z
…bels too Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGDPi56zM4MybbSLb2Z
… call is Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGDPi56zM4MybbSLb2Z
… reads, not only \n A task's reply and its ask are quoted through one helper that also breaks at CR, VT, FF, NEL and the Unicode line and paragraph separators. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGDPi56zM4MybbSLb2Z
7d5e4db to
b366cc7
Compare
George picked the full system: the lookout tells the lead when a task asks, prompts send decisions through
ask, a margin to-do opens the task's card, and the card stands out.Why
Agents rarely called
ask, and a task's question never reached its lead:resolve_task, margin notes and approval waits, but notask. The tool also tells the task not to repeat its question in its reply, so the lead heard only a bare "completed".?over plain rows, so it read like a reply.What changes
askcall (taken, not failed or denied) is news to its lead. The question, its options and the recommended one are quoted as the task's words (>lines), and the gathered row readsshop.wire asks you. The person still answers in the task: the roster marks itneeds you, and a click opens it in the pane. This follows Codex, which shows a child thread's request in the parent view and opens that thread to answer it, and Claude Code agent teams, which put teammates' prompts in the lead session.?and a muted bar runs down the rest, so the card reads as one block. Yellow stays reserved for "needs you"; each mark keeps its shape under NO_COLOR.opens: AGENT; the note's head gets a cyan ↗ that opens that agent in the pane. The lead lists a task's question as a to-do that opens the task where the person answers.ask-from-task.png,margin-opens-task.png, regeneratedask-markdown.png), FEATURES.md rows for ask, lookout and margin.What the lead receives (scripted model; the daemon, lookout and Sonny are real):
Eval (gpt-6.1-sol via ChatGPT login,
sonny acp, A = main, B = this branch, 3 runs each of 2 scenarios)ask3/3, no re-ask, nothing built early. B's lead told the person where to answer 3/3 (A 0/3) and kept a margin to-do that opens the task 3/3.askbefore delegating 3/3, briefed the task not to decide refunds, 0 premature decisions. A asked withask2/3; one run asked in text, never got an answer, and merged on "go with your recommendation"; another committed a test locking in one answer before the person replied.Checks
cargo test -p sonny: 492 passed after the rebase on main, including the new lookout test (asked, failed, not-a-task) and the marginopenstest.cargo clippy -p sonny --all-targets -D warningsandcargo fmt --checkclean;tests/test_lookout.pyupdated to the new note line.🤖 Generated with Claude Code