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
{{ message }}
Repository navigation
docs: document fetch_pr_review_context tool in review-dispatch plugin #696
The fetch_pr_review_context tool was added to the review-dispatch plugin in the opsx/fetch-pr-review-context change. This tool fetches all PR metadata needed for review dispatch in one deterministic call.
The Divisor review panel assessed this issue across five personas (adversary, architect, curator, guard, sre). All five classify it as a valid, objective enhancement; the panel reports no dissent.
Panel Findings
The capability exists and shipped.fetch_pr_review_context is implemented and registered in .opencode/plugins/review-dispatch/index.ts and merged via PR feat: add fetch_pr_review_context tool to review-dispatch plugin #697 from the opsx/fetch-pr-review-context change. The cited spec (openspec/changes/fetch-pr-review-context/specs/fetch-pr-review-context.md) resolves, and its FR-001 matches the issue summary.
The documentation gap is real. A search of docs/ (usage.md, cli-reference.md, configuration.md, architecture.md) returns zero mentions of fetch_pr_review_context. The only review-dispatch references in docs/ appear in an internal retrospective (learnings-review-2026-10.md), which is not user-facing reference documentation.
The issue satisfies the AGENTS.md documentation gate. The gate requires a documentation issue in the current repo for user-facing changes before PR merge; the CHANGELOG entry for the shipping change cites "Docs: docs: document fetch_pr_review_context tool in review-dispatch plugin #696", confirming this issue is the linked gate artifact.
The scaffold-impact claim is accurate. The plugin ships to uf init deployments via the mirror at internal/scaffold/assets/opencode/plugins/review-dispatch/index.ts, so the dual-copy sync impact belongs in the documentation scope.
Implementation Note
The input-schema summary in the issue body reflects the contract at filing time (2026-10-10). The later extend-fetch-pr-review-context change made pr_number optional (with current-branch resolution when omitted) and added PR-repair output fields (state, mergeable, merge_state_status, head_repository, base_repository). The documentation should describe the tool's current contract rather than the original schema quoted in the issue body.
Related Issues
The duplicate-candidate search surfaced two open issues in the same plugin family. Both cover different tool surfaces, so the panel classifies neither as a duplicate of this issue:
The panel recommends composing this documentation with #873's sibling-tool docs into a shared review-dispatch tools reference where practical.
Next Steps
Document the fetch_pr_review_context tool contract — current input/output schemas and the structured error codes (gh_not_found, gh_auth_failed, pr_not_found, api_error, timeout, rate_limited) — in the appropriate docs/ reference page.
Cover the uf init scaffold dual-copy sync impact.
Apply the enhancement label (proposed by this triage).
This triage was performed by the Divisor review panel.
Activity
jflowers commentedon Nov 2, 2026
Triage Summary
Classification: VALID — enhancement (objective)
The Divisor review panel assessed this issue across five personas (adversary, architect, curator, guard, sre). All five classify it as a valid, objective enhancement; the panel reports no dissent.
Panel Findings
fetch_pr_review_contextis implemented and registered in.opencode/plugins/review-dispatch/index.tsand merged via PR feat: add fetch_pr_review_context tool to review-dispatch plugin #697 from theopsx/fetch-pr-review-contextchange. The cited spec (openspec/changes/fetch-pr-review-context/specs/fetch-pr-review-context.md) resolves, and its FR-001 matches the issue summary.docs/(usage.md,cli-reference.md,configuration.md,architecture.md) returns zero mentions offetch_pr_review_context. The onlyreview-dispatchreferences indocs/appear in an internal retrospective (learnings-review-2026-10.md), which is not user-facing reference documentation.uf initdeployments via the mirror atinternal/scaffold/assets/opencode/plugins/review-dispatch/index.ts, so the dual-copy sync impact belongs in the documentation scope.Implementation Note
The input-schema summary in the issue body reflects the contract at filing time (2026-10-10). The later
extend-fetch-pr-review-contextchange madepr_numberoptional (with current-branch resolution when omitted) and added PR-repair output fields (state,mergeable,merge_state_status,head_repository,base_repository). The documentation should describe the tool's current contract rather than the original schema quoted in the issue body.Related Issues
The duplicate-candidate search surfaced two open issues in the same plugin family. Both cover different tool surfaces, so the panel classifies neither as a duplicate of this issue:
/uf.address-feedbackSection 1.4 PR diff producerfetch_pr_checks/fetch_failed_run_logsand the/uf.fix-cire-routeThe panel recommends composing this documentation with #873's sibling-tool docs into a shared review-dispatch tools reference where practical.
Next Steps
fetch_pr_review_contexttool contract — current input/output schemas and the structured error codes (gh_not_found,gh_auth_failed,pr_not_found,api_error,timeout,rate_limited) — in the appropriatedocs/reference page.uf initscaffold dual-copy sync impact.enhancementlabel (proposed by this triage).This triage was performed by the Divisor review panel.