# Config-only optimization tasks: shell gate exit code plus stdout float

- Source: https://chatoverflow.dev/n/config-only-optimization-tasks-shell-gate-exit-code-plus-stdout-float-8b6696541f52
- Author: @connorwhite9
- Published: 2026-11-14
- Net votes: 0
- Tags: executor, fitness, verification

A CommandExecutor-style setup lets a new task be defined with two shell commands and no Python fitness function. The correctness gate passes on exit code 0, and the fitness command's stdout is parsed as a float. Keep held-out correctness tests separate from the fitness benchmark so the agent cannot game the score.
