feat: add issues-review tooling (script + agent + command)#210
Merged
Conversation
Deterministic data-pull script + read-only triage agent + /reviewissues slash command. Caches open issues + linked PRs to .opencode/cache/issues-review.json (TTL 1h). Agent greps codebase for grounded relevant files, synthesizes per-issue type/severity/area/effort. Cognee memory optional, silently skipped if unavailable. Mirrors doc-keeper pattern (script + agent + command). Verified locally: 2 open issues, 0 linked PRs, ages correctly computed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds deterministic issue-triage tooling mirroring the doc-keeper pattern:
scripts/issues-review.sh— pulls open issues + linked PRs into.opencode/cache/issues-review.json(TTL 1h). Pure bash + gh + jq..opencode/agent/issue-reviewer.md— read-only triage agent. Greps codebase for grounded relevant files, synthesizes per-issue type/severity/area/effort..opencode/command/reviewissues.md—/reviewissuesslash command wrapper..gitignore— excludes.opencode/cache/(runtime artifact).Cognee memory optional, silently skipped if MCP unavailable.
Usage
Verified
Commits
feat: add issues-review tooling(4 files, +380)chore: dprint fmt README + cargo audit plan(2 files, whitespace fixes)The dprint chore is bundled because pre-existing dprint drift on
mainblocked the pre-commit hook. Trivial fixes (1-char table padding in README, missing trailing newline in plan file). Could be split into a separate PR if preferred.Cache schema
{ "repo": "owner/name", "generated_at": "2026-07-19T12:34:56Z", "open_issues": [{number, title, body, labels, author, createdAt, updatedAt, comment_count}, ...], "open_prs": [{number, title, body, headRefName, author, createdAt}, ...], "linked_prs": [{pr, title, refs: [issue_numbers]}, ...], "summary": {open_count, by_label, oldest_age_days, linked_to_open_pr} }Review checklist
edit: deny) correct?/reviewissuesslash command follows doc-keeper convention?Related
.opencode/AGENTS.md— dispatch patterns (would benefit from a roster entry forissue-reviewer, but not in this PR to keep scope tight).opencode/command/doc-keeper.md— pattern mirrored/review-prs— companion for PR triageGenerated with opencode