diff --git a/docs/web-app/autopilot.md b/docs/web-app/autopilot.md index c2d3d02..5c3b799 100644 --- a/docs/web-app/autopilot.md +++ b/docs/web-app/autopilot.md @@ -153,6 +153,35 @@ the menu off at its foot, and *Take off autopilot…* couldn't be reached. "It goes into {project}'s secrets, encrypted. The autopilot hears only that it's set; sessions that start from now on have it as $NAME." On a phone the field and the button stack. People who can't set the project's secrets are told who can. +- **While it's paused, a reply asks first whether it wakes it** (`components/project/paused-answer.tsx`). fctl wakes a + paused autopilot for nothing, so an answer, a secret or a no waits unheard until someone resumes it, and an + autopilot that paused itself to wait for people waits for just that. Before fctl#682, the answer went, the + ask closed, the toast said "Answered: it hears now", and nothing woke. Now, as a message to its session does (below), + for everyone who replies: only those who steer it answer (others read "The project's maintainers and owners + answer it.", or "The workspace's admins answer it."), and they may resume it: + - The line under the answer says so in pink's tone: the mark, "It's paused, so it hears your answer once resumed: + sending asks whether to wake it now." (then the files sentence); the secret's line ends "It's paused: saving asks + whether to wake it now." The answer's line steps aside while the card shows, which says it all; the secret's stays, + as the end of the paragraph about where the secret goes. + - Sending (a pill, the send button, ⌘Enter) or *Save secret* opens the same pink card as the paused session's + (`WaysCard`), under the field: the mark, "The autopilot is paused", who paused it and when, its reason under a + pink rule, and "While it's paused, fctl doesn't wake it, not even for an answer." ("The secret is saved either + way. While it's paused, fctl doesn't wake it to hear that it's set."). The pill chosen stays lit + (`aria-pressed`). Then the ways: + - **Wake it and answer** (*Wake it and save the secret*; first, raised, focused, so ⌘Enter then Enter wakes it): + "It resumes and takes your answer up at once, with what happened while it was paused." ("… as what it waited + for." when it paused itself), and whose subscription it runs on once woken where that changes, as *Resume* + says it. + - **Answer without waking it** (*Save without waking it*): "It stays paused, and hears your answer once someone + resumes it." + - The footer says "esc back to your answer" ("the secret"); Escape, or ×, closes it with the reply as it was. Each + reply asks afresh: someone answering three asks may wake it with the last alone. + - *Decline…*'s dialog, while it's paused, says "It's paused, so it hears your no, with why if you say, once someone + resumes it, or now if you wake it." and offers *Decline without waking it* and **Wake it and decline** (primary, + play icon) in place of Cancel and Decline, with whose subscription it then runs on under the reason. + - Toasts say what happened: "Answered, and woke the autopilot: it takes it up now"; "Answered: it hears once it's + resumed"; and in red, should the resume fail once the answer went (its owner changed meanwhile), "Answered, but + the autopilot is still paused: resume it to wake it", so that nobody looks for an answer box that's gone. **Steer it**: a borderless textarea in a card ("A priority, a constraint, context it should know: “Focus on the pipeline board this week”"), *Add note*, and the rule: "It hears it at once, and keeps it until you remove it. A newer