DEV Community

Redreamality
Redreamality

Posted on

Agent-harness changelogs, tested: 8 notes on OpenCode 2.3–2.4, Claude Code skill hooks, pi 1.7 and cheap subagents

Release notes for coding agents are written to be skimmed, and that is exactly how the expensive surprises slip through: a timeout that no longer kills a command, a system prompt that silently stopped hitting the cache, a shell command that runs before any hook sees it. Over the last few weeks I installed the new versions, ran them against small test projects, and wrote down what actually changed in behavior, not just what the changelog line says.

Below are eight longer notes from my blog. Five come from a series I call Agent Harness Updates; the other three step back to the economics and operating model around the harness. Each has a Chinese edition too, in case that suits you or your team better.

Part 1: The Agent Harness Updates series

1. OpenCode 2.3: three kinds of waiting move to the background

The 2.3.0/2.3.1 releases stop blocking you in three places. A subagent call now returns immediately and reports back once it goes idle; a shell command that hits its timeout is moved to the background instead of being killed; and the compaction summary is written ahead of time, so the context swap feels instant. The useful part is the "if this is you, do this" table: the old opencode-ai npm package is frozen at 1.x (v2 lives at @opencode/cli), a timeout is no longer a hard stop, so you have to wrap the command in timeout 60 yourself, and you can opt out of paying for summaries you never use. It ends with a comparison against other harnesses and an honest "what background work makes harder" section.

→ What changed when OpenCode 2.3 started running subagents, timeouts and compaction in the background · 中文版:OpenCode 2.3 实测

2. OpenCode 2.3.2 and the GPT-6.2 prompt-cache trap

My favorite find of the series. From GPT-6.2 on, the Responses API places the top-level instructions field after the input, past the cache breakpoints, so an identical system prompt is billed as uncached on every step. OpenCode used to send its 10k+ token system prompt exactly there. Version 2.3.2 moves it into a leading developer message, and on Copilot's gpt-6.2-sol the uncached input per step went from 14,163 tokens down to 3. The note also covers who is not fixed by the upgrade (custom routers on the old provider block, gateways like LiteLLM that need their own patch) and what to copy if you call the Responses API from your own code.

→ Why GPT-6.2 quietly stopped caching OpenCode's system prompt, and the fix · Chinese write-up of the cache-prefix fix

3. OpenCode 2.4: the agent schedules its own work

2.4 adds automations: a prompt, a Code Mode script or a fixed shell command that runs on a timer, a cron expression, or an event pushed by an MCP server, with no TUI open. Three details deserve attention before you turn it on. A shell action is approved once, at creation, and flipping the rule to deny later does not stop an existing one. MCP connections now try the 2026-07-28 protocol first, which cost an old server about 5.8 seconds in the test. And plugins pinned as ^1.0.0 or @latest update and hot-reload themselves every 24 hours. There's a short "decide these before you use automations" list at the end that I'd treat as a pre-flight checklist.

→ Cron jobs, MCP events and self-updating plugins in OpenCode 2.4 · 中文:OpenCode 2.4 automations 实测

4. Claude Code 2.1.332: MCP-shipped skills and a hook for skill shell commands

Two additions around skills. MCP servers can now provide skills that show up as server:skill in the slash menu, though the beta has a long list of conditions (subscription login or long-lived token, direct connection to Anthropic, no custom base URL, no claude -p). The security-relevant one is the new PreSkillShellCommand event: the !cmd`lines a skill runs the moment it loads never reachedPreToolUse` before, only the permission check. The note tests what each hook answer does, what older clients do when they see the setting (they warn and still run the command), and suggests registering your existing Bash review script on the new event too.

→ Closing the gap where skill commands ran before any hook saw them · Claude Code 2.1.332 实测(中文)

5. pi 1.7.0: sessions that survive a terminal restart, keeping their restrictions

pi now speaks the Program Resume Protocol (OSC 7577): it tells the terminal how to resume the session, and the terminal runs that after a restart. The interesting design choice is that the resume command repeats the restriction flags you started with (--tools, --no-extensions, --skill), and the token is no longer passed to child processes. The anonymous install ping is gone, but the note is careful to list what still goes out (a version check, an fd download if missing) and points out a side effect: the old telemetry switch also used to turn off attribution headers, which are now always sent.

→ How pi 1.7 brings sessions back without dropping their limits · 中文版:pi 1.7.0 会话恢复与遥测

Part 2: The cost and operating model around the harness

6. When a cheap model under Opus actually saves money

Claude Haiku 5.5 is priced at $0.10/$0.50 per million tokens and explicitly pitched as a subagent and compaction engine. This piece is not a release recap; it writes the bill as formulas and works through three examples: compacting a 400K-token session, one subagent in three shapes, and an 8-way fan-out. The point is that four billing rules (prompt-length price tiers, cache behavior and so on) and how much the orchestrator re-reads matter more than the list price. It also notes that Claude Code subagents don't default to Haiku, includes counter-cases where it costs more, and labels the arithmetic as arithmetic, not measurement.

→ A cost model for small-model subagents and compaction you can run yourself · Haiku 5.5 省钱账本(中文)

7. Always-on agents: who wakes them, in whose name, and who pays

OpenAI's dots are agents with their own cloud computer that keep working toward a goal around the clock. This note ignores the demo and asks what changes when the next turn is started by a timer or an event instead of a person: lifecycle, persistent state, standing authority, budgets that spend by the hour, and audit. It compares six products on five questions and ends with a checklist for building or choosing one. A good companion to the OpenCode 2.4 automations piece above.

→ The engineering questions an always-on agent raises · 中文:常驻 agent 拆解

8. Copilot as a memory-bearing coding stack

An earlier, shorter read from March that the rest of this list keeps echoing. Reading GitHub's Copilot changelog entries from a ten-day stretch together, it argues Copilot was turning from completion and chat into a persistent agent with project memory, planning, review behavior and task structure, and that the real bottleneck is no longer raw code generation but holding context and following process across the repo lifecycle.

→ Why the March Copilot updates added up to more than the sum of their changelogs · GitHub Copilot 带记忆的编程栈(中文)


If you want the layer-by-layer view first, my earlier roundup What an agent harness actually owns covers loops, cost routing and durability; this one is the "what shipped this month and what it broke" companion. Version numbers and figures above come from the linked notes, which describe what was tested and what wasn't.

Top comments (0)