Repository navigation
feat(autopilot): answers to a paused autopilot can wake it - #682
Merged
kalaspuff merged 5 commits intoDec 4, 2026
Merged
Conversation
Answering what a paused autopilot asked stored the answer and left it paused: fctl woke it only while it was on, so an autopilot that paused itself to wait for that answer never heard it until someone resumed it, while the tab said "Answered: it hears now". Answers, secrets and declines take wake_autopilot, which resumes the autopilot with them as a resume does (checked before anything goes). The Autopilot tab asks first while it's paused, in the pink card a message to its session uses: Wake it and answer (focused, so ⌘↩ then ↩ wakes it) or Answer without waking it; the decline dialog offers both. fctl autopilot answer, secret and decline take --wake, and say when the autopilot is paused.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
kalaspuff
approved these changes
Dec 4, 2026
kalaspuff
deleted the
fctl/1831-when-responding-to-an-autopilot-ask-and
branch
December 4, 2026 11:26
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
Answering what a paused autopilot asked stored the answer, closed the ask and left the autopilot paused: the answer endpoint woke it only while it was on. So an autopilot that paused itself to wait for that answer never heard it until someone resumed it, while the tab still said "Answered: it hears now". Carl Oscar chose to treat answers the way a message to a paused autopilot's session is treated: ask the person first, rather than always resume it, because a resume can move the autopilot onto the answerer's Claude subscription.
wake_autopilot. It resumes the autopilot with the answer, asPOST …/autopilot/resumedoes. That resume is checked before anything is stored, so a refused wake leaves the ask open. After the answer is stored, fctl resumes the autopilot and its wake hears the answer ("Woke for being resumed, 2 answers"). The field is optional, so older clients are unaffected.fctl autopilot answer,secretanddeclinetake--wake. Without it, they say when the autopilot is paused and how to wake it.Verified with unit tests (web and CLI),
cargo xtask check --quick, and end to end incargo xtask dev: the autopilot paused itself with two open asks;fctl autopilot secretleft it paused and said so; Wake it and answer on the tab resumed it, and it folded both answers into its plan. The design docs are updated in hyperstructure/design:Screenshots
Before, on
main, while paused: the line promises it hears the answer at once.After: ⌘↩ on an answer while it's paused, light and dark.
The paused line under the answer, and the card for a secret:
Declining while it's paused:
At phone width, the pill chosen stays lit:
After Wake it and answer: on again, the log shows the resume and the wake that heard both answers, and the toast says so.
Worth confirming
fctl session
Note
Medium risk. It adds a field to the answer API and changes how answering an ask on a paused autopilot works in the CLI, control API and web app, so an answer can now resume the autopilot.
What it does. Lets an answer or secret given to a paused autopilot's ask optionally wake it, through a new
wake_autopilotfield on the answer and decline requests. The CLI and the web Autopilot tab ask the reader whether to wake it, and the web card stays open after a failed send to retry unless the answer changed meanwhile.API change. The answer and decline requests gain
wake_autopilot, with generated web types and docs updated.fctl review's first look at
c4737a5· 16 files, +908 −126 · Review agent settings