Task control and observability release: a task description can now choose its own harness, model, and effort, and the local dashboard gains an Overview landing page, a read-only Workspace view, a redesigned task-activity list, and per-automation pages. Worker reliability fixes stop exhausted harness chains, credential failures, and relay review failures from looping or flooding logs and Sentry; usage-limit detection and cooldowns are more accurate; and agent failures now carry their real reason. See Upgrade notes for the dashboard route change and the stricter --env-file precedence.
Upgrade notes
- The dashboard opens on Overview; Runs moved to
#/runs.#/(and any unrecognized hash) now renders the new Overview page instead of the runs list. Update bookmarks or links that pointed at#/to reach Runs; run detail links (#/runs/<id>) and the other pages are unchanged --env-fileis now the only.envsource and wins over the shell. Previously the implicit project.devintern-code/.envwas loaded before the flag was parsed, so it filled (and, becausedotenvdoes not overwrite, overrode) keys in the selected file. Now only the named file is read — keys it omits are no longer taken from the project, home, or installation.env— and its values override variables already exported in the shell. If you relied on mixing an explicit file with the project.env, put every required key in the explicit file- Ad-hoc tasks stop retrying after 24 consecutive harness deferrals, and unknown usage-limit windows can last up to 24 hours. A
devintern worker addtask deferred because the harness chain was usage-limited or failed to start is now requeued with exponential backoff (1 minute, doubling, capped at 1 hour) and settledfailedafter 24 consecutive deferrals; re-queue it withdevintern worker add --resume <taskKey>, which resets the budget. A usage limit with no parseable reset time now escalates from 1 hour up to 24 hours instead of always waiting 1 hour (see Added) - DevIntern skills moved into the Claude Code plugin folder. The repository’s
skills/directory now lives atplugins/devintern/skills/(the old symlink is gone). Sparse checkouts or direct links toskills/<name>must use the new path;bunx skills addand the/plugininstall still discover all skills. This is a repository layout change and does not affect the@getdevintern/codepackage itself
Added
- Per-task harness, model, and effort from the task description (DEV-185): a task can override
AGENT_HARNESS,AGENT_MODEL, andAGENT_EFFORTfor that task alone with an## Execution preferencessection (Harness:,Model:,Effort:lines) or a hidden<!-- devintern: ... -->comment. Only an explicit block is read, so ordinary ticket prose is never treated as configuration; flattened Jira ADF and Azure DevOps HTML headings are recognized and code samples are ignored.Model:passes unchanged to the selected harness (DevIntern defines no aliases),Effort:is ignored with a warning on harnesses without reasoning effort, and unknown harnesses, conflicting values, or invalid efforts fail the task with an actionable message. A harness-only override uses that harness’s<HARNESS>_MODELrather than carrying overAGENT_MODEL. In worker failover each attempt stays pinned to the active harness and a preference for a different harness is ignored with a warning. Overrides are restored after each task, the effective selection is printed and recorded in run history, and sandbox resolution is now cached per harness so a batch mixing harnesses is wrapped correctly. Seedocs/code/usage.md#per-task-execution-preferences - Dashboard Overview and Workspace pages: the new Overview landing page shows uptime, working window, queue mix, running work against
max_concurrency(overall and per repo), theAGENT_HARNESSfailover chain with usage-limit windows and an all-exhausted “paused until …” banner, and tracker sources with their last poll (flagged when older than 3× the interval). Because the worker only learns that quota is back when a run succeeds, it now keeps each harness’s last limit hit and Overview shows quota unconfirmed instead of “healthy” after the window elapses. The Workspace page is a read-only view ofworkspace.toml— a routing diagram from sources through rules to repos, plus repositories, automations, estimations, error monitors, credential key names (never values), and execution policy — with config sync status from a new.worker.config-state.jsonthat records the last applied version and the last rejected reload. Backed byGET /api/overviewandGET /api/workspace, which return redacted DTOs and report missing or invalid config as a typed state instead of a 500.devintern dashboard --workspacenow lists the workspace’s[[automations]]read-only instead of an empty catalog - Dashboard redesign with automation detail pages: a design pass over every screen — shared status badges and tones, dense tables, and a topbar carrying the page title and live worker status. Runs gain an Outcome column with failure/deferral reasons and PR links; run detail leads with a tinted outcome panel, a collapsible stage timeline with failed stages open, and tabs for description, per-attempt transcripts, and artifacts; Statistics adds a proper weekly chart, outcome bar, origin breakdown, and per-harness success rate; Pull requests sort oldest-waiting first and highlight PRs waiting over 7 days; Logs gain day separators, level tags, and search. Automations become a compact list with humanized cron schedules plus a new
#/automations/<id>page with the full prompt, schedule facts, Run now, and recent runs;GET /api/runsnow honours theautomationIdfilter it previously ignored - Dashboard folds repeat run attempts: the Runs list groups attempts at the same work (origin and task key, or PR, plus repo name) into one row showing the newest attempt, with an “N earlier” chip that expands the earlier attempts inline. Repos are compared by name because runs record either
owner/nameor barename; grouping spans the current page - Task activity is a task list with pipeline phases: the per-step kanban is replaced by a list of tasks with attempts folded together. In-progress tasks show their phase (Preparing → Assessing → Implementing → Reviewing → Publishing) with a step counter, the exact step, and live timers; deferred tasks within 48 hours appear under Waiting to retry with the reason and the step they stopped at; finished tasks collapse under Recently finished with PR links or outcome reasons. Task titles now skip a leading YAML frontmatter block (preferring
title:) instead of showing--- - Usage-limit cooldown escalates when no reset time is given: a usage limit without a parseable reset time used a fixed 1-hour fallback, so a harness out of monthly quota was re-probed every hour by launching a real task — a new worktree, run record, and failed spawn each time. The fallback now doubles per consecutive limit on the same harness (1h, 2h, 4h, … capped at 24h) and resets after a successful run or a limit that reports its reset time. Usage-limit detection also reports the named quota period, so a monthly or weekly limit waits at least 24 hours and a daily one at least 4 hours, and worker children leave unknown windows to the parent instead of pre-computing one hour. The streak is in memory, so a worker restart starts again at 1 hour
Fixed
- Sentry auto-fix runs can conclude that no change is needed: an error-monitor remediation run that correctly found the issue already fixed, not reproducible, or environment-specific made no repository changes, so delivery failed with
Implementation was not committed— which was reported back to the same Sentry issue and fed another remediation attempt. Error-monitor runs now pass--allow-no-changes, and the generated task tells the agent a no-op is a valid outcome - Failed relay review runs no longer loop or pin the cursor: a relayed
pr.review_submittedrun that started and failed was classified as transient, so the worker redelivered it with backoff forever, re-ran the whole review each time (277 identical events for one PR in a day), and blocked every later envelope. A failed run is now logged and acknowledged — its subprocess already reports the real error. Other retryable relay failures are bounded by a durable per-delivery attempt counter and acknowledged with their captured error once the queue’s retry budget is spent; usage-limit deferrals and runs interrupted by a shutdown drain stay retryable without spending an attempt, and a drained review is reported as interrupted instead of failed - Review and CI-fix agent failures say why:
address-reviewand CI-fix runs threw a bareAgent failed to complete successfully, discarding the spawn error, exit code, signal, timeout, and output. The error now appends the reason and the last meaningful output line (ANSI-stripped, capped at 500 characters), so distinct causes stop collapsing into one report, and the sandbox is cleaned up when the child fails to spawn - Implementation agent exits carry their failure line: a non-zero agent exit threw only
Agent exited with code N. It now appends the last failure-shaped stderr line (falling back to the last output line, ANSI-stripped, capped at 300 characters). Nestednonosnapshot, session, and capability errors andlandlockruleset failures are now recognized as sandbox startup failures, and worker-log redaction no longer masks values after words likepathorpatchas if they were apatcredential - Transient GitHub outages are not reported as errors from review polling: GitHub
408,429, and5xxresponses that outlastedfetchWithRetryproduced recurringGitHub API error (503): Unknown errorreports even though the next tick recovered. Review polling now only warns for these statuses; credential and other failures keep their existing handling. GitHub App installation and token errors now include the HTTP status so they classify correctly - Usage-limited harness chains pause the ad-hoc and retry drains: while every harness in the chain was usage-limited or cooling down, the injected-task and dashboard-retry drains still claimed rows every 5 seconds, got
deferredback, and requeued them — over a thousand identicalrunning/deferredlog pairs per pause window for one task. Both drains now idle until the chain recovers, leaving the existing pause and resume lines as the only output - Ad-hoc tasks no longer re-run every 75 seconds on a startup-failing harness: a deferred
devintern worker addtask was requeued immediately, so a harness that kept failing to start re-ran the task about every 75 seconds with a fresh worktree and run record each time (340 runs and 118 kept worktrees on one worker). Deferred rows now back off exponentially and settlefailedafter 24 consecutive deferrals (see Upgrade notes) - OpenCode Go usage limits trigger failover: OpenCode’s
Go usage limit exceededdiagnostic and the newerOpenCode Go usage limit reached (monthly, resets in 6d 23h) …form were not detected, so the run looked like a startup failure with a 60-second cooldown instead of a usage limit. Both forms are now recognized in plain stderr and structured logs, the reset hint (7d,6d 23h) parses, and scheduled worker runs return the usage-limit signal so the chain can fail over to the next harness - Source listings no longer trigger false usage limits: Codex echoes tool output in its transcript, so a
nl -ba/cat -nlisting of a file containingAPI error (status 402 Payment Required)was taken as a live provider error, killing Codex and applying a one-hour cooldown. Tab-numbered source lines are now treated as source text, and the broad Grok HTTP 402 substring match is removed (the specific balance-exhaustion diagnostic is still recognized) - CI-watcher credential failures are throttled and actionable: a permanently rejected GitHub credential logged a warning for every watched PR on every tick, and permission-denial 403s were not recognized as credential failures. 401s, missing credentials, and credential-scoped 403s are now classified as authentication failures, logged at most once per repository per hour with guidance to renew the credential or grant Actions: Read and Commit statuses: Read, and followed by one recovery line once the CI endpoints succeed. Review polling uses the same classification per repository and API stage; rate limits and other 403s keep their normal handling
- Agent PRs stay watched when GitHub omits their state: any PR
stateother than"open"— including a missing,null, empty, or unknown value — permanently unwatched the PR, so its review comments and CI feedback were never polled again. Onlyclosedandmergednow close the row; unusable state leaves it watched for the next tick and logs one warning per PR - Story-point estimation retries partial tracker writes: an estimate that wrote nothing to the tracker counted as estimated, and the re-estimation gate compared the task’s
updatedtime with the estimation comment’s creation time, so a failed field or comment write was never retried and the estimation’s own writes could look like a task change. Zero-write and partial attempts are now reported as failed and retried on the next sweep, and a durable baseline records the task’supdatedtime after a successful estimate — which also works for Asana stories without edit timestamps and for--skip-commentsruns - Sandboxed agents can run
bun install: undernono, agents inheritedBUN_INSTALL=~/.bun, which the sandbox grants read-only, sobun installandbun addfailed withEACCES accessing temporary directory. Thenonoprovider now pointsBUN_INSTALLandBUN_TMPDIRat a pre-created writable directory under the system temp dir and grants it explicitly - Readiness probes respect an enclosing sandbox: readiness checks wrapped harnesses in another sandbox even when the real run would inherit DevIntern’s enclosing confinement, producing false failures. Probes now share the runtime nesting decision and run the harness directly when confinement is inherited, while nesting-capable and explicitly restricted providers keep their behavior. With
AGENT_SANDBOX=auto, every harness in the chain — including indevintern doctor— resolves its own compatible provider, so a primary-only provider no longer rules out a usable fallback - Dashboard queue counts include ad-hoc and retry work: the status strip counted only relay and webhook deliveries, so a polling-mode dashboard could show “0 queued” while
devintern worker addtasks or scheduled retries were waiting.GET /api/workernow adds pending and running counts for both queues, read from the queue database read-only, and the status strip shows the total with a per-queue breakdown devintern worker run-nowreports failures instead of crashing: an unwritable workspace surfaced as a minified stack trace,--workspacewithout a value was silently ignored, unknown options were accepted, and the command claimed success with no worker running. Arguments are now validated strictly, a failed marker write prints a short sandbox/permission diagnostic, and a warning notes when no worker is running to consume the marker- Saved bug reports are always private:
devintern reportwrote saved payloads with mode0600, which only applies when the file is created, so overwriting an existing file kept its old permissions. The file is now explicitly set to0600after every write
Technical
- Local E2E suite covers the main product paths (DEV-194):
@devintern/e2egained offline local coverage for the Trello, Linear, Azure DevOps, and Asana lifecycles and Jira story-point estimation (one-shot and scheduled) against fake servers; Sentry error-monitor auto-fix; working windows andworker run-now; workspace and per-repo concurrency limits; scheduled automations; the standalone dashboard API and dashboard retries; the local--auto-reviewloop; the--forceretry gate; worker crash orphan recovery and resume; multi-repo team routing with layered env; report redaction, preview, spool, and--from; Markdown and mixed tracker batches;--no-gitand--no-auto-commit; worker scaffold andadd-repo;devintern doctorexit codes;--env-fileprecedence; and worker conflict-resolution failover with the standalone single-harness contract - Test-only tracker endpoint overrides: the Azure DevOps and Asana clients accept a base URL override so the E2E fakes can serve them.
AZURE_DEVOPS_BASE_URLandASANA_API_BASE_URLare honoured only whenDEVINTERN_E2E_FAKE_AZURE_DEVOPS=1orDEVINTERN_E2E_FAKE_ASANA=1is exported before the process starts and the URL is a loopback address, so a project.envcannot redirect a token - Root test runs never report to Sentry: the repository-root
bunfig.tomlnow preloads the Sentry guard, sobun teststarted from the root pinsSENTRY_DISABLED=1and CLI subprocesses spawned by tests no longer send expected validation errors (such as an empty Markdown task file) to production Sentry. A regression test spawns a rootbun testto prove the pin reaches the child - Documentation and Claude Code plugin: DevIntern skills are published as a Claude Code plugin marketplace with a version, icon, and README covering data handling, plus a team rollout guide; a dedicated delegation guide documents
worker add; and the docs gain agent-friendly metadata forllms.txt. The dashboard UI’s Vite config acceptsDASHBOARD_API_PORTfor local development