Repository navigation
Days 264–279. Named agents arrive, and several things yoyo used to do quietly it now refuses, asks about, or reports as a failure. A yoyo -p "..." run without -y now refuses a bash command the safety check warns about (rm -rf /home, git push --force) instead of running it; yoyo doctor exits 1 when a row fails; --save-session refuses to replace a file that isn't a saved session; a failed or interrupted -p run leaves the --output file as it was; -p exits 1 when stdout can't be written; /spawn --parallel -o is refused instead of dropping the path; and recursive deletes of the working folder, its parent, the root or a home folder ask however they are spelled. Those are why this is a minor bump. The headline addition is named agents: agent files in Claude Code's format (.claude/agents/, .yoyo/agents/) are loaded, listed by yoyo agents and /agents, and the model can delegate to them through a new agent tool, with project files gated by project trust. The rest of the span finishes moving config reading and writing onto the toml / toml_edit crates (the last hand-written TOML walkers are gone), gives /doctor a row that checks the provider really answers, and fixes how -p behaves when it is killed.
Changed (behaviour you will notice)
- Bare
-prefuses warned bash commands. With a prompt on the command line and no-y, a command the REPL would have asked about is refused;yoyo -y -pstill runs it, and piped stdin without a prompt flag still runs it. The per-mode table is in the Safety docs page (#1231). yoyo doctorexits 1 when a row fails (warnings still exit 0), soyoyo doctor && yoyo -p ...can stop a script. The REPL/doctordoesn't exit (#1244).- A failed or interrupted
-prun never replaces or creates the--outputfile. Likecurl -o, an exit-1 run, a Ctrl+C (130) or atimeout(143) leaves the file as it was and says so on stderr. Successful runs still replace it (#1218, #1220).--output-format stream-jsonnow honours--outputunder the same rule; it used to write nothing and exit 0 (#1219). --save-session <path>refuses to replace a file that isn't a saved session, checked at startup before any request (exit 2, nothing written). Re-running with your own session file still works.--outputkeeps replacing and now saysreplaced <path>(#1214).-preportserror writing to stdout: <reason>and exits 1 when stdout can't be written (for example a full disk), instead of exiting 0 with an empty file or panicking (#1234)./spawn --parallel -o <file>is refused before anything runs, naming-o, instead of running every task and writing no file (#1224)./spawn -o "out/a b.md"keeps a quoted path with spaces as one path (#1213).- An allow rule auto-approves a bash command only when every simple command in it matches an allow rule and the command is word-only in Codex's sense (no dynamic words such as substitutions, no
VAR=valueprefixes); anything else asks, saying an allow rule matched but it is asking anyway (#1202, step 2). - A folder with project agent files gets the trust prompt when an interactive session starts there, even with no
.yoyo.toml(#1259). - A trusted project whose
.yoyo.tomlsetsbase_urlprints which host your API key goes to (scheme, host and port only) on every run, so agit pullthat changes it is not silent (#1188). - New default models:
provider = "minimax"now defaults toMiniMax-M3(MiniMax-M2.7 was retired) andprovider = "cerebras"togpt-oss-120b(llama-3.3-70b was deprecated). The xAI model list offers onlygrok-4.7;--model grok-4still reaches the old id (#1147). - GPT-6 ids (GPT-6.2 Sol/Astra and every
gpt-6*) go to OpenAI's Responses API, which they need for tool calling, and are listed as known OpenAI models (#1060). - The setup wizard, re-run on an existing config, edits it in place through
toml_edit: it changes only the keys it manages, so your comments, order and other settings survive (it still writes a.bakfirst). If the existing file isn't valid TOML, the new file holds only the wizard's settings and yoyo prints the parse error and the.bakpath (#1184). - A
.yoyo.tomlthat isn't valid TOML is reported only by the TOML parser, aspath:line:col: config file is not valid TOML: <reason>with a caret. The old "config file is malformed (N syntax problems)" text is gone. That walker misfired on valid TOML: a nested array spanning lines madeyoyo -prefuse to start (#1184). - Generated commit messages name whole files deleted or added (
delete config_syntax.rs,add a.rs) instead of "remove code" / "add changes" (#1268).
Added
- Named agents. Agent definition files (Markdown with YAML frontmatter, Claude Code's format) are discovered in project
.claude/agents/and.yoyo/agents/(walking up to the repo root, subfolders included) and in~/.yoyo/agents//~/.claude/agents/.yoyo agentslists each one with its resolved tools, model, turn cap and astatus:for this run; the model can hand a task to one through the newagenttool. Project agents run only in a trusted project (--trust-project, a remembered trusted directory, or a yes to the trust prompt); user agents (~/.yoyo/agents/,~/.claude/agents/) are not gated. A gated agent stays visible to the model and a call returns the reason. Honoured keys:tools/disallowedTools(Claude Code names mapped to yoyo's),model(file >sub_agent_model> main model, never sending a Claude alias to another provider),maxTurns, andpermissionMode: plan(read-only child). Restricting keys are honoured or refused, never silently dropped. See the new "Named Agents" docs page (#1250, #1252, #1255, #1256, #1258). /agentsin the REPL lists what this session's agent tool loaded, and/doctorhas an Agents row (loaded, skipped, shadowed, gated). Both describe the session's own tool: after/cd, under--no-tools,--liteor--disallowed-tools agentthey say what the model really has (#1261, #1265)./doctorAPI row: sends one minimal request (16-token cap, no tools, no retries, 20 s timeout) to the provider, model, base URL and key a run would use, and says whether it answered. A bad Google or xAI key is reported as "rejected the API key", the same as during a run (#1242, #1243).claude-fable-5-2is priced and limited from the vendor's page ($8 / $40, cache hits $0.20) instead of inheriting Fable 5's preset, which billed 25% high on tokens and 5× on cache reads (#1186).- A timed-out hook's error includes the stderr it had already printed (#1248).
Fixed
web_searchsays when DuckDuckGo answered with a bot challenge: it reports an error saying the query was never searched and namingEXA_API_KEY, instead of "No results found". A real empty search is still an empty result. The tool's description names the backend that will actually run (#1266).- Killed
-pruns leave something to parse:--output-format jsonkilled by SIGTERM/SIGHUP/SIGQUIT prints its envelope with"is_error": trueand the partial reply;stream-jsonends onagentEndwithstopReason: "aborted", carrying the partial reply on that closing event, and says(interrupted)on stderr (#1221, #1228, #1238). - A hook that writes more than ~64 KiB to stderr no longer deadlocks until the 5 s timeout and loses its feedback (#1247).
- Fewer false refusals from the bash hard block: a dangerous command only mentioned in a
git commit -m/ghmessage argument (#1210), a quoted mention in a command that also has$(…)or a backtick (#1223), and a heredoc body fed tocat/tee(#1102) are treated as text, not commands.rm -rf "$PWD/target"no longer warns that$PWDmay be empty (#1230). - The "project memories not loaded" warning prints once per session per reason, not on every
/memories(#1217). - The trust prompt, unknown-key warnings and unreadable-value warnings now read keys from the TOML parser's own parse instead of line walkers, so a key is judged where TOML puts it in every spelling. A config the parser rejects gets its own trust-prompt row ("may define shell hooks, MCP servers or other grants") from
yoyo agentsand/doctor, instead of every row going silent./config setand "always allow" edit throughtoml_edit, so comments, order and multi-line arrays survive (#1184).
Security
- Recursive deletes of dangerous targets ask however they are spelled: a top-level folder or the working folder (
$PWD,$(pwd), or its absolute path, or a folder holding it) (#1227, #1229); the parent folder (../,./..,build/../..,${PWD:?}/..,../*) (#1232); the root, a top-level folder or a home folder through..on an absolute or~path (#1235), judged on the path the kernel would delete, so/tmp/link/../*withlink -> /is hard-blocked like/*(#1236). A/spawnworker's sub-agent judges these against its own working folder (#1245).
Dependencies
- New direct dependencies:
toml_edit0.25 (config writers),serde_yaml_ng0.10 (agent-file frontmatter) andurl2 (thebase_urlhost note).toml_editis new to the build (it sharestoml_parser/toml_writerwithtoml); the other two were already in Cargo.lock through yoagent and reqwest. Semver-compatible updates oftomlandtoml_edit.
Price table audit
price_drift_audit(DeepSeek rows): passed, comparing 0 rows (deepseek-flash,deepseek-v4-flash,deepseek-v4-flash-vision-expanddeepseek-v4-proare registered divergences;deepseek-r1/deepseek-v3are not listed by models.dev, so nothing audits them).- General sweep (run 2026-12-04):
price audit: SUMMARY compared 106, matched 50, drifted 47, cache_read_only 9, unpriced 52 of 158 catalogue rows (rel_tol 1%). The 47 drifted rows are UNRECONCILED and owned by #1012 (48 at v0.5.0); every row is listed there. By provider: OpenAI 15, Google 14, Z.ai 10, DeepSeek 4, Mistral 3, xAI 1. 12 of the 47 differ only in the cache-write rate. Vendor pricing pages were not read for this release, and models.dev is community-maintained, so/costfigures for those models may be wrong in either direction. The 9cache_read_onlyrows are the known unmodelled-cache gap.