mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-09-30 13:53:15 +00:00
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. |
||
|---|---|---|
| .. | ||
| integrations | ||
| middleware | ||
| tools | ||
| utils | ||
| encryption.py | ||
| prompt.py | ||
| reviewer.py | ||
| reviewer_diff.py | ||
| reviewer_findings.py | ||
| reviewer_publish.py | ||
| server.py | ||
| webapp.py | ||