You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Part of #10 — Go HTTP Daemon lane. Sub-issue of umbrella #18.
⚠️Scope: Interface-first. Register the two SCM/PR action routes as 200 with a structured planned body. No business logic. No real service impls. Route surface locked to the SCM section of the route analysis.
Both carry the different lane verdict — they belong to the SCM poller / webhook layer (feeding ApplySCMObservation), not the session/project REST API. Registered here as shells only.
Method
Path
Verdict
Notes
POST
/api/v1/prs/{id}/merge
different lane
Merge a PR.
POST
/api/v1/prs/{id}/resolve-comments
different lane
Resolve review comments on a PR.
Contract details
POST /api/v1/prs/{id}/merge
Request: (none)
200 → { ok: true, prNumber, method: "squash" }
404 → unknown PR
409 → not mergeable
422 → merge preconditions unmet
POST /api/v1/prs/{id}/resolve-comments
Request: { commentIds?: string[] } — omit to resolve all
200 → { ok: true, resolved: number }
404 → unknown PR
422 → nothing to resolve
Files
backend/internal/
httpd/controllers/
prs.go NEW
prs_test.go NEW
Activity
feat(api): projects route shell (7 routes, REST-corrected) — #20
refactor(api): move projects contract to internal/project package — #20
docs(httpd): ground router/api comments in the code that exists
feat(api): projects route shell (7 routes, REST-corrected) — #20
refactor(api): move projects contract to internal/project package — #20
docs(httpd): ground router/api comments in the code that exists
[-]feat(api): 1b·b — Sessions route shell (9 routes, REST-corrected)[/-][+]feat(api): 1b·b — Sessions, orchestrators & platform route shell (REST-corrected, merges #22)[/+]feat(api): implement project routes with mock manager/store (#47)
[-]feat(api): 1b·b — Sessions, orchestrators & platform route shell (REST-corrected, merges #22)[/-][+]feat(api): 1b — PR action route shell (merge + resolve-comments)[/+][-]feat(api): 1b — PR action route shell (merge + resolve-comments)[/-][+]feat(api): 1b — PR actions (merge + resolve-comments), full impl[/+]feat(api): PR action routes — full impl (merge + resolve-comments)
feat(api): PR action routes — merge + resolve-comments (#21)
[-]feat(api): 1b — PR actions (merge + resolve-comments), full impl[/-][+]feat(api): 1b — PR action route shell (merge + resolve-comments)[/+]feat(api): PR action routes — merge + resolve-comments (#88)