Starts Nov 20. Live now. 40% off your first invoice with code BLACKFRIDAY26, Nov 20 to Dec 1. See pricing

← All releases

v2.20.0

October 23, 2026

Reliability release: OpenCode v2 is supported through version probing, sandbox readiness and failover stop turning harness configuration problems into task failures, agents that commit or open a pull request themselves are delivered instead of failed, ad-hoc worker tasks run in parallel and can be re-queued, verification failures are visible and resilient, and the dashboard gains a task activity board alongside user-approved bug reports.

Added

  • OpenCode v2 support via version probing: the opencode harness now probes the installed CLI (opencode --version) once per executable and picks the flag surface that matches its major version, so users on v2 are no longer broken by flags v2 removed. v2 dropped --log-level, --dir, and --variant, read the working directory from $PWD, and went server-backed, so on v2 headless runs now enable logs through OPENCODE_PRINT_LOGS/OPENCODE_LOG_LEVEL, pin the working directory with PWD, fold reasoning effort into the model reference (--model provider/model#variant, requiring AGENT_MODEL), and pass --standalone to avoid the user’s shared background service. v1 keeps its existing --print-logs --log-level ERROR --dir / --variant invocation. A missing or unparseable version falls back to the v1 baseline instead of failing, and usage-limit detection now also reads the v2 structured log fields and --format json error envelope
  • Task activity dashboard board: the local dashboard gains a Task activity tab that groups tasks under their current or last recorded pipeline step, including custom steps and repeated executions, with searchable previews, status filters, elapsed time, selection details, and links to the full run record. In-progress runs stay visible beside the latest 100 runs, terminal outcomes clear the active step, and history recorded before step instrumentation appears under Step unavailable instead of being guessed from completed stages
  • User-approved bug reports: devintern report collects an environment summary, an optional run summary, and bounded log tails, previews them, and submits only after confirmation to POST /api/reports; --print, --save, --from, report list, and report show support offline handoff, local history, and retry, with saved-report submissions also requiring confirmation or --yes. Known credentials, checkout and home paths, task keys, and the detected repository slug are masked by default, and reporting does not require a license. Task failures, pipeline warnings, and successful runs do not submit reports to this endpoint; Sentry remains the automatic exception path. The public @getdevintern/code/report entrypoint exposes the preparation and submission helpers, and the new devintern-report skill guides diagnosis, reproduction, evidence collection, and consent
  • Re-queue interrupted ad-hoc tasks: failed, escalated, or abandoned devintern worker add runs can now be retried without minting a new task key — the dashboard shows Re-queue task and devintern worker add --resume <taskKey> re-queues the settled row (with --wait/--json support), so the retry targets the same feature/local-<slug> branch and reuses the prior implementation report when one was recorded. Re-queueing reports an already-active task instead of duplicating it and is refused for pruned rows or when an in-progress run exists; startup recovery still fails interrupted in-flight tasks instead of silently re-running them
  • Verification failures are visible on the run and on the ticket: verification recorded no stage, so the dashboard timeline jumped from implementation to outcome, and a halted run only carried a one-line reason (“Verification failed twice: …”) with no findings. Verification now records a verify stage with the verdict summary and blocking findings, lists those findings in the halt/repair reason the tracker comment renders, and — when no verdict parses — saves verify-prompt.txt and verify-output.txt as run artifacts. A repeat-limit halt also carries the last verification findings instead of only naming the step that gave up
  • Run harness logs are grouped by attempt: the dashboard run-detail page annotates each transcript with the producing run’s attempt and groups logs under Attempt 1, Attempt 2, … headers with the run id and log count once more than one attempt contributes, keeping the flat list for single-attempt runs and collecting logs without a run id under Unattributed logs
  • Sandbox-aware harness readiness and deferred runs: devintern sandbox now probes each harness chain entry through the configured sandbox and reports OK/FAIL with a suggested fix, startup detects mise shims and classifies startup failures (permission denials, missing binaries, nono grant errors, and fast exits with no assistant output), and failover marks an unavailable harness for a short process-only cooldown, tries the next entry, and defers the task when none can start — without posting a failure comment, writing retry state, or transitioning the ticket. Deferred fleet runs also check the chain before cloning, fetching, or creating a worktree, so a fully unavailable chain no longer leaks a disposable worktree on every poll

Fixed

  • Only explicit plans trigger a plan retry: the plan-only detector’s fallback matched any transcript that mentioned “plan” next to generic words such as summary, implementation, review, or steps, so an ordinary completion report could suppress delivery and spawn a redundant plan-retry agent after the implementation had already committed. Only explicit plan-creation phrases or an extractable plan file now count, and delivery captures HEAD before the implementation agent runs so a clean tree with moved HEAD is delivered immediately instead of being reclassified as plan-only; genuine plan-only runs still retry
  • Commits the agent created are delivered: a fresh run whose agent committed its own work left a clean tree, so commitImplementation reported “No changes to commit” and the pipeline marked the run failed with “Implementation was not committed” even though the branch was ahead of the target and a pull request might already exist. Delivery now accepts a clean tree when the current branch is neither the PR target nor protected and has commits ahead of the target, using the same guard as resumed runs; a clean tree with no commits ahead still fails
  • Agent-created pull requests are adopted after a failed run: an agent that opened its own pull request bypassed PRManager.createPullRequest, so when the run later failed the PR was neither labeled nor registered for review polling. Failure handling now looks up an open GitHub PR for the worktree’s current branch, applies PR_LABELS, and records it in agent_prs so review and CI polling watch it; the adoption is best-effort and never changes the failed outcome, and base branches are skipped. GitHub is supported for now
  • Ad-hoc worker tasks run in parallel within concurrency limits: the injected-task acquirer claimed a row and awaited the full run before claiming the next, so max_concurrency and max_concurrency_per_repo did not apply to devintern worker add. It now claims every pending row up front and runs them concurrently through the existing workspace supervisor, sharing capacity with polling, reviews, and automations; repositories blocked by an in-flight task are requeued for the next tick instead of starving independent repositories
  • nono harness state directories and pack status: under nono, grok, cline, deepseek, goose, kilo-code, kimi, qwen, and pi lacked writable home state directories and failed on their first write, while a harness without a nono pack profile silently fell back to a generic profile. A shared, audited state map now serves both the nono and srt providers, the fallback is reported once per process with the harness and state path (unless a user profile is set), devintern sandbox shows pack status per chain entry, and the home directory resolves from the sandboxed $HOME
  • Per-harness model overrides: AGENT_MODEL was applied to every harness in a failover chain, so a model id meant for the primary made every fallback unstartable. Resolution now prefers <HARNESS>_MODEL for any entry, applies AGENT_MODEL only to a single configured harness or the primary of a chain, and leaves fallbacks on their own CLI default; the startup banner lists the effective model per chain entry
  • Retry-gate skips are reported as skipped: a retry-gate skip exited 0, so the poller logged the task as completed, removed the worktree, and left operators with a successful run that had no pull request or run record. Worker children now exit with code 3 for a skip, failover returns skipped without trying another harness, and the poller logs ⏭️ … skipped (previous attempt reported incomplete; ticket unchanged) while keeping the dedupe claim; retry and injected-task rows settle as done with a skipped message
  • HTTP 429 prose is not a provider usage limit: a numbered listing line that trimmed to 429, or prose beginning with HTTP 429, matched usage-limit detection and killed healthy runs with a one-hour cooldown. HTTP 429 now has to be an actual status line, the bare 429 alternative is gone, and a genuine limit still requires 429 Too Many Requests or another provider diagnostic pattern
  • Verification accepts approvals whose findings are below its threshold: parseReviewFeedback validated every verdict against the auto-review default (medium) before verify could apply minSeverity: "high", so an approval listing advisory medium notes died as “Failed to parse review feedback JSON” and the step retried the agent twice before halting despite onFail: "warn". The parser now takes the caller’s threshold.
  • Quoted log fixtures no longer trip usage-limit detection: an agent that printed a file containing a level=ERROR … error.error="AI_APICallError: … usage limit reached. Resets in 4hr 9min." string (for example this repository’s own usage-limit test fixture) was killed mid-run and its harness was parked for four hours with a fake limit window. Structured-log extraction now requires the diagnostic line to start with its logfmt fields, and the transcript source guard recognizes single-quoted and template literals that embed double quotes, so quoted source is never parsed as live CLI output while real OpenCode v1/v2 log lines still match
  • Incomplete-implementation detection reads only the final answer: the exit-0 detector scanned the entire transcript, so source files, docs, and advisory verification notes containing phrases like “I could not implement the requested feature” or “I could not verify the live account” escalated runs that had completed and verified their work. The detector now inspects the agent’s final answer only — the <!-- devintern:summary --> block when present, otherwise the tail of stdout — and its failure patterns require completion vocabulary, so a note that something was unverified never counts as an unfinished implementation. The summary markers now live in @devintern/agent-harness so the producer and this detector cannot drift
  • Plan-retry runs that commit their own work are delivered: when the main agent produced only a plan, the retry implemented it and committed (docs: …), and the follow-up pipeline commit then found a clean tree and failed the run with “Implementation was not committed” even though the branch held six commits ahead of main. The plan-retry commit path now accepts commits the plan agent created itself, using the same target-branch/protected-branch guard as the normal path
  • “CLI cannot” no longer reads as an incomplete implementation: the exit-0 detector matched I cannot/I could not without a word boundary, so a complete summary mentioning “a harness whose CLI cannot emit JSON” was classified as an incomplete implementation — the run was reported back to the ticket and moved to To Do after the agent had finished and verified its work. The failure patterns now require a word boundary before the pronoun
  • Interrupted runs are reported once, as interrupted: a SIGTERM during verification killed the agent child (exit 130/143), and the retry loop treated that as a verification failure — it spawned another agent into the exiting process, then posted “Verification failed twice: Opencode exited with code 130” alongside the shutdown handler’s own interruption comment and armed the retry gate. Verification now stops retrying while a shutdown is in flight and halts with haltKind: "stop", and pipeline halts during shutdown no longer post tracker feedback, so the ticket keeps the single accurate interruption report
  • Verification accepts approvals with advisory findings: validateReviewFeedback hardcoded a medium threshold, so a verdict that approved the work while listing medium notes was rejected as self-contradictory — even though verification’s default blocking threshold is high, where those findings are advisory. Verification now validates against its configured minSeverity, while the auto-review loop keeps the medium default
  • Verdict JSON survives unescaped quotes in pasted code: a verification verdict whose summary quoted ["headless", prompt] terminated its string 40 bytes early, so no balanced object was found and the run failed verification twice with “no valid JSON object containing approved”. The parser now escapes unescaped quotes using bracket depth inside the value, repairing that class of verdict without loosening the source/diff safeguards
  • Large prompts no longer fail with E2BIG: review, verification, fix, and implementation prompts are handed to the CLI as a single argv entry, and Linux rejects an argument at 128 KiB with E2BIG: argument list too long before the CLI starts — a 44-file diff plus the review template crossed it, which failed verification twice and posted an incomplete-implementation summary instead of reviewing the change. buildPromptArgs now writes prompts over MAX_PROMPT_ARG_BYTES to a private temp file and replaces them with a short pointer the agent reads first; the limit is measured in UTF-8 bytes, not characters

Technical

  • Expanded local and tracker end-to-end coverage: the private packages/e2e workspace now asserts installed agent-harness invocations, covers worker-daemon smoke behavior and GitHub pull-request labels, outlines opt-in suites in local test output, and adds a tracker expansion plan, read-only smoke scenarios, and a GitLab.com Issues ticket lifecycle. Live tracker suites remain opt-in and the ordinary offline test command is unchanged