Skip to content

Add grounded next steps with immediate day-two work and held results - #5941

Open
brsbl wants to merge 6 commits into
mainfrom
bb/next-step-tool-and-day-2-result-thr_8b3mev3pze
Open

brsbl wants to merge 6 commits into
mainfrom
bb/next-step-tool-and-day-2-result-thr_8b3mev3pze

Conversation

@brsbl

@brsbl brsbl commented Oct 21, 2026 •

Copy link
Copy Markdown
Collaborator

Human comments

What was wrong

When a new user's first day ended, nothing gave them a reason to come back. Work scheduled for overnight also failed if the laptop slept.

What changed

  • After a finished turn, agents can propose one grounded next step, shown as a quiet row under the turn.
  • Accepting a task starts it right away as a new thread under the current one.
  • On a user's first day, the row can offer work that runs now and reports its result at 9:00 the next workday.
  • The CLI and SDK use the same next-step actions as the row.

How you verified

  • Remote CI passed on the final head. Run
  • Database-backed tests cover proposals, dismissals, next-workday timing, restarts and cancellation; all pass.
  • Browser checks and screenshots are pending.
Strings for copy review

Next step · Start · Start now · Work started · Result reminder {tomorrow|date} at {time}, or when you return · Cancel reminder · Your scheduled result is ready · Scheduled work failed. Open the thread to retry. · Couldn’t update this next step. Try again.

Fixes #5940

BB-Thread-ID: thr_8b3mev3pze

Browser verification and screenshots

The Next step flow passed in Chrome for Testing with sample completed turns: the quiet proposal row, task acceptance creating one child thread, immediate work with a result reminder, and Cancel reminder. Cancellation persisted after a hard reload. Desktop and mobile layouts remained readable.

The idle-time fixture simulated 31 minutes of inactivity; no real 30-minute or overnight wait was performed. The completed result was held before cancellation. Pending: delivery at the real reminder time or next opening, and operating-system notification display.

Before: d1627a473684d29920567b3cf9c05bd68edb2d97 · After: 23169d5d6e7b80643ebb04aeadf77e450c8bdb85 · Captured at 2×. The baseline has no Next step row; its finished-turn view is shown for comparison.

State Viewport Before After
Task proposal Desktop · 1440×900 Before task proposal After task proposal
Task proposal Mobile · 390×844 Before task proposal After task proposal
Task accepted Desktop · 1440×900 Before task accepted After task accepted
Task accepted Mobile · 390×844 Before task accepted After task accepted
Reminder offer Desktop · 1440×900 Before reminder offer After reminder offer
Reminder offer Mobile · 390×844 Before reminder offer After reminder offer
Reminder confirmed Desktop · 1440×900 Before reminder confirmed After reminder confirmed
Reminder confirmed Mobile · 390×844 Before reminder confirmed After reminder confirmed
Reminder cancelled Desktop · 1440×900 Before reminder cancelled After reminder cancelled
Reminder cancelled Mobile · 390×844 Before reminder cancelled After reminder cancelled

AGENT GENERATED

@brsbl
brsbl force-pushed the bb/next-step-tool-and-day-2-result-thr_8b3mev3pze branch from 13915e5 to 36800b6 Compare October 21, 2026 00:23
@brsbl
brsbl force-pushed the bb/next-step-tool-and-day-2-result-thr_8b3mev3pze branch from bbcb93d to 5752cb7 Compare October 21, 2026 04:20
@brsbl brsbl changed the title Offer grounded next steps and a one-time day-2 result Add grounded next steps with immediate day-two work and held results Oct 21, 2026
@brsbl
brsbl marked this pull request as ready for review October 21, 2026 07:49
@chatgpt-codex-connector

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 ⚠️ Failed 2026-10-21T07:49:25.067282Z
We couldn’t complete this review. Comment @codex review to try again.
23169d5 Draft marked ready
ℹ️ 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.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

This branch has not been deployed

No deployments
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.

Offer grounded next steps and a one-time day-2 result

1 participant