Replace OpenCode 1 with OpenCode 2 and enable free models #366

Merged
nimmo merged 1 commit from feat/opencode2 into main 2026-10-18 19:53:05 +01:00
Owner

The shared AI runtime currently launches OpenCode 1 and excludes the built-in provider offering registration-free models. Select the existing locked llm-agents opencode2 package (2.0.32), keeping the opencode command and desktop launcher, and enable the opencode provider alongside existing providers. No lockfile changes.

Closes #365.

Validation:

  • nix flake check passes locally and CI run 1354 passes the regression/Nix gate. Existing dependency stdenv platform deprecation warnings remain outside this change.
  • OpenCode 2 and the replacement launcher build; the launcher reports opencode v2.0.32.
  • An isolated server loads the generated configuration and preserves all 14 MCP definitions, permissions, provider policies and disabled updates.
  • With no credentials, the model list exposes 12 built-in free models. A standalone prompt to opencode/big-pickle returned OK with exit 0; MCP was disabled for that public-model smoke test.
  • Current-head review 136 covers dd87e8b54f, says Ready to merge and has no findings or suggestions. Review questions are answered in the discussion.

No host activation, live authenticated MCP/provider acceptance or Paseo integration acceptance is claimed. The repository's agent sudo restriction prevents just test because it invokes sudo commands outside nixos-rebuild. OpenCode 2 changes its server/plugin API; supported existing configuration is normalized in memory as documented at https://opencode.ai/v2/docs/migrate-v1/ . The independently installed remediation worker is outside this shared-runtime package change.

The shared AI runtime currently launches OpenCode 1 and excludes the built-in provider offering registration-free models. Select the existing locked llm-agents opencode2 package (2.0.32), keeping the opencode command and desktop launcher, and enable the opencode provider alongside existing providers. No lockfile changes. Closes #365. Validation: - nix flake check passes locally and CI run 1354 passes the regression/Nix gate. Existing dependency stdenv platform deprecation warnings remain outside this change. - OpenCode 2 and the replacement launcher build; the launcher reports opencode v2.0.32. - An isolated server loads the generated configuration and preserves all 14 MCP definitions, permissions, provider policies and disabled updates. - With no credentials, the model list exposes 12 built-in free models. A standalone prompt to opencode/big-pickle returned OK with exit 0; MCP was disabled for that public-model smoke test. - Current-head review 136 covers dd87e8b54fb67e311300c996db16445a4a13c05f, says Ready to merge and has no findings or suggestions. Review questions are answered in the discussion. No host activation, live authenticated MCP/provider acceptance or Paseo integration acceptance is claimed. The repository's agent sudo restriction prevents just test because it invokes sudo commands outside nixos-rebuild. OpenCode 2 changes its server/plugin API; supported existing configuration is normalized in memory as documented at https://opencode.ai/v2/docs/migrate-v1/ . The independently installed remediation worker is outside this shared-runtime package change.
Replace OpenCode 1 with OpenCode 2 and enable free models
All checks were successful
Build and Push Attic Cache / test (pull_request) Successful in 1m32s
Build and Push Attic Cache / pin-lifecycle (pull_request) Has been skipped
Build and Push Attic Cache / build (pull_request) Has been skipped
Build and Push Attic Cache / remediate (pull_request) Has been skipped
Build and Push Attic Cache / notify-remediation (pull_request) Has been skipped
Build and Push Attic Cache / record-remediation-notify-failure (pull_request) Has been skipped
AI pull-request review / review (pull_request) Successful in 4m2s
dd87e8b54f
Keep the opencode launcher while selecting the llm-agents opencode2 package. Enable the built-in opencode provider alongside existing authenticated providers.

Refs #365
clankbot left a comment

Automated code review

Reviewed commit: dd87e8b54fb67e311300c996db16445a4a13c05f

Verdict: Ready to merge

No blocking or important findings were retained, and deterministic checks passed. Suggestions remain advisory.

Overall assessment

