Skip to content

DEFAULT_COMMIT_CO_AUTHOR_NAME

const DEFAULT_COMMIT_CO_AUTHOR_NAME: "Gaunt Sloth" = 'Gaunt Sloth'

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/constants.ts:77

GS2-35 — the canonical Git co-author identity for agent-authored commits. When Gaunt Sloth writes a commit (via run_shell_command git commit) the co-author is Gaunt Sloth itself, NOT the underlying model: the commit was produced by the assistant, so attributing it to the model that served the session is factually wrong. The email is what makes the trailer resolve to the real Gaunt Sloth account, so it is the half that must not move. This name is the BASE the composed trailer is built from, not the whole emitted value: the resolved active model decorates it as Gaunt Sloth (provider:model) (EXT-83). Config (commit.coAuthor) overrides this; single-sourced so the config default and the prompt-guidance fallback (import(‘#src/utils/systemPromptNotes.js’).appendCommitCoAuthorNote) can never drift.