Conversation
Introduces a new task completion workflow including endpoints and UI for previewing and completing tasks via GitHub PR, local merge, or marking as done. Adds backend support for diff summaries, user mode (developer/basic), and workspace VCS operations. Implements new frontend components for action selection, PR options, diff summary, and completion success feedback.
Extended the GitHub client and types to support detailed pull request information, review comments, files, and reviews. Added TypeScript and OpenAPI schema generation for new types. Orchestrator now commits changes after each phase (planning, implementation, fix) and passes both workspace and project paths to MCP findings servers for correct findings storage. Updated MCP manager and guard to handle project path. Various frontend and backend files updated to support new PR features.
The ProblemsTab now separates pending and fixed findings, displaying a summary when all issues are fixed and allowing users to view resolved findings in a collapsible section. The TaskDetailPanel badge and problems card now only count pending findings, and visually indicate when all issues are fixed with green styling and icons. The backend git merge logic is enhanced to auto-resolve conflicts in .opencode-studio files and to handle merges more robustly.
- Add wiki crate with code indexing, embeddings, and RAG Q&A - Add mcp-wiki crate for MCP server integration - Add wiki API routes (status, index, search, structure, pages) - Add frontend wiki components with index progress tracking - Add schema migration for new index_status columns - Fix stuck indexing state - force flag now bypasses 'already in progress' check - Fix clippy warnings (.last() -> .next_back())
- Increase status polling to 2s (was 5s) - Auto-refresh structure while indexing/generating - Fix isIndexing to include 'generating' state
Introduces new endpoints and types for wiki generation, remote branch listing, and improved code indexing. Adds support for remote repositories and access tokens in wiki config. Refactors backend and frontend to handle wiki sections, source citations, and generation progress events. Updates TypeScript bindings and improves test setup for DB repositories.
Revamps the GitHub Actions release workflow to improve server binary packaging, add ARM64 Linux support, and streamline frontend artifact handling. Introduces new roadmap-related TypeScript bindings and frontend components, implements server-side roadmap services and routes, and updates .gitignore for server binaries. Removes legacy OpenCode Studio kanban plans and config files.
|
Skipped: This PR changes more files than the configured file change limit: ( |
|
Caution Review failedThe pull request is closed. 📝 WalkthroughWalkthroughThis PR introduces comprehensive wiki indexing and code Q&A capabilities via MCP, a multi-phase roadmap generation system, and pull request management features. It also enhances the orchestrator with wiki/roadmap service integration, adds GitHub token management, and expands the API with numerous new endpoints for settings, wiki, roadmap, and PR operations across both backend services and CLI tooling. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant Server as HTTP Server
participant RoadmapService as Roadmap Service
participant OpenCode as OpenCode Session
participant Store as Roadmap Store
User->>Server: POST /api/roadmap/generate
Server->>RoadmapService: generate(force)
RoadmapService->>Store: is_incomplete()
RoadmapService->>OpenCode: create session
rect rgb(200, 220, 255)
Note over RoadmapService, OpenCode: Discovery Phase
RoadmapService->>OpenCode: send discovery prompt
OpenCode->>RoadmapService: analyze response
RoadmapService->>Store: save_discovery()
RoadmapService->>Server: emit status=discovering
end
rect rgb(220, 200, 255)
Note over RoadmapService, OpenCode: Features Phase
RoadmapService->>OpenCode: send features prompt (with discovery)
OpenCode->>RoadmapService: generate roadmap JSON
RoadmapService->>RoadmapService: parse & validate
RoadmapService->>Store: save() roadmap
RoadmapService->>Server: emit status=complete
end
Server->>User: 202 Accepted
sequenceDiagram
participant User
participant Server as HTTP Server
participant WikiEngine as Wiki Engine
participant VCS as Git/Jujutsu
participant VectorDB as Vector DB
participant EventBus as Event Bus
User->>Server: POST /api/wiki/index
Server->>WikiEngine: start_indexing(branch)
EventBus->>User: wiki.generation_progress (reading)
rect rgb(200, 220, 255)
Note over WikiEngine, VCS: File Discovery
WikiEngine->>VCS: list files in branch
WikiEngine->>EventBus: progress
end
rect rgb(220, 200, 255)
Note over WikiEngine, VectorDB: Chunk & Embed
WikiEngine->>WikiEngine: split files into chunks
WikiEngine->>VectorDB: create embeddings
EventBus->>User: wiki.generation_progress (embeddings)
end
Server->>User: 202 Indexing Started
par Async Generation
WikiEngine->>VectorDB: store indexed chunks
EventBus->>User: wiki.generation_progress (complete)
end
sequenceDiagram
participant User
participant Server as HTTP Server
participant GitHub as GitHub API/CLI
participant TaskRepo as Task Repository
participant EventBus as Event Bus
User->>Server: POST /api/pull-requests/{number}/fix
User->>Server: (payload: comment_ids)
rect rgb(200, 220, 255)
Note over Server, GitHub: Fetch Comments
Server->>GitHub: get_pr_issue_comments(number)
GitHub->>Server: [comment, ...]
Server->>Server: filter by comment_ids
Server->>Server: build task description
end
rect rgb(220, 200, 255)
Note over Server, TaskRepo: Create Task
Server->>TaskRepo: create_task(title, description)
TaskRepo->>Server: task_id
Server->>EventBus: TaskCreated event
end
Server->>User: 201 { task, comments_included }
Estimated code review effort🎯 5 (Critical) | ⏱️ ~120 minutes Rationale: This diff spans 50+ modified/new files with substantial logic density across multiple domains (wiki indexing, roadmap generation, PR management, MCP integration, service orchestration). Changes include new public APIs with ~100 TypeScript bindings, two new complex services (RoadmapService, WikiService) with multi-phase workflows and background task handling, revised state management and caching strategies, extensive error handling across new routes, and deep integration of wiki/roadmap features into the orchestration layer. While many changes are additive (new files), the heterogeneity of concerns (CI/CD, CLI, core domain, services, routes, bindings, VCS) combined with logic density and control-flow implications in existing modules (phases, orchestration, state) requires thorough, separate reasoning across each major cohort. Possibly related PRs
Poem
✨ Finishing touches
📜 Recent review detailsConfiguration used: defaults Review profile: CHILL Plan: Pro ⛔ Files ignored due to path filters (33)
📒 Files selected for processing (267)
Comment |
Summary by CodeRabbit
Release Notes
New Features
Improvements
✏️ Tip: You can customize this high-level summary in your review settings.