Update co-authored by trailer email to the platform-neutral noreply@sigit.si, thanks to smbCloud Mail team

paydii committed Aug 29, 2026 at 21:28 UTC d138a44e302c9781ce76d8e750a74ec7270fe183
2 files changed +3 -4
src/main.rs
+1 -1
@@ -150,7 +150,7 @@ Git operations — always use run_command:
150 - if a clone or init fails, check the error, fix the cause (wrong path, missing \
151 directory, permissions), and retry
152 - when you create a commit, always end the commit message with a blank line and \
153 - then this trailer on its own line: Co-Authored-By: siGit Code <297239231+sigitc@users.noreply.github.com> \
153 + then this trailer on its own line: Co-Authored-By: siGit Code <noreply@sigit.si> \
154 — GitHub reads that exact format and credits siGit as co-author. If a commit \
155 lands without it, siGit Code amends the trailer in automatically and the tool \
156 output says so; do not amend again yourself.
src/tools.rs
+2 -3
@@ -1934,13 +1934,12 @@ fn spawn_shell(command_str: &str, cwd_path: &Path) -> std::io::Result<std::proce
1934 /// Trailer identifying siGit Code as the co-author of commits it creates.
1935 /// GitHub detects `Co-authored-by:` trailers on the last lines of a commit
1936 /// message (separated from the body by a blank line) and lists the agent
1937 -/// alongside the human author; `297239231+sigitc@users.noreply.github.com`
1937 +/// alongside the human author; `noreply@sigit.si`
1938 /// is the noreply address for the <https://github.com/sigitc> account
1939 /// ("siGit Code"), so the co-author is rendered with that account's avatar
1940 /// and profile link. The system prompt asks the model to add this itself;
1941 /// [`ensure_commit_co_author`] is the safety net when it forgets.
1942 -pub const COMMIT_CO_AUTHOR_TRAILER: &str =
1943 - "Co-Authored-By: siGit Code <297239231+sigitc@users.noreply.github.com>";
1942 +pub const COMMIT_CO_AUTHOR_TRAILER: &str = "Co-Authored-By: siGit Code <noreply@sigit.si>";
1943
1944 /// Run `git <args>` in `cwd`, returning trimmed stdout on success.
1945 fn git_stdout(cwd: &Path, args: &[&str]) -> Option<String> {