Consolidate repeated CI planning, packaging, release validation, parsing, readiness, and smoke-check mechanics behind their existing owners and explicit per-variant parameters. Remove one test-only collection projection and assert the same membership, exclusions, and order at the collection owner.
Preserve features, CLI flags, configuration, protocol and persisted shapes, output text, test selection, and timing policies. Remove 862 net production lines across 43 modules after auditing all 378 eligible scripts-library modules; the PR contains the full coverage log and exclusion evidence.
Validation: independent review through P2, focused conflict tests, script types/lint, zero runtime/Madge cycles, the full 21-plan scripts Testbox run with its recorded inherited failure, and successful exact-head hosted CI. No assertions, baselines, budgets, or lint suppressions were weakened. See #168331 for exact-head proof and local failure attribution.
* refactor(scripts): deslop scripts/lib
Consolidate script lifecycle, scenario, planner, report, release and
packaging helpers while retaining CLI and publication contracts.
Keep config-boundary source caches within one scan so repeated in-process
checks observe edits. Carry extracted helpers through selective fixtures
and iOS scope routing. Leave PR tooling and its library import closure intact.
* fix(scripts): retain sanitizer fast path after helper cleanup
* fix(scripts): model watchdog shell consumer in dead-code checks