File tree Expand file tree Collapse file tree 4 files changed +16
-5
lines changed
Expand file tree Collapse file tree 4 files changed +16
-5
lines changed Original file line number Diff line number Diff line change @@ -17,9 +17,15 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
1717 apt-get update && apt-get install -y --no-install-recommends gh && \
1818 rm -rf /var/lib/apt/lists/*
1919
20- # Git config (agents need this for commits)
21- RUN git config --global user.name "SWE Agent" && \
22- git config --global user.email "swe-agent@agentfield.ai"
20+ # Git identity — env vars take highest precedence and are inherited by all
21+ # subprocesses including Claude Code agent instances spawned by the SDK
22+ ENV GIT_AUTHOR_NAME="SWE-AF" \
23+ GIT_AUTHOR_EMAIL="contact@agentfield.com" \
24+ GIT_COMMITTER_NAME="SWE-AF" \
25+ GIT_COMMITTER_EMAIL="contact@agentfield.com"
26+
27+ RUN git config --global user.name "SWE-AF" && \
28+ git config --global user.email "contact@agentfield.com"
2329
2430# Install uv for fast package installation
2531RUN pip install --no-cache-dir uv
Original file line number Diff line number Diff line change 6060- Commit your work when implementation is complete.
6161- Do NOT push — the merge agent handles that.
6262- Do NOT create new branches — work on the current branch.
63+ - Do NOT add any `Co-Authored-By` trailers to commit messages. Commits \
64+ must only contain your descriptive message — no attribution footers.
6365
6466## Self-Validation
6567
Original file line number Diff line number Diff line change 28281. A "## Summary" section with 2-4 bullet points describing what was built.
29292. A "## Changes" section listing key files/areas modified.
30303. A "## Test plan" section with verification steps.
31- 4. A footer line: `Built with [AgentField SWE](https://agentfield.ai)`
32-
31+ 4. A footer line: `🤖 Built with [AgentField SWE](https://github.com/Agent-Field/SWE-AF)`
32+ 4. A footer line: `🔌 Powered by [AgentField](https://github.com/Agent-Field/agentfield)`
33+ 5. Add any other relevant information someone reviewing the PR would want to know. Do not be verbose, but explain when needed.
3334## Tools Available
3435
3536- BASH for git and gh commands\
Original file line number Diff line number Diff line change 8989- Do NOT delete branches — cleanup is handled separately.
9090- If a branch doesn't exist, skip it and report in `failed_branches`.
9191- Always work from the integration branch in the main repository directory.
92+ - Do NOT add any `Co-Authored-By` trailers to commit messages. Commits \
93+ must only contain your descriptive message — no attribution footers.
9294
9395## Tools Available
9496
You can’t perform that action at this time.
0 commit comments