Cross-language Code Hygiene
Repository-wide hygiene practices for polyglot or language-independent work.
Select one bounded recipe. Start in audit mode; authorize fixes only after reviewing the candidate evidence.
Recipes
Lint warning baseline and budget
developmentBounded audit or remediation to turn an existing warning backlog into a measured, non-growing budget.
Dead code and unused symbol removal
developmentBounded audit or remediation to remove unreachable code and unused symbols without deleting runtime-discovered behavior.
Duplicated logic consolidation
developmentBounded audit or remediation to consolidate behaviorally equivalent logic while preserving each caller's contract.
Complexity and long-function reduction
developmentBounded audit or remediation to reduce hard-to-review control flow without changing behavior.
Deterministic test and flake remediation
developmentBounded audit or remediation to remove nondeterminism from a reproducibly flaky test.
Test isolation and fixture hygiene
developmentBounded audit or remediation to eliminate order-dependent fixtures and leaked test state.
Deprecated API migration
developmentBounded audit or remediation to replace deprecated APIs using the repository's supported runtime versions.
Configuration validation and default hygiene
developmentBounded audit or remediation to make invalid configuration fail clearly and defaults behave consistently.
Structured logging and cardinality hygiene
developmentBounded audit or remediation to make logs structured, actionable, and bounded without exposing sensitive data.
Feature flag and experiment cleanup
developmentBounded audit or remediation to remove stale feature-flag branches after rollout state is proven.
TODO, FIXME, and suppression debt
developmentBounded audit or remediation to turn stale annotations and diagnostic suppressions into owned, reviewable work.
Time, date, timezone, and clock hygiene
developmentBounded audit or remediation to make temporal logic explicit, testable, and timezone-safe.
Serialization schema and versioning hygiene
developmentBounded audit or remediation to make serialized contracts explicit and backward-compatible.
Regular-expression correctness and complexity hygiene
developmentBounded audit or remediation to make complex regular expressions bounded, readable, and behaviorally tested.
Unicode, locale, and normalization hygiene
developmentBounded audit or remediation to make text comparison and normalization semantics intentional.
Dependency manifest and lockfile hygiene
developmentBounded audit or remediation to align declared, resolved, direct, optional, and unused dependencies without upgrading them.