Validated against the checked-out tree. In modules/profiles/ai-runtime.nix the single opencodePackage binding (line 35) is the only use of the llm-agents OpenCode attribute in this file, and its only consumer is opencodeForUser (line 43), whose exec path was updated in the same diff to ${opencodePackage}/bin/opencode2; the wrapper keeps the public name opencode (pkgs.writeShellScriptBin "opencode"), so the home.packages entry, the makeDesktopItem exec = "konsole -e opencode", and the lib.makeBinPath entry inside paseoRuntimePath all still resolve through the unchanged wrapper name. A repository-wide search for llm-agents found no other consumer of an OpenCode attribute: modules/profiles/ai-agents.nix uses only .codex and .antigravity-cli, modules/services/token-tv.nix uses only clients.codex and clients.antigravity-cli, and modules/profiles/pi-pangolin.nix uses .pi. The only bin/opencode path references elsewhere (/home/nimmo/.opencode/bin/opencode in .forgejo/workflows/attic-cache.yml:315,350 and the --opencode-bin default in scripts/nixos_update_remediation/cli.py:330) are a separately installed binary, not derived from this package binding. The added "opencode" element in enabled_providers is a plain string in a list with no matching key required in the module: the provider attrset and the home.activation.opencodeAuthConfig jq merges cover only openrouter, opencode-go, and pangolin-lyra, and no test or lint in tests/ or justfiles/ asserts the provider list or the OpenCode bin path. lib/auto-update-policy.nix:164 already lists electra, lena, vega, and lyra as llm-agents consumers, and ai-runtime.nix is imported only via modules/profiles/ai-desktop.nix:12, imported by those same four hosts, so the input classification is unchanged. The README prose matches the code (package attribute opencode2, public name opencode). No evaluation-breaking or scope-leaking defect is demonstrable from the supplied evidence; no findings survive the strict pass.

Blocking findings

None.

Important findings

None.

Suggestions

None.

Tests and validation

  • No configured deterministic checks.

Questions

  • The remediation worker still runs a separately installed OpenCode at /home/nimmo/.opencode/bin/opencode (.forgejo/workflows/attic-cache.yml:315,350, scripts/nixos_update_remediation/cli.py:330), and scripts/nixos_update_remediation/model.py plus tests/nixos-update-remediation-integration.py:363 still encode v1 behavior ('OpenCode 1.18.10 applies a top-level wildcard deny before path-valued edit exceptions'). Is that worker deliberately left on the v1 side of this cutover, or is it expected to move to the opencode2 package too?
  • The new "opencode" entry in enabled_providers has no corresponding credential merge in home.activation.opencodeAuthConfig (which writes only openrouter, opencode-go, pangolin-lyra). Is the built-in provider confirmed to need no auth.json entry on OpenCode 2, or does it require an authentication step on each host after activation?

Review limitations

  • The llm-agents flake source at the locked revision (flake.lock rev 0ea5795ad05403dfb9e3fda8bfa01248e4ab81e7) is not available here, so the existence of the opencode2 package attribute and its bin/opencode2 output path is taken from the PR text, not verified in this container.
  • No Nix tooling was available: nix flake check, just test, and the generated ~/.config/opencode/opencode.json were not evaluated, and the OpenCode 2 configuration schema (including whether enabled_providers, small_model, permission, and mcp keys are unchanged in v2) was not supplied, so config-key compatibility could not be confirmed independently.
  • Only README.md and modules/profiles/ai-runtime.nix were supplied as changed; all other files were read as checked-out base evidence and may not reflect the head branch.
  • No live host, authenticated provider, or Paseo runtime evidence is available; the PR's claims about the launcher reporting v2.0.32, 14 MCP definitions, and a successful opencode/big-pickle prompt were not reproduced.

Diff coverage

  • README.md: reviewed — included in a context-limited batch
  • modules/profiles/ai-runtime.nix: reviewed — included in a context-limited batch
Review metadata
  • Reviewer: forgejo-ai-review v1
  • Model: strata/strata
  • Guidance loaded: .forgejo/ai-review.md, .forgejo/ai-review.yml, AGENTS.md, docs/auto-update-remediation.md, docs/hermes-fleet-ssh.md, docs/nova-remote-builder.md, README.md
  • Commits considered: 1
  • Previous automated review: none found
  • Findings: 0
