feat(server): let implementers toggle draft state of their own PRs #224

Merged
lucas merged 1 commit from agent/issue-223-implementer-update-pr into main 2026-11-04 16:28:13 +01:00
Collaborator

Adds forgejo_update_pr to the implementer tool surface, gated to the session's own PRs and to title/body changes only (base/state denied). The implementer system context now explains how to mark a PR ready or back to draft.

Tests added in session-policy.test.ts; bun test apps/server/src/bridge passes.

Closes: #223

Adds `forgejo_update_pr` to the implementer tool surface, gated to the session's own PRs and to `title`/`body` changes only (`base`/`state` denied). The implementer system context now explains how to mark a PR ready or back to draft. Tests added in `session-policy.test.ts`; `bun test apps/server/src/bridge` passes. Closes: #223
Implementer sessions can now call forgejo_update_pr on pull requests
mapped to the session, changing only title and body, so a draft PR can
be marked ready (and back). Changing base or state stays denied.

Co-Authored-By: Claude Opus 5.5 via omp-deck
lucas approved these changes 2026-11-04 16:28:00 +01:00
lucas merged commit 87c5356bdc into main 2026-11-04 16:28:13 +01:00
lucas deleted branch agent/issue-223-implementer-update-pr 2026-11-04 16:28:14 +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!224
No description provided.