Repository navigation
v0.250.0
protoAgent v0.250.0
This release adds the first always-on orchestrator features (ADR 0135). A hub can now record why a fleet member died, page you when one goes down, and optionally restart crashed local members. Proactive notices from decisions, scheduled results, fleet health and recurring-job failures reach your chat surfaces, including Telegram. Unattended turns follow an allow / ask / never approval policy and can be held to a daily spend cap. The new behaviour is off by default, except private steering, which is now on by default.
Added
- Fleet exit records and health sweep (#5556). When a member dies unexpectedly, the hub writes an exit record (pid, time, last log lines, credentials scrubbed) to
fleet-exits.jsonbefore dropping it.supervisor.health_sweep()reports down, wedged and recovered members using the existing probes. - Opt-in fleet health paging (#5560). A hub health loop pages once per member state change, including recovery, and restarts nothing. Also corrects the
tools.fleet_diagnostics.enabledhelp text (#5548). - Bounded crash recovery (#5558, #5564). With fleet health restart turned on, the hub restarts crashed local autostart members, with an attempt cap, backoff and audit records. It never restarts members you stopped, members evicted by the warm cap, remotes, or anything during shutdown, and pages once when it gives up.
- Fleet read tools (#5557). With
tools.fleet_diagnostics.enabled, the hub agent gets read-onlyfleet_statusandfleet_pending. Unreadable members report "unreachable". The tools aren't available to federation or public callers. - Built-in
fleet:member_healthwatch check (#5559).create_watchcan watch a member forhealthy,downorwedgedwith no plugin installed. The watch andset_goaltools are now bound whenever watches or goal mode are enabled. fleet_member_restarttool (#5565). An opt-in tool that starts or restarts one local member when it's idle. Each use needs a reason and is audited. It refuses members you stopped on purpose, and federation and public callers can't use it.- Typed proactive notices (#5566).
notify_chat_surfacescarries a kind, an importance set in code, text and a console link. New decisions send high-importance question notices. - Notices from fleet health, scheduled results and recurring jobs (#5572, #5573, #5574). Fleet health pages send one notice per state change. A scheduled run that posts a result card also sends one notice. A run that posts no card, such as
NO_UPDATEor a repeat, sends none. A recurring job sends one notice when it skips an overdue slot or fails three times in a row. - Telegram notify hook (#5571). Telegram delivers typed notices to the configured owner DM.
- Unattended approval policy (#5575). Scheduled, watch, inbox, webhook, background and goal turns follow
unattended.allow/ask/never. Unlisted actions are refused with a reason.askparks one decision that shows the exact action. A hub may restart a dead local member without asking. Settings ▸ Unattended approvals; ADR 0124. - Daily spend cap for unattended turns (#5576, #5577). An opt-in hard cost and token limit pauses new unattended turns behind one decision; answering it resumes them for the day. Optional soft limits send one warning notice. Operator turns and job enable flags are unaffected.
- Turn origin in telemetry (#5570). The
turnstable and its CSV export gain anorigincolumn. Existing databases gain the column the next time they open. - Scheduler run history API (#5567).
GET /api/scheduler/jobs/{job_id}/runs?limit=Nlists a job's past runs from the existing occurrences ledger. - Instance-wide standing orders (#5568).
record_directive(instance_wide=True), from operator chat turns only, applies to every chat and every scheduled or watch turn. You can list, edit and withdraw these through/api/directivesand/directives. - Private steering on by default (#5522). A steer marked private acts without your words or the private reply reaching the peer that started the thread. Set
private_steering.enabled: falseto turn it off. scripts/worktree_audit.py(#5562). Reports finished git worktrees and, with--apply, removes clean ones whose branch is merged or deleted upstream.
Changed
- Hub-spawned fleet members get
run_commandby default (#5529). Each call still asks for approval in the hub console. An explicitfilesystem.allow_runsetting still wins. - Fleet start and idle stop use shared ops (#5555), and member API reads use one shared helper,
graph.fleet.member_read(#5554). API responses are unchanged. - The Stop control on a running
taskcard is icon-only (#5521). - Test-only: caller-independent reader proofs run once each (#5528).
Fixed
- Restart readiness counts live coding-agent dispatches (#5550). A host shutdown is labelled as one, not as "agent exited (exit code 0)".
- A delegate's badge turns red when a dispatch fails (#5551). One later success clears it.
- Recurring schedules report their expiry (#5552). Operator chat turns can set
ttl="none", and an expiring job announces it once. show_configshows a set secret as «redacted» instead of blank (#5524).- Private steering hardening (#5515, #5525, #5527, #5531, #5549, #5511). Session memory, search and digests respect private turns. Restart recovery fails a private turn closed when its checkpoint or resolver is gone. Private notes reach the model labelled as confidential (best effort). Sessions with no private content keep their memory. Streams close cleanly.
- Test-only: Anthropic
max_tokenspassthrough coverage (#5530) and private-steering test isolation (#5553, #5561).
Docs
- ADR 0135 push transport design for operator devices (#5569).
Upgrading
- Private steering is now on. To keep the old behaviour, set
private_steering.enabled: false. - Fleet members started by the hub get
run_command(approval-gated) after their next restart. - Unattended turns no longer auto-decline every approval. They follow the
unattended.*policy. With nothing configured, actions are still refused, except a hub restarting a dead local member. - Code or tests that patched
operator_api.telemetry_routes._fetch_member_jsonshould patchgraph.fleet.member_read._fetch_member_json. - Fleet health, crash restart, spend caps, fleet tools and
fleet_member_restartare off by default. Nothing else to do.
What's Changed
- fix(tests): cancel the session-gist timer a test leaves armed; read the mobile sheet order in one pass by @mabry1985 in #5516
- feat: Private turns: stream cleanup no longer logs "stream cleanup raised … GeneratorExit inside private_segment_scope" on every completed private turn by @mabry1985 in #5511
- feat: P1h leak fix: with private steering on, a private turn's input stays out of peer-readable session memory (/api/memory sessions, session detail, history search) by @mabry1985 in #5515
- fix(console): the Stop control on a running task card is the icon only by @mabry1985 in #5521
- feat: show_config: a set plugin or core secret reads «redacted», not "" by @mabry1985 in #5524
- feat: Restart recovery fails a private turn closed when its bound checkpoint is gone or its resolver is unregistered/raising (closes the 3 PROOF FAILURE markers in test_proof_missing_state.py) by @mabry1985 in #5525
- feat: Private steering (best effort): label the private exchange in model input as a confidential operator note by @mabry1985 in #5527
- feat: Hub-spawned fleet members get run_command by default (attended, approvals answered in the hub console) by @mabry1985 in #5529
- feat: P1 proof K2: run caller-independent reader proofs once and name them honestly (gist, tracing, export, harvest) by @mabry1985 in #5528
- feat: Flag-on parity: with private steering on, sessions without a private segment behave exactly as with it off (session memory, search, steer idempotency) by @mabry1985 in #5531
- docs(adr): 0135 the always-on orchestrator — the hub as fleet chief of staff by @mabry1985 in #5547
- feat: Model passthrough: max_tokens reaches an anthropic-oauth model on latest langchain/anthropic (upstream drift #5501) by @mabry1985 in #5530
- feat: Windows: live private turn refused for a raising resolver must close its durable turn (test_private_recovery_fail_closed[raising] fails on main) by @mabry1985 in #5549
- feat: C4 A recurring schedule the operator asked for does not silently expire (Fixes 5536) by @mabry1985 in #5552
- feat: C3 Delegate badge degrades when a dispatch fails (Fixes 5535) by @mabry1985 in #5551
- feat: C5a Move _fetch_member_json under graph/fleet so operator_api and tools share one member read (Refs #5534) by @mabry1985 in #5554
- feat: C6a One fleet op for start and restart-when-idle, used by the /api/fleet routes (Refs #5534) by @mabry1985 in #5555
- feat: Test isolation: private-steer idempotency tests see a leaked second shell in a full xdist run with private steering on by @mabry1985 in #5553
- feat: Restart readiness counts live ACP coder dispatches, and a host-shutdown kill is labelled as one (not "agent exited (exit code 0)") by @mabry1985 in #5550
- feat: C1a Supervisor: record unexpected member exits and a health sweep over the existing probes (Refs #5533) by @mabry1985 in #5556
- feat: C5b Fleet read tools for the hub agent: fleet_status and fleet_pending (Refs #5534) by @mabry1985 in #5557
- feat: Flag-on private-steer idempotency: tests run with private steering ON, test_reload_rebuild_deps stops leaking STATE.graph_config by @mabry1985 in #5561
- feat: C1b Fleet health loop: fleet.health config, maintenance loop, bus event and hub inbox paging (Refs #5533, Fixes 5548) by @mabry1985 in #5560
- feat: C2a Supervisor restart policy: who qualifies, attempt cap, backoff, audit (Refs #5533) by @mabry1985 in #5558
- feat: C2b Crash watchdog wiring: fleet.health.restart_dead config, restart from the health loop, page on give-up (Fixes 5533) by @mabry1985 in #5564
- feat(config): private steering on by default by @mabry1985 in #5522
- docs(adr): 0135 update — phases 2–4 become waves, decisions D9–D13 by @mabry1985 in #5563
- chore(scripts): worktree_audit.py finds and removes finished worktrees by @mabry1985 in #5562
- feat: W1a Typed proactive notice: notify_chat_surfaces carries kind, importance, text and link; decisions use it (Refs #5537) by @mabry1985 in #5566
- feat: W2 Push transport design: new section of ADR 0135 (Refs #5539, docs only) by @mabry1985 in #5569
- feat: W3a Record each turn's origin in the turns telemetry table (Refs #5540) by @mabry1985 in #5570
- feat: W6 Instance-wide standing orders: an instance scope on the directive store (Refs #5542) by @mabry1985 in #5568
- feat: W1b Telegram plugin notify hook for typed notices (Refs #5537) by @mabry1985 in #5571
- feat: W1d Fleet health page also sends a typed notice through notify_chat_surfaces (Refs #5537) by @mabry1985 in #5572
- feat: W1c A scheduled result that posts a card also sends one typed notice (Refs #5537) by @mabry1985 in #5573
- feat: C6b fleet_member_restart tool for the hub agent (Fixes 5534) by @mabry1985 in #5565
- feat: W4a Scheduler run history API: per-job run list from the occurrences ledger (Refs #5543) by @mabry1985 in #5567
- feat: C6c Built-in fleet:member_health watch check (Refs #5534) by @mabry1985 in #5559
- feat: W4b Missed-slot and repeated-failure notice for recurring jobs (Refs #5543) by @mabry1985 in #5574
- feat: W5 Unattended approval policy: ADR 0124 allow / ask / never for autonomous origins (Fixes 5541) by @mabry1985 in #5575
- feat: W3b Spend cap for unattended turns: daily cost and token hard limit pauses all autonomous turns behind one decision (Refs #5540) by @mabry1985 in #5576
- feat: W3c Soft spend limit sends one typed notice through notify_chat_surfaces (Refs #5540) by @mabry1985 in #5577
Full Changelog: v0.249.0...v0.250.0