<!-- forgejo-ai-review:v1 --> ## Automated code review Reviewed commit: `dd87e8b54fb67e311300c996db16445a4a13c05f` ## Verdict: Ready to merge No blocking or important findings were retained, and deterministic checks passed. Suggestions remain advisory. ### Overall assessment Validated against the checked-out tree. In `modules/profiles/ai-runtime.nix` the single `opencodePackage` binding (line 35) is the only use of the `llm-agents` OpenCode attribute in this file, and its only consumer is `opencodeForUser` (line 43), whose exec path was updated in the same diff to `${opencodePackage}/bin/opencode2`; the wrapper keeps the public name `opencode` (`pkgs.writeShellScriptBin "opencode"`), so the `home.packages` entry, the `makeDesktopItem` `exec = "konsole -e opencode"`, and the `lib.makeBinPath` entry inside `paseoRuntimePath` all still resolve through the unchanged wrapper name. A repository-wide search for `llm-agents` found no other consumer of an OpenCode attribute: `modules/profiles/ai-agents.nix` uses only `.codex` and `.antigravity-cli`, `modules/services/token-tv.nix` uses only `clients.codex` and `clients.antigravity-cli`, and `modules/profiles/pi-pangolin.nix` uses `.pi`. The only `bin/opencode` path references elsewhere (`/home/nimmo/.opencode/bin/opencode` in `.forgejo/workflows/attic-cache.yml:315,350` and the `--opencode-bin` default in `scripts/nixos_update_remediation/cli.py:330`) are a separately installed binary, not derived from this package binding. The added `"opencode"` element in `enabled_providers` is a plain string in a list with no matching key required in the module: the `provider` attrset and the `home.activation.opencodeAuthConfig` jq merges cover only `openrouter`, `opencode-go`, and `pangolin-lyra`, and no test or lint in `tests/` or `justfiles/` asserts the provider list or the OpenCode bin path. `lib/auto-update-policy.nix:164` already lists electra, lena, vega, and lyra as `llm-agents` consumers, and `ai-runtime.nix` is imported only via `modules/profiles/ai-desktop.nix:12`, imported by those same four hosts, so the input classification is unchanged. The README prose matches the code (package attribute `opencode2`, public name `opencode`). No evaluation-breaking or scope-leaking defect is demonstrable from the supplied evidence; no findings survive the strict pass. ### Blocking findings None. ### Important findings None. ### Suggestions None. ### Tests and validation - No configured deterministic checks. ### Questions - The remediation worker still runs a separately installed OpenCode at `/home/nimmo/.opencode/bin/opencode` (`.forgejo/workflows/attic-cache.yml:315,350`, `scripts/nixos_update_remediation/cli.py:330`), and `scripts/nixos_update_remediation/model.py` plus `tests/nixos-update-remediation-integration.py:363` still encode v1 behavior ('OpenCode 1.18.10 applies a top-level wildcard deny before path-valued edit exceptions'). Is that worker deliberately left on the v1 side of this cutover, or is it expected to move to the `opencode2` package too? - The new `"opencode"` entry in `enabled_providers` has no corresponding credential merge in `home.activation.opencodeAuthConfig` (which writes only `openrouter`, `opencode-go`, `pangolin-lyra`). Is the built-in provider confirmed to need no `auth.json` entry on OpenCode 2, or does it require an authentication step on each host after activation? ### Review limitations - The `llm-agents` flake source at the locked revision (flake.lock rev 0ea5795ad05403dfb9e3fda8bfa01248e4ab81e7) is not available here, so the existence of the `opencode2` package attribute and its `bin/opencode2` output path is taken from the PR text, not verified in this container. - No Nix tooling was available: `nix flake check`, `just test`, and the generated `~/.config/opencode/opencode.json` were not evaluated, and the OpenCode 2 configuration schema (including whether `enabled_providers`, `small_model`, `permission`, and `mcp` keys are unchanged in v2) was not supplied, so config-key compatibility could not be confirmed independently. - Only README.md and modules/profiles/ai-runtime.nix were supplied as changed; all other files were read as checked-out base evidence and may not reflect the head branch. - No live host, authenticated provider, or Paseo runtime evidence is available; the PR's claims about the launcher reporting v2.0.32, 14 MCP definitions, and a successful `opencode/big-pickle` prompt were not reproduced. ### Diff coverage - `README.md`: **reviewed** — included in a context-limited batch - `modules/profiles/ai-runtime.nix`: **reviewed** — included in a context-limited batch <details><summary>Review metadata</summary> - Reviewer: forgejo-ai-review v1 - Model: strata/strata - Guidance loaded: .forgejo/ai-review.md, .forgejo/ai-review.yml, AGENTS.md, docs/auto-update-remediation.md, docs/hermes-fleet-ssh.md, docs/nova-remote-builder.md, README.md - Commits considered: 1 - Previous automated review: none found - Findings: 0 </details>
Author
Owner

Assessed review 135 against current head dd87e8b54f. Verdict is Ready to merge; there are no blocking/important findings or suggestions requiring a code change.

Answers to the review questions:

  • This change migrates the Nix-managed shared AI client profile. The remediation worker explicitly selects a separately installed binary in its own workflow and has its own tested permission/CLI contract. It does not consume this package binding and is deliberately outside this profile migration; changing it requires separate contract validation.
  • The built-in opencode provider requires no auth.json entry for the exposed free models. An isolated HOME/XDG configuration with no credentials listed 12 free models, and opencode/big-pickle returned OK (exit 0). The existing provider credential merges remain appropriate.

Additional evidence for review limitations: built the locked opencode2 2.0.32 package and the actual opencode wrapper; wrapper --version passed. V2 debug config showed normalization preserving disabled updates, provider policies, read/shell/external-directory permission rules and all 14 MCP definitions. nix flake check passed locally. Native v2 configuration conversion is optional per upstream migration documentation; no rewrite is needed for this package change.

CI workflow 1352 remains pending on an infrastructure access prerequisite. Detailed operational evidence is kept private. No host activation, live authenticated MCP/provider or Paseo integration acceptance is claimed. No code changes or new push were necessary after review. MR remains open and unmerged; overall merge readiness awaits CI.

Assessed review 135 against current head dd87e8b54fb67e311300c996db16445a4a13c05f. Verdict is Ready to merge; there are no blocking/important findings or suggestions requiring a code change. Answers to the review questions: - This change migrates the Nix-managed shared AI client profile. The remediation worker explicitly selects a separately installed binary in its own workflow and has its own tested permission/CLI contract. It does not consume this package binding and is deliberately outside this profile migration; changing it requires separate contract validation. - The built-in opencode provider requires no auth.json entry for the exposed free models. An isolated HOME/XDG configuration with no credentials listed 12 free models, and opencode/big-pickle returned OK (exit 0). The existing provider credential merges remain appropriate. Additional evidence for review limitations: built the locked opencode2 2.0.32 package and the actual opencode wrapper; wrapper --version passed. V2 debug config showed normalization preserving disabled updates, provider policies, read/shell/external-directory permission rules and all 14 MCP definitions. nix flake check passed locally. Native v2 configuration conversion is optional per upstream migration documentation; no rewrite is needed for this package change. CI workflow 1352 remains pending on an infrastructure access prerequisite. Detailed operational evidence is kept private. No host activation, live authenticated MCP/provider or Paseo integration acceptance is claimed. No code changes or new push were necessary after review. MR remains open and unmerged; overall merge readiness awaits CI.
Author
Owner

The external CI access prerequisite is resolved and authenticated reads of both affected pinned-input repositories have been verified from the runner host. The original stalled run was cancelled. This instance lacks the Actions API rerun endpoint, so I am closing/reopening this same MR to trigger a fresh pull_request run at unchanged head dd87e8b54f. No source changes are needed.

