live-code-shell measurement: a new-file step

Merged
TE
2d ago
+38-7

Leo (2026-11-04): "Couldn't we architect stuff to make everything more amenable to hot swappage? ... deal with files"

This splits the measurement change out of #35705 so the fleet can run it at that PR's commits: it runs a scripts/measure script only when the script is the same as on feat-cmux-next. The file's bytes match #35705's exactly (blob f47de56c).

scripts/measure/live-code-shell.sh gains a new step 3:

  • It writes Sources/ViewShell/LiveCodeProbeDot.swift, a new view, and edits Badge.swift to use it.
  • It injects naming only Badge.swift, then records new_file_edit (applied, refused, or the same picture) and new_file_edit_to_pixels_s in result.json.
  • The script deletes the probe file when it exits.

The stored-property step becomes step 4. It now counts only refusals that come after it, and it expects the next generation.

With this base's inject.sh, step 3 records refused, because the patch cannot resolve the new type. #35705 is the change that makes it apply. The script changes nothing outside the measurement.

Part of manaflow-ai/cmuxterm-hq#7066.

🤖 Generated with Claude Code
Agent session: agent session


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.


Summary by cubic

Splits the new-file measurement step out of #35705 so the fleet can run it at that PR's commits.

  • Step 3 writes LiveCodeProbeDot.swift, injects naming only Badge.swift, and records new_file_edit and new_file_edit_to_pixels_s in result.json.
  • The stored-property step becomes step 4; it counts refusals after it and expects the next generation.
  • The probe file is deleted when the script exits.

At this base's inject.sh, step 3 records refused; #35705 is the change that makes it apply.