Add a Forgejo API surface to ward (port coily ops forgejo, with pagination) #117

Closed
opened 2026-06-17 21:24:22 +00:00 by coilysiren · 0 comments
Owner

Why

coily is being retired, so coily ops forgejo (the current Forgejo API surface) needs a home on ward. The goose-triage tooling in agentic-os depends on it today (coily ops forgejo issue list / issue view), and so does ad-hoc issue filing.

Asked-for surface

Port the Forgejo API verbs onto ward as an audited passthrough (sibling to ward git / ward pkg), NOT repo-verb-gated:

  • ward forgejo issue list|view|create|edit|comment|label|close|reopen
  • ward forgejo label create (+ CRUD)
  • ward forgejo repo topics list, ward forgejo pr list

Fix the 50-cap while porting

coily ops forgejo issue list hard-caps --limit at 50 with no --page flag, so any repo with >50 open issues can only be triaged partially (the goose-triage percentile math is dishonest over a partial backlog). The ward port should support pagination and expose the authoritative open count (the per-repo /issues X-Total-Count header) so callers can page to exhaustion.

Context: goose-triage (agentic-os#237) and the coily-retirement doc update in agentic-os-kai/AGENTS.md.

## Why `coily` is being retired, so `coily ops forgejo` (the current Forgejo API surface) needs a home on ward. The goose-triage tooling in agentic-os depends on it today (`coily ops forgejo issue list` / `issue view`), and so does ad-hoc issue filing. ## Asked-for surface Port the Forgejo API verbs onto ward as an audited passthrough (sibling to `ward git` / `ward pkg`), NOT repo-verb-gated: - `ward forgejo issue list|view|create|edit|comment|label|close|reopen` - `ward forgejo label create` (+ CRUD) - `ward forgejo repo topics list`, `ward forgejo pr list` ## Fix the 50-cap while porting `coily ops forgejo issue list` hard-caps `--limit` at 50 with no `--page` flag, so any repo with >50 open issues can only be triaged partially (the goose-triage percentile math is dishonest over a partial backlog). The ward port should support pagination and expose the authoritative open count (the per-repo `/issues` `X-Total-Count` header) so callers can page to exhaustion. Context: goose-triage (agentic-os#237) and the coily-retirement doc update in agentic-os-kai/AGENTS.md.
Sign in to join this conversation.
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
coilyco-flight-deck/ward#117
No description provided.