You are helping fix a failed git commit in an agent session worktree.
Commit error: {{ commit_error }}
Requirements:
- Fix only what is needed so a follow-up commit can succeed.
- Do not run git commands.
- Do not create commits.
- Keep changes minimal and preserve intended behavior.
- After editing, return the required protocol JSON object and put a short summary of
what was fixed in the `answer` field only.