Repository navigation
Open
Labels
enhancementNew feature or requestopencode-v2-migrationOrg-wide OpenCode v2 migration (umbrella-tracked)
Description
Umbrella: #797
Phase: 0 — Spike & Spec
Goal
Write the Speckit strategic spec for the OpenCode v2 migration: specs/0NN-opencode-v2-migration/.
This is the governance artifact of record for the change (umbrella decision D5). Supersedes #714 decision 4 (issues-only tracking): the implementation follows the spec workflow; issues track execution.
Scope
- Full Speckit pipeline: constitution → specify → clarify → plan → tasks → analyze → checklist → implement.
- Cross-repo and >3 stories → strategic tier per AGENTS.md.
- Spec artifacts committed/pushed before implementation begins.
Must document
- Locked decisions from umbrella OpenCode v2 migration — org-wide orchestration (umbrella) #797 (dual-compatible main; 90-day
support/v1; start-now dual-period; org-internal consumers; Speckit routing). - Pinned dependency addition (gatekeeping rule): add
@opencode/plugin(v2 SDK, exact pin resolved at work start) alongside the existing@opencode-ai/plugin1.19.0 (verified in both.opencode/package.jsonandinternal/scaffold/assets/opencode/package.json— note Adopt opencode v2 with dual v1+v2 plugin support #714's "1.4.10" figure is stale). Documented rationale, verified target, rollback path, review + CI approval. - 94% plugin coverage floor preserved through the port (governance-controlled; only changeable via spec-workflow governance change).
- Phase boundaries, per-plugin PR sequencing (invoke-agent → uf-finale → uf-workflow → review-dispatch), lib runtime-agnostic refactor plan, CI parity requirements (v1 + v2 legs), per-repo rollout, cutover gate criteria.
- Spike findings from the Phase 0 spike issue.
- Fleet and tooling scope (added 2026-11-17): fleet plugins and herdr's opencode integration (Phase 1 — Fleet opencode plugins: dual v1+v2 port (auto-question, supervisor, session-search/notes, profiles, DCP) #1177), gh-hud (Phase 1 — gh-hud: OpenCode v2 compatibility (dispatch, session tracking, permission env) #1178, Placement by item label per machine, and show each machine's opencode version jflowers/gh-hud#140),
uf sandbox(Phase 2 — uf sandbox: match the image's opencode major to the host, fail clearly on a mismatch #1180), the container image (Pin the opencode version and publish separate v1/v2 image tags (OpenCode v2 migration) containerfile#14), and the fleet environment (jflowers/dotfiles#37, private), including the one-major-per-user model and thelap2-v2dogfood user.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestopencode-v2-migrationOrg-wide OpenCode v2 migration (umbrella-tracked)
Type
Projects
- StatusShow more project fieldsNo status
Activity
jflowers commentedon Nov 2, 2026
Triage Assessment: VALID — feature
The Divisor review panel assessed this issue with five personas (adversary, architect, guard, SRE, testing). All five return VALID on objective evidence.
Analysis
specs/NNN-*/). The issue commits to the full pipeline (constitution → specify → clarify → plan → tasks → analyze → checklist → implement) and to committing spec artifacts before implementation begins.@opencode/pluginaddition alongside@opencode-ai/plugin1.19.0 carries all four conditions the Gatekeeping rule requires for pinned dependency additions: documented rationale, verified target (exact pin resolved at work start), rollback path, and review + CI approval. The 94% plugin coverage floor is explicitly preserved as governance-controlled..opencode/package.jsonandinternal/scaffold/assets/opencode/package.json, and the issue correctly flags the "1.4.10" figure inherited from Adopt opencode v2 with dual v1+v2 plugin support #714 as stale rather than propagating it.Related Issues
The duplicate search surfaced #797 (umbrella orchestration) and #798 (Phase 0 spike — compat & surface audit). The panel classifies these as intentional phase decomposition rather than duplication: #797 holds the locked cross-phase decisions, #798 produces the spike findings, and this issue commissions the governance artifact of record that consumes them.
Panel Notes
enhancement(a dual-compatible port of the existing plugin suite) where the panel resolvesfeature4/5; the specificity hierarchy and majority favorfeature.Recommendations
enhancementlabel to track the feature classification./speckit.specifyon anNNN-*branch once Phase 0 — Spike: verify unbound-force under OpenCode v2 (compat & surface audit) #798's spike findings land; the "Must document" list is complete and actionable.This triage was performed by the Divisor review panel.