Prompt optimization stops rewriting whole strings: Splice freezes contract clauses, winning four of seven benchmarks and matching on three
Splice recasts natural-language prompt optimization as constrained combinatorial search over an edit graph of block-structured states: safety clauses, tool schemas and output formats are tagged immutable so no edit can reach them, and length growth is priced by a ratio penalty. Across seven public benchmarks under five reproduced protocols, Splice wins on four and matches the strongest prior method on three; in a contract stress test, unconstrained optimizers trade away the clauses that cost reward, and frozen text does not mean frozen behavior.