Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 43 additions & 4 deletions docs/web-app/autopilot.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ the status's tone from its top left corner:
| Its session starts | **Waking** (accent) | "Its session #7 is starting." |
| It asks something | **Waiting for you** (blue) | "It asks you 2 things, and goes on with what it can meanwhile. It checks in at 14:20, unless something needs it sooner." |
| Resting | **On** (blue) | "It checks in at 14:20, unless something needs it sooner." / "It wakes at 14:05, as it asked…" / "It wakes now for what's new." / "A fresh session takes over now." |
| Paused | **Paused** (pink; the card's border too) | "{name} paused it 2m ago: {reason} It wakes again once someone resumes it." / "It paused: the direction is done…" |
| Paused | **Paused** (pink; the card's border too) | "{name} paused it 2m ago: {reason}. It wakes again once someone resumes it." / "It paused itself 2h ago: Waiting for the Stripe keys." / "fctl paused it 3h ago: {fctl's reason}" / "Someone paused it" for a person whose account is gone (`pauser` says who; "It paused" for one from before fctl kept it, whose log didn't say) |

Under it, the facts: whose subscription ("your" when it's yours), how many check-ins and the last, and a link to its
session. Controls: *Wake now* and *Pause* while on, *Resume* (primary) while paused, and ⋯ (Change how it works…, *Run
Expand Down Expand Up @@ -264,7 +264,9 @@ and 20 s).
as the autopilot: it can't start sessions or steer them, so it would take your message on alone." An × ("Keep
editing") closes it. Under it, the two ways the message can go, as full-width rows, each what it does over a line
of what follows, with a round send arrow at its end:
- **Send to #20** (first, raised, its arrow in an ink circle as the composer's Send is): the session's state
- **Send to #20** (first, raised, its arrow in an ink circle as the composer's Send is; **Wake it and send to
#20** while the autopilot is paused and the reader steers it, which resumes it with the message, as the card
below does): the session's state
beside it as the tab says it, a dot and a word (*At work*, *Waking*, *Resting*, *Paused*) and "started 2h ago";
then "The autopilot takes it up there, and you go with your message." It sends the message, with its files,
to that session, toasts "Sent to #20, where the autopilot works now" and opens it, where the message shows as
Expand All @@ -286,9 +288,46 @@ and 20 s).
puts them back and leaves the card open. The card closes with the message: emptied, it closes, and a message
typed afresh asks afresh rather than open the card, and take the focus, at its first character. Leaving the
session closes it too.
- The card rises in (`animate-rise`) as the question card does.
- The card rises in (`animate-rise`) as the question card does. Its shell, ways and keys are
`components/session/ways.tsx`, which the paused card below shares.
- **The session a paused autopilot works in asks whether a message wakes it** (`components/session/paused-pilot.tsx`).
While it's paused, its agent's `fctl` reaches nothing, so a message there reached the agent alone, which did the
work in that one session: an autopilot that paused itself to wait for people, sent what it waited for, answered
"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." It pauses itself to wait more often than for a direction done, and what people send next
is what it waited for, so waking it is the first way, not a detour to its tab. Now, as for an earlier session:
- **Above the message box**, in the "… is typing" line, the mark in pink (paused's tone) and "The autopilot is
paused · your message can wake it" ("· it acts again once someone resumes it" for a reader who doesn't steer
it). It steps aside while the card shows, once the reader chose to send without waking it, and for what stands
in the session's way (Claude refusing its connection, signing in, a subscription at its limit), which comes
first: the card still asks as they send.
- **Sending asks first**, in the same card as an earlier session's, in pink: the mark in a round pink tile, "The
autopilot is paused" in pink, then who paused it and when as the title ("It paused itself 2 hours ago", "Noor
Haddad paused it yesterday", "fctl paused it 3 hours ago"), its reason under a pink rule (three lines at most),
and what a message does while it's paused: "While it's paused, this session's agent can't start or steer
sessions, or keep the plan and log: it would take your message up on its own, here." Then the ways:
- **Wake it and send** (first, raised, focused): "It resumes and takes your message up as the autopilot: it plans,
starts and steers sessions, and hears what happened while it was paused." One that paused itself takes it up
"as what it waited for". Where waking it moves it to the reader's subscription, a sentence says so, as *Resume*
on its tab does: "From now on it runs on your Claude subscription." / "It runs on Noor Haddad's Claude
subscription, as they keep it." The message goes, with its files, as the reader's, the autopilot resumes, and
fctl's wake card follows in the same session at its next step ("Woke as it was resumed"); a toast says "Woke the
autopilot: it takes your message up as the autopilot", and its details turn to *Waking*, then *At work*.
Disabled, with why, for a reader who doesn't steer it ("Only the project's maintainers and owners resume its
autopilot: ask one of them to wake it.") and in a session that failed ("This session failed: resume the
autopilot from its details, and fctl starts it a fresh session.").
- **Send without waking it** (*Resume here without waking it* for a failed session): "This session's agent takes
it up on its own, and the autopilot stays paused." For a question to the agent (why did you pause?). The page
asks no more in this session until the reader leaves it.
- Keys, closing, and a failed send are as the earlier session's card has them: a refused wake (the workspace's
admins turned autopilots off, no Claude connection to take it over on) toasts why and leaves the message and the
card as they were. One that fails once the message went (its owner changed meanwhile) isn't a failed send: the
message stays sent, and a red toast says "Sent, but the autopilot is still paused: {why}", so that nobody sends
it twice. Resumed by someone else meanwhile, it simply went.
- **The now line** doesn't say *Your turn* where it isn't the reader's: its own session at rest says **Resting** —
"fctl wakes it when something needs it"; an earlier session of its own at rest says **Handed over** — "The autopilot
"fctl wakes it when something needs it", or while it's paused, when fctl doesn't, **Paused** — who paused it, when
and why ("It paused itself 2 hours ago: Waiting for the Stripe keys."; the whole of it on hover, hidden on a phone,
where the line above the box says it is paused); an earlier session of its own at rest says **Handed over** — "The autopilot
works in #20 now", as fctl wakes it there, not here; a session it started that waits says **The autopilot's turn** —
"It hears that the agent waits". All in ink, with the mark, not the blue of *your move*.

Expand Down
Loading