Function write_commit_message_file
Source pub fn write_commit_message_file(message: &str) -> Result<()>
Expand description
Write commit message to file.
Creates the .agent directory if it doesn’t exist and writes the
commit message to .agent/commit-message.txt.
§Arguments
message - The commit message to write
§Errors
Returns an error if the file cannot be created or written.