feat(ci): add OpenCode PR review workflow and manual docs deploy trigger - #316
Closed
Million-mo wants to merge 1 commit into
Closed
feat(ci): add OpenCode PR review workflow and manual docs deploy trigger#316Million-mo wants to merge 1 commit into
Million-mo wants to merge 1 commit into
Conversation
- Add .github/workflows/opencode-review.yml: automated PR review using
OpenCode with DeepSeek model. Three-agent architecture:
- review-lead: orchestrator that delegates to specialists
- review-code: type safety, testing, telemetry, architecture
- review-docs: doc placement, archival detection, AGENTS.md consistency,
link integrity, navigation consistency
- Add workflow_dispatch to documentation.yml for manual build triggers
- Add .opencode/agents/ with review-lead, review-code, review-docs agents
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.
What This PR Adds
1. Automated PR Review Workflow ()
A non-blocking PR review system using OpenCode with a three-agent architecture powered by DeepSeek:
How it works:
2. Manual Docs Deploy Trigger ()
Adds to the existing documentation workflow, allowing manual rebuilds without pushing to main.
3. OpenCode Agent Definitions ()
Three agent definition files that configure the review behavior:
Setup
To use this in your fork:
Tested
This workflow has been validated on the Million-mo/agentpool fork with a test PR containing intentional issues. The review-docs agent successfully detected:
Example review output: Million-mo#11