Registry Mirror
Skip to content

Conversation

@backnotprop

Copy link
Copy Markdown
Owner

Adds Re-ask beside Reply in a thread's foot (approval inbox-reask). It shows when 2 or more questions are waiting.

Pressing it sends the agent that asked a note: ask your questions still open in this thread again, together in one new message, with fresh context. The note lists the open question ids. It asks for a Replaces: <id> line on each question asked again, and supersedes for the ones that no longer apply.

The owner's rules:

  • The row stays in Sent until the agent asks again.
  • Picks the person made but did not send go with the note as answers.
  • When several sessions asked, each session gets its own note.

How it behaves:

  • The note is the person's reply, so it is delivered like one: Queued, Sending, Send now, Delivered.
  • It has its own wake line, INBOX_REASK_INSTRUCTION, in the connection contract. The mod's copy is updated to match.
  • If the asking session has ended, Re-ask opens the same route choice as a reply, worded "Who should ask again?".
  • The phone door gets POST messages/:id/reask (contract 7.61).

Tests:

  • Store rules: store-reask.test.ts
  • Route guards, the wake, an MCP agent superseding its questions, and the door: inbox-reask.test.ts
  • DOM: reask.test.tsx
  • e2e on the compiled binary (desktop light and dark, 1280, the ended-session choice, and a phone in WebKit): inbox-reask.spec.ts

Typecheck passes, and the affected suites pass.

Docs: AGENTS.md ("Questions and Send", the list rule, "Replaced questions", the route table), plannotator inbox --help, and the marketing reference page.

Screenshots: /tmp/reask-build-shots/reask/ on the machine that built this.

Co-Authored-By: Claude noreply@anthropic.com

backnotprop and others added 8 commits October 20, 2026 15:29
A Re-ask button beside Reply asks the agent that asked for its questions
still open in the thread again, together in one new message with fresh
context. The note is the person's reply (delivered like one, Send now
works) with its own wake line; it lists the open ids and asks for
Replaces: lines, or supersedes for questions that no longer apply.
Unsent picks go with it as answers, the row sits in Sent until the agent
asks again, each session gets its own note, and an ended asker gets the
reply's route choice. Window, store, route, phone door (7.61), docs and
tests.

Co-Authored-By: Claude <noreply@anthropic.com>
- A session with unsent picks and nothing open gets a plain reply carrying
  them in the same press, so a Re-ask never strands a pick.
- The row stays in Sent until every session that got a note has written.
- Sent to another session (the asker ended): the note says "the N open
  questions <agent> asked", the wake has its own redirected line, and what
  that session leaves open stays re-askable.
- The thread-state model gains a reask op; search indexes only the
  person's own words.

Co-Authored-By: Claude <noreply@anthropic.com>
A thread sits in Sent only while every open question is listed in a
Re-ask note that still waits. A note waits until its session writes
again, and only while a question it lists is still open, so another
session's question, a supersede by anyone, or an answer ends it. The
window's hiding follows the same rule. Invariant 3 is now checked against
the questions and notes themselves, with model cases for another
session's question, a supersede by someone else, and the person's words
after a note.

Co-Authored-By: Claude <noreply@anthropic.com>
…s host and session

Co-Authored-By: Claude <noreply@anthropic.com>
reaskTargets found the 'just answered a note' holder by the questions'
message_id; a question record without one (a question that arrived while
the thread was open, in seenOnSight.test) matched no message, the
non-null find threw, and ThreadPane blanked the thread. The rules now read
the messages that hold waiting questions, and reaskedIn takes the holding
message's id. The other non-null assertions in the Re-ask code are gone.

Co-Authored-By: Claude <noreply@anthropic.com>
# Conflicts:
#	packages/core/inbox-types.ts
#	packages/inbox/components/InboxList.tsx
'the caller going away' waited for any live fake, which could be the amp
--version probe that runs first and exits; the next read then found
nothing (seen in release CI). Wait for the recorded mcp call instead, as
inbox-connect-route.test does.

Co-Authored-By: Claude <noreply@anthropic.com>
@backnotprop
backnotprop merged commit bc231f7 into main Oct 20, 2026
32 checks passed
backnotprop added a commit that referenced this pull request Oct 20, 2026
Re-ask (#2018) took contract 7.61, so the reply draft's door row is 7.62.
A Re-ask that waits keeps its row in Sent (or Quiet after a Mark read) even
when the thread holds unsent work; the row still shows its Draft label.
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.

1 participant