[P1][workflow] Allow private Forgejo MCP reads in independent PR review #86
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Creatidy/creatidy-kernel#86
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?
Problem
.kilo/agents/pr-reviewer.mdmakes anonymous canonicalgit ls-remotemandatory, blocking review of private repositories or where the reviewer has no Git transport credentials.Authorized behavior and scope
Use read-only Forgejo MCP metadata to verify the owning canonical repository, current open PR, head/base refs and exact commit identities. Independently inspect the primary-prepared clean local checkout, exact SHA objects, merge base and complete whole-PR diff. Treat anonymous
git ls-remoteas optional corroboration, never a prerequisite. Keep reviewer credentials unavailable to model/shell and prevent MCP token disclosure. Normal Git remains implementation fetch/branch/commit/push path; reviewer MCP has no file writes or repository mutation. Preserve fresh independent context, frozen HEAD/base, review ordinal accounting, provider/model policy, validation, CI and merge authority.Affected:
.kilo/agents/pr-reviewer.md, applicable commands/rules and workflow contract tests only as needed.Acceptance
A private-repository/no-anonymous-Git fixture permits review only with matching canonical MCP metadata and prepared exact local objects; absent/mismatched evidence refuses approval. Retain all existing security and review gates.
Non-goals
No implementation or integration, credential access, MCP writes, or relaxation of independence/security/acceptance requirements.
Note: after eventual integration, reconcile active PR #85 / issue #53 against current
develop; preserve its existing review history (9/13) and do not restart its review.Implemented and handed off in PR #87, targeting
develop.The independent reviewer now verifies canonical repository/PR/head/base refs and exact commit IDs through read-only Forgejo MCP, then matches them to the primary-prepared clean local objects and reviews the complete merge-base diff. No anonymous Git transport is required; reviewer MCP/Git mutation remains denied.
fa157fb3890f29cc36e48677c45a588d3b29b4d040f3b5254069056c76e0a9bc5e3052d0f1e71b9dmake checkpassed (1429 passed, 85 optional skips, 103 subtests); sanitizedmake package-checkpassed; focused contract tests passed (17 tests, 103 subtests).7e8d82bc0ba806e480db4470de1e216c47a9fb97remain unchanged; its 9/13 review history remains unchanged and no #85 review ordinal was consumed.PR #87 remains open/unmerged. No issue closure or merge was performed.