Conversation
fazxes
added this pull request to stack #1084
September 28, 2026 17:58
fazxes
removed this pull request from stack #1084
September 28, 2026 18:00
fazxes
added this pull request to stack #1085
September 28, 2026 18:39
fazxes
force-pushed
the
fazxes/sessions-v2-acp
branch
from
September 28, 2026 19:04
39f2a0c to
4658adf
Compare
fazxes
force-pushed
the
fazxes/sessions-v2-acp
branch
from
September 28, 2026 21:11
4658adf to
26238d8
Compare
fazxes
force-pushed
the
fazxes/sessions-v2-acp
branch
from
September 28, 2026 23:01
0371384 to
31afaa8
Compare
fazxes
force-pushed
the
fazxes/sessions-v2-acp
branch
from
September 29, 2026 04:24
31afaa8 to
3c5aeaf
Compare
fazxes
force-pushed
the
fazxes/sessions-v2-acp
branch
2 times, most recently
from
September 29, 2026 15:48
34ce038 to
5683cf4
Compare
- With FX_SESSIONS_V2=1, fx acp creates, loads, resumes and lists sessions in the v2 session log. The wasm build stays on v1. - A new ACP session is written to disk only after its first prompt. - session/list keeps v1's order, page size, cursor format and cwd matching. - session/load replays the whole conversation, including turns from before a compaction, without the compaction handoff. - Model, effort and provider changes, the generated title and token usage are saved with the session and restored on load. - A session killed during a prompt loads with that turn interrupted, and a tool that was still running is reported as failed and possibly partly run. - Loading a session that another process has open returns "Session is busy". - ACP image prompts are saved with the session and replayed on load. A deleted image loads as "Image #1 unavailable". - Images on a new v2 session no longer fail with ImageSnapshotPathUnsafe in fx ask, the app or ACP. - The managed TTY shell works in v2 sessions. - Listing or reading v2 sessions on an empty home creates nothing. - Loading the full history of a 10K-turn session takes 34 ms, against 39 ms on v1. - Subagents stay off on v2 sessions. - A paused model response is not resumed on v2 sessions.
- With FX_SESSIONS_V2=1, resuming an interactive session whose history holds a shell result no longer hangs before the first frame. Reading the saved history held the session's lock while each turn was drawn, and drawing a shell row takes the same lock to read its command replay.
On v2, loading a session that cannot be written answered "Session not found", and a prompt that could not be saved answered with a bare error name such as "Io". Both now say what is wrong: permission denied, a read-only disk, a full disk, or a file-size limit. v1 keeps its messages.
fazxes
force-pushed
the
fazxes/sessions-v2-acp
branch
from
September 29, 2026 18:32
5683cf4 to
f30ad07
Compare
This branch has not been deployed
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.
Summary
FX_SESSIONS_V2=1,fx acpcreates, loads, resumes and lists sessions in the v2 session log. The wasm build stays on v1.session/listkeeps v1's order, page size, cursor format andcwdmatching.session/loadreplays the whole conversation, including turns from before a compaction, without the compaction handoff.ImageSnapshotPathUnsafeinfx ask, the app or ACP.Stacked on #1076.