Skip to content

docs(web-app): an ask about a session links it and takes files - #52

Merged
kalaspuff merged 2 commits into
mainfrom
fctl/1258-an-autopilot-session-wanted-me-to-attach
Nov 14, 2026
Merged

kalaspuff merged 2 commits into
mainfrom
fctl/1258-an-autopilot-session-wanted-me-to-attach

Conversation

@fctl-sh

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

Copy link
Copy Markdown
Contributor

Summary

The Autopilot tab's design doc now describes an ask about a session: a linked chip for that session under the question, a paperclip beside the answer, files pasted or dropped on the answer area waiting in the composer's tray, and the line that says where they go. Known gaps no longer say answers are text only: files go only to the session a question names.

It documents hyperstructure/fctl#543, which adds the feature; no tokens or components change, so no release is needed.

fctl session


Note

Low risk. Documentation only: it describes how an autopilot's ask about a session looks and behaves in the web app.

What it does. Adds a bullet to the autopilot design doc for asks that are about a session: a link chip to that session, a paperclip with paste and drop to attach files, the line under the answer, the toast, and the failure behavior. It also replaces the limitation that answers can't carry files with one saying files go only to the session the ask is about.

fctl review's first look at 574aa03 · 1 file, +12 −1 · Review agent settings

@fctl-review

This comment has been minimized.

Comment thread docs/web-app/autopilot.md Resolved
@fctl-sh fctl-sh Bot changed the title docs(web-app): an autopilot's ask about a session links it and takes files docs(web-app): an ask about a session links it and takes files Nov 14, 2026
kalaspuff pushed a commit to hyperstructure/fctl that referenced this pull request Nov 14, 2026
…543)

## Summary

An autopilot that needs files only people have (designs, models, data
files) can now name the session that needs them when it asks: `fctl
autopilot ask --session spaghetti#1062 "…"`. On the Autopilot tab the
ask links to that session, and its answer box takes files (paperclip,
paste, or drop on the answer): they go straight to that session in a
message from whoever answered, with the answer as its text, so nobody
has to open the session and write to it by hand, and the files needn't
be images. The autopilot hears which files went, in its wake and brief
("Ada answered “Attached”, and sent spaghetti#1062 2 files in a message:
a.3mf, b.3mf"), and its instructions tell it to ask this way. From the
CLI: `fctl autopilot answer apa_… --attach a.3mf "…"`.

- The ask may name any session in the autopilot's places (its project,
or a workspace autopilot's workspace), not a review agent's. The control
plane checks the person answering may message it, and sends the message
before it takes the answer: if the message can't go (the session failed,
say), the ask stays open and the files come back to the answer box. The
same answer sent again goes once (its client key digests the text and
files).
- Protocol: optional `about` on asks and ask requests, `files` on asks
and `attachments` on answers; older clients ignore them. Migration
`0060` adds two columns to `autopilot_asks`.

Verified with unit tests (the brief's lines, the answer's client key,
the CLI's flags, the tab's answer with files), a control-plane test in
Node against D1 (which sessions an ask may name, and reading the ask
back), and end to end in `cargo xtask dev`: fake-claude's autopilot
asked `--session playground#2` from its sandbox, through the relay; two
non-image files attached on the tab reached playground#2 in a message
from the person, and the autopilot's wake said which went. `fctl
autopilot answer --attach` did the same from the CLI, and an answer to
an ask about a stopped session resumed it with the files.

## Screenshots

At c06a95a: an autopilot's ask on the Autopilot tab, before, then with
two files attached to the answer.

| Before | After |
|---|---|
| ![Before: the ask card,
dark](https://app.fctl.sh/api/v1/published/xAkCbaEil5I0mhr2cWBrbgDMMhOsekjJ5voSshvqI32/before-dark.png)
| ![After: the ask card links playground#2 and holds two files,
dark](https://app.fctl.sh/api/v1/published/6dqiRwXjNRBrfcdV0LHzuU94WWMVjonxhRYFidWkGXC/after2-dark.png)
|

The light theme, and a phone (390 px wide):

![After: the ask card with two files,
light](https://app.fctl.sh/api/v1/published/ktVhyFEC2dmIVDE4Nd3IBNqqKUwXp9ZxP9Yvx6hwJWg/after2-light.png)

![After: the ask card with two files on a phone,
dark](https://app.fctl.sh/api/v1/published/cspXZWAofTloEH2wdACq3hf0ytmjqZQ1ZO4z3cveRJ1/after2-phone.png)

## Related pull requests

- hyperstructure/design#52
- hyperstructure/fctl-site#123

## Worth confirming

- **Decision:** files go only to the session an ask names; an ask about
no session takes text alone, rather than sending the files to the
autopilot's own session, which couldn't pass them on (#517).
- **Decision:** the answer's text goes to that session as the message
with the files, as well as to the autopilot.

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

<!-- FCTL_REVIEW_SUMMARY -->
---

> [!NOTE]
> **Medium risk.** It changes the autopilot answer flow, which now
claims uploaded files and sends a message to another session before the
ask is claimed, and adds a migration with two columns on
`autopilot_asks`.
>
> **What it does.** Lets an autopilot's ask name the session it is about
with `fctl autopilot ask --session`, and lets the person answering
attach files that go straight to that session in a message from them.
The autopilot hears which files went in its wake and brief. It adds
`about` and `files` to the protocol, CLI `--attach`, and a web answer
box with paperclip, paste and drop. Since the last review, files are
delivered before the ask is claimed, so nothing reopens an ask any more,
and the message's client key now includes a digest of the text and file
ids.
>
> **Migration 0060.** Adds nullable `about_id` and `files` columns to
`autopilot_asks`; it must be applied before the new control plane runs.
>
> <sub>[fctl
review](https://app.fctl.sh/s/ses_01M7DNT7QRWQX96EVG3A0ZJYEH)'s first
look at
[`c06a95a`](c06a95a)
· 19 files, +982 −101 · [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>
@kalaspuff
kalaspuff merged commit a40965c into main Nov 14, 2026
3 of 5 checks passed
@kalaspuff
kalaspuff deleted the fctl/1258-an-autopilot-session-wanted-me-to-attach branch November 14, 2026 18:50
kalaspuff pushed a commit to hyperstructure/fctl-site that referenced this pull request Nov 14, 2026
…#123)

## Summary

The privacy policy now says what an autopilot's ask keeps since
hyperstructure/fctl#543: a question can name a session it is about, the
files someone attaches to their answer go to that session in a message
from them (as any message's files), and the ask keeps their names, types
and sizes. Those names reach the autopilot's owner's Claude account with
the answer, which the "who receives it" list now says. The `updated:`
date moves to 2026-11-14.

- hyperstructure/fctl#543
- hyperstructure/design#52

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

<!-- FCTL_REVIEW_SUMMARY -->
---

> [!NOTE]
> **Low risk.** It only edits the privacy policy text and its updated
date; no code changes.
>
> **What it does.** Adds to the privacy policy that an autopilot's
question can name a session it is about, and that files attached to an
answer go to that session in a message from the person answering. The
ask itself keeps only the files' names, types and sizes, and the
autopilots section now says the same about what reaches the account
owner.
>
> **Policy claims.** The new wording describes product behavior (files
sent to the session, only metadata kept on the ask) that should match
the fctl implementation.
>
> <sub>[fctl
review](https://app.fctl.sh/s/ses_01M7DNMS5CQBQH3E2Z930CKGR9)'s first
look at
[`5c59e0f`](5c59e0f)
· 1 file, +7 −3 · [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