Skip to content

Pin the OpenCode boundary of the OMP-only kit - #292

Merged
DocksDocks merged 4 commits into
mainfrom
285-remove-the-kit-owned-opencode-integration-from-the-omp-only-surface
Dec 1, 2026
Merged

DocksDocks merged 4 commits into
mainfrom
285-remove-the-kit-owned-opencode-integration-from-the-omp-only-surface

Conversation

@DocksDocks

@DocksDocks DocksDocks commented Dec 1, 2026 •

Copy link
Copy Markdown
Owner

Plan run: #285 Remove the kit-owned OpenCode integration from the OMP-only surface

Pull request: #292. Checks: Full CI passed (run 46741340983, attempt 1, head ba1b13d7). Reviewed head: ba1b13d7.

What changed

  • Replace the free-model wrapper with top-level fast tier flags #283 removed the last kit-owned OpenCode path (the opencode-zen free-session selector). This plan pins the boundary in tests and documents the two migration entries.
  • Tests: sync prunes commands.enableOpencodeUser and commands.enableOpencodeProject at the old kit value false and keeps true with the file unchanged (cli/test/unit/ompRemovals.test.ts). A fresh-home sync writes no commands key, no OpenCode key, and no enabledProviders, and names no OpenCode setup (cli/test/unit/ompRetiredSync.test.ts).
  • Docs: cli/docs/omp-context.md says that sync also prunes a false that the user set, where the project opt-out stays, and that commands.enableOpencodeUser is an opt-in that false does not veto.

Decisions and corrections

  • Keep both ompRemovals.ts OpenCode entries: they are migration safeguards for configs that an older kit wrote, not an integration.
  • No SoT change and no version bump: tests and docs only.
  • Commit b2ec8bff holds both plan steps (the tests and the prose); its subject names only the tests.

Delegated decisions

  • Worktree while the checkout was clean: a worktree under the agent worktree folder, because three plans ran in one session. Rejected: the main checkout. Reversibility: remove the worktree. Record: none.
  • Keep the OpenCode migration entries: keep. Rejected: deleting them, which would leave old kit values in upgraded configs. Reversibility: one commit. Record: Research decision "keep both ompRemovals.ts OpenCode entries".

Reviews

Plan review passed in round 4. Code review passed in round 4 (panel, after merging main).
Open findings: one unreached LOW (round 4): sync does not prune a false that a YAML merge key supplies under commands; no shipped config, fixture, or example uses that form.

Verification

  • tests (bun x --no-install vitest run --reporter=verbose cli/test/unit/ompRemovals.test.ts cli/test/unit/ompRetiredSync.test.ts): exit 0, 31 passed.
  • Red check: a planted ["commands.enableOpencodeUser", true] entry failed the user-key keep case, then was reverted.
  • sync (./docks-kit sync --dry-run): exit 0, all lines [dry-run], no OpenCode line.
  • upgrade (bun run golden:mutation): OK, 13 cases.
  • smoke (bun run smoke:package): exit 0.
  • docs (./docks-kit docs omp-context): exit 0, prose present.
  • check (bun run check): exit 0, 6454 passed, 12 skipped.

Limits and failures

  • Local checks ran on Linux x64 only; Full CI covers Ubuntu, macOS, and Windows.

Kept resources

  • After Merge now: none.
  • After Leave pull request open: the worktree issue-285 and the local and remote branch 285-remove-the-kit-owned-opencode-integration-from-the-omp-only-surface.

After merge

  • none

Checklist

  • bun run check passes
  • Tested locally end to end (tests, sync, upgrade, smoke, docs, check)
  • Code review passed

Closes #285

- Sync prunes commands.enableOpencodeUser and commands.enableOpencodeProject
  at the old kit value false and keeps true with the file unchanged.
- A fresh-home sync writes no commands key and no OpenCode key, and its
  output names no OpenCode setup.

Refs #285

Verified: bun x --no-install vitest run --reporter=verbose cli/test/unit/ompRemovals.test.ts cli/test/unit/ompRetiredSync.test.ts
- The fresh-home test also checks a shipped setting and that enabledProviders
  opts in no OpenCode, `*`, or `all`.
- omp-context: after the prune, omp uses another settings layer, or else its
  default.

Refs #285

Verified: bun x --no-install vitest run cli/test/unit/ompRetiredSync.test.ts cli/test/unit/ompRemovals.test.ts; bun run check:types; bun run lint
- A bare or path-scoped provider opt-in would import user OpenCode commands;
  the kit ships none, so the deployed config.yml must hold no key for it.

Refs #285

Verified: bun x --no-install vitest run cli/test/unit/ompRetiredSync.test.ts; bun run lint
…ned-opencode-integration-from-the-omp-only-surface
@DocksDocks DocksDocks linked an issue Dec 1, 2026 that may be closed by this pull request
@DocksDocks
DocksDocks marked this pull request as ready for review December 1, 2026 20:45
@DocksDocks
DocksDocks merged commit b53f04d into main Dec 1, 2026
10 checks passed
@DocksDocks
DocksDocks deleted the 285-remove-the-kit-owned-opencode-integration-from-the-omp-only-surface branch December 1, 2026 20:52
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.

Remove the kit-owned OpenCode integration from the OMP-only surface

1 participant