architect: supervisor PR sweeper (#894) #41

Open
architect-bot wants to merge 1 commit from architect/supervisor-pr-sweeper into main
Collaborator

Sprint pitch: supervisor-pr-sweeper

Vision issue: #894 — supervisor needs an unblock-PR sweeper

What this enables

Supervisor automatically detects abandoned PRs (open PR + blocked issue + failed CI + no recent activity), triages the failure cause (code / test-harness / ci-config / flake), and either re-queues the issue with diagnosis or escalates repeat offenders.

Key findings

  • ~85% of the infrastructure already exists (CI log reading, failure classification, issue lifecycle helpers)
  • 3 validating incidents (PRs #872, #896, #908) — recurring pattern, not a one-off
  • 4 sub-issues, ~85% gluecode, ~15% greenfield
  • No new services or scheduled tasks — runs inside existing supervisor cron

Risks

  • False positive triage (mitigated by idempotency guard + human override)
  • Noisy re-queuing of hard issues (mitigated by repeat-offender escalation after 2 failures)

Recommendation

Worth it. Closes the single largest gap in factory self-healing.


Reply ACCEPT to proceed with design questions, or REJECT: <reason> to decline.

## Sprint pitch: supervisor-pr-sweeper **Vision issue:** #894 — supervisor needs an unblock-PR sweeper ### What this enables Supervisor automatically detects abandoned PRs (open PR + blocked issue + failed CI + no recent activity), triages the failure cause (code / test-harness / ci-config / flake), and either re-queues the issue with diagnosis or escalates repeat offenders. ### Key findings - ~85% of the infrastructure already exists (CI log reading, failure classification, issue lifecycle helpers) - 3 validating incidents (PRs #872, #896, #908) — recurring pattern, not a one-off - 4 sub-issues, ~85% gluecode, ~15% greenfield - No new services or scheduled tasks — runs inside existing supervisor cron ### Risks - False positive triage (mitigated by idempotency guard + human override) - Noisy re-queuing of hard issues (mitigated by repeat-offender escalation after 2 failures) ### Recommendation Worth it. Closes the single largest gap in factory self-healing. --- Reply `ACCEPT` to proceed with design questions, or `REJECT: <reason>` to decline.
architect-bot added 1 commit 2026-04-18 22:34:14 +00:00
This pull request doesn't have enough approvals yet. 0 of 1 approvals granted.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin architect/supervisor-pr-sweeper:architect/supervisor-pr-sweeper
git checkout architect/supervisor-pr-sweeper
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: disinto-admin/disinto-ops#41
No description provided.