Repository navigation
feat(web): ask to wake a paused autopilot when you message its session - #677
Merged
kalaspuff merged 4 commits intoDec 3, 2026
Merged
Conversation
A message to the session a paused autopilot works in reached its agent
alone: its fctl is refused while paused, so it did the work in that one
session instead of planning and delegating. The message box now asks
first, in a card over it, whether to wake the autopilot with the
message (first, focused) or send it without waking it; the earlier
session's card wakes it too.
POST /sessions/{id}/messages takes wake_autopilot, which checks what a
resume does, moves the session to the connection it runs on, delivers
the message and then resumes the autopilot. Its wake treats a session a
person just messaged as at work, so it carries on there rather than
hand off to a fresh session under the message. Autopilots that paused
themselves say so (paused_itself, migration 0080). fctl send --wake
does the same from the CLI.
The now line in a paused autopilot's session says who paused it and why, rather than that fctl wakes it; fctl autopilot says whether it paused itself; autopilots hear that people may resume them with a message to their session.
This comment has been minimized.
This comment has been minimized.
- A wake for a fresh session that a message on its way holds tries again when the message stops counting, not at once in a loop. - A resume that fails once the message went answers success, with not_woken saying why it stays paused, rather than a 409 that clients read as "not sent". - The web app's toast says what the server did (woke, still paused, or neither), the paused line yields to the sign-in, refused and limit hints, and only a paused autopilot's session ticks each minute. - autopilots.pauser (itself, fctl or person; migration 0080 rewritten, unshipped) replaces paused_itself, so a pause by someone whose account is gone, or one the log doesn't explain, isn't called fctl's.
kalaspuff
approved these changes
Dec 3, 2026
kalaspuff
deleted the
fctl/1811-when-sending-a-follow-up-directly-to-an
branch
December 3, 2026 08:36
kalaspuff
pushed a commit
to hyperstructure/design
that referenced
this pull request
Dec 3, 2026
… it (#90) ## Summary Describes how a message to the session of a paused autopilot asks to wake it, in `docs/web-app/autopilot.md`. While paused, the autopilot's `fctl` reaches nothing, so a message there reached its agent alone, which did the work in that one session instead of delegating. Sending there now asks first in a pink card over the message box. The card says who paused it and when, quotes the reason, and offers **Wake it and send** (first, focused) or **Send without waking it**. The docs cover the line above the box, the card's copy for each way and when a way is disabled, the now line's **Paused** state (who paused it and why), and **Wake it and send to #20** on the earlier-session card. The header table's paused sentence now tells "It paused itself" from "fctl paused it" and "Someone paused it" (a person whose account is gone). The line above the box yields to what blocks the session (Claude refusing its connection, signing in, a subscription at its limit), and a wake that fails after the message went says so in a red toast rather than reading as a failed send. ## Related - hyperstructure/fctl#677 [fctl session](https://app.fctl.sh/s/ses_01M8XCV7PFVCPT15R63TYDM7CY) <!-- FCTL_REVIEW_SUMMARY --> --- > [!NOTE] > **Low risk.** It only changes a design document, docs/web-app/autopilot.md, so no code or behavior is affected. > > **What it does.** Documents what happens when a reader messages the session of a paused autopilot: a pink line above the message box, a card that asks whether to wake it or send without waking it, and how a wake that fails after the message went is reported. It also updates the Paused status copy, which now says who paused the autopilot, when and why, and the now line's Paused state. > > <sub>[fctl review](https://app.fctl.sh/s/ses_01M8XFT5W5XWJ5W10ST00N43XE)'s first look at [`badba5a`](badba5a) · 1 file, +43 −4 · [Review agent settings](https://app.fctl.sh/p/fctl?tab=reviews)</sub> <!-- /FCTL_REVIEW_SUMMARY --> --------- Co-authored-by: fctl-sh[bot] <343971779+fctl-sh[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
A message to the session a paused autopilot works in reached its agent alone. Its
fctlis refused while the autopilot is paused, so it did the work in that one session instead of planning and delegating ("Because the autopilot is paused, fctl won't let me start a session or update the plan and log, so I'm doing it directly in this session."). Autopilots often pause themselves to wait for people, so the next message is usually what they were waiting for. Now sending there asks first, in a pink card over the message box. The card says who paused it and when ("It paused itself 2 hours ago", "Noor paused it", "fctl paused it"), quotes its reason, and explains that while it's paused the agent can't start or steer sessions. It offers Wake it and send (first and focused, so Enter twice wakes it) or Send without waking it. The line above the box says "The autopilot is paused · your message can wake it". The now line said "Resting · fctl wakes it when something needs it", which was wrong while paused: it now says "Paused" with who paused it and why. The earlier-session card (#562) offers Wake it and send to #N while paused.POST /sessions/{id}/messagestakeswake_autopilot. It runs a resume's checks first (steer permission, workspace setting, take-over, Claude connection, confirming it's you), moves the session to the connection the autopilot will run on, delivers the message, then resumes the autopilot. The response sayswoke_autopilot.ap::own_status). So the "resumed" wake reaches that session at its next step instead of handing off to a fresh session and stopping the old one under the message, which would have happened for any session past its 12-hour shift. This also covers a person writing to an idle session just as a check-in fires.autopilots.paused_itself(backfilled from the log), shown asAutopilot.paused_itself, so the web app andfctl autopilotcan tell its own pause from fctl's.fctl send --wakedoes the same. A plainfctl sendto a paused autopilot's session says what happened and how to wake it.Verified in
cargo xtask devwith fake-claude. I put playground on autopilot, made it pause itself, then used Wake it and send. The transcript has the message, then "fctl woke you… people resumed you after a pause" in the same session. The log reads "Dev Owner resumed it with a message to its session", then "#1 Woke as it was resumed", and it started its next session and ticked its plan. With its session aged 13 hours in D1 (idle, and in another run stopped after a person's pause),fctl send --wakestill woke it in that session rather than a fresh one. Unit tests cover the card and composer flow, the pause wording,own_status, the CLI's request, and in D1 the joined message timing andpaused_itself. The web, CLI and control-plane tests pass, the D1 ones included.Screenshots
The message box in a paused autopilot's own session, before and after:
Sending asks first, dark and light, 1440 px wide:
On a phone, 390 px wide:
After Wake it and send: the wake follows the message in the same session, and the autopilot starts its next session (#3) and ticks its plan:
An earlier session of its own, while the autopilot is paused:
Related
Worth confirming
fctl session
Note
Medium risk. It adds a migration and changes how a message to an autopilot's session resumes the autopilot, and how a wake decides whether a session is still at work.
What it does. When you message the session of a paused autopilot, the web app now asks whether to wake the autopilot along with the message or to send it without waking.
POST /sessions/{id}/messagestakeswake_autopilot, runs the resume checks, delivers the message and then resumes the autopilot, andfctl send --wakedoes the same. A wake treats its own session as at work for ten minutes after a person's message, and a newautopilots.pausercolumn (itself, fctl or person) lets the web app and CLI say who paused it. If the resume fails after the message went, the response is a success withnot_wokensaying why.Migration 0080.
0080_autopilot_pauser.sqladdsautopilots.pauserand backfills it from the autopilot log's wording, leaving NULL where the log doesn't match.fctl review's first look at
3309e0c· 33 files, +1778 −236 · Review agent settings