Repository navigation
docs(legal): say app.fctl.sh keeps when agents update retrospectives - #42
Merged
Merged
Conversation
Agents of app.fctl.sh's sessions now update the retrospective they recorded as later turns carry on with the same work (hyperstructure/fctl, ADR 0038), and the control plane keeps when each was last updated.
kalaspuff
pushed a commit
to hyperstructure/fctl
that referenced
this pull request
Oct 22, 2026
Agents recorded a retrospective at the end of each turn that finished a
piece of work, and `~/AGENTS.md` gave each follow-up that changed the
work (review comments, a new request) one of its own. A session that
went through a review round, or waited on a person, ended with several
retrospectives that each told part of the story, and a blocked one
stayed blocked in the project's counts after the work was done.
Now a session keeps one retrospective for each piece of work, and its
agent updates it as later turns carry on with that work. A session that
turns to different work still records another.
## What changed
- **`fctl retro update rtr_… [--outcome …] [--worked-on …] [--approach
…] [--challenges …] [--insights …]`** (agents, in a sandbox) changes a
retrospective of the agent's own session in place. The outcome and parts
it gives replace what the retrospective said; an empty part is left out,
though what the work was can't be emptied; the others stay. The control
plane refuses another session's retrospective and keeps when it was
updated (`updated_at`, migration 0025). Updates don't count toward the
50 a session records.
- **`fctl retro list`** in a sandbox lists the session's own
retrospectives with their ids. `fctl retro` now prints the id it
recorded.
- **`~/AGENTS.md`** asks for one retrospective for each piece of work,
not one for each turn. When a later turn carries on with work the
session recorded one for (review comments, a failed check, an answer
that unblocks it, the rest of a partial one), the agent updates that
one, so that it tells the whole piece of work as it now stands. It
checks `fctl retro list` before recording one, because a resumed run may
start without its conversation. fctl-agent writes this only where the
sandbox's fctl has `fctl retro update` (it runs `fctl retro update
--help`). Older sandbox images keep the old text.
- **The transcript** shows an update as a `retrospective_updated` notice
with the retrospective as it now is. The notice from when it was
recorded stays as it was, and `fctl logs` says "Retrospective updated".
- **The web app** says when the agent last updated a retrospective
("Updated 1 minute ago", with both times in the tooltip). It does this
on the session page and in the project's Retrospectives tab, and reads
the session's list again when an update comes in live. The
Retrospectives tab keeps the order retrospectives were recorded in, and
its counts by outcome follow the updates. On phones, its rows put the
time beside the outcome so that the longer label doesn't squeeze the
session's title.
- **Protocol:** `Retrospective.updated_at` (optional), and two new
`AgentCall`s, `update_retrospective` and `retrospectives` (answered with
`AgentAnswer::Retrospectives`). They are new calls rather than an option
on `retrospective`, so an fctl-agent or control plane from before them
refuses them and records no second retrospective. The host retries both,
as it retries the other calls that change nothing when sent twice.
- **[ADR
0038](docs/adr/0038-agents-keep-one-retrospective-for-each-piece-of-work.md)**
says why agents may now change their own session's retrospectives while
they still can't change notes. The architecture, CLI, development,
security and sandbox image docs describe how it works.
- **fake-claude** gets a new word, `revise`, which updates the session's
newest retrospective through `fctl retro list` and `fctl retro update`.
`retro` now takes `partial` and `blocked`. **The smoke test** records a
partial retrospective and revises it, and checks that the session ends
with one retrospective, completed and updated.
## How I verified it
- Unit tests for each piece:
- domain: an update keeps the parts it doesn't mention, checks the ones
it does, and refuses an empty update; the transcript messages
- protocol wire formats
- fctl-agent: the new calls are refused where a project asks for no
retrospectives; an update gets a `retrospective_updated` notice; listing
adds nothing to the transcript
- the `~/AGENTS.md` text, for an fctl with `retro update` and for one
without
- web: the list is read again when the transcript has a newer update;
the transcript's update notice; the tab's time labels
- `cargo xtask check --quick` passed, and so did `cargo xtask dev
--smoke`. In the smoke run, the agent recorded a partial retrospective
and updated it to completed, through fctl-agent, the host, the control
plane and D1.
- In `cargo xtask dev`, a session recorded a partial retrospective and a
follow-up revised it: same id, outcome completed, the given parts
replaced, the others kept. Acting as that session's agent:
- `fctl retro list` listed it.
- Updating another session's retrospective was refused: "This session
recorded no retrospective rtr_…: `fctl retro list` lists those it did".
- An update with nothing in it was refused, and so was an empty
`--worked-on` ("Say what the work was").
- Against an older fctl-agent (this sandbox's, v0.18.0), the new CLI's
`fctl retro list` and `fctl retro update` get "fctl-agent did not
understand the request: unknown variant `retrospectives`" (and
`update_retrospective`). Nothing is recorded.
## Screenshots
At 3333a3b, in the light theme: a session whose agent recorded a partial
retrospective, then updated it to completed in a later turn. Before is
`main`'s web app on the same data.
The session page: the second notice now says "Retrospective updated",
and the rail says when it was updated (1440 px).
| Before | After |
|---|---|
| 
| 
|
The project's Retrospectives tab: each entry says when its agent updated
it (1440 px). The smoke test's session, #1, was updated too.
| Before | After |
|---|---|
| 
| 
|
The same tab on a phone (390 px): the time moves beside the outcome, and
the session's title keeps two lines.
| Before | After |
|---|---|
| 
| 
|
## Other repositories
- hyperstructure/fctl-site#42: the privacy policy says that agents
update their retrospectives and that app.fctl.sh keeps when. Merge it
once this is deployed.
Made in the fctl session
https://app.fctl.sh/s/ses_01M5JE2RW1PFHPGP1DP1WFPW0Y
---------
Co-authored-by: fctl-sh[bot] <fctl-sh[bot]@users.noreply.github.com>
kalaspuff
approved these changes
Oct 22, 2026
kalaspuff
deleted the
fctl/136-it-would-be-great-if-sessions-generally
branch
October 22, 2026 19:00
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Agents in app.fctl.sh's sessions now update the retrospective they recorded as later turns carry on with the same work, instead of recording another for each follow-up. The control plane keeps when each retrospective was last updated (hyperstructure/fctl#211, ADR 0038). The privacy policy's paragraph on project memory and retrospectives now says so, as it already says who last changed a note and when.
What is kept and for how long doesn't change otherwise. Retrospectives still last as long as their session, and what an update replaces stays in the session's transcript, which the policy already covers.
updatedin the front matter is already today's date.Merge it once hyperstructure/fctl#211 is deployed to app.fctl.sh.
Made in the fctl session https://app.fctl.sh/s/ses_01M5JE2RW1PFHPGP1DP1WFPW0Y