From 440e34b262b23596a57abe7b3d6f3cdd1d0b22b2 Mon Sep 17 00:00:00 2001 From: "r4yharris-agent-coder[bot]" <334673250+r4yharris-agent-coder[bot]@users.noreply.github.com> Date: Sun, 27 Sep 2026 19:53:22 -0400 Subject: [PATCH] feat: add bot identity helper Print the GitHub App bot author/committer strings for agent commits. AI-Agent: r4yharris-agent-coder AI-Model: unknown --- scripts/bot-identity.mjs | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 scripts/bot-identity.mjs diff --git a/scripts/bot-identity.mjs b/scripts/bot-identity.mjs new file mode 100644 index 0000000..3585e8b --- /dev/null +++ b/scripts/bot-identity.mjs @@ -0,0 +1,8 @@ +#!/usr/bin/env node +const login = "r4yharris-agent-coder[bot]"; +const id = "334673250"; +const email = `${id}+${login}@users.noreply.github.com`; +process.stdout.write(`GIT_AUTHOR_NAME=${login}\n`); +process.stdout.write(`GIT_AUTHOR_EMAIL=${email}\n`); +process.stdout.write(`GIT_COMMITTER_NAME=${login}\n`); +process.stdout.write(`GIT_COMMITTER_EMAIL=${email}\n`);