Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
7b2011f
feat: projects keep an icon, chosen from IconMCP's
fctl-sh[bot] Nov 7, 2026
79f528c
feat: agents ask people for their input with fctl ask
fctl-sh[bot] Nov 7, 2026
5bf257f
fix(web): save an icon once, draw unknown colors as ink, and keep Ico…
fctl-sh[bot] Nov 7, 2026
4597401
fix(control): drop an agent's question when its session fails or is s…
fctl-sh[bot] Nov 7, 2026
0bbc0e3
fix: refuse a question as the session ends, and ask the same one only…
fctl-sh[bot] Nov 7, 2026
72c77ef
feat: a page of pull requests, sorted by what each needs next
fctl-sh[bot] Nov 7, 2026
c84ecbf
Merge remote-tracking branch 'origin/fctl/850-agents-ask' into fctl/8…
fctl-sh[bot] Nov 7, 2026
84b4dec
Merge remote-tracking branch 'origin/fctl/850-pull-requests' into fct…
fctl-sh[bot] Nov 7, 2026
d83782d
feat(web): each tab of the pull requests page has its own list
fctl-sh[bot] Nov 7, 2026
4f4a4e4
Merge remote-tracking branch 'origin/fctl/850-pull-requests' into fct…
fctl-sh[bot] Nov 7, 2026
b667246
fix: list pull requests by what their sessions say of them
fctl-sh[bot] Nov 7, 2026
ddc04c7
Merge remote-tracking branch 'origin/fctl/850-pull-requests' into fct…
fctl-sh[bot] Nov 7, 2026
18aa2a6
feat(web): the sidebar as a tree, with what needs you and pull requests
fctl-sh[bot] Nov 7, 2026
3bddaca
fix: order merged pull requests by when they merged, and keep the pag…
fctl-sh[bot] Nov 7, 2026
8b9e42b
Merge remote-tracking branch 'origin/fctl/850-pull-requests' into fct…
fctl-sh[bot] Nov 7, 2026
406973d
fix(web): give a question two lines in what needs you, and its time b…
fctl-sh[bot] Nov 7, 2026
3dac477
fix(web): find a pull request by its row's reference, and keep the li…
fctl-sh[bot] Nov 7, 2026
82ffcee
Merge remote-tracking branch 'origin/fctl/850-pull-requests' into fct…
fctl-sh[bot] Nov 7, 2026
79b330f
fix(web): call the open project's tickets link Tickets, as its tab is
fctl-sh[bot] Nov 7, 2026
2c4b23e
style: format the merged imports in fctl-proto's api
fctl-sh[bot] Nov 7, 2026
45c3abf
fix(web): find every need, keep a page's project open, and fold only …
fctl-sh[bot] Nov 7, 2026
120d6af
fix(web): name the workspace or project the pull requests page lists
fctl-sh[bot] Nov 7, 2026
c3095e7
Merge remote-tracking branch 'origin/fctl/850-pull-requests' into fct…
fctl-sh[bot] Nov 7, 2026
4e1a0ef
docs(web): one doc comment on the pull requests page's scopeName
fctl-sh[bot] Nov 7, 2026
82da7f5
fix(web): take an answered or withdrawn question off cached sessions
fctl-sh[bot] Nov 7, 2026
4bae12d
Merge remote-tracking branch 'origin/fctl/850-agents-ask' into fctl/8…
fctl-sh[bot] Nov 7, 2026
b73a790
Merge remote-tracking branch 'origin/fctl/850-pull-requests' into fct…
fctl-sh[bot] Nov 7, 2026
0a5219a
fix(web): move through pull requests from a row's GitHub arrow too
fctl-sh[bot] Nov 7, 2026
5388f28
Merge remote-tracking branch 'origin/fctl/850-pull-requests' into fct…
fctl-sh[bot] Nov 7, 2026
725e138
Merge remote-tracking branch 'origin/main' into fctl/850-agents-ask
fctl-sh[bot] Nov 7, 2026
960ddb0
Merge remote-tracking branch 'origin/main' into fctl/850-pull-requests
fctl-sh[bot] Nov 7, 2026
06e5b73
Merge remote-tracking branch 'origin/main' into fctl/850-tree-sidebar
fctl-sh[bot] Nov 7, 2026
13214b8
Merge remote-tracking branch 'origin/fctl/850-agents-ask' into fctl/8…
fctl-sh[bot] Nov 7, 2026
ec32a7d
Merge remote-tracking branch 'origin/fctl/850-pull-requests' into fct…
fctl-sh[bot] Nov 7, 2026
0be2ee5
Merge remote-tracking branch 'origin/main' into fctl/850-pull-requests
fctl-sh[bot] Nov 7, 2026
1d03783
Merge remote-tracking branch 'origin/main' into fctl/850-tree-sidebar
fctl-sh[bot] Nov 7, 2026
f0a17bf
Merge remote-tracking branch 'origin/fctl/850-pull-requests' into fct…
fctl-sh[bot] Nov 7, 2026
1908dc7
Merge remote-tracking branch 'origin/main' into fctl/850-tree-sidebar
fctl-sh[bot] Nov 7, 2026
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
6 changes: 6 additions & 0 deletions crates/fctl-control/src/api/sessions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,12 @@ pub async fn list(ctx: &Ctx, req: &Request) -> AppResult<Response> {
if http::query(req, "mine").is_some_and(|v| v == "1" || v == "true") {
sql.push_str(" AND s.created_by = ?1");
}
// The sessions the caller started or follows (`session_followers`,
// joined for the caller in SESSION_SELECT): what the web app's Needs
// you looks through.
if http::query(req, "yours").is_some_and(|v| v == "1" || v == "true") {
sql.push_str(" AND (s.created_by = ?1 OR f.user_id IS NOT NULL)");
}
// The sessions that list a pull request, in a state, for the pull
// requests page and the sidebar: among those `pull_request_sessions`
// has, those whose own list (what their pages show, from their agents'
Expand Down
3 changes: 2 additions & 1 deletion docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@ It answers with the session, `queued`. A session is:
`?status=active` (queued to stopping), `?status=ended` (stopped or
failed) or one status, `?active_since=` (a time in milliseconds: those
that haven't ended, and those that ended since, as the app's sidebar
lists the last hour's), `?mine=1` (started by the caller), `?reviews=1`,
lists the last hour's), `?mine=1` (started by the caller), `?yours=1`
(started or followed by the caller, as the app's Needs you lists them), `?reviews=1`,
`?archived=1`, `?hidden=1`, `?pulls=open|merged|closed|any` (those that
list a pull request in that state in their `pull_requests`, as their
agents and GitHub last said; one nobody looked up counts as open: the
Expand Down
33 changes: 9 additions & 24 deletions docs/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,9 @@ five or more. Anyone on the instance creates one, as its primary admin.
lists of workspaces and projects come in it (`model::WORKSPACE_ORDER`,
`PROJECT_ORDER`): what someone hasn't placed follows, oldest first, so
nothing moves unless they move it. Which workspaces they fold in the
sidebar stays in their browser, and so does a copy of what the sidebar
sidebar stays in their browser, with how wide they dragged it, whether
they folded it into its rail and whether Needs you is open
(`web/src/lib/sidebar-layout.ts`), and so does a copy of what the sidebar
last showed them (names, colors and avatars, their role, each project's
icon, description and active sessions; `web/src/lib/sidebar.ts`): when the app opens, the
sidebar shows it at once, until the lists of workspaces and projects
Expand Down Expand Up @@ -3549,12 +3551,9 @@ in `firecracker/` in the host's data directory.
goes, and lets the states of stopped sandboxes go first while the disk
is low. One another Firecracker release saved, or one that doesn't load,
goes too, and the sandbox boots from its disk. A VM that runs through
the jailer saves its state at the root of its chroot, as the jail's
user, and the host takes it out to `saved/` before the jail goes; it
resumes in a new jail (below). A state saved in the jailer resumes
only in one, and one saved without it only without, so turning
`jailer` on or off lets the states kept before go. Image builders save
none: they boot afresh for each build.
the jailer saves none yet: Firecracker would write it in the jail's
chroot, which goes as the VM stops, so it boots from its disk. Image
builders save none either: they boot afresh for each build.
Comment on lines 3553 to +3556

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Docs for jailed VM saved state are reverted

Medium severity. The merge of main took out the paragraphs from #439 on how a jailed VM saves its state through its chroot and how a resume builds a new jail, and put back the older "saves none yet" wording. This branch changes nothing in crates/fctl-host, so the code still saves and resumes, and the doc now says it doesn't. Restore both hunks from origin/main so the file only gains the sidebar paragraph.

Found by fctl review in 1908dc7.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right, and I missed this before #443 merged. To resolve #440's sentence, I took this branch's side of the whole file, which also dropped #439's two hunks. Main has had the old "saves none yet" wording since #443 merged, and so has fctl.sh. Tracked in #445; #447 restores both hunks exactly as #439 wrote them.

- **The VM's init** is fctl-agent, from an initramfs the host makes of its
own static fctl-agent (`crates/fctl-agent/src/vm`). It mounts the root,
copies itself to `/opt/fctl/bin/fctl-agent`, sets up what images don't
Expand Down Expand Up @@ -3612,23 +3611,9 @@ checked to be a socket. Its writable disk is lent to the
jail's user while it runs, noted in `jail.json` beside the chroot, and
given back to root as the VM stops, so that a later jail with the same
uid owns nothing; jails of VMs that don't run, which a host that stopped
or crashed left, go before the next VM starts. The host keeps the VM's
configuration with its own paths in the sandbox's directory, for its
size and its disks. A jailed VM's saved state goes through its chroot:
Firecracker writes `vmstate` and `memory` at its root, as the jail's
user, and the host takes each out to `saved/` by what it opened without
following a link, checked to be a regular file of that user's with no
other name (so that the jail can't hand it a host's file, or the disk it
was lent), then gives it to root, readable by root alone. A resume makes
a new jail as a start does, but with no configuration: hard links of the
disks the VM booted with, at the same paths in the chroot, and of the
saved state, lent to the jail's user, who must read it. The host starts
Firecracker in it, has it load the state, and only then links the
vsock's socket out, since Firecracker makes it as the state loads; the
state's links in the chroot go once it is loaded. The jailer needs
cgroup v2 and a filesystem that allows device files (it makes `/dev/kvm`
in the chroot): without either, the driver isn't ready and says what to
change.
or crashed left, go before the next VM starts. The jailer needs cgroup v2
and a filesystem that allows device files (it makes `/dev/kvm` in the
chroot): without either, the driver isn't ready and says what to change.
`passt` runs outside the jail and drops to `nobody` itself; its pid's
file goes in `/tmp` under a name with a random part. A jailed VM's cache
server listens in the VM's socket directory, whose path stays short, and
Expand Down
9 changes: 5 additions & 4 deletions docs/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -605,10 +605,11 @@ workspace chips or a page's tabs, scrolls in a row of its own
whatever still sticks out. A card whose buttons go under its text when it
is narrow, like Home's invitations, goes by its own width rather than the
screen's, with a container query (`@container` on the card, `@xl:` and
`@max-xl:` inside): from 768 px the sidebar takes 244 px of the screen, so
a card is narrower at 768 px than at 767. When you change a page, look at
it 320 to 430 px wide, with long names in its data, and beside the sidebar
at 768 px.
`@max-xl:` inside): from 768 px the sidebar takes 288 px of the screen
unless someone dragged it wider (up to 420) or narrower (240), or 60 folded
into its rail, so a card is narrower at 768 px than at 767. When you change
a page, look at it 320 to 430 px wide, with long names in its data, and
beside the sidebar at 768 px.

## Other repositories

Expand Down
7 changes: 6 additions & 1 deletion docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,12 @@ started.
project's sessions under it, in all your workspaces: those that haven't
ended (starting, at work, waiting or paused), and for an hour those that
stopped or failed, dimmer, the one you are on marked, so a click switches
to another. On a phone, tap the session's title for its
to another. Above them, **Needs you** gathers what waits on you in the
sessions you started or follow, most pressing first: what an agent asks
you, a failure, failed checks, a pull request an agent finished, a reply
it waits for. Its count shows in the browser's tab, and on fctl's icon
where you installed it. **Pull requests** opens every pull request agents
opened, sorted by what each needs next. On a phone, tap the session's title for its
details: its pull requests, the files changed, its branch and who else is
watching. Type below to message the agent, with files attached if you
like; it reads your message at its next step. **Interrupt** stops the
Expand Down
3 changes: 2 additions & 1 deletion docs/llms.txt
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,8 @@ Each recipe says who does what: some steps take a person with a role in the proj
## Web app

- **Agent Floor** (`/`): the task box (project, model, effort, GitHub access, files; ⌘Enter starts, **Schedule** turns the task into a schedule), sessions **Working now** and **Recently** (choosing one of your workspaces above them lists only its sessions and moves the task box to its first project where you can start sessions, in your sidebar order), plan usage, invitations. ⌘K searches sessions, projects, workspaces and what sessions said.
- **Sidebar**: your workspaces and their projects in your order, and under each project, on every page, its sessions that haven't ended and, for an hour, those that stopped or failed.
- **Sidebar**: the Agent Floor; **Needs you** (what your sessions and those you follow wait on you for, most pressing first: an agent's question, a failure, failed checks, a pull request its agent finished, a reply, a pause; its count shows in the tab's title and on the installed app's icon); **Pull requests** (`/pulls`, with how many are ready for review); then your workspaces and their projects in your order, each project with its icon, and under each, on every page, its sessions that haven't ended and, for an hour, those that stopped or failed. The project a page is about shows its own pull requests and tickets too. Drag its edge to make it wider (a double click puts it back) and ⌘\ (Ctrl+\) folds it into a rail of icons.
- **Pull requests** (`/pulls`): the pull requests agents opened, each once with its sessions; open ones sorted by what each needs next (ready for review, checks failing, agents at work, merge queue, drafts), merged and closed ones by day; a filter, a workspace or project, Mine; `j`/`k`, Enter, `o` for GitHub, `/` to filter.
- **Session page** (`/s/<id>`): the live transcript (tool calls fold into lines, edits show highlighted; the images the agent read show small under them for 7 days), the composer to message the agent (with its owner's lists for the model and effort level it works at from its next step: a new model, which reads the conversation again without Claude's prompt cache, asks first), Interrupt, Stop and Resume, Share, the follow bell, Changes (the files the branch changed; a file opens every file's diff, highlighted, one after the other at that file, with the list of files beside them marking the one in view: `j`/`k` or the arrow keys in the list go from file to file, `n`/`p` from change to change, ⌘F finds in all the diffs (Enter and Shift+Enter, ⌘G, Alt+C/W/R for case, whole words and regular expressions), `s` lays them out side by side, `w` wraps lines; as the agent changes the files, its changes come in where the reader looks while the lines in view stay put, and a button goes to those out of sight), pull requests with checks, context and usage, retrospectives, ⌘F to find in the transcript, Open in Claude.
- **Project page** (`/p/<slug>`): Sessions, Tickets, Schedules, Reviews, Memory, Retrospectives, Repositories and Members tabs; maintainers and owners also see Settings (agents, sandbox, GitHub, follow-ups…) and Secrets.
- **Workspace page** (`/w/<slug>`): Projects, People, Runners (with the command and token that add one, the runners that wait for your approval, and the enrollment tokens: every one for admins, members' own for members), GitHub, Linear, Settings, and the Audit log for admins.
Expand Down
Loading
Loading