Skip to content

Solver toggle does not actually switch — backend half stranded in stale PR #14 #78

Description

@jack-champagne

Tracking issue for work stranded on rchari/solver-wire (PR #14, opened 2026-07-09, ~278 commits behind).

Only the UI half is on the default branch. Verified:

$ git ls-tree -r --name-only origin/local/amicode | grep -i solver
packages/ui/src/amicode/solver-toggle.test.ts
packages/ui/src/amicode/solver-toggle.tsx
packages/ui/src/components/amicode-solver-toggle.tsx

solver-mode.ts and the switch wizard are absent. So the toggle renders but there is no server-side solver-mode contract behind it — PR #14 was the half that makes it do the real switch.

What PR #14 carried that is still missing (+286/-6):

  • packages/opencode/src/server/amicode/solver-mode.ts — the contract
  • route registration in httpapi/server.ts
  • packages/ui/src/amicode/solver-switch-wizard.tsx — the wizard
  • packages/opencode/test/server/amicode-solver-mode.test.ts
  • wiring in packages/app/src/pages/home.tsx and solver-toggle.tsx

Note home.tsx has changed substantially under the branch, so expect conflicts on any rebase — a fresh implementation against current local/amicode is likely cheaper.

Closing PR #14 as stale. Needs an owner.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions