Selective commit from a mixed working tree
The working tree mixes an input-validation fix with unrelated logging, configuration, and debug-note changes. The instruction asks for a new branch containing only the validation work, with every other change left uncommitted in the working tree. Leaving the right changes uncommitted is part of the graded outcome.
The difficulty is partitioning: selecting the correct files and hunks (contiguous blocks of changed lines within a file) without sweeping in the rest of the uncommitted changes.
Instruction given to the agent
Commit just the input validation work on a new branch. Leave the logging/config cleanup and debug notes uncommitted.