What problem does it solve? Codebases accumulate inefficient string operations like repeated case conversions, eager multi-field matching, and string concatenation in loops, causing unnecessary heap allocations and slower execution across Go, TypeScript, Python, PHP, Rust, and C# projects. ## Core Features & Use Cases - Zero-Allocation Case Folding: Replaces patterns like strings.ToLower(a) == strings.ToLower(b) with strings.EqualFold in Go, eq_ignore_ascii_case in Rust, and StringComparison.OrdinalIgnoreCase in C#. - Short-Circuiting & Loop Hoisting: Converts eager multi-field filter predicates into lazy early-return guards and hoists invariant case conversions outside loops. - Business Logic Preservation: Enforces a zero-regression mandate so substring containment semantics are never accidentally changed into equality comparisons. - Use Case: While auditing a Go service, the agent finds a filter loop lowering the search term on every iteration; it hoists the conversion, applies EqualFold for role checks, and commits everything in a single final commit. ## Quick Start Ask the agent to audit the repository for inefficient string comparisons and case conversions, then refactor them using zero-allocation equivalents while preserving existing behavior.