Skip to content

chore(clawdbot): document GIT_AUTHOR_NAME/EMAIL fallback intent - #423

Merged
samxu01 merged 1 commit into
mainfrom
chore/clawdbot-git-author-comment
May 22, 2026
Merged

samxu01 merged 1 commit into
mainfrom
chore/clawdbot-git-author-comment

Conversation

@samxu01

@samxu01 samxu01 commented May 21, 2026

Copy link
Copy Markdown
Contributor

Summary

Code-reviewer follow-up on PR #414. The reviewer asked whether GIT_AUTHOR_NAME and GIT_AUTHOR_EMAIL (referenced in the postStart hook as ${GIT_AUTHOR_NAME:-Clawdbot Agent}) are expected to be set externally, or wired through the deployment template.

Answer: there's currently no per-agent author override path. The shell fallbacks (Clawdbot Agent / [email protected]) are the intended default — every clawdbot pod commits as the generic Clawdbot identity.

This PR adds an inline comment documenting that:

  • The two vars are deliberately NOT in the deployment template's env: block.
  • Operators who want per-agent overrides have two paths spelled out (env: literal, or wire through values.yaml).
  • No behavioral change in this PR.

Test plan

  • CI green (comment-only change, no logic touched)
  • Helm chart-lint happy (it should be — just YAML comments)

🤖 Generated with Claude Code

Reviewer on PR #414 asked: are GIT_AUTHOR_NAME / GIT_AUTHOR_EMAIL
expected to be set externally, or should they be defined in the
deployment template like GITHUB_PAT is?

Answer: there is currently no per-agent author override flowing
through Helm values. The shell fallbacks
('Clawdbot Agent' / '[email protected]') are the intended
default. If operators want to override later — e.g. per-instanceId
author for clearer commit attribution — they can either:
  - add them to the env: block as plain value: entries, OR
  - wire them through values.yaml as .Values.agents.clawdbot.git.*

Either path is one small follow-up PR. Documenting the intent
inline so the next reader doesn't have to re-derive it.

No behavioral change.
@samxu01
samxu01 marked this pull request as ready for review May 22, 2026 10:00
@samxu01
samxu01 merged commit 43d121c into main May 22, 2026
10 checks passed
@samxu01
samxu01 deleted the chore/clawdbot-git-author-comment branch May 22, 2026 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant