Skip to content

feat(v2): verify independent package updates - #55

Merged
ErikBPF merged 1 commit into
mainfrom
feat/opencode-v2-migration-20261012
Oct 13, 2026
Merged

ErikBPF merged 1 commit into
mainfrom
feat/opencode-v2-migration-20261012

Conversation

@ErikBPF

@ErikBPF ErikBPF commented Oct 13, 2026

Copy link
Copy Markdown
Owner

Outcome

Pin official OpenCode V2 2.0.27 and make V2 updates independently verifiable. Preserve the V1 package, updater and default selection.

  • Add npm-metadata validation and mutation-only V2 update recipes.
  • Require sequential V1/V2 builds and exact version checks in the existing package-build job.
  • Add malformed-metadata, isolation and recipe-shell-injection regression coverage.
  • Preserve the human migration seed, decisions, RED evidence and explicit deployment limits.

Verification

  • bash tests/opencode-v2-contract.sh — pass; observed failing assertions before implementation and quoting fix.
  • Targeted Nix lint/updater check builds — pass. No local full flake check; CI owns it.
  • Exact packages.opencode-v2 build — pass, opencode v2.0.27.
  • Disposable exact-version native client/API/authentication and real RTK model → shell → model continuation — pass in the consumer test harness.

Dependencies and rollback

This leaf PR does not activate a host. It must merge and publish before the consumer can pin the updated artifact. Merge permission is separate from publication of this PR.

The Desktop backend candidate still has failing Ponytail/plugin/permission integration checks. Consumer deployment is blocked; no claim that the whole migration is green. Optional Context Fold/sidebar trials remain disabled and unverified. V1 databases and the controlling session are unchanged.

Rollback this leaf version/consumer pin through source; keep the V1 lane and matching recovery generation. No automatic history import.

Keep V1 defaults while adding a pinned V2 binary and updater lane.
Require both package builds before publication and reject recipe-level
shell injection. Consumer activation remains gated by runtime checks.
@ErikBPF
ErikBPF merged commit 5dca70f into main Oct 13, 2026
7 checks passed
@ErikBPF
ErikBPF deleted the feat/opencode-v2-migration-20261012 branch October 13, 2026 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant