Open, save, status, close
Merge .ai-terminal/ by name, write it back without secrets, and commit the diff yourself.