Skip to content

fix(status): count an open draft pull request as in review - #55

Open
ancelin-code wants to merge 1 commit into
developfrom
fix/status-draft-in-review
Open

ancelin-code wants to merge 1 commit into
developfrom
fix/status-draft-in-review

Conversation

@ancelin-code

Copy link
Copy Markdown
Owner

What and why

After PUBLISHED, a task stayed in-progress until its pull request left draft, so "a bench is running" and "a draft waits on a person" looked the same, and where.sh printed no REVIEW rows for the draft (feedback item 4).

The rule behind it rested on an outdated assumption, that a bench opens its draft early and works in it. In fact publish-bench.sh opens the draft only after both sessions have ended. So the rule is deleted: any open pull request, draft or not, is in-review.

How to review

  • etabli-status/scripts/status.sh: the open query loses its isDraft filter. The rest of the diff is the state's description, in the script, the status skill and the shared conventions.
  • etabli-orchestrator/scripts/follow.sh: without a fix, a bench run here would print PUBLISHED, then IN-REVIEW once its draft appeared. IN-REVIEW is now printed only when this machine has no log for the task, so it still announces pull requests from benches run elsewhere.
  • where.sh needs no change: drafts now reach its REVIEW rows through in-review.

I chose this over a new published state. A new state would need teaching to where.sh, follow.sh, standup.sh, the tests and the docs, for a difference GitHub already shows.

How to try it

With a bench's draft pull request open, sh .agents/skills/etabli-orchestrator/scripts/where.sh lists it under REVIEW with its lenses, and status.sh --in-review includes it.

Does it earn its place?

This removes a rule rather than adding one. It changes a state people read: a draft that showed in-progress now shows in-review, and IN-REVIEW no longer means "left draft". Recorded under Changed in CHANGELOG.md.

🤖 Generated with Claude Code

A bench opens its draft only after its sessions end, so a draft already
waits on a person; reading it as in-progress made a finished bench look like
a running one, and where.sh printed no REVIEW rows for it. Any open pull
request is now in-review. follow.sh announces IN-REVIEW only for benches it
has no log for, since PUBLISHED announces its own.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot added the ai-assisted AI agents worked on this change label Nov 10, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai-assisted AI agents worked on this change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant