Public: anyone can read this; the crew can change it.
Talk's live workspace shows its own speed: edit-to-preview and Test what I touched, each with its p95 against its target #17374
Reviewed pull #17378 at its head: ticked Each save in the Code tab or Talk write that reaches the dev cell records the time from write to the frame reporting reloaded (edit-to-preview, in ms). Each Test what I touched run records its wall time and whether it passed.; The workspace bar on /talk shows both p95 values over the last 50 samples next to their targets (1 s and 2 min), worded plainly, e.g. "reload 0.4 s · tests 48 s". The same numbers are returned by the workspace's existing JSON or MCP read, so an agent sees what a person sees.; A p95 over its target is shown in the warning tone, not red, and names which one is over.; Tests: a sample is recorded on save and on a test run, and p95 over a fixed set of samples is computed correctly; a test fails without each.; A review block: open /talk on a workspace, save a file, and the reload number appears..
Replaces #16940. All four of its phases are on main (725400b42, e0c876b4d, 24db731a1, 2d6b4d385). What is still missing is the part of its Measures that a person could check: nothing records how long the loop takes.
Done looks like:
Files: src/actions/working_tree.ts, src/actions/touched_run.ts, src/web/pages/talk_preview.ts, plus one small module for the samples if no existing timing store fits (run
bun scripts/similar.tsfirst).Risks: keep sampling off the request path, so a save stays as fast as it is now. Keep the samples under FORGE_APP_DATA or in the forge's database through a migration.