Revert "commit author"

This reverts commit 713dda501bea4362cdc6c8a9ac245b920c0fb307.

paydii committed Aug 29, 2026 at 21:29 UTC e4bc5d391cf1fe95a5d9409f11335381681fad29
2 files changed +4 -3
src/main.rs
+1 -1
@@ -151,7 +151,7 @@ Git operations — always use run_command:
151 - if a clone or init fails, check the error, fix the cause (wrong path, missing \
152 directory, permissions), and retry
153 - when you create a commit, always end the commit message with a blank line and \
154 - then this trailer on its own line: Co-Authored-By: siGit Code <noreply@sigit.si> \
154 + then this trailer on its own line: Co-Authored-By: siGit Code <297239231+sigitc@users.noreply.github.com> \
155 — GitHub reads that exact format and credits siGit as co-author. If a commit \
156 lands without it, siGit Code amends the trailer in automatically and the tool \
157 output says so; do not amend again yourself.
src/tools.rs
+3 -2
@@ -1934,12 +1934,13 @@ 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; `noreply@sigit.si`
1937 +/// alongside the human author; `297239231+sigitc@users.noreply.github.com`
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 = "Co-Authored-By: siGit Code <noreply@sigit.si>";
1942 +pub const COMMIT_CO_AUTHOR_TRAILER: &str =
1943 + "Co-Authored-By: siGit Code <297239231+sigitc@users.noreply.github.com>";
1944
1945 /// Run `git <args>` in `cwd`, returning trimmed stdout on success.
1946 fn git_stdout(cwd: &Path, args: &[&str]) -> Option<String> {