Forgejo MCP: add update_issue tool for consolidated spec workflow #162
Labels
No labels
domain:backend
domain:devops
domain:frontend
status:approved
status:in-progress
status:needs-fix
status:qa
type:bug
type:devops
type:feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ldraney/claude-custom#162
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Type
Feature
Lineage
standalone — discovered while dogfooding scope review pipeline on forgejo_admin/dotfiles#1
Repo
forgejo_admin/claude-customUser Story
As Betty Sue (main session agent)
I want to update a Forgejo issue's body via MCP
So that scope refinements can consolidate into the issue body instead of accumulating as comments
Context
The consolidated spec convention (from claude-custom#161) requires that after scope review refinements, the issue body gets rewritten with expanded scope. Comments document history (why scope changed), body is always the current spec. Currently the Forgejo MCP only has
create_issueandcomment_on_issue— noupdate_issue. This means Betty Sue can only post refinements as comments, creating the fragmented spec problem.File Targets
~/pal-e-docs-mcp/src/pal_e_docs_mcp/forgejo/tools.py(or equivalent) — add update_issue tool~/pal-e-docs-mcp/src/pal_e_docs_mcp/forgejo/client.py(or equivalent) — add PATCH /repos/{owner}/{repo}/issues/{index} API callFiles NOT to touch:
Acceptance Criteria
mcp__forgejo__update_issue(owner, repo, issue_number, body=..., title=...)available as MCP toolTest Expectations
pytest tests/ -k test_update_issueConstraints
PATCH /repos/{owner}/{repo}/issues/{index}with JSON body{"body": "...", "title": "..."}Checklist
Related
forgejo_admin/claude-custom#161— scope review pipeline that requires this capabilityforgejo_admin/dotfiles#1— first ticket where the gap was discoveredScope Review: NEEDS_REFINEMENT
Review note:
review-365-2026-03-27Duplicate of forgejo-mcp#15 (board item #360), which is filed on the correct repo.
Issues found:
Repo: forgejo_admin/claude-custombut code lives inforgejo_admin/forgejo-mcp~/pal-e-docs-mcp/src/pal_e_docs_mcp/forgejo/which does not exist. Correct paths are~/forgejo-mcp/src/forgejo_mcp/tools/workflows.pyand~/forgejo-mcp/tests/issue_edit_issue(owner, repo, index, *, title=None, body=None, ...)— no new client code requiredforgejo_admin/forgejo-mcp#15covers identical scope on the correct repoRecommend: close this issue as duplicate of forgejo-mcp#15, remove board item #365, and consolidate scope into #360.
Closing — Duplicate
Scope review (
review-365-2026-03-27) found this is a duplicate offorgejo-mcp#15filed on the wrong repo. The canonical ticket isforgejo-mcp#15(board item #360).