Skip to content

Sonny: several asks answered one at a time, asks leave once the person moves on, the bar holds when the window narrows - #487

Merged
lydakis merged 6 commits into
mainfrom
claude/project-thread-ox1rny
Oct 31, 2026
Merged

lydakis merged 6 commits into
mainfrom
claude/project-thread-ox1rny

Conversation

@lydakis

@lydakis lydakis commented Oct 31, 2026 •

Copy link
Copy Markdown
Owner

Polish for ask cards in the composer. The decisions are recorded in the interface system under "Asks: several open, wrapping, and when they leave" (https://claude.ai/artifact/517GMW1E2KAafUWMzkLDBD#asks).

What changes

  • Several open asks. The composer hint names the question it answers and where it sits: Answer “Q” (1 of 2): 1–2 pick · ↑↓ switch · esc write instead. With an empty composer, ↑↓ moves between the open asks. This follows Codex async questions: a new ask never takes focus, and the order is "1 of N".
  • Which ask wins. Once you start typing, an answering “Q” (1 of 2) row sits on the composer band over your text. The same row stays on the sent message in the conversation, so it's always clear which question a typed answer went to.
  • Expiry (George picked "when the conversation moves on"). When the person sends words of their own after an ask, the ask leaves the composer and the needs-you count. Its card's options still answer it. Relays, reactions, margin closes and shell reads don't count as moving on.
  • The bar holds when wrapping. Card rows carry their own continuation lead (Mark::Hangs). When the window narrows and the screen rewraps, the │ bar and the indent for list items and quotes now carry down instead of falling back to four spaces. Blank lines between paragraphs are kept.

Screenshots

Several open, with the question named in the hint:

several asks

Answering by typing:

answering

Before and after shots of the narrowed window, in dark, light and NO_COLOR, are in the interface-system section linked above.

Left over

#486: reply rows rewrapped narrower still get the 4-col lead and lose quote bars. That is the same fix applied to transcript replies, so it's kept out of this PR.

Tests

cargo test -p sonny covers the bar going down a narrower card, the hint naming the question, what moves on and what doesn't, focus stepping, answering … (2 of 2), and answering a set-aside card by its button. README Decisions paragraph and the FEATURES.md ask row are updated.

…n moves on, the bar holds when the window narrows

- A card's rows each say how they go on when the screen wraps them
  narrower than they were laid (screen Mark::Hangs), so the bar runs
  down the whole card after the margin opens or the window shrinks;
  lists hang past their marker, quotes keep their bar, paragraphs in
  why and explanations stay apart.
- Markdown quotes keep their bar on wrapped rows everywhere.
- With several asks open the composer answers one at a time, oldest
  first, says which (1 of 2), and up/down with nothing typed switches.
- While typing an answer the composer band names the question over the
  words, and the sent answer shows that row on its band too.
- The person's own words after an ask set it aside: out of the composer
  and the needs-you count; its card's options still answer it. Replay
  and task states follow the same rule.
- Composer hints follow the key-hint grammar.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013jkdGDSaxQaPKMKyDnbxUh
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-31T15:55:20.821476Z ae8dea6 New commits
🔒 Security Review ⚠️ Failed 2026-10-31T15:53:49.763867Z
We couldn’t complete this review. Comment @codex security review to try again.
ae8dea6 New commits
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@lydakis lydakis self-assigned this Oct 31, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 781f4a47bf

ℹ️ 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".

Comment thread sonny/src/main.rs Resolved
Comment thread sonny/src/asks.rs Resolved

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: bcf5ea7c46

ℹ️ 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".

Comment thread sonny/src/main.rs Resolved
@chatgpt-codex-connector

Copy link
Copy Markdown

The account paying for this security review has reached its Codex usage limits. The payer can check the Codex usage dashboard. For personal accounts, using credits requires enabling “Use credits for security reviews” in Code review settings. If you do not manage the paying account, contact this repository's admins.

lydakis commented Oct 31, 2026

Copy link
Copy Markdown
Owner Author

After the merge with main, rust failed on 0d5cbc7 in zen_draws_only_the_persons_turns_and_the_agents_questions and in_zen_the_footer_counts_only_what_needs_the_person. Both expect one open ask, and both are this PR's to fix. The zen fixture from #478 has the person say "Push it" after the ask. Under this PR's rule, the person's own words after an ask set it aside, so neither test saw an open ask. ae8dea6 moves the fixture's ask to after the person's last turn and keeps the turn node numbers the other zen tests use. All sonny tests pass locally.


Generated by Claude Code

@chatgpt-codex-connector

Copy link
Copy Markdown

The account paying for this security review has reached its Codex usage limits. The payer can check the Codex usage dashboard. For personal accounts, using credits requires enabling “Use credits for security reviews” in Code review settings. If you do not manage the paying account, contact this repository's admins.

@lydakis
lydakis merged commit a0d054a into main Oct 31, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants