mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-09-30 09:13:14 +00:00
* feat: CI auto-fix and PR babysitting for agent PRs Watch CI failures and review feedback on PRs Open SWE opened, then dispatch confidence-gated fix runs on the originating agent thread. Adds CI webhook ingestion (check_run/check_suite/workflow_run/status), a per-PR @open-swe autofix on|off toggle, auto-response to review comments, and a polling ci_monitor graph that also flags merge conflicts. Gated by the existing autofix_mode/trigger_mode settings, the enabled-repos opt-in, base-branch and human-commit skip rules, dedupe, and a per-PR attempt cap. Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com> * fix: address review feedback on CI auto-fix - Security: gate the no-mention review-feedback path on author trust — require a trusted author_association (OWNER/MEMBER/COLLABORATOR) plus a GitHub write/maintain/admin permission check before dispatching a write-capable agent run, preventing privilege escalation from read/triage/outside reviewers. - Auth: reuse the originating PR thread's source + login/email when dispatching fix runs so the GitHub-token resolver authenticates them in non-bot-token deployments (bespoke github_ci source failed to resolve). - Docs: document the Commit statuses: Read-only permission required for the Status webhook event. Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com> --------- Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
26 lines
609 B
JSON
26 lines
609 B
JSON
{
|
|
"$schema": "https://langgra.ph/schema.json",
|
|
"python_version": "3.12",
|
|
"api_version": "0.10.0rc3",
|
|
"graphs": {
|
|
"agent": "agent.server:traced_agent",
|
|
"reviewer": "agent.reviewer:traced_reviewer_agent",
|
|
"analyzer": "agent.analyzer:traced_analyzer",
|
|
"scheduler": "agent.scheduler:get_scheduler",
|
|
"ci_monitor": "agent.ci_monitor:get_ci_monitor"
|
|
},
|
|
"dependencies": [
|
|
"."
|
|
],
|
|
"http": {
|
|
"app": "agent.webapp:app"
|
|
},
|
|
"checkpointer": {
|
|
"ttl": {
|
|
"strategy": "delete",
|
|
"sweep_interval_minutes": 60,
|
|
"default_ttl": 43200
|
|
}
|
|
},
|
|
"env": ".env"
|
|
}
|