feat: recover auto-review feature (supervisor + cross-review)#3
Closed
OpenCodeEngineer wants to merge 1691 commits into
Closed
feat: recover auto-review feature (supervisor + cross-review)#3OpenCodeEngineer wants to merge 1691 commits into
OpenCodeEngineer wants to merge 1691 commits into
Conversation
…anifest assets (anomalyco#25698) Co-authored-by: Kit Langton <kit.langton@gmail.com>
Port cleanly-compatible fork features onto upstream/dev base: App UI: - Saved prompt suggestions component - Recent sessions sidebar with hierarchy view - Auto-review model selection utility - Recent session organization utility Backend: - Edge TTS synthesis module (node-edge-tts) - TTS HTTP route (/tts/edge) - Session auto-resume module Import paths updated for upstream (@opencode-ai/core/util/). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- encode recent sidebar session slugs with workspace directory - trim/validate TTS input and reject whitespace-only payloads - route /tts through HttpApi backend in server handler - clean up generated TTS temp directories recursively - add whitespace route coverage test - update handoff.md progress Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- add serve-autoresume effect to recover interrupted/unanswered sessions - run per-session resume inside InstanceStore context - provide WorkspaceRef when present and skip busy sessions - start worker in serve command via background scoped fiber - update handoff.md with current state and next steps Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- move /tts/edge into Effect HttpApi global routes + handlers - remove createHttpApi Hono bypass that caused OpenAPI parity drift - exclude /tts/* from injected instance query params in public OpenAPI transform - update handoff.md with regression/fix progress Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- log TTS HttpApi parity fix commit and test outcomes - mark auto-review todo complete with app test coverage - record remaining full-suite failures for next triage Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- note full-suite failures confirmed on upstream/dev as environment-related - document models snapshot artifact and safe.bareRepository test impacts - mark failure triage complete in handoff plan Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…olding in sidebar Restore features lost during rebase on upstream/dev: - Recently Used models group in model picker dialog - Project/workspace prefix labels in recent sessions sidebar - Collapsible parent/child session tree with depth indentation - Session hover preview cards with MessageNav - workspaceKey helper replacing pathKey for directory normalization - childMapByParent helper for building session parent-child maps Also adds FORK.md documenting fork-specific features and rebase survival checklist to prevent future feature loss. Fixes anomalyco#189 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…t sidebar - Add /recent route to router (before /:dir catch-all) - Navigate to /recent when clicking Recent Sessions tile - Fix recent sidebar slug to use base64-encoded directory instead of literal 'recent' - Fix relative navigate path in message hover selection (missing leading /) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add browser smoke test table, deployment quick reference, and document /recent route, TTS, auto-resume, multi-instance features. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…chas Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Add models section to settings context (autoReview, defaultModel, reviewModel) - Import auto-review module functions and AssistantMessage type - Extend FollowupItem with autoReviewSource and autoReviewPhase fields - Add ReviewModel and ReviewState types - Add pending, autoReview, review fields to followup persisted store - Add auto-review helpers: resolveReview, queueAutoReview, isAutoReviewPrompt - Add createEffect for supervisor/cross-review orchestration loop Closes anomalyco#196 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
This pull request has been automatically closed. |
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.
Issue for this PR
Closes anomalyco#194
Type of change
What does this PR do?
Recovers the auto-review feature that was lost during the upstream/dev rebase. The feature enables automatic supervisor and cross-review followups after an assistant completes a coding task.
The auto-review flow works as follows:
Backend: Added
auto_reviewconfig field (Effect Schema) with optionalmodelinprovider/modelformat.Settings: Added
modelssection withautoReviewtoggle,defaultModel, andreviewModelselectors.Session: Added ~200 lines of orchestration:
resolveReview()picks a review model different from the one that produced the code,queueAutoReview()queues the followup with the right prompt, and acreateEffectwatches for completed assistant messages to trigger the flow.Docs: Updated FORK.md with feature entry anomalyco#14 and rebase conflict zone entries.
How did you verify your code works?
bun typecheck(tsgo --noEmit)bun test src/pages/session/auto-review.test.ts)auto-review.ts) was already present and unchanged — this PR wires it into the session page and settingsScreenshots / recordings
N/A — this is a backend + state management change. The UI toggle appears in Settings → Models.
Checklist