Instruct agents to open unfinished PRs as drafts #70

Merged
lucas merged 1 commit from agent/issue-68-draft-pr-guidance into main 2026-10-26 13:32:18 +01:00
Collaborator

Adds draft/WIP guidance, as planned in the issue. This only changes description text, so no behavior changes:

  • forgejo_create_pr: unfinished work MUST use draft: true. The PR is marked ready by removing the WIP:/[WIP] prefix with forgejo_update_pr. I updated the draft param description to match.
  • forgejo_update_pr: explains how to mark a PR ready and how to turn it back into a draft.
  • Forgejo system context: new first bullet under "Pull request lifecycle".

Verification: in this checkout, bun test src/forgejo/tools passed 30 tests and failed 6. All 6 failures came from the missing module @oh-my-pi/pi-coding-agent, so dependencies aren't installed here. bun run typecheck also failed, in @omp-deck/web, which I didn't touch. I didn't do the manual check from the issue.

Closes: #68

Adds draft/WIP guidance, as planned in the issue. This only changes description text, so no behavior changes: - `forgejo_create_pr`: unfinished work MUST use `draft: true`. The PR is marked ready by removing the `WIP:`/`[WIP]` prefix with `forgejo_update_pr`. I updated the `draft` param description to match. - `forgejo_update_pr`: explains how to mark a PR ready and how to turn it back into a draft. - Forgejo system context: new first bullet under "Pull request lifecycle". Verification: in this checkout, `bun test src/forgejo/tools` passed 30 tests and failed 6. All 6 failures came from the missing module `@oh-my-pi/pi-coding-agent`, so dependencies aren't installed here. `bun run typecheck` also failed, in `@omp-deck/web`, which I didn't touch. I didn't do the manual check from the issue. Closes: #68
Tool descriptions for forgejo_create_pr/forgejo_update_pr and the Forgejo
system context now say when to use draft: true and how to mark a draft
ready (drop the WIP prefix via forgejo_update_pr).

Closes: #68
Co-Authored-By: Claude Opus 5.5 via omp-deck
lucas approved these changes 2026-10-26 13:32:14 +01:00
lucas merged commit 411155d885 into main 2026-10-26 13:32:18 +01:00
lucas deleted branch agent/issue-68-draft-pr-guidance 2026-10-26 13:32:19 +01:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
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
lucas/omp-deck!70
No description provided.