# Transcript delivery steps

Part of the [transcript model](https://fzkuji.github.io/OpenProgram/docs/reference/design/ui/transcript-model/overview.html) record. Built so far: [implementation status](https://fzkuji.github.io/OpenProgram/docs/reference/design/ui/transcript-model/overview.html#status).

## Delivery

### Approval gate, before step 1

An old-versus-new comparison, drawn in the user's theme, covers every visible change below and needs a yes before step 1. Any later step that adds a new visible difference needs its own comparison and yes before it lands.

1. A sub-agent drawn as a separate AttachCard at a page edge or when started by `/task` draws as the normal SubAgentStep at the same position. Manual and cross-session attaches keep AttachCard.
2. A sub-agent, including a synchronous one, appears when it starts, shows running, opens into a live view and settles.
3. Phantom empty rows, permanent Running steps and a user row marked running no longer appear.
4. The user's own `/spawn` and `/merge` line stays visible.
5. A steer or restart continuation draws once, at its position, across page boundaries.
6. In the bot view, a steer sits before the reply it redirected instead of after it.
7. A reader scrolled up stays put during background activity, and older pages stop landing after the newest rows.
8. Tool steps keep their nested call trees across a reload.
9. Citations show while streaming.
10. Open steps stay open and in place while a reply updates.
11. A split pane shows the same rows as the main view and updates without focus.
12. The expanded sub-agent view shows tools, thinking, terminal state and later turns.
13. Copy and files on a restart-joined reply cover the whole reply; always-on sent files appear.
14. A person's text starting with `[task from` stays their own message.
15. Version arrows no longer count a compaction summary and cannot land on an attach row.
16. A failed read keeps the rows on screen and is asked again quietly, instead of drawing a differently shaped transcript.
17. Expanding a truncated tool result in a block works; late tool results appear on rows that had none.
18. A reply whose final write failed settles when its execution ends.
19. Text of a conversation holds briefly while that conversation is being read, then catches up.
20. History loads in whole turns, so one load can bring a slightly different row count.
21. A message the server refuses before accepting it shows the reason on its "Not sent" line, and no separate red reply appears under it.

Everything else keeps its position and look.

### Step 0. Harness and baselines (tests only)

| Part | Detail |
| --- | --- |
| Changes | Python fixture builder on a real `SessionStore` covering every old shape. Recorded frames from the real emit functions. Runner feeding frames through production reducers and components, comparing live with cold; known failures start as todo. New real server benchmark at 300,000 nodes (first open, page read, evicted session, foreign-write rebuild, memory per view). `test_scalable_chat_history.py` is browser-only with a fake socket and proves none of these. |
| Fixes | None. |
| Proof | Harness runs on current code with known failures listed as todo and everything else passing. Benchmark records baselines. |
| Rollback | Remove the test files. |
| Size | About 700 lines, 2 days. |

### Step 1. Server data repairs, no wire change

| Part | Detail |
| --- | --- |
| Changes: branch walks | `_is_chat_lane` rejects `covers_ids`. `deepest_leaf` and `latest_child` skip `_is_side_row` only, so top-level runs and `display=runtime` prompts stay walkable, and no rejection is added to checkout or `set_head`. `active_branch_chain` in branch order. |
| Changes: tool rows and reads | `_execution_rows` from raw rows, for clients that fold them: roots with descendants plus same-named calls of that reply, each reply's tree under one byte budget. `tool_output.py` matches `<message_id>_t_<node_id>`. `aggregate_tool_messages` copies lists and applies the late-call merge to rows with no `extra`. A failed read returns a retryable error instead of `conv_snapshot`; the broken-chain walk stays, logged, over the same input. |
| Fixes | F17 (cold), F19, F22, F23, F24, F41, F42. |
| Proof | One test per fix in `tests/unit/webui` and `tests/component/webui/chat/test_session_tool_output_transport.py`, each failing before its commit. The version arrow lands past a run row and a `job_followup` row and never on an attach row. A row with no `extra` carries its late call and does not grow on repeat loads. |
| Rollback | Each change is a separate small commit; revert the individual commit. |
| Size | About 240 lines, 2 days. |

### Step 2. Whole-turn pages, no wire change

| Part | Detail |
| --- | --- |
| Changes | `HistorySnapshot` keys groups by turn, walking display order before the cut with the membership rule, compaction rows at their exact position. Every row id goes in `_positions`. Search returns row ids. Limits become 6 turns or 128 KiB and 25 turns or 512 KiB. Remove the dead `history_page`. The client is untouched. Rewrite the paging unit in `chat-turn-visual-spec` and the page limits in `runtime/reliability/web-runtime-reliability`, English before Chinese. |
| Fixes | F1, F5 (page boundary), F40 (ids on the branch). |
| Proof | `test_session_history_pages.py`: no attach, placeholder, steer or restart row heads a group; a sweep at every boundary equals the unpaged read; a compaction row inside a restart-continued turn keeps its position; long always-on chains stay one row per turn; server benchmark within baseline. |
| Rollback | Revert; no client or data change. |
| Size | About 250 lines, 2 days. |

### Step 3. Writers record ownership

| Part | Detail |
| --- | --- |
| Changes: sub-agent card | Sync spawns write the placeholder from `on_accepted` with `job.id`, `tool_call_id`, `delivery=tool_result`; `run_agent_turn` passes `attach_pointer_id`; the end write is a patch; a result with no head and failure paths patch to errored; a failed placeholder falls back to appending at the end. Startup reconcile: see [Sub-agent](https://fzkuji.github.io/OpenProgram/docs/reference/design/ui/transcript-model/live.html#sub-agent). Attach writers stamp `tool_call_id`. |
| Changes: ids and metadata | `append_message(advance_head=False)`, and the head restores go, keeping the mirror refresh at `branch.py:562-565`. Delivered messages write `origin=agent_delivery`, typed ones `origin=person`. `metadata.client_request_id` is written on the user node and on pre-created function-run nodes, through `_build_user_msg`, `run_agent_method_call`, `retry.py` and `POST /api/function/{name}`. |
| Changes: streaming | `stream_tap` persists before emitting through the quiet `durable=False` path and adds `row_id`, `item_id`, `item_index`, `offset`. `ws_delivery` merges only contiguous offsets. `memory_index.rebuild` swaps atomically. Final blocks are `tap.blocks` when cancelled, otherwise `_ordered_blocks or tap.blocks`, so a terminal write keeps the received trace and a Stop keeps partial text. |
| Changes: status and records | `event_effects` settles an open anchor row at terminal execution status and writes `paused` and the return to `running` ([Run-end status](https://fzkuji.github.io/OpenProgram/docs/reference/design/ui/transcript-model/live.html#run-end)). Update `sub-agent-row` and `unify-parent-called-by`, English before Chinese. |
| Fixes | F18 and F36 writes, F33 (store repair), F39 (offsets); prerequisite of F2. |
| Proof: rows and cards | Writer tests on real rows. `render_context` byte-equal on the fixture session with a running placeholder. No head movement during an attach write. A sync spawn's card has a job id, opens during the run, and settles on success, failure and worker death. A paused execution writes `paused` to its row, a resumed one writes `running`, and an old event replayed by catch-up writes neither. |
| Proof: streaming and request ids | A tap test that the persisted row is at or ahead of each emit. A web user node, a function-run node from each entry point and a retry carry `client_request_id`. A Stop after a completed message keeps the partial text. CLI and ACP stream tests unchanged. Delta latency and fsync count measured here against step 0, on a busy machine. |
| Rollback | Revert; extra metadata and frame fields are ignored by old readers, except that a delivered message still queued as a job names its origin and the old job reader rejects it. A placeholder left by a run spanning the revert is closed by job recovery through `attach_pointer_id`. |
| Size | About 230 lines, 2-3 days. |

### Step 4. Bubble owns data by id, old transport

| Part | Detail |
| --- | --- |
| Changes | `owned-children.ts` pairs by `tool_call_id` with the old order as fallback, and the bubble draws from it. Stable block keys and a per-view expansion map. `row-status.ts` replaces the 15 hand lists. The hard-coded Running branch in `runtime-block.tsx:343-352` goes; the step draws from row status. Same-session `/task` draws as SubAgentStep at its position, AttachCard only for manual or cross-session. Bot view reads file markers from content. `joinedReply` includes content and turn files. |
| Fixes | F6, F18 (pairing), F33 (table), F34, F35 (tool blocks), F37, F38. |
| Proof | Two same-named agent calls in reversed order pair correctly. An open step stays open across a block rebuild. A finished runtime row with no tree shows no spinner. Status table test covers every wire value. A `/task` and a tool-started agent render the same component. `restart-continuation.test.mjs` covers content. |
| Rollback | Revert individually; no data change. |
| Size | About 450 lines, 3 days. |

### Step 5. Projection, turn index and read flip

| Part | Detail |
| --- | --- |
| Changes: projection | Add the transcript package. Golden parity runs the current mapper against the projection on every fixture, and any later TypeScript mapper change fails it. Projected rows carry `rowKind` beside the unchanged `kind` and `slot`, so compaction cards, system event rows and covering keep working on the old dispatch. Run `compare_transcript_projection.py` on the dev profile and clear mismatches. |
| Changes: read | Wire version 3 reads, including `_bounded_history` and the fragmentation and paging gates. Turns and window go straight to the store; pages hold turn ids. |
| Changes: page replies | Page replies keep an open row from regressing under old frames with the rule full loads use, scoped to the page: `session-history-loader.ts` captures the view's rows when it sends the page request, and on reply calls `retainChangedRows` with the baseline and current rows both restricted to the row ids in the reply. It can then only choose between the page's row and the live row of that id, and it can append nothing. |
| Changes: page placement | Held rows outside the page stay where they are, and the page is placed by `window.start`. The wire-level call at `session-load.ts:65` has no wire rows to compare on version 3 and is skipped; the row-level call at `:32` stays for full loads. |
| Changes: client | Client changes the flip needs: window-present tests replace `snapshot` tests at `use-history-window.ts:42`, `session-history-loader.ts:58,127,136,178`, `history-window.ts:20`; `page-shell.tsx:288-303` tests for held turns; `use-ws.ts:726` takes head status from turns; `conversation-find.tsx:36` drops the token; `search.py` moves onto `reader.search`. `createSessionLoads.accept` applies a finished reply, then sends the pending read. |
| Changes: tests | Tests that drive the web client against a fake socket answer in `turns` and `window`: `tests/e2e/web/chat/test_scalable_chat_history.py` (the 300,000-row case, restated as 300,000 one-row turns), `test_automatic_chat_history.py`, `test_chat_history_interactions.py`, `test_chat_transcript_follow.py`, `apps/web/tests/chat/history/history-window.test.mjs`, `session-history.test.mjs` and `apps/web/tests/chat/messages/list/chat-activation.test.mjs`; their version 2 cases stay beside them while the rollback path exists. |
| Changes: landing and records | Land package and flip within days. Update `chat-turn-visual-spec` and `unify-parent-called-by`; fix the comments at `history-window.ts:9` and `load.py:231-232`. English before Chinese. |
| Fixes | F4, F9, F11 (reply dropping), F27, F35 (block ids), F40 (unknown cursors), F42 (broken-chain walk named in `legacy.py`), F43. |
| Proof: projection and pages | Golden parity with intended differences listed. Page-edge sweep on projected output. A row changed after open reads fresh. A pane with leftover rows reads. Compaction cards, snip rows and covering draw as before the flip. A page reply keeps an open row and adds no row at the tail. |
| Proof: views and benchmark | Anchor restore, Find and switching to a cached chat work on version 3. A graph-free reply. Split-pane focus stays focus bookkeeping. Server benchmark on first open, page read and evicted session against step 0. |
| Rollback | Set the client protocol constant back to 2; the server still serves it and the version 2 client path is intact. |
| Size | About 1600 lines added, 200 removed, 5-6 days. |

### Step 6. Per-view rows and sub-agent reads

| Part | Detail |
| --- | --- |
| Changes: row storage | `rowsByView` becomes the row storage behind `selectRow`, applied by a script run at landing time, because these paths take dozens of commits a week. The existing writers keep their names and route by the view key they are given: `updateMessage` stops ignoring its first argument, and `setMessages` replaces only that view. |
| Changes: writer fallback | A writer naming a view that does not hold the row falls back to the one view that does, because callers could pass anything until now; with more than one holder it writes nothing and logs. |
| Changes: index | `messagesById` stays until step 8 as a read-only index for the old readers, among them `chat-stream.ts:619` and the `Object.entries` scan at `:653`. The store refreshes the entry of each row it writes, a main-view row wins over a sub-agent row with the same id, and an id leaves only when no view holds it. |
| Changes: readers and records | Components and the sub-agent view read through `selectRow(viewKey, id)`. The sub-agent view reads through `reader.py` under its view key. `handleSubAgentResponse`, its `finalize` path and the writers at `sub-agent-transcripts.ts:81,126` stay until step 8. The job-status re-read stays until step 8. Update `sub-agent-row` and the row storage in `ui/state-layer`, English before Chinese. |
| Fixes | F31, F30 (reads). |
| Proof | The same row id in main and sub-agent views stays separate, and replacing one view leaves the other's row and the index entry in place. `test_sub_agent_transcript.py`: tools, thinking and terminal states appear in the expanded view after open; job text never enters the parent. |
| Rollback | Revert; the selector makes this one commit. |
| Size | About 350 lines, mostly generated, 2 days. |

### Step 7. Observer, publisher, non-reply updates

| Part | Detail |
| --- | --- |
| Changes: what is published | `SessionLog` observer, publisher, numbered `transcript_update`, the reducer for the changes this step publishes, parking of `transcript_update`, `stream_event` and terminal `chat_response`, `transcript_gap`, the `transcript` frame kind, `branches_changed`, `close_view` with the view cap. `PUBLISH_CHAT_ROWS = False`: user rows, reply rows, steers and restart prompts stay with old frames. Published: attach items into `attachCards` on held rows; system rows; always-on report openers; the default row case for rows that are not open; `window_stale`; sub-agent view extension for non-reply rows. |
| Changes: old writers | `callRoots` and `runtimeChildren` keep their old writers (`tree_update`, `handleRuntimeRow`) and are published from step 8. `attachCards` has one old writer, the `sub_agent` stream event, which keys on `card_id`. `card_id` is the attach row's id, so both upsert one entry, and the publisher's frame, read from the store after the write, carries the final state. |
| Changes: reloads | For version 3 sockets `_enqueue` drops `session_reload` only for the reasons this step fully delivers, and only on a socket holding a view of that session. A brand-new chat sends no `load_session`, so its socket holds no view: it keeps these reloads, and the first one runs the `load_session` that joins the view. |
| Changes: deferred join and records | The chat-action join and `first_read` stay in step 8, because `first_read` replaces a pending row by `clientRequestId`, which local rows carry only from there. Update `chat-progress-recovery`, `always-on-agents`, `dag/rendering` and `event-reference`, English before Chinese. |
| Fixes | F2, F3, F10 (spawn, attach, report and notice reloads), F26 (reload delivery). |
| Proof: cards and reloads | Contract test on the real emit path with no injected id: a sync spawn's card appears and settles during the run and survives a reload at the same position. In a chat started in this tab, which never sent `load_session`, a spawned card appears through the kept reload and later changes arrive as `item_upsert`. A recovered continuation error still clears, through its kept reload. |
| Proof: frames and windows | A terminal error frame during a read parks behind its text frames and the row stays in error. A reader in older history keeps window and anchor through 100 background updates. A spawn produces no `window_stale`. A forked child does not fire the observer. Overflow yields exactly one gap. The DAG panel refreshes after attach. A held view's updates reach a rebuilt view's holders by one read. |
| Rollback | Revert; version 3 sockets again honour every `session_reload`. |
| Size | About 750 lines, 4 days. |

#### `session_reload` reasons on version 3 sockets

| Reason | Delivered by | Dropped at |
| --- | --- | --- |
| `job_attach`, `task_tool_spawn`, `spawn`, `spawn_async`, `attach` | `item_upsert` on the attach row | 7 |
| `always_on_report` | `turn_upsert` | 7 |
| `self_update_result`, `SOURCE` of `owner_notice` | default row case or `turn_upsert` | 7 |
| `merge`, `delete_nodes` | `window_stale` | 7 |
| `execution_cancelled`, `execution.cancelled`, `continuation_recovered`, `continuation_contract_mismatch`, `wait_declined`, `wait_timeout`, `job_<status>`, `job_errored`, `job_cancelled`, `self_update_held` | terminal reply rows | 8 |

### Step 8. Live through one path

| Part | Detail |
| --- | --- |
| Changes: flag and publishing | `PUBLISH_CHAT_ROWS = True`. The flag gates this step's whole server side: publishing of reply rows, `callRoots` and `runtimeChildren`, `notice_tree`, the version 3 frame filter, the chat-action view join and `first_read`, and in reverse the parking of terminal `chat_response`. Reply rows, steers and restart prompts through the publisher, with derived-field recompute and the Stop rule. Offset gap rule. `text_end` citations. `notice_tree` with its three targets. |
| Changes: local rows and overlays | Local rows with `clientRequestId` and anchors, every local row typed with its `rowKind`; `use-function-dispatch.ts` and the Retry action send a `client_request_id`. The chat action joins the view and acks carry `first_read`. Typed overlays, including the Stop rejection path; every call site in [Optimistic writes](https://fzkuji.github.io/OpenProgram/docs/reference/design/ui/transcript-model/live.html#optimistic-writes) classified. The pre-ack error path draws on the local row. |
| Changes: filter and removals | The version 3 frame filter, including the remaining `session_reload` reasons. Focus-gated paths at `use-ws.ts:406`, `chat-handlers.ts:288,960` and `transcript-hydration.ts:22` go. Sub-agent live path on the same protocol. Everything marked step 8 in [What is deleted](https://fzkuji.github.io/OpenProgram/docs/reference/design/ui/transcript-model/wire.html#deleted). `createSessionLoads` owns repair and page reads. |
| Changes: tests | Tests move with the removals: `apps/web/tests/chat/session/session-load.test.mjs`, `chat/session/running-task-stand-in.test.mjs`, `chat/transcript/streaming/stream-delta-raf.test.mjs`, `chat/transcript/streaming/stream-turn-settle.test.mjs`, `abilities/function-invocation.test.mjs`, `chat/rewind-actions.test.mjs`, `chat/messages/bubbles/message-action-row.test.mjs`, `desktop/self-update-reopen.test.mjs` and the `preserveSessionReadRows` case in `tests/e2e/web/chat/test_chat_history_interactions.py`. A test of a removed behaviour is deleted and its live-equals-cold scenario stands in. The 43 test files that reference the store writers or `messagesById` write rows through `apps/web/tests/_support/transcript-rows.mjs`, which feeds `apply-transcript-update.ts` one `turn_upsert` or typed local change per row, and read them with `selectRow(viewKey, id)`, so the only-writer contract holds in tests too. |
| Changes: records | Rewrite `turn-occupancy`, `conversation-lifecycle`, `streaming-resume`, the update-ownership part of `chat-turn-visual-spec`, the fast-confirm and streaming-backfill rows of `ui/interaction-feedback`, and the `messagesById` and `messageOrder` rows of `ui/state-layer`, English before Chinese. Steps 5 to 8 land close together, to shorten the time merge layers and new reads coexist. |
| Fixes | F5 (live), F7, F8, F10 (rest), F11 (rest), F12, F13, F14, F15, F16, F17 (live), F20 (partial), F21, F25 (partial), F26 (rest), F30 (live), F32 (partial), F33 (rest), F35 (live), F39. |
| Proof: convergence | Live equals cold through production reducers and components on every listed scenario, on the dev instance as well as fixtures, logging only mismatches. Same frames delivered twice change nothing. A dropped text frame repairs with one read; a read during a stream causes no loop and no shrink. A `/spawn` line survives. An unknown row creates nothing. A fresh chat streams from its first frame. |
| Proof: server rows | A steer appears at its position and its pending bubble clears. A restart hides the cut reply live. A chapter pin, a revert and an execution-effect rewrite arrive as one `row_upsert`. A second message to a running expanded agent appears. Text stops after Stop and the terminal row goes out with no later write. Citations appear from the real frame. |
| Proof: sends and Stop | A `turn_upsert` that beats the ack replaces the local row, and a reconnect after a lost ack leaves one user row. A rejected Stop clears its overlay, the row returns to running and later text appears. A run paused for system access and then resumed draws paused and then running, and a read during the pause agrees. A rejected send shows its reason on the Not sent line, with no `_reply` before or after reload. |
| Proof: trees and latency | A model-issued function's tree updates its `callRoots` live, and a function card settles on its terminal tree while the store write is foreign. Delta latency against step 0. |
| Rollback | Set `PUBLISH_CHAT_ROWS = False` and revert this step's client commits. Version 3 sockets then get step 7's filter and the old frames the reverted client reads, the reload kept for a socket with no view applies again, and step 7 stands. |
| Size | About 800 lines added, 1600 removed, 5-6 days. |

### Step 9. Draw only what the server sent

| Part | Detail |
| --- | --- |
| Changes | Dispatch on `rowKind` with no default branch, local rows included; `kind` and `slot` stay as the sub-kind `SystemEventRow` reads; `coveredBy` replaces `coversIds`; shared `TranscriptRows` in both panes; session scope from the row list. Update `ui/invariants`, English before Chinese. |
| Fixes | F28, F29 (partial), F36. |
| Proof | The same turn renders identically in `MessageList`, `PeerSessionPane` and the embedded sub-agent view. A typed `[task from` line stays a user row. An old delivered message still shows as received. Real-screen comparison on the dev instance. |
| Rollback | Revert the component commits. |
| Size | About 350 lines added, 400 removed, 3 days. |

### Step 10. Remove old paths and finish the records

| Part | Detail |
| --- | --- |
| Changes: readers and parity | Everything marked step 10 in [What is deleted](https://fzkuji.github.io/OpenProgram/docs/reference/design/ui/transcript-model/wire.html#deleted). CLI, `worker_turn`, `rehearsal` and the HTTP route read `flat_rows`. Before the mapper goes, golden parity's expected output is frozen to JSON beside the step 0 fixtures, and the parity test then compares the projection with those files. |
| Changes: tests | Tests move with the removal: the version 2 cases of the tests moved at step 5; `_broadcast_session_reload` monkeypatches in `tests/component/self_update/versions/test_direct_edit_capture.py:205` and `tests/component/scheduler/test_scheduled_run_endings.py:365`; assertions in `tests/unit/agent/test_always_on.py:306`, `tests/component/agent/execution/test_agent_continuation_real.py:1801`, `tests/component/agent/jobs/test_job_attach_integration.py:252`, `tests/component/agent/jobs/test_async_job_recovery.py:485`, `tests/component/webui/execution/test_execution_cancellation.py:131,264,301,642`, and the references in `test_webui_head_mirror_and_run_guard.py`, `test_chat_transcript_follow.py`, `test_sub_agent_run.py`, `test_session_branch_consistency.py`; `HistorySnapshot` and `close_snapshots` users in `tests/unit/webui/test_session_history_pages.py`, `tests/component/webui/chat/` (five files), `tests/component/webui/runtime/` (two files), `tests/e2e/web/chat/test_chat_history_interactions.py`, `apps/web/tests/chat/history/session-history.test.mjs`. |
| Changes: records | Remove `conv-mapper` mentions from `error-taxonomy-propagation`, `agent-collab-architecture`, `agent-call-flow`. `runtime/reliability/web-runtime-reliability` names `transcript/reader.py` in place of `session_history.py`. Close the "Implementation status" appendix of `transcript-model`. English before Chinese. Allowlists reach empty. |
| Fixes | None new. |
| Proof | Empty-allowlist contract tests. CLI tests for `session_loaded` and streaming. `worker_turn` recovery finds a reply by id. `rehearsal` reads a conversation. HTTP `load_session` test. `python -m scripts.docs_site.checklinks` reports 0 dead links. |
| Rollback | Revert the removal commit; earlier steps stand. |
| Size | About 3000 lines removed, 2-3 days. |

### Finding to step

| Finding | Defect | Step | State |
| --- | --- | --- | --- |
| F1 | An attach row becomes its own display group, so paging separates it from its parent reply | 2 | Closed |
| F2 | The live `sub_agent` frame never reaches the reducer | 3, 7 | Closed |
| F3 | The reload sent to deliver a sub-agent card loses to the row that is still streaming | 7 | Closed |
| F4 | Paging keeps the store copy of a parent and throws away the newly folded one | 5 | Closed |
| F5 | Steers and restart continuations are drawn twice or lost at a page boundary | 2, 8 | Closed |
| F6 | A finished runtime row with no tree draws a permanent Running step | 4 | Closed |
| F7 | An older page that lands during a full load is appended after the newest rows | 8 | Closed |
| F8 | `setMessages` churn makes unchanged rows look edited, so a stale row beats a terminal load | 8 | Closed |
| F9 | Re-fetched pages come from a frozen snapshot | 5 | Closed |
| F10 | Every background reload resets a reader's window to the newest page | 7, 8 | Closed |
| F11 | Reloads that arrive faster than a load round trip discard every reply | 5, 8 | Closed |
| F12 | `/spawn` and `/merge` results overwrite the user's own message row, which then draws nothing | 8 | Closed |
| F13 | Two writers apply the terminal result with different rules | 8 | Closed |
| F14 | A `tree_update` for an unknown row creates a phantom `<id>_reply` runtime row that loads keep | 8 | Closed |
| F15 | The optimistic function placeholder has no remover on success | 8 | Closed |
| F16 | `running_task` can mark the user row as running, and loads keep it | 8 | Closed |
| F17 | Nested call trees under a tool step exist only in live memory | 1, 8 | Closed |
| F18 | Cards and call trees are paired to tool calls by order and name, not by id | 3, 4 | Closed for new rows; old rows heuristic |
| F19 | Expanding a truncated tool result in a block fails | 1 | Closed; length limit in [Limits that remain](https://fzkuji.github.io/OpenProgram/docs/reference/design/ui/transcript-model/limits.html#limits) |
| F20 | One tool result has three different lengths with different load-more behaviour | 8 | Partial |
| F21 | Provider citations are missing during streaming | 8 | Closed |
| F22 | A compaction summary counts as a version of the first covered message | 1 | Closed |
| F23 | Switching versions can put HEAD on an attach pointer row | 1 | Closed |
| F24 | A sub-agent branch can show its reply above its prompt when checked out | 1, 8 | Closed |
| F25 | Live row retention and paging disagree about client-only and unpersisted rows | 8 | Partial |
| F26 | Split panes do not receive reload signals | 7, 8 | Closed |
| F27 | A pane opens on a fragment when the store already holds partial rows | 5 | Closed |
| F28 | Cards in a split pane judge themselves against the focused session | 9 | Closed |
| F29 | The same conversation has a reduced transcript in a split pane | 9 | Partial: the message rail and find stay main-view only ([Limits that remain](https://fzkuji.github.io/OpenProgram/docs/reference/design/ui/transcript-model/limits.html#limits)) |
| F30 | The inline sub-agent view keeps only text streams and terminal frames | 6, 8 | Closed |
| F31 | `messagesById` is global, but `setMessages` deletes per chat key | 6 | Closed |
| F32 | A live reply lacks fields a reload supplies | 8 | Partial |
| F33 | Status is decided separately in each place and the lists disagree | 3, 4, 8 | Closed |
| F34 | A sub-agent's component depends on how it was started | 4 | Closed |
| F35 | Open steps collapse or move when blocks are rebuilt | 4, 5, 8 | Closed, one edge in [Limits that remain](https://fzkuji.github.io/OpenProgram/docs/reference/design/ui/transcript-model/limits.html#limits) |
| F36 | Text a user types can change what kind of row it is | 3, 9 | Closed |
| F37 | Files sent from an always-on chat can be missing | 4 | Closed |
| F38 | A restart-joined reply copies and files only its last part | 4 | Closed |
| F39 | Dropped text frames are not detected until the turn ends | 3, 8 | Closed; last frame healed by the terminal row |
| F40 | A restored reading anchor can name a row the server cannot page to | 2, 5 | Closed |
| F41 | Rows written through the fallback store path change shape and grow tool calls on each load | 1 | Closed |
| F42 | A failed read silently substitutes a differently shaped transcript | 1, 5 | Closed; broken-chain walk named in `legacy.py` |
| F43 | Pasted elements are lost on reload: the store flattens `extra` onto the row and the mapper reads only `extra` | 5 | Closed |

[Limits and enforcement](https://fzkuji.github.io/OpenProgram/docs/reference/design/ui/transcript-model/limits.html)
