Run transcript: rows show raw ids and raw JSON (free served groups, opencode retries) #197

Closed
opened 2026-10-18 02:43:54 -04:00 by cmoriarty · 3 comments
Owner

Seen in run 76, openspec.apply[5]'s transcript (production 97242c8). Rows grouping the Free profile's served records read:

↻ stp_01M56VBWS2NMZBY2WGV14M53E6 — 2 × free served free served each time 2 events

The title is the step's id, which says nothing to the operator. This is the same class of leak as the budget alarm's id fixed in #185. The rows also repeat "free served" in the title and the summary.

To do: title such a group by what it is (e.g. "served by gemini/gemini-3.5-flash-lite, ovh/Qwen3.5-397B-A17B"), or fold it into the turn rows that already say "served by …". Add a test that no transcript row's visible text matches stp_/run_/ses_ ids.

Seen in run 76, `openspec.apply[5]`'s transcript (production 97242c8). Rows grouping the Free profile's served records read: > ↻ stp_01M56VBWS2NMZBY2WGV14M53E6 — 2 × free served free served each time 2 events The title is the step's id, which says nothing to the operator. This is the same class of leak as the budget alarm's id fixed in #185. The rows also repeat "free served" in the title and the summary. **To do:** title such a group by what it is (e.g. "served by gemini/gemini-3.5-flash-lite, ovh/Qwen3.5-397B-A17B"), or fold it into the turn rows that already say "served by …". Add a test that no transcript row's visible text matches `stp_`/`run_`/`ses_` ids.
cmoriarty changed title from Run transcript: "free served" rows are titled with a raw step id to Run transcript: rows show raw ids and raw JSON (free served groups, opencode retries) 2026-10-18 02:52:31 -04:00
Author
Owner

A second case, same run (run 76), a step served by Zen's glm-5.3-flash-free while rate-limited. The transcript prints opencode's retry events as raw JSON, one row per retry:

{"sessionID":"ses_eb239090fffesttXH7aNgmvGMd","status":{"type":"retry","attempt":2,"at":1792306269473,"status":429,"error_type"…
{"sessionID":"ses_eb239090fffesttXH7aNgmvGMd","status":{"type":"retry","attempt":3,…
{"sessionID":"ses_eb239090fffesttXH7aNgmvGMd","status":{"type":"retry","attempt":4,…

The console has no row for oc.session.retry (no constant in ui/src/lib/events.ts), so the generic row shows the payload. The server already has the words for it: retry_phrase() in src/osf/format.py ("retrying after an upstream error, attempt 3 — …").

Also to do: render oc.session.retry as one line in those words, with the status, provider and model when the payload has them ("rate-limited (429) by Zen glm-5.3-flash-free — retrying, attempt 4"). Fold consecutive retries of one turn into one row that counts them. Cover it with the same no-raw-ids/JSON test.

A second case, same run (run 76), a step served by Zen's `glm-5.3-flash-free` while rate-limited. The transcript prints opencode's retry events as raw JSON, one row per retry: > {"sessionID":"ses_eb239090fffesttXH7aNgmvGMd","status":{"type":"retry","attempt":2,"at":1792306269473,"status":429,"error_type"… > {"sessionID":"ses_eb239090fffesttXH7aNgmvGMd","status":{"type":"retry","attempt":3,… > {"sessionID":"ses_eb239090fffesttXH7aNgmvGMd","status":{"type":"retry","attempt":4,… The console has no row for `oc.session.retry` (no constant in `ui/src/lib/events.ts`), so the generic row shows the payload. The server already has the words for it: `retry_phrase()` in `src/osf/format.py` ("retrying after an upstream error, attempt 3 — …"). **Also to do:** render `oc.session.retry` as one line in those words, with the status, provider and model when the payload has them ("rate-limited (429) by Zen glm-5.3-flash-free — retrying, attempt 4"). Fold consecutive retries of one turn into one row that counts them. Cover it with the same no-raw-ids/JSON test.
Author
Owner

Shipped in ead9f7e (change transcript-rows-say-what-they-are). On the merge with #195 a cut stream reads "stream from did not finish: ". Retries read in words, and served groups name their models. Not yet checked in a browser on production.

Left open: the OpenSpec change is not archived yet, and its tasks are not ticked against production. Deferred when the session wrapped up (2026-10-18).

Shipped in ead9f7e (change `transcript-rows-say-what-they-are`). On the merge with #195 a cut stream reads "stream from <model> did not finish: <reason>". Retries read in words, and served groups name their models. Not yet checked in a browser on production. Left open: the OpenSpec change is not archived yet, and its tasks are not ticked against production. Deferred when the session wrapped up (2026-10-18).
Author
Owner

Verified on production (c1228b4): run 78's openspec.apply[6] transcript, rendered in a real browser, has no raw JSON row and no raw id, and its served rows read "served by ovh/Qwen3.5-397B-A17B · 38,819 in" and "served by gemini/gemini-3.5-flash-lite ×2". Archived in OpenSpec as transcript-rows-say-what-they-are. Closing.

Verified on production (c1228b4): run 78's `openspec.apply[6]` transcript, rendered in a real browser, has no raw JSON row and no raw id, and its served rows read "served by ovh/Qwen3.5-397B-A17B · 38,819 in" and "served by gemini/gemini-3.5-flash-lite ×2". Archived in OpenSpec as `transcript-rows-say-what-they-are`. Closing.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
cmoriarty/braid#197
No description provided.