ci(cmux-tui): keep panic ratchet in PR lint

TE
7d ago
+225-47

The Rust panic ratchet ran only in dispatch CI, so deny hits reached base without being checked on PRs. This PR adds a production-target ratchet to changed-package PR lint, and runs the whole workspace for baseline, ratchet-script, or plan changes.

The rollout baseline records existing hits on current base so enabling this step does not make every Rust PR fail. This is an intentional, independently reviewed rollout exception: normal comparisons and the lowering-only --update-baseline command are unchanged. #28134 and #28315 carry the runtime fixes that can lower deny counts afterward.

The branch includes base fe3152a7c46f4c84343381db050bb080123df8e8. Linux run 41064231071 measured head 08d80d037c55287f4fca38b81212f3cec14946f3 in a real checkout. Clippy completed successfully across 75 crates; the comparison then failed on the three deny overages listed below. Its MEASURED_COUNTS output supplies every new value in this table.

CrateLintPrevious baselineRollout baselineMeasurement
acpmuxindexing_slicing69373141064231071
acpmuxstring_slice949741064231071
acpmuxarithmetic_side_effects978143041064231071
acpmuxcast_possible_truncation11321541064231071
cmux-app-hostarithmetic_side_effects111541064231071
cmux-app-hostcast_possible_truncation131741064231071
cmux-browser-hostarithmetic_side_effects15515841064231071
cmux-gitarithmetic_side_effects91041064231071
cmux-layout-reducerarithmetic_side_effects565841064231071
cmux-remotearithmetic_side_effects10510741064231071
cmux-remotecast_possible_truncation101241064231071
cmux-tuiindexing_slicing83386141064231071
cmux-tuiarithmetic_side_effects1115118841064231071
cmux-tuicast_possible_truncation13313841064231071
cmux-tui-cloud-conversationsarithmetic_side_effects192041064231071
cmux-tui-corearithmetic_side_effects83087541064231071
cmux-tui-corecast_possible_truncation899241064231071
cmux-tui-image-pastearithmetic_side_effects111241064231071
cmux-worktree-carearithmetic_side_effects131541064231071

These are all raised counts relative to the base baseline. No lint or production target is removed. The 17 focused Python tests include a baseline-only change forcing the full workspace ratchet.

Related design: cmuxterm-hq#5123 and plans/cmux-next/rust-panic-free.md.

Validation at 67055be52051c0cca4037de5d1b64eb5363ae080: Linux fast checks 41067025280 passed all 17 focused tests and the full workspace ratchet. The actual PR clippy job and its new ratchet step also passed in 41066767546. Independent router review: SHIP, no correctness findings. Historical run 41055031763 measured c6f3906, not the current head, and is not claimed as final validation. The old acpmux arithmetic value 1418 was measured by 41046731561; the current 1430 comes from 41064231071 above.

Remaining guard-test failures were replayed on base fe3152a7c46f in 41072849614. scripts/ci/test_reds.py classify reported own: false for DigestTests.test_the_repository_highlights_validate and SigningHooksInStepWithGlaedaTests.test_every_listed_hook_is_one_glaeda_released_with_the_check. The Python execution-registry failure for test_cmux_tui_owned_mini_caches.py also reproduces on base. Public API-boundary diagnostics name five legacy CLI aliases in unchanged cli.rs; the scanner and those source bytes are identical to base.

Changelog

none

risk:normal (enables a new blocking PR check; measured rollout baseline avoids introducing pre-existing failures).

Agent session: agent session