Repository navigation
Scout v0.5.1
Scout 0.5.1 has two verbs for moving work. scout ask sends anything: new work, a follow-up, a question for the operator, or an FYI. scout reply answers it. Work items move through lifecycles that the runtime checks. Install with bun add -g @openscout/scout.
What's changed
- Replace six CLI verbs with ask and reply, and add work lifecycles
- Answer health from a cache on its own thread, so a long turn no longer reads as a stopped runtime
- Sweep host health every 30 seconds from scoutd
- Keep a permission request across a runtime restart, and let the operator dismiss one that nothing can answer
- Register Scout's MCP server in Zed with
scout mcp install --host zed - Publish stable releases from GitHub Actions, with npm provenance
Before you upgrade
- Six CLI verbs are removed.
scout send,tell,operator,notify,
broadcastandspeaknow stop with
scout <verb> was removed. Nothing was sent.and print thescout askor
scout replycommand to use instead. They never fall through to an implicit
ask. Update scripts and agent instructions that call them:- an FYI:
scout ask --to <agent> --fyi "..." - an answer to a task:
scout reply --ref <task> "..." - the operator:
scout ask --operator "...", with--optionfor choices,
orscout ask --operator --fyi --notify "..."for an update - a channel:
scout ask --channel shared --fyi "..." speak: removed. Speaking aloud is the operator's device setting.
- an FYI:
--notifyis for the operator only. Every ask now returns on
acceptance, andscout wait <handle>follows it. An ask to an agent or a
project with--notifystops with
--notify now pushes to the operator; asks return on acceptance by default.
Drop the flag there.scout ask --operator --fyi --notifypushes an update.- A route inside the message no longer routes. The composer form
scout ask '>> project:../app review this'stops with
ask requires exactly one routing mode. Use--to,--project,--ref,
--continue,--operatoror--channel.scout ask --harness codex "..."
still asks in the current project. - Five MCP tools are removed.
messages_send,messages_reply,
sessions_reply,notify_operatorandconsult_operatorare replaced by
askandreply.asktakesfyi,operator,options,
defaultActionandpermission.replyanswers both Scout tasks and
external sessions. Harness permission settings that list the old tool names
needmcp__scout__askandmcp__scout__replyinstead. - Finished work goes to done. New work items start with acceptance
none, so an item that finishes moves todoneinstead ofreview. An
asker that wants to review first sets acceptancepending.
scripts/settle-review-work.tsreports the review items left by the old
default, and with--applymoves them to done through the runtime API. - Do not downgrade the runtime after it runs 0.5. A control event in the
journal now stores a checked reference to the record that its command
journaled one line earlier, not a second copy. 0.4 runtimes do not restore
those references.
Ask and reply
scout askroutes by exactly one of--to,--project,--ref,
--continue,--operatoror--channel. With only--harnessor
--runtime, it asks in the current project. Unknown flags and combined
routes are errors. Message text never routes or cancels work.--ref <task>follows up on unfinished work without a second task.
--ref <task> --cancelcancels it and reports whether the worker was
interrupted.--continue <task>starts a successor to a finished task.--fyicreates a message and no task. It pushes to the operator only with
--notify.scout ask --operatorcreates a task that the operator owns.--option
gives answer choices.--default-actionproceeds when the answer window
ends: 30 minutes by default, or--window.--permissionmakes a blocking
permission request.scout reply --ref <task>answers. A final reply closes the task, and the
first final reply wins.--progresskeeps the task open. An automatic final
turn and an explicit reply never both land.
Work lifecycles
A lifecycle is a set of stations and the moves between them. The runtime
compiles it into a state machine and checks every move.
- Routes:
GETandPOST /v1/work/lifecycles,GET /v1/work/board,
GET /v1/work/moves,POST /v1/work/moveandPOST /v1/work/review. - MCP:
work_move,work_reviewandwork_lifecycle. The portable mesh
adapter serves them too. - The lifecycle's checks decide each move. Allow applies it, hold and consult
record it without moving the item, and deny explains why. A move into a
station with review criteria is applied and marked for review. - A review names the revision it judged. If the item moved since, the review
is recorded as stale and changes nothing.
Runtime and host health
- scoutd sweeps host health every 30 seconds and reports conditions to local
clients: a degraded projection, low disk, web expected but not running,
pairing without a relay listener, version skew, and stale files. It restarts
only its own base child. scoutd health sweep
lists the conditions and their actions. - Health is answered from a cache on its own worker thread, so a long turn on
the runtime's main thread no longer reads as a stopped runtime. - Pairing supervision comes back after a reboot. A pid file written before the
current boot counts as absent. - A permission request survives a runtime restart. The runtime rebinds it to
its session while the prompt still shows, and otherwise declines it with the
reason.POST /v1/operator-requests/dismisslets the operator end a request
that nothing can answer. - Operator questions asked by an agent on another host are recorded and
settled on this host too. - Web starts after a runtime restart again. The portal host travels in
x-openscout-web-hostandx-openscout-web-scheme, because the loopback
gate refuses forwarding headers.
Other changes
scout mcp install --host zedregisters Scout's MCP server in Zed's
settings. It keeps the file's comments and saves a backup first.- For a Claude session that waits on a permission prompt, discovery reads the
pending tool call from its transcript and shows the same heading and subject
as the prompt. Registered secret values are redacted. - Install lines across the docs use
bun add -g @openscout/scout. - Stable releases publish from GitHub Actions, so npm records provenance for
them.
Full changelog: v0.4.2...v0.5.1