Repository navigation
v0.238.0
protoAgent v0.238.0
This release makes the server the source of truth for live state. Every open console now follows one durable change feed, so a send, a decision or a finished turn in one window appears in the others without a reload (ADR 0130). Turns cut off by a restart now resume or come back to you as a recovery item (ADR 0129 D7). The Feed is redesigned as one newest-first list. Tasks and directives now close with the work they track.
Added
- Live sync (ADR 0130).
- A durable change log on the server: event-stream frames carry sequence ids, a client resumes with
Last-Event-IDor?since=across server restarts, and a cursor older than retention (7 days or 100k rows) getsresync_requiredinstead of a silent gap (S1, #5208). - Server-held session state on
GET /api/chat/sessions:status(idle, running or paused),live_task_idandlast_change_seq, plus asession.changedevent on every transition (S2, #5213). - A console sync client that saves its cursor per agent and resumes on reconnect, tab focus, agent switch and wake from sleep, then refetches only what changed (S3, #5217).
- Chat renders the composer lock, Stop and spinner from the server's session state, so a session the server reports idle never keeps a spinner or swallows a send (S4, #5219).
- A multi-client contract test suite: two browser contexts against one server (S0, #5204).
- A durable change log on the server: event-stream frames carry sequence ids, a client resumes with
- Interrupted turns (ADR 0129 D7). On boot the agent classifies turns a restart cut off and resumes the safe ones itself (S6, #5157). The rest appear in Needs you with Resume, Re-run and Drop, plus an Activity entry (S7, #5198).
- Tasks close with their work (#5160). A task can link to a board card, a background job or a directive, closes when that work closes, and has a
waitingstatus for work waiting on you. - Directives close with their work (#5189). A directive links to the work it covers, is fulfilled when that work finishes, and is flagged as stale in Your instructions.
- Work view (#5206). A parked job reads "Waiting on you" in Needs you, and a task with no activity for a day offers a close with the reason shown.
- Feed groundwork. Activity entries and
activity.messagecarry theinbox_idthey ran (#5186, #5191), and the Feed model merges inbox items and activity entries into one list (#5202). A row's detail opens in the dialog body (#5209).
Changed
- The Feed is one newest-first list with queued, ran and failed rows under day headings (#5205). The Feed pill shows a plain unread count, without the priority-now alert badge (#5210).
- Work, decisions, inbox and background jobs also re-read on
resync_required, so a client that fell far behind catches up without a reload (S5, #5225). - The per-file SQLite write lock is a shared helper,
infra.sqlite_locks.file_lock(#5222). The tasks store uses it now; the scheduler, background and metrics stores follow in the next release. - The test-policy gate budgets each change's own diff instead of repo-wide totals, so a small fix is no longer blocked by headroom other work used (#5159).
- Work and Feed open at the same size (#5165).
Fixed
search_filesuses ripgrep when it is on PATH and skips gitignored build caches, so a large.turbo/cacheno longer slows every search (#5223, #5097).run_commandreturns when its shell exits, even if the command started a background process (#5221).- An idle agent now runs queued priority-
nextinbox items (#5220). Undelivered priority-nowpages retry when the agent is free, not only at the next restart (#5187). - A message steered at a session with no live turn starts a turn instead of waiting forever (#5203).
- ACP coders no longer end a turn "waiting" on a command they moved to the background (#5211).
- A scheduled turn that runs past the fire timeout reports "still running", not "delivery unknown" (#5200). Scheduled result cards stay quiet when a run has nothing new (#5158).
- A delivery's Work detail shows a short title, not the whole message (#5214).
- A server-started turn that finished while you were away no longer leaves an empty spinning bubble (#5199). On desktop, that turn now shows its cards (#5161).
protoagent dmfinds an agent by the start of its id (#5156).
Removed
- The Feed's old provenance row and the unused
.inbox-pri*styles (#5212).
Upgrading
No configuration changes are needed. Consoles that do not support the new sync feed keep their previous behaviour against an older server.
What's Changed
- fix(config): GET /api/config masks MCP server env and header values by @mabry1985 in #5154
- feat: Scheduled result cards: no card when a run has nothing new to report by @mabry1985 in #5158
- fix(egress): the strict guard blocks the tailnet address range by @mabry1985 in #5150
- fix(console): a remote member can't steer the hub console's token or markup by @mabry1985 in #5152
- fix(console): a reply shows an image from another host as a link by @mabry1985 in #5151
- fix(test-policy): budget each change's own diff, not repo-wide totals by @mabry1985 in #5159
- fix(dm): resolve an agent by an unambiguous id prefix by @mabry1985 in #5156
- fix(desktop): a rejected reattach replays the finished turn instead of ending silently by @mabry1985 in #5161
- fix(config): a stored model key is only sent to the server it was saved for by @mabry1985 in #5153
- fix(console): Work and Feed open at the same utility-dialog size by @mabry1985 in #5165
- fix(auth): an event-stream ?token= is no way past a configured X-API-Key by @mabry1985 in #5174
- fix(a2a): a federation caller can't settle a background job by @mabry1985 in #5171
- fix(acp): a caller who can't approve no longer has permission requests auto-allowed by @mabry1985 in #5175
- fix: follow-ups from the November hardening PRs by @mabry1985 in #5164
- chore(deps): bump opentelemetry-api to 1.45.2 and pyasn1 to 0.6.5 by @mabry1985 in #5177
- fix(self-config): refuse destination and fence keys in set_config by @mabry1985 in #5172
- fix(server): safe-serving headers for stored media and the console page by @mabry1985 in #5166
- fix(chat,a2a): redact raw exception text for non-operator callers by @mabry1985 in #5170
- ci: pin third-party actions in the signing and publish jobs to commit SHAs by @mabry1985 in #5182
- fix(auth): a settings reload can't open a server bound beyond loopback by @mabry1985 in #5178
- fix(auth): only a real CORS preflight skips authentication by @mabry1985 in #5180
- fix(fleet): the proxy never forwards the caller's X-API-Key to a remote member by @mabry1985 in #5184
- fix(delegates): a turn that can't approve can't approve on the member either by @mabry1985 in #5181
- feat: Inbox: undelivered priority-now items retry when the agent is free (not only at boot), never sit as alerts by @mabry1985 in #5187
- feat: Feed 1/7: commit docs/design/feed.md + ActivityLog stores inbox_id by @mabry1985 in #5186
- feat: Directives close with their work (ADR 0129 D4/Q2): links, auto-fulfil, stale flag in Your instructions by @mabry1985 in #5189
- feat: Interrupted turns D7 S6: classify from checkpoint on boot, auto-resume the safe cases by @mabry1985 in #5157
- fix(tracing): incognito turns record no tool args or results by @mabry1985 in #5163
- fix(onboard): the hard-refusal floor applies inside onboarding.root too by @mabry1985 in #5176
- fix(auth): a non-ASCII credential is a 401, not a 500 by @mabry1985 in #5183
- fix(auth): a limited device can't create a watch that runs host commands by @mabry1985 in #5173
- fix(a2a): tasks belong to the tier that created them by @mabry1985 in #5185
- chore(deps): override dompurify to 3.4.17 by @mabry1985 in #5179
- fix(snapshot): the import plan names every command and destination key; plugins.dir is not applied by @mabry1985 in #5190
- fix(plugins): send GITHUB_TOKEN to GitHub hosts only by @mabry1985 in #5193
- fix(plugins): a wheel re-install checks the hash plugins.lock recorded by @mabry1985 in #5194
- fix(plugins): a plugin fetched without consent stays off; devkit and auto-update honor source trust by @mabry1985 in #5192
- docs(adr): 0130 server-authoritative live sync (accepted) by @mabry1985 in #5196
- fix(plugins): a SHA-shaped ref must resolve to that commit by @mabry1985 in #5195
- fix(snapshot): a blank key grants nothing in the import plan by @mabry1985 in #5197
- fix(plugins): a dot or empty path segment never matches a trusted source by @mabry1985 in #5188
- feat: Feed 2/7: activity.message and the activity row carry inbox_id (executor → a2a → ActivityEntry type) by @mabry1985 in #5191
- feat: Console: a server-started turn that finishes while the agent is in the background leaves a spinning empty bubble by @mabry1985 in #5199
- feat: Scheduler: a long-running accepted turn is 'still running', not ERROR 'delivery unknown' by @mabry1985 in #5200
- fix(auth): a limited device can't change where prompts and traces are sent by @mabry1985 in #5169
- feat: Feed 3/7: feedModel — merge inbox items + activity entries into one newest-first list joined by inbox_id by @mabry1985 in #5202
- feat: Tasks close with their work: links to cards/jobs/directive, auto-close, waiting-on-operator state by @mabry1985 in #5160
- docs(adr): 0129 D7 — turns interrupted by a restart by @mabry1985 in #5149
- feat: Live sync S0: multi-client sync contract tests (two browser contexts, one server) by @mabry1985 in #5204
- feat: Work: waiting tasks in Needs you, stale in-progress tasks flagged with one-click close by @mabry1985 in #5206
- docs(claude-md): point source paths at src/ by @mabry1985 in #5201
- feat: Feed 4/7: ActivitySurface renders one newest-first list (queued/ran/failed rows, day headings, no dismiss/alert) by @mabry1985 in #5205
- feat: Feed 6/7: pill shows a plain unread count — remove the priority-now alert badge, label and info text by @mabry1985 in #5210
- feat: Steer with no live turn starts a turn instead of queuing forever by @mabry1985 in #5203
- feat: Feed 5/7: row detail view in the dialog body (← Feed, dl fields, open-in-reader moves here) by @mabry1985 in #5209
- feat: Interrupted turns D7 S7: Needs you recovery item (Resume / Re-run / Drop) + Activity entries by @mabry1985 in #5198
- feat: Feed 7/7: retire OriginProvenance and the now-unused .inbox-pri* styles by @mabry1985 in #5212
- feat: Live sync S1: durable change log, SSE seq ids, Last-Event-ID resume, resync_required by @mabry1985 in #5208
- feat: Work: a delivery page's detail shows a short title, not the whole message as the heading by @mabry1985 in #5214
- feat: ACP coders: don't accept a turn as final while its command is still running in the background by @mabry1985 in #5211
- feat: Live sync S2: server-held session state (live_task_id, status) on sessions API + session.changed by @mabry1985 in #5213
- feat(console): a Content-Security-Policy for the console page, report-only by default by @mabry1985 in #5215
- feat: Live sync S3: console sync client (cursor, resume, visibility/agent-switch/wake, entity refetch) by @mabry1985 in #5217
- feat(console): say plainly that the agent can run code — at setup and on first enable by @mabry1985 in #5168
- feat: Inbox: next-priority items reach an idle agent; /deliver is documented as mark-handled by @mabry1985 in #5220
- feat: run_command returns when its shell exits, even if it started background processes by @mabry1985 in #5221
- feat: SQLite per-file write lock 1/2: shared helper in src/infra/sqlite_locks.py, tasks store adopts it by @mabry1985 in #5222
- feat: search_files skips ignored build caches: ripgrep backend when available, .turbo and storybook-static pruned by @mabry1985 in #5223
- feat: Live sync S4: chat renders session status from the server; retire local liveness inference by @mabry1985 in #5219
- feat: Live sync S5: Work, decisions, inbox and Feed consume the change feed by @mabry1985 in #5225
Full Changelog: v0.237.0...v0.238.0