fix: brief claude on in-flight PRs so discretionary doesn't dupe #22

Closed
joshtronic wants to merge 1 commit from devel into master
Owner

Igor opened two PRs in a row both about adding full content to
RSS/Atom feeds. Per-repo throttle removal lets multiple PRs land
in parallel, but without awareness of what's in flight Claude can
pick the same idea twice -- he only sees merged master history.

Now the discretionary website user message includes the list of
open Igor PRs by number, title, and branch. The prompt tells him
to pick something different, and explicitly suggests a read-and-
journal tick if nothing else feels right rather than shipping
another overlapping PR.

New helper forgejo_list_open_bot_prs returns the filtered list.
Failure-tolerant: API hiccup falls back to "[]" and the prompt
reports "No open Igor PRs" so the tick still runs.

Doesn't change tier-1 (issue work is scoped by issue) or PR-review
(tied to a specific PR). Discretionary website is the only path
where Claude freely picks topics, so it's the only one that needs
the brief.

Igor opened two PRs in a row both about adding full content to RSS/Atom feeds. Per-repo throttle removal lets multiple PRs land in parallel, but without awareness of what's in flight Claude can pick the same idea twice -- he only sees merged master history. Now the discretionary website user message includes the list of open Igor PRs by number, title, and branch. The prompt tells him to pick something different, and explicitly suggests a read-and- journal tick if nothing else feels right rather than shipping another overlapping PR. New helper forgejo_list_open_bot_prs returns the filtered list. Failure-tolerant: API hiccup falls back to "[]" and the prompt reports "No open Igor PRs" so the tick still runs. Doesn't change tier-1 (issue work is scoped by issue) or PR-review (tied to a specific PR). Discretionary website is the only path where Claude freely picks topics, so it's the only one that needs the brief.
fix: brief claude on in-flight PRs so discretionary doesn't dupe
All checks were successful
Lint / check-sync (push) Successful in 4s
Lint / check-sync (pull_request) Successful in 4s
fa2ab00be7
Igor opened two PRs in a row both about adding full content to
RSS/Atom feeds. Per-repo throttle removal lets multiple PRs land
in parallel, but without awareness of what's in flight Claude can
pick the same idea twice -- he only sees merged master history.

Now the discretionary website user message includes the list of
open Igor PRs by number, title, and branch. The prompt tells him
to pick something different, and explicitly suggests a read-and-
journal tick if nothing else feels right rather than shipping
another overlapping PR.

New helper forgejo_list_open_bot_prs returns the filtered list.
Failure-tolerant: API hiccup falls back to "[]" and the prompt
reports "No open Igor PRs" so the tick still runs.

Doesn't change tier-1 (issue work is scoped by issue) or PR-review
(tied to a specific PR). Discretionary website is the only path
where Claude freely picks topics, so it's the only one that needs
the brief.
joshtronic closed this pull request 2026-05-17 22:55:23 +00:00
All checks were successful
Lint / check-sync (push) Successful in 4s
Required
Details
Lint / check-sync (pull_request) Successful in 4s
Required
Details

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
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
joshtronic/igor!22
No description provided.