PIMP MY IDE
Agent safety / 15 October 2026 / field note 376

Hot-reload fusebox

OpenCode 2.0 can write a plugin during a session and use it without a restart. That cuts setup friction. It also collapses the distance between generated code and active authority.

Release boundary
We read the 2.0 announcement, current documentation, repository state, and discussion. We did not install or run OpenCode 2.0. This is an operating checklist, not a runtime verdict.

LOCAL SERVICE / CLIENT BUSONE PROCESS
Terminal
Web
Desktop
Client API
OpenCode
service
The actual change

The agent can alter the machine it is using.

OpenCode 2.0 moves its terminal interface, web interface, desktop app, and programmatic client onto one background service. The announcement says clients discover that local service automatically. It also says the service can be paired with other applications.

The plugin change is sharper. OpenCode says it implemented more than 80 internal plugins, made terminal-interface plugins stable, and added hot reload across 2.0. The post says the agent can write a plugin for itself during a session and use it at once.

A plugin reload is a code deployment. Treat it like one, even when the author and operator share the same chat window.

Fast feedback changes the review point

A restart used to create a natural pause. You could read the file, inspect the permissions, and decide whether to load it. Hot reload removes that pause. The review gate has to move before activation or the generated plugin becomes active before anyone has checked its authority.

The same service holds sessions for several clients. A bad plugin can therefore affect more than the tab that requested it. The exact reach depends on the plugin hooks and permissions. The 2.0 announcement does not prove that every plugin has broad access, so the right question is concrete: which hook runs, which files can change, which hosts can receive traffic, and which credentials are available?

Keep source and active state separate

Save the proposed plugin as a reviewable file. Record its digest before activation. List the hooks and capabilities it requests. Load that exact digest, then confirm which process accepted it. If the file changes again, the earlier review no longer applies.

Rollback needs its own test. Disabling a plugin should stop new calls, drain or cancel work already started, and leave the service in a known state. A backup file is not a rollback test. Run the unload path and confirm the old behavior returns.

Upgrade with the brakes visible

The 2.0 post calls out breaking changes. Version 1 plugins do not work in version 2. The server API changed. The terminal-interface configuration moved into the main configuration. That makes a parallel review useful before the major upgrade: inventory plugins, save the old configuration, identify each client's service target, and write the downgrade route.

The Hacker News discussion is not product documentation. It does expose the pressure point. Some users praised hot reload and the client-server split. Others argued that immediate self-modification needs stronger controls. That disagreement is enough reason to make the control sheet explicit instead of burying it in one upgrade command.

Interactive makeover / deployment checklist

Select the fuses before reload.

A normal plugin list answers what is installed. This fusebox joins source review, authority, activation, and rollback in one route. The controls select requirements for a review sheet. They do not prove that any check passed.

HOT-RELOAD REVIEW ROUTE0 OF 4 REQUIREMENTS SELECTED
OPENCODE HOT-RELOAD REVIEW REQUIREMENTS_SELECTED=0/4 SOURCE_PIN=[REQUIRED] AUTHORITY_MAP=[REQUIRED] RELOAD_WITNESS=[REQUIRED] ROLLBACK_DRILL=[REQUIRED] STATUS=STRUCTURE OPEN / EVIDENCE REQUIRED
Source rack

What we read

  1. 01
    Anomaly: OpenCode 2.0

    The first-party announcement describes the shared local service, new client, Code Mode, background work, plugin architecture, hot reload, SDK, and breaking upgrade changes.

  2. 02
    OpenCode 2 documentation

    The current documentation is the operating reference for version 2. The older documentation warns that versions 1 and 2 share the same command and cannot coexist under the default name.

  3. 03
    OpenCode repository at 4397ee44d038

    The public repository confirms the code, packages, documentation, MIT license, and active development revision inspected for this dispatch.

  4. 04
    Hacker News discussion 50094994

    The discussion supplied user reports and the live disagreement about client-server operation, self-editing plugins, hot reload, and permission boundaries. These comments are experience reports, not release documentation.

Review the file before the service loads it.

Fast reload is useful. A pinned source, bounded authority, load receipt, and tested rollback keep it inspectable.

Open the Code Mode rack