docs: add missing update_issue tool, CLAUDE.md symlink, fix auth docs #27
No reviewers
Labels
No labels
domain:backend
domain:devops
domain:frontend
status:approved
status:in-progress
status:needs-fix
status:qa
test:label-a
test:label-b
test:set-label
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/forgejo-mcp!27
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "26-docs-update"
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?
Summary
Docs-only fix. README was stale (missing update_issue, auth section showed basic auth as primary), and no CLAUDE.md existed for Claude Code to pick up tool inventory.
Changes
update_issueto README tool list (missing since05b4a18)FORGEJO_TOKEN) as preferred, basic auth as fallbackget_client()docstring to matchTest Plan
Review Checklist
CLAUDE.md -> README.md)Related Notes
None.
Closes #26
PR #27 Review
DOMAIN REVIEW
Stack: Python (docstring only), Markdown documentation, symlink.
This is a docs-only PR with 3 files changed (+8/-5). All changes are non-functional.
README.md
update_issuetool entry added in the correct alphabetical position within the tool list. Description is accurate and consistent with the other entries' style.FORGEJO_TOKENas the primary auth method with basic auth as fallback. This matches the actualget_client()implementation inserver.pywhich delegates toForgejoClient()(the SDK handles auth precedence).CLAUDE.md
120000mode). This is a reasonable approach -- Claude Code reads CLAUDE.md for project context, and the README already contains the tool inventory and architecture overview. No duplication to maintain.server.py
forgejo-sdk >= 0.2.0note which is no longer relevant.BLOCKERS
None. This is a docs-only PR with no logic changes. No BLOCKER criteria are triggered:
NITS
Tool count mismatch in test plan: The PR body's test plan says "README renders correctly with 14 tools listed," but the README (after this PR) lists 12 tool entries (some grouped, e.g.,
list_issues / list_prs / list_branches). The actual codebase has 16@mcp.tool()definitions. Neither "14" nor "12" matches "16." Not blocking for a docs PR, but the README tool list could fall out of sync again. Consider a follow-up to list all 16 tools individually.Missing newline at end of CLAUDE.md symlink: The diff shows
\ No newline at end of filefor the symlink target. This is normal for symlink content in git and has no practical impact, but worth noting.SOP COMPLIANCE
"your-api-token"placeholder)docs: add missing update_issue tool, CLAUDE.md symlink, fix auth docs)26-docs-update)Closes #26)PROCESS OBSERVATIONS
VERDICT: APPROVED
PR #27 Review
DOMAIN REVIEW
Tech stack: Docs-only (Markdown, Mermaid diagrams, symlink, Python docstring). No logic changes.
Files changed (3):
CLAUDE.md-- new symlink toREADME.mdREADME.md-- addedupdate_issuetool, replaced ASCII architecture diagram with Mermaid, rewrote auth sectionsrc/forgejo_mcp/server.py-- docstring update inget_client()Mermaid diagrams: Both diagrams are syntactically correct and accurately represent the architecture:
Auth section: Token auth promoted to preferred, basic auth documented as fallback. Matches
get_client()docstring and actualForgejoClientbehavior. The JSON example now shows onlyFORGEJO_TOKENwhich is cleaner. Fallback documented in prose below the JSON block.Symlink:
CLAUDE.md -> README.md(mode120000confirms symlink). This gives Claude Code the tool inventory without content duplication.server.py docstring: Change from old text ("Reads FORGEJO_URL, FORGEJO_USER, FORGEJO_PASSWORD...Token auth requires forgejo-sdk >= 0.2.0") to new text ("Auth precedence: FORGEJO_TOKEN > FORGEJO_USER/FORGEJO_PASSWORD. FORGEJO_URL is always required.") is accurate and removes the stale SDK version note.
BLOCKERS
None. This is a docs-only PR with no logic changes. No test coverage needed for documentation updates.
NITS
Tool count in test plan is off. PR body says "14 tools listed" but the actual count in
workflows.pyis 16 unique@mcp.tool()decorators. The README groups some on shared lines (e.g.,list_issues / list_prs / list_branches), but whether you count unique tools (16) or bullet points (12), neither is 14. Update the test plan checklist to reflect the accurate count.Missing
review_prfrom README tool list. After applying the diff, the tool list bullet forreview_pris present (line 8 in current README:review_pr -- gets diff + metadata for review). Confirmed this is fine -- the tool is listed.No trailing newline on CLAUDE.md. The diff shows
\ No newline at end of filefor the symlink target. This is standard for symlinks created by git and not a real issue.SOP COMPLIANCE
Closes #2626-docs-updatePROCESS OBSERVATIONS
VERDICT: APPROVED