Repository navigation
feat: let agents update their session's retrospectives - #211
Merged
kalaspuff merged 4 commits intoOct 22, 2026
Merged
Conversation
fctl retro update rtr_… changes a retrospective of the agent's own session in place (the outcome and the parts given; the others stay), and fctl retro list in a sandbox lists the session's own, through fctl-agent. The control plane keeps when it was updated (migration 0025), the transcript shows the update as a retrospective_updated notice, and ~/AGENTS.md asks for one retrospective for each piece of work, updated as later turns carry on with it, where the sandbox's fctl can update them.
fake-claude's revise updates the session's newest retrospective with fctl retro list and fctl retro update, and retro takes partial and blocked. The smoke test records a partial retrospective and updates it, and checks the session ends with one, completed. The docs and ADR 0038 say why agents keep one retrospective for each piece of work and update it.
Updated … ago is longer than the time it replaces, and squeezed the session's title in the Retrospectives tab's rows at phone width. There the time now sits beside the outcome, and the title gets a line of its own.
…ding one A resumed run may start without its conversation, so ~/AGENTS.md asks the agent to look at fctl retro list before it records a retrospective, and update the one for the same work instead.
kalaspuff
approved these changes
Oct 22, 2026
kalaspuff
deleted the
fctl/136-it-would-be-great-if-sessions-generally
branch
October 22, 2026 18:59
kalaspuff
pushed a commit
to hyperstructure/fctl-site
that referenced
this pull request
Oct 22, 2026
…42) 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. `updated` in 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 Co-authored-by: fctl-sh[bot] <fctl-sh[bot]@users.noreply.github.com>
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 recorded a retrospective at the end of each turn that finished a piece of work, and
~/AGENTS.mdgave 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 listin a sandbox lists the session's own retrospectives with their ids.fctl retronow prints the id it recorded.~/AGENTS.mdasks 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 checksfctl retro listbefore recording one, because a resumed run may start without its conversation. fctl-agent writes this only where the sandbox's fctl hasfctl retro update(it runsfctl retro update --help). Older sandbox images keep the old text.retrospective_updatednotice with the retrospective as it now is. The notice from when it was recorded stays as it was, andfctl logssays "Retrospective updated".Retrospective.updated_at(optional), and two newAgentCalls,update_retrospectiveandretrospectives(answered withAgentAnswer::Retrospectives). They are new calls rather than an option onretrospective, 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.revise, which updates the session's newest retrospective throughfctl retro listandfctl retro update.retronow takespartialandblocked. 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
retrospective_updatednotice; listing adds nothing to the transcript~/AGENTS.mdtext, for an fctl withretro updateand for one withoutcargo xtask check --quickpassed, and so didcargo 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.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 listlisted it.fctl retro listlists those it did".--worked-on("Say what the work was").fctl retro listandfctl retro updateget "fctl-agent did not understand the request: unknown variantretrospectives" (andupdate_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).
The project's Retrospectives tab: each entry says when its agent updated it (1440 px). The smoke test's session, #1, was updated too.
The same tab on a phone (390 px): the time moves beside the outcome, and the session's title keeps two lines.
Other repositories
Made in the fctl session https://app.fctl.sh/s/ses_01M5JE2RW1PFHPGP1DP1WFPW0Y