open-swe/agent
Johannes du Plessis 5d1020e8d7
fix: restore Co-authored-by trailer for triggering user (#1271)
The gh-cli migration removed agent/middleware/open_pr.py and
agent/tools/commit_and_open_pr.py — the only callers of
add_user_coauthor_trailer / add_pr_collaboration_note. Since then the
agent has been driving commits and PRs entirely via gh, with no
attribution back to the Slack/Linear/GitHub user who triggered the run.

Resolve the triggering user's identity in get_agent (reusing the
existing authorship helpers) and inject a Collaborative Attribution
section into the system prompt with the exact trailer and PR-body note
to use. The section is only rendered when an identity is resolvable, so
runs without a known triggering user are unchanged.
2026-05-08 10:42:15 -07:00
..
integrations feat: add idle TTL and delete-after-stop sandbox lifecycle controls (#1265) 2026-05-08 00:30:14 -04:00
middleware feat: add optional Slack Assistants API typing status indicator (#1269) 2026-05-08 10:21:55 -07:00
tools feat(open-swe): always anchor findings to a single line (#1264) 2026-05-07 20:26:59 -07:00
utils feat: add optional Slack Assistants API typing status indicator (#1269) 2026-05-08 10:21:55 -07:00
encryption.py chore: Drop monorepo (#1029) 2026-03-06 16:10:34 -08:00
prompt.py fix: restore Co-authored-by trailer for triggering user (#1271) 2026-05-08 10:42:15 -07:00
reviewer.py feat: add optional Slack Assistants API typing status indicator (#1269) 2026-05-08 10:21:55 -07:00
reviewer_diff.py fix(open-swe): surface reviewer diff-prep failures instead of swallowing (#1260) 2026-05-07 18:20:27 -07:00
reviewer_findings.py feat(open-swe): always anchor findings to a single line (#1264) 2026-05-07 20:26:59 -07:00
reviewer_publish.py fix(open-swe): host-format the review summary, drop agent prose (#1257) 2026-05-07 15:41:40 -07:00
server.py fix: restore Co-authored-by trailer for triggering user (#1271) 2026-05-08 10:42:15 -07:00
webapp.py feat: add optional Slack Assistants API typing status indicator (#1269) 2026-05-08 10:21:55 -07:00