The external CI access prerequisite is resolved and authenticated reads of both affected pinned-input repositories have been verified from the runner host. The original stalled run was cancelled. This instance lacks the Actions API rerun endpoint, so I am closing/reopening this same MR to trigger a fresh pull_request run at unchanged head dd87e8b54fb67e311300c996db16445a4a13c05f. No source changes are needed.
clankbot left a comment

Automated code review

Reviewed commit: dd87e8b54fb67e311300c996db16445a4a13c05f

Verdict: Ready to merge

No blocking or important findings were retained, and deterministic checks passed. Suggestions remain advisory.

Overall assessment

Re-checked the two changed files against the checked-out tree. In modules/profiles/ai-runtime.nix the package selector change (line 35: .opencode -> .opencode2) and the wrapper exec target (line 43: bin/opencode2) stay internally consistent: the wrapper keeps the name opencode (line 40), so the PATH entry contributed by opencodeForUser in paseoRuntimePath (line 58) and in home.packages (line 293), plus the desktop item exec = "konsole -e opencode" (line 313), still resolve by name. grep over the tree shows no other consumer of the flake OpenCode package: modules/services/token-tv.nix (line 11) binds clients = inputs.llm-agents.packages.<system> but only uses clients.codex and clients.antigravity-cli; modules/profiles/pi-pangolin.nix (line 26) and modules/profiles/ai-agents.nix (lines 14, 29) use other attributes. The remaining bin/opencode references are the user-home binary /home/nimmo/.opencode/bin/opencode (.forgejo/workflows/attic-cache.yml lines 315, 350; scripts/nixos_update_remediation/cli.py line 330 default), not the flake package. lib/auto-update-policy.nix classifies llm-agents at input granularity (lines 164-172), so switching package attributes within the same locked input needs no policy change; no check script (scripts/check-*.nix) keys on the OpenCode package or version. The added "opencode" entry in enabled_providers (line 153) coexists with the existing entries; the credential-merge activation (lines 349-355) still provisions only openrouter, opencode-go and pangolin-lyra, and the provider attrset (lines 176-218, merged with cfg.opencodeExtraProviders) has no opencode entry, matching the README claim that the built-in provider needs no registration. No defect demonstrable from the supplied diff.

Blocking findings

None.

Important findings

None.

Suggestions

None.

Tests and validation

  • No configured deterministic checks.

Questions

  • The remediation worker still runs the home-installed binary /home/nimmo/.opencode/bin/opencode (.forgejo/workflows/attic-cache.yml lines 315 and 350; scripts/nixos_update_remediation/cli.py line 330 default), and scripts/nixos_update_remediation/model.py comments encode OpenCode 1 behaviour (line 36 'OpenCode 1.18.10's 2000-character read-line limit', line 221 'OpenCode 1.18.10 does not let a path-valued edit rule override the top-level wildcard deny', line 578 'OpenCode truncates each read-tool line at 2000 characters'). Is that worker intentionally left on OpenCode 1 while the fleet runtime moves to OpenCode 2, or should it be migrated in a follow-up so the two do not diverge?
  • The module writes the same JSON to ~/.config/opencode/config.json (line 329) and ~/.config/opencode/opencode.json (lines 331-334, force = true). For the newly selected opencode2 package, is that same config path/schema still the one read, or did the upstream rename/restructure it? Nothing in the checkout shows the OpenCode 2 config schema.
  • enabled_providers (line 151) is shared by all hosts using this profile and is not scoped by cfg.headless (modules/profiles/ai-desktop.nix lines 16-24). Should the built-in opencode provider be enabled on the headless hosts that run unattended automation, or only on desktop hosts?

Review limitations

  • The llm-agents flake is an external input (flake.lock line 455, rev 0ea5795ad05403dfb9e3fda8bfa01248e4ab81e7) and is not vendored in this checkout, so I could not verify from supplied evidence that the locked rev exposes a package attribute named opencode2 or that its output path contains bin/opencode2; both are asserted only by the change itself.
  • No Nix evaluation, build, or test deployment was run here; no flake check or CI result for this change was supplied.
  • No live host activation, authenticated MCP/provider acceptance, or Paseo integration acceptance was observed.
  • OpenCode 2's configuration, server and plugin schema differences could not be checked against the generated opencodeConfig (lines 147-220), since neither the upstream schema nor the generated JSON output was supplied.

Diff coverage

  • README.md: reviewed — included in a context-limited batch
  • modules/profiles/ai-runtime.nix: reviewed — included in a context-limited batch
Review metadata
  • Reviewer: forgejo-ai-review v1
  • Model: strata/strata
  • Guidance loaded: .forgejo/ai-review.md, .forgejo/ai-review.yml, AGENTS.md, docs/auto-update-remediation.md, docs/hermes-fleet-ssh.md, docs/nova-remote-builder.md, README.md
  • Commits considered: 1
  • Previous automated review: none found
  • Findings: 0
<!-- forgejo-ai-review:v1 --> ## Automated code review Reviewed commit: `dd87e8b54fb67e311300c996db16445a4a13c05f` ## Verdict: Ready to merge No blocking or important findings were retained, and deterministic checks passed. Suggestions remain advisory. ### Overall assessment Re-checked the two changed files against the checked-out tree. In modules/profiles/ai-runtime.nix the package selector change (line 35: `.opencode` -> `.opencode2`) and the wrapper exec target (line 43: `bin/opencode2`) stay internally consistent: the wrapper keeps the name `opencode` (line 40), so the PATH entry contributed by `opencodeForUser` in `paseoRuntimePath` (line 58) and in `home.packages` (line 293), plus the desktop item `exec = "konsole -e opencode"` (line 313), still resolve by name. `grep` over the tree shows no other consumer of the flake OpenCode package: `modules/services/token-tv.nix` (line 11) binds `clients = inputs.llm-agents.packages.<system>` but only uses `clients.codex` and `clients.antigravity-cli`; `modules/profiles/pi-pangolin.nix` (line 26) and `modules/profiles/ai-agents.nix` (lines 14, 29) use other attributes. The remaining `bin/opencode` references are the user-home binary `/home/nimmo/.opencode/bin/opencode` (.forgejo/workflows/attic-cache.yml lines 315, 350; scripts/nixos_update_remediation/cli.py line 330 default), not the flake package. `lib/auto-update-policy.nix` classifies `llm-agents` at input granularity (lines 164-172), so switching package attributes within the same locked input needs no policy change; no check script (scripts/check-*.nix) keys on the OpenCode package or version. The added `"opencode"` entry in `enabled_providers` (line 153) coexists with the existing entries; the credential-merge activation (lines 349-355) still provisions only openrouter, opencode-go and pangolin-lyra, and the `provider` attrset (lines 176-218, merged with `cfg.opencodeExtraProviders`) has no `opencode` entry, matching the README claim that the built-in provider needs no registration. No defect demonstrable from the supplied diff. ### Blocking findings None. ### Important findings None. ### Suggestions None. ### Tests and validation - No configured deterministic checks. ### Questions - The remediation worker still runs the home-installed binary `/home/nimmo/.opencode/bin/opencode` (.forgejo/workflows/attic-cache.yml lines 315 and 350; scripts/nixos_update_remediation/cli.py line 330 default), and scripts/nixos_update_remediation/model.py comments encode OpenCode 1 behaviour (line 36 'OpenCode 1.18.10's 2000-character read-line limit', line 221 'OpenCode 1.18.10 does not let a path-valued edit rule override the top-level wildcard deny', line 578 'OpenCode truncates each read-tool line at 2000 characters'). Is that worker intentionally left on OpenCode 1 while the fleet runtime moves to OpenCode 2, or should it be migrated in a follow-up so the two do not diverge? - The module writes the same JSON to `~/.config/opencode/config.json` (line 329) and `~/.config/opencode/opencode.json` (lines 331-334, `force = true`). For the newly selected `opencode2` package, is that same config path/schema still the one read, or did the upstream rename/restructure it? Nothing in the checkout shows the OpenCode 2 config schema. - `enabled_providers` (line 151) is shared by all hosts using this profile and is not scoped by `cfg.headless` (modules/profiles/ai-desktop.nix lines 16-24). Should the built-in `opencode` provider be enabled on the headless hosts that run unattended automation, or only on desktop hosts? ### Review limitations - The `llm-agents` flake is an external input (flake.lock line 455, rev 0ea5795ad05403dfb9e3fda8bfa01248e4ab81e7) and is not vendored in this checkout, so I could not verify from supplied evidence that the locked rev exposes a package attribute named `opencode2` or that its output path contains `bin/opencode2`; both are asserted only by the change itself. - No Nix evaluation, build, or test deployment was run here; no flake check or CI result for this change was supplied. - No live host activation, authenticated MCP/provider acceptance, or Paseo integration acceptance was observed. - OpenCode 2's configuration, server and plugin schema differences could not be checked against the generated `opencodeConfig` (lines 147-220), since neither the upstream schema nor the generated JSON output was supplied. ### Diff coverage - `README.md`: **reviewed** — included in a context-limited batch - `modules/profiles/ai-runtime.nix`: **reviewed** — included in a context-limited batch <details><summary>Review metadata</summary> - Reviewer: forgejo-ai-review v1 - Model: strata/strata - Guidance loaded: .forgejo/ai-review.md, .forgejo/ai-review.yml, AGENTS.md, docs/auto-update-remediation.md, docs/hermes-fleet-ssh.md, docs/nova-remote-builder.md, README.md - Commits considered: 1 - Previous automated review: none found - Findings: 0 </details>
Author
Owner

Final readiness check: review 136 covers unchanged head dd87e8b54f and says Ready to merge with zero findings and no suggestions. CI run 1354 passed its regression/Nix gate, and review run 1353 passed. Combined head status is success; deployment/publishing jobs are intentionally skipped for pull_request events.

Assessed all remaining questions:

  • The separately installed remediation worker remains outside this shared-package migration, as explained in the prior response; its migration needs its own CLI/permission contract tests.
  • The actual generated opencode.json was loaded by the built OpenCode 2.0.32 server in an isolated XDG home. debug config confirmed in-memory compatibility normalization, including provider policies, permission exceptions, update disabling and all 14 MCP definitions. Existing V1 config syntax is explicitly supported by upstream: https://opencode.ai/v2/docs/migrate-v1/ . The redundant legacy config.json declaration is unchanged by this migration.
  • The free provider is intentionally available to all hosts importing the shared runtime profile, matching the requested scope. Availability does not select a default model, change existing authenticated credentials or change the separate unattended worker's explicit model. No desktop-only restriction is warranted.

No code changes were necessary. Host activation and live authenticated MCP/Paseo acceptance remain unclaimed; merge is now user-authorized.

Final readiness check: review 136 covers unchanged head dd87e8b54fb67e311300c996db16445a4a13c05f and says Ready to merge with zero findings and no suggestions. CI run 1354 passed its regression/Nix gate, and review run 1353 passed. Combined head status is success; deployment/publishing jobs are intentionally skipped for pull_request events. Assessed all remaining questions: - The separately installed remediation worker remains outside this shared-package migration, as explained in the prior response; its migration needs its own CLI/permission contract tests. - The actual generated opencode.json was loaded by the built OpenCode 2.0.32 server in an isolated XDG home. debug config confirmed in-memory compatibility normalization, including provider policies, permission exceptions, update disabling and all 14 MCP definitions. Existing V1 config syntax is explicitly supported by upstream: https://opencode.ai/v2/docs/migrate-v1/ . The redundant legacy config.json declaration is unchanged by this migration. - The free provider is intentionally available to all hosts importing the shared runtime profile, matching the requested scope. Availability does not select a default model, change existing authenticated credentials or change the separate unattended worker's explicit model. No desktop-only restriction is warranted. No code changes were necessary. Host activation and live authenticated MCP/Paseo acceptance remain unclaimed; merge is now user-authorized.
nimmo merged commit 087f18117e into main 2026-10-18 19:53:05 +01:00
nimmo deleted branch feat/opencode2 2026-10-18 19:53:06 +01:00
Sign in to join this conversation.
No reviewers
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
nimmo/nixos-config!366
No description provided.