Mission Run Overview
Mission Run: Charter & Sync Sonar Remediation
Clear the SonarCloud maintainability backlog for the charter and sync modules (80 findings: complexity, duplicate literals, suppression-comment syntax, unused params, plus one ReDoS-class BLOCKER regex) via behavior-preserving refactors with no new suppressions.
The src/charter and src/specify_cli/sync modules carry 80 open Sonar findings (charter 45 incl. a super-linear-backtracking regex BLOCKER; sync 35). This mission clears them the same way the doctrine sweep (#3232) did: hoist duplicate literals to constants, extract tested helpers to bring over-complex functions to the <=15 ceiling, fix malformed suppression-comment syntax, remove unused params, and simplify the ReDoS regex — all behavior-preserving, no new suppressions, each extracted helper tested.