Skip to content

feat: autopilots tend people's pull requests and show in their session - #511

Merged
kalaspuff merged 3 commits into
mainfrom
fctl/1152-an-autopilot-session-should-probably-occ
Nov 11, 2026
Merged

kalaspuff merged 3 commits into
mainfrom
fctl/1152-an-autopilot-session-should-probably-occ

Conversation

@fctl-sh

@fctl-sh fctl-sh Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Summary

An autopilot now looks after the sessions people start in its project (or workspace) too, not only its own. Its brief (fctl autopilot brief) gains a People's sessions section: the ones at work and the ones resting with a pull request still open, with who started each, how long ago its agent last worked and how its pull requests' checks stand. Its wake messages carry the ones that ended a turn with a pull request open, without waking it for them. The briefing tells it those sessions are theirs (it never messages, stops or takes one over), to plan around them, and once one looks ready or stuck, to ask people with fctl autopilot ask whether it should help get it merged; if they say yes, it starts a session of its own to bring the pull request up to date, resolve conflicts, get checks passing and merge it (or ask people to merge it, without the merge power), and notes the answer in its plan so it doesn't ask again. Review agents' and archived sessions stay out.

An autopilot's own session now opens its sidebar (the details sheet on a phone) with the autopilot, as its tab shows it: where it stands, with Wake now / Pause / Resume for those who steer it and what it asks (each opens the tab to answer), its plan with its progress, and the sessions it started. In an earlier session of its own it says which one fctl wakes it in now. Changes show only once that session changed something, and the retrospective and memory sections stay out there. The tab's "Updated now ago" now says "Updated just now".

I checked it in cargo xtask dev: a person's session with an open pull request (set in local D1, as dev has no GitHub) showed in the autopilot's brief while one without stayed out; another ending a turn with a failing check showed in the next wake message (below); and the screenshots are from the autopilot's own session there. cargo xtask check --quick passes, with new tests for the brief, the wake message, the briefing, the pull request lines and the session page.

People's sessions that ended a turn with a pull request open (theirs: ask people before you help get one merged):

- playground#2 “Gift cards”, Dev Owner's: ended its turn just now; pull request #70 (open, 1 check failed)

Screenshots

An autopilot's own session's sidebar, before (Changes, Retrospective and Memory, all empty) and after:

before-rail-dark-top.png after-rail-dark-top.png

The light theme, and the details sheet on a phone:

after-rail-light-top.png after-phone-dark.png

Worth confirming

  • Decision: The autopilot always asks before it helps with someone else's pull request, and helps through a session of its own on its owner's subscription rather than by messaging the person's session, which would spend that person's plan and steer a session it didn't start.
  • Decision: People's sessions don't wake the autopilot; they come with its next wake (at the latest its check-in), as you said it should look "occasionally".
  • Decision: Its asks still notify the people who follow its own session (its owner among them), not the person who started the session it asks about.
  • Decision: The sidebar shows the plan and its sessions but not its direction, notes or log, which stay a click away on its tab (↗ in the card's corner), to keep the sidebar short.

The design docs for the sidebar:

fctl session


Note

Medium risk. It changes what an autopilot's brief, wake messages and briefing tell the agent, so its behavior toward people's sessions and pull requests changes, and adds new SQL over sessions; the web part is a contained UI addition.

What it does. An autopilot now lists the sessions people start in its project or workspace (at work, or resting with a pull request open) in its brief and wake messages, and its briefing tells it to ask people before helping get such a pull request merged. An autopilot's own session now shows its autopilot, plan and sessions in the details rail, reusing the controls from its Autopilot tab, and the plan's update time now reads "just now" rather than "now ago".

Autopilot briefing. The briefing now instructs autopilots to look after people's pull requests and ask before starting sessions to merge them.

fctl review's first look at f667e44 · 16 files, +901 −140 · Review agent settings

fctl-sh Bot added 3 commits November 11, 2026 11:23
Its brief lists people's sessions at work and those with a pull request
still open, with their checks, and wake messages carry those that ended
a turn with one open. The briefing asks it to plan around them and,
once one looks ready or stuck, to ask people whether to help get it
merged, with a session of its own.
…ssions

Its details lead with where the autopilot stands (with Wake now, Pause
or Resume, and what it asks), its plan and the sessions it started, as
its Autopilot tab shows them; changes show only once it made some, and
retrospectives and the memory, which its sessions keep, stay out.
@kalaspuff
kalaspuff merged commit 7437a0b into main Nov 11, 2026
14 checks passed
@kalaspuff
kalaspuff deleted the fctl/1152-an-autopilot-session-should-probably-occ branch November 11, 2026 11:43
kalaspuff pushed a commit to hyperstructure/design that referenced this pull request Nov 11, 2026
)

## Summary

Documents how an autopilot's own session shows its autopilot in its
details (the rail on a computer, the sheet on a phone): a card of where
it stands with *Wake now* / *Pause* / *Resume* and what it asks, its
plan and the sessions it started, and the sections that stay out there
(Changes until it changed something, the retrospective and memory). The
session view's page on the details rail points to it.

The change it describes is in hyperstructure/fctl:

- hyperstructure/fctl#511

[fctl session](https://app.fctl.sh/s/ses_01M7552J9TNXXFJCK69CQMN7H3)

<!-- FCTL_REVIEW_SUMMARY -->
---

> [!NOTE]
> **Low risk.** Documentation only: it adds a section to two design docs
and changes one line in the known gaps, with no code or tokens touched.
>
> **What it does.** Documents how the details rail (or sheet on a phone)
of an autopilot's own session leads with the autopilot itself: a status
card, its plan and its sessions. It also says which usual sections that
session leaves out, adds a pointer from the session view doc, and notes
in the known gaps that these details poll rather than listen on the
feed.
>
> <sub>[fctl
review](https://app.fctl.sh/s/ses_01M756GKGWTPABR70FZKV9BK0H)'s first
look at
[`3dbc66a`](3dbc66a)
· 2 files, +25 −2 · [Review agent
settings](https://app.fctl.sh/p/fctl?tab=reviews)</sub>

<!-- /FCTL_REVIEW_SUMMARY -->

Co-authored-by: fctl-sh[bot] <fctl-sh[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant