Repository navigation
v0.222.0
v0.222.0 continues the eval work from ADR 0126. A nightly script now flags gate regressions as friction entries. An agent can carry its own eval cases. A new API drafts and saves eval cases from rated turns. The release also adds the demo-agent tools (off by default), fixes missing trace ids on A2A turns, and removes the "Discover plugins" button that broke the console's bottom bar.
Added
- Nightly eval gate.
scripts/evals_nightly.pyruns the eval sweep on a throwaway instance and writes a report toevals/results/. When a gate-tier case that passed last night fails, the script records oneharnessfriction entry for it. Tracked-tier cases never record friction. A gate case that flips between pass and fail twice in 7 nightlies is reported as flaky, but nothing is demoted automatically.docs/guides/evals.mdcovers the tiers and includes a launchd/cron recipe; you install the schedule yourself. (#4621, #4632, #4635) --friction-log PATHfor the nightly script. It sends gate-regression friction to a ledger you choose, such as a desktop member's. The throwaway sweep agent never inherits that setting. (#4640)- Per-instance eval cases. The runner, sweep and nightly script also load the instance's own
<config dir>/evals/cases.jsonif it exists. Instance case ids are namespaced asinstance:<id>, and reports list them under their own heading, kept out of the core gate figures. If the file is malformed, the error names it. Without the file, nothing changes. (#4638) - Draft and save eval cases from a turn (API).
POST /api/evals/cases/draftdrafts a case from a rated or friction-carrying turn and writes nothing. It uses the turn's prompt verbatim, and for an up-rated turn it pre-fills the tools that fired.POST /api/evals/casesvalidates a case and saves it to the instance'scases.json. A case that asserts nothing, a duplicate id or an incognito session is refused. The console buttons for this are still to come. (#4642) - Demo-agent tools, off by default. A managing agent gets
fleet_demo_create,fleet_demo_configure,fleet_demo_chat,fleet_demo_deleteandfleet_demo_list. They act only on throwaway members stampeddemo: true, never on a real fleet agent. Three settings in Settings ▸ Tools control them:tools.fleet_demo.enabled(off),max_live(3) andttl_hours(24). (#4634, #4637)
Fixed
- A2A turns record their Langfuse trace id again. The stall guard ran each step in a fresh copy of the context, so A2A telemetry rows had no trace id. Feedback scores and the nightly eval's trace links depend on that id. (#4641)
- Console: the "Discover plugins" button is gone from the bottom utility bar. The text button added in v0.221.0 was larger than the bar's icon controls and broke the bar's layout. You can still reach Discover from the command palette ("Discover plugins") and from Settings ▸ Plugins ▸ Discover. (#4644)
- Two eval gate cases now test what they claim to.
calculator_intentnow asks for arithmetic that actually needs the tool.memory_recall_intentnow checks the answer, not amemory_recallcall the runtime no longer needs. (#4639)
Docs
- Model passthrough guide: URL shape, auth, the loopback default and
allow_remote, usage attribution, and an eval example. (#4633)
Upgrading
Nothing to do. The demo-agent tools stay off unless you set tools.fleet_demo.enabled, and the nightly eval only runs if you schedule it.
What's Changed
- feat: Demo-agent LLM tools: fleet_demo_create / configure / chat / delete / list bound for the PM, all through the demo-stamp guard (#4609 part 2) by @mabry1985 in #4634
- feat: ADR 0126 E1c: scripts/evals_nightly.py — sweep on a throwaway instance, gate regressions → one harness friction entry per case, flake report, schedule recipe in docs (#4600 work 4–6) by @mabry1985 in #4635
- feat: Demo-agent settings: tools.fleet_demo.enabled (default off) + max_live (3) + ttl_hours (24) wired to the tools and reap (#4609 part 3) by @mabry1985 in #4637
- feat: ADR 0126 E4a: evals.runner/sweep/nightly load per-instance cases from /evals/cases.json, ids namespaced, reported under their own heading (#4603 work 1) by @mabry1985 in #4638
- feat(evals): nightly --friction-log routes gate regressions to a chosen ledger by @mabry1985 in #4640
- fix(a2a): A2A turns record their trace id (stall guard ran each step in a fresh context) by @mabry1985 in #4641
- fix(evals): calculator and recall cases test what they claim to (first-nightly tier decisions) by @mabry1985 in #4639
- feat: Console: remove the "Discover plugins" text pill from the bottom utility bar; keep the store action + palette command (#4643) by @mabry1985 in #4644
- feat: ADR 0126 E4b: POST /api/evals/cases/draft drafts a case from a turn (rated or friction); POST /api/evals/cases validates and saves to the instance cases.json (#4603 work 2, 3) by @mabry1985 in #4642
- test(evals): stop the --friction-log test leaking FRICTION_LOG (fixes red main: test_projection goldens) by @mabry1985 in #4648
Full Changelog: v0.221.0...v0.222.0