Added
- (rig-basics, rig-memory, rig-ecs, rig-core) [breaking] compaction has no undo: the
Uncompactevent,undo_summary,UncompactedandUndoErrorare removed, and with them the/uncompactcommand built on them; the replaced messages stay visible in the transcript.Recoveringis removed, andSummarizing::keep_fromis replaced byreplaces.apply_summarytakes the messages the compaction read and replaces exactly those, only while unchanged. Summary calls are retried by the kernel as[retry]says and after the wait the provider asks for; a blank summary fails (SummaryFailure::Empty).StopTurn::plugin_doneends a plugin's own turn and lets queued messages carry it on. A provider error code listed as final (insufficient_quotaand the like) is not retried, whatever the HTTP status (#3436) (by gold-silver-copper) - (rig-memory, rig-basics, rig-ecs) [breaking] compaction works as in the pi coding agent: it keeps about 20k tokens of the newest messages, never splitting a tool exchange, and updates the previous summary with pi's prompts (in rig-memory) in a separate call. It compacts and resends once after a context-overflow refusal or a reply the window cut short, and refuses an errored or cut-off summary with the reason.
[compaction]takesenabled,reserve_tokensandkeep_recent_tokens;keep_recent,keep_asked,clearing,near_window,prompts,limitsandtrackedare gone and refused as unknown. Old tool outputs are no longer cleared. rig-memory's compaction policy, summarizer and output-clearing API (CompactionPolicy,Summarizer,SummaryPrompts,SummaryLimits,ClearToolOutputs,TrackArgument, …) is replaced by pure functions (prepare_compaction,find_cut_point,summary_request,summarization_request,summary_text, …), andErrorReport::context_overflowis removed (#3434) (by gold-silver-copper) - (rig-basics, rig-tui, rig-harness, rig-harness-protocol, rig-cli, rig-steel, rig-ecs) [breaking] forks and rewind (
/fork, Alt+Up then Enter) aresessions::forks::ForksPlugin, renamed fromsessions::agents::AgentsPlugin, and off by default;rig plugin enable rig_basics::sessions::forks::ForksPluginturns them on./agentsis its own plugin,agent_picker::AgentPickerPlugin, off by default and added by forks and subagents;AgentColumn,ColumnOfandAgentColumnsmoved torig_basics::agent_picker. The status line, the key hints, the terminal title with its OSC 133 marks, and the working animation are default plugins that can be turned off (rig_tui::status::StatusLinePlugin,rig_tui::hints::KeyHintsPlugin,rig_tui::title::TerminalTitlePlugin,rig_basics::activity::animation::WorkingAnimationPlugin);rig_tui::TuiPluginis the bare view and the newrig_tui::TuiPluginsgroup adds the three parts to it, so an app that addedTuiPluginitself addsTuiPluginsto keep them;[tui] mark_nonce_envis now[title] mark_nonce_env, and[status] hide = [..]leaves status-line parts out by name./pluginsis a tree of crates, areas and plugins, with the status line's parts under it. Steel is a pure code mode:spawn-agent,sendandreplywork only with Subagents on. With nothing saved or named, the terminal view starts on the same automatic model pick as print mode and ACP, which takes the ChatGPT plan's default model first when you are signed in.PickItemgainsparent. A command refused because a turn is running comes back in the input with the reason, and a plugin that panics while the agent starts shows its panic message in the rebuild error (#3425) (by gold-silver-copper) - (rig-harness-protocol, rig-cli, rig-basics)
[plugins] offturns off branches of the plugin tree, a crate (rig-tui) or an area (rig-basics/sessions), keeping each plugin's own choice; an unknown branch refuses the start. A plugin's area is the module under its crate in its type path (config::area).rig plugin enableanddisabletake a branch name, andrig plugin listprints the tree of crates, areas and plugins (#3404) (by gold-silver-copper) - (rig-core, rig-basics)
chatgpt::DEFAULT_MODELisgpt-6.2-sol(wasgpt-6.1-sol), so a fresh ChatGPT sign-in in the rig agent starts on GPT-6.2 Sol (#3409) (by gold-silver-copper) - (rig-core) Claude Fable 5.2 (
anthropic/claude-fable-5-2and its Bedrock, Vertex, Azure, Copilot, OpenRouter, OpenCode and Venice ids), GPT-6.2 Sol and GPT-6.2 Astra and Gemini 4 Carbon and Hydrogen are in the model catalog, withanthropic::CLAUDE_FABLE_5_2,openai::GPT_6_2_SOLandopenai::GPT_6_2_ASTRA. The catalog is refreshed from models.dev as of 2026-11-17: 84 rows added, 35 retired rows removed, prices and limits updated. GeminiEffort::XHighis sent asthinkingLevel: "xhigh"to models the catalog lists with it, except on the gRPC route (#3402) (by gold-silver-copper) - (rig-ecs)
spawn_root(world, bundle)takes the root agent's bundle and adds it in one insert withAgent, soOn<Add<Agent>>observers, andInsertobservers of the bundle's components, see the whole agent with the caller's components,AgentIdandToolAccess(#3399) (by gold-silver-copper) - (rig-cli)
rig plugin add <type> (--path <dir> | --git <url> [--branch <b> | --rev <r>] | --version <req>) [--crate <name>]adds another crate's plugin toRIG_HOME/settings.tomlas a[[plugins.extra]]table, keeping the file's comments, andrig plugin remove <type>takes it out, with the type'senable/disableentries. The warning about a 0.46RIG_HOME/plugins.tomlprintsrig plugin addcommands instead of tables to paste (#3398) (by gold-silver-copper) - (rig-ecs)
ToolAccess::only(names)builds an allow-list of exactly the tools named, each once, in order; unlikeToolAccess::all().narrow(..), its result does not depend on another access (#3400) (by gold-silver-copper) - (rig-basics) while the agent works, the
statusitem starts with a moving wave of six bars, and rig's mark in the welcome pulses with it.[activity] animate = falseinsettings.tomlkeeps both still (#3379) (by gold-silver-copper) - (rig-basics, rig-tui, rig-harness) [breaking] in
/plugins, Enter ticks or unticks the highlighted plugin (also while filtering), changed rows show+ on/- off, and Esc with changes asks to reload now, apply at the next start, or keep editing;/plugins defaultsasks the same about going back to rig's defaults.pick::Ticked, set by a front on a multi-select picker as the user ticks, lets a plugin show what changed before the picker closes (#3382) (by gold-silver-copper) - (rig-cli)
rig --safestarts a separately cached build of rig's default plugins, ignoring[plugins]in settings.toml, with its own log;/reloador/pluginsgoes back to your own plugins (#3376) (by gold-silver-copper) - (rig-basics) the status line shows how long the agent has been thinking, writing, running tools or busy once a step passes 5 seconds (
thinking… 1m12s), and docs/agent.md explains what to do when rig seems stuck (#3377) (by gold-silver-copper) - (rig-harness-protocol)
fs::replacewrites a file through a rename and creates a new file private (0600 on unix), so a firstsettings.toml, a session's name and working-directory files and a run's end record are the user's alone. An existing file keeps its mode and group (#3370) (by gold-silver-copper) - (rig-basics, rig-agent)
[login] app_nameinsettings.tomlnames the app that the ChatGPT browser sign-in pages send the user back to. Without it they say "rig". An empty name is refused (#3317) (by gold-silver-copper) - (rig-agent) a streamed run reports each tool's accepted output as
MultiTurnStreamItem::ToolResultItem { tool_result, index, count }as soon as the tool's outcome hooks accept it, without waiting for its siblings: a returned top-level JSON array is reported one element per item. CommittedToolResultitems and history are unchanged (#3314) (by gold-silver-copper) - (rig-agent) a streamed run yields
MultiTurnStreamItem::ToolExecutionStarted { tool_call }once for each tool call it dispatches, before the call's hooks and body run, so a consumer can show a running tool while the batch executes (#3313) (by gold-silver-copper) - (rig-core)
providers::auth::loopback::Loopbackis a public, native-only loopback listener for a browser OAuth sign-in: it reports the redirect address and returns the state-checked code, and its pages name the provider and the app.chatgpt::auth::Authenticator::with_app_namenames the app the ChatGPT sign-in pages send the user back to (defaultrig). The ChatGPT listener refuses a callback with a repeatedstateorcode, answers a callback with no authorization code with a 400 page and keeps waiting, and stops reading a stalled request at its deadline. rig-claude-cloak's login uses the same listener (#3308) (by gold-silver-copper) - (rig-core) [breaking]
Responses::with_storesendsstoreon every request from a Responses wire unless the request sets its own;falsemakes each request stateless.Responseshas a new public field,store: Option<bool>, so a struct literal addsstore: None(#3312) (by gold-silver-copper) - (rig-core)
error::RateLimits::from_headersreads the request and token allowances in a reply's rate-limit headers (OpenAI, Groq, Anthropic, OpenRouter, IETF draft), with resets as seconds, Unix times, Go durations, RFC 3339 or HTTP dates. It takes the reply's time and builds for WASM.ErrorReport::retry_afteralso reads wait hints inus,µsandns(#3304) (by gold-silver-copper) - (rig-ecs) [breaking] the kernel saves what a frame changed after every plugin's
Lastsystem ran, on the exit frame too: logs are written in the newPersistschedule (WriteLogsis a set there) andSaveSystemsis removed. Once the session can no longer be saved, every effect whoseFootprintsays it may change something is refused before it starts, not only tool calls. Removing a saved resource is saved. rig-memory addscheck_new_log_name,same_log_nameandMAX_NEW_LOG_NAME, and rig-harness thehost::session::MarkSavedset (#3268) (by gold-silver-copper) - (rig-ecs) [breaking]
StreamDeltacarries every model call's reply text: a reply whose text did not stream, such as one a plugin answered in place or a reviewer edited or took over, is written once just before the call settles.rig -p --jsonwrites itstextline andrig -pits narration, and rig-acp's own fallback is removed. Text that streamed is never written twice (#3264) (by gold-silver-copper) - (rig-cli, rig-harness)
rigwarns once per start whenRIG_HOMEstill has rig 0.46'splugins.tomlordefaults.jsonandsettings.tomlhas no[plugins]or[model]table for it, saying what to add tosettings.toml; the files are left untouched (#3239, #3245) (by gold-silver-copper) - (rig-cli, rig-basics, rig-harness-protocol) [breaking]
rig updatereinstalls the launcher withcargo install --force(from crates.io, or from the checkout it was installed from) into the directory it runs from, prints the command first, then builds the agent with the new launcher; a failed install leaves the installed rig unchanged and exits 1./updateruns it in the agent, shows its progress and restarts on the new rig like/reload. When the launcher's own file was replaced, a reload or a session switch (/new,/resume) restarts the launcher as the new file on the session the agent asked for; a-por--jsonrun says so (a warning on stderr, anoticeline) and goes on with its build./updateis its own default plugin,rig_basics::reload::update::UpdatePlugin, andReloadPluginadds only/reload, so each can be turned off alone.ReloadStatus::asktakes aRebuild(BuildorUpdate) andReloadStatus::Queuedcarries it.updateis a launcher command, so no plugin command may take the name. New in rig-harness-protocol:Stamp,env::LAUNCHER_STAMPandUPDATE_SAYS(#3224, #3249, #3250, #3406) (by gold-silver-copper) - (rig-acp)
session/loadandsession/resumeof a session the client already has open re-attach to it instead of failing with "already open". A load replays the history first; a load is refused while a prompt runs, and a request naming other MCP servers is refused (#3228) (by gold-silver-copper) - (rig-fold, rig-tui) [breaking] new optional plugin
rig_fold::FoldPlugin, off by default (rig plugin enable rig_fold::FoldPlugin): the terminal view folds a finished tool call to its header, first and last lines and a line counting the rest, and Ctrl+O ([fold] key) shows the selected call, or every call, whole. Failed and stopped calls are never folded, and nothing the model, the session log,--jsonor ACP see changes.ToolRenderhas a new fielditem: Option<CallItem>, the call asTranscriptView::selectednames it (#3223, #3395) (by gold-silver-copper) - (rig-basics, rig-markdown) [breaking]
rig -pon a terminal draws the answer's markdown and word-wraps it to the terminal width (COLUMNS, else the tty size), keeping code lines whole; stdout and stderr each wrap to their own terminal's width. Pipes and files get the same bytes as before. On a terminal, stderr shows a dim line per tool call started and the narration before it. Tool progress lines on stderr no longer start withrig:; errors and warnings still do. New craterig-markdown: markdown drawn as styled lines and word wrapping, shared by rig-tui and rig-basics (#3226, #3257) (by gold-silver-copper) - (rig-cli) a new home gets a
writing-rig-pluginsskill inRIG_HOME/skills(/skill:writing-rig-plugins), pointing at the plugin guide and plugin corpus. rig writes it once, when it sets up a new home and no file is there, so an edited or deleted skill stays that way and a user's own skill of that name is kept (#3218, #3247) (by gold-silver-copper) - (rig-typesafeai)
JevConfig::with_tokensets the credential, so a config loaded from storage (where the token is never kept) can send again (#3180) (by gold-silver-copper) - (rig-lancedb)
LanceDbVectorIndeximplementsInsertDocuments, so documents can be inserted without building Arrow record batches (#3117) (by gold-silver-copper) - (rig-typesafeai)
JevConfig::providersends OpenRouter's routing preferences, such as zero data retention, with a Jev evaluation. OpenRouter'sProviderPreferencesand the types inside it implementDeserialize(#3118) (by gold-silver-copper) - (copilot) [breaking]
ModelInfo::supports_tool_calls, filled from Copilot's/models, so callers can select models that take tools without hardcoding ids. AModelInfo { .. }literal needs the new field (#3116) (by gold-silver-copper) - (rig-core)
ResponsesWebSocketSessionBuilder::cache_keypins the session id the OpenAI Responses WebSocket handshake sends, as a completion's cache key does on HTTP (#3049) (by gold-silver-copper) - (rig-tools, rig-basics) [breaking] the
movetool (Move,MoveArgs), rig-tools'checkpointmodule,rig_basics::checkpoint::CheckpointPluginand its[checkpoints]settings are removed, with no replacement (#3048) (by gold-silver-copper) - (rig-cli, rig-harness, rig-harness-protocol, rig-mcp-client, rig-basics) [breaking]
RIG_HOME/settings.tomlis the one settings file. It says which plugins run ([plugins] enable/disablename rig's plugins,[[plugins.extra]]adds crates that are not rig's) and holds the model and reasoning a new session starts with ([model] default/effort);plugins.tomlanddefaults.jsonare no longer read, and a new default plugin reaches every home. A project has no settings: rig never reads<project>/.rig/settings.toml, andAppSettingsExt::add_project_setting,ProjectSetting,ProjectSettingsandProjectSettingsSystemsare removed. The servers of a project's.rig/mcp.jsonstart with no question; asking first is the opt-inrig_mcp_client::approval::McpApprovalPlugin, andMcpState::NotApprovedandDeniedbecomeMcpState::Held. The launcher is its own crate,rig-cli. The generated agent adds its plugins as onePluginGroupofrig_harness::Loaded<P>;Home::plugins_toml,Home::defaultsandESSENTIAL_PLUGINSare removed (#3005) (by gold-silver-copper) - (rig-basics, rig-tools) [breaking] one agent tree's spend is counted: every agent's
AgentUsagekeeps what the agents below it spent (below), and spend is recorded through one event,Spent(AgentUsage::recordis no longer public).rig --jsonandrig -p --jsonspeak protocol version 3: ausageline for each recorded model call, a helper's included, andexit's usage is the session's total withusage_complete; a"v":1or"v":2request line is refused. Newrig_basics::budget::BudgetPlugin(listed disabled):[budget] usd/tokensand/budget; at the limit running turns stop and new model calls are refused.[subagents] modelandtoolsgive ataskthat names none its subagent's model and tools.Spawngainsgrace(#2994) (by gold-silver-copper)
Fixed
- (rig-tui, rig-cli, rig-basics, rig-harness-protocol) a filter pasted into
/plugins, or any tree picker, selects the row that typing it selects. The warning for a v0.46.0plugins.tomlwithAgentsPluginon printsrig plugin enable rig_basics::sessions::forks::ForksPlugin. The refusal of a plugin on another Bevy also lists the pins in the crates a path plugin depends on by path./compacton a session that fits in[compaction] keep_recent_tokenssays "Nothing to compact yet" as a plain notice, not an error. (#3438) (by gold-silver-copper) - (rig-core, rig-memory, rig-basics, rig-acp) [breaking] a compaction's only record is its summary entry:
Compacted,COMPACTEDandSummarizedare removed,summarized_in_logreturns the replaced entries by summary id and drops them at a reset,SummaryState::readreads a state back from an entry's text, andSummaryStateno longer implementsSerialize/Deserialize. A push, and a splice that reaches the end, clear a conversation's halt in the same change, with no separateHalt { halt: None }record. The compaction threshold and the output-limit fit use one count of the request as it is sent, so a large prompt near the limit is compacted for before it is sent. The messages a summary replaced are no longer shown or replayed once the session's conversation was reset (#3437) (by gold-silver-copper) - (rig-ecs, rig-basics, rig-harness, rig-harness-protocol, rig-cli, rig-tui) [breaking]
Models::connectreturnsConnectErrorinstead of aString;Models::cannot_usewords it, and theConnectWordingresource lets an app word refused models./model, restored sessions and settings models say how to supply a missing key as--modeldoes, naming/loginwhen it applies. A branch in[plugins] enableordisableis told it goes in[plugins] off, andAgentsPluginis refused namingForksPlugin(#3432) (by gold-silver-copper) - (rig-cli) a plugin on a
bevy_apporbevy_ecsother than the agent's stops the build before anything compiles, with what to write in itsCargo.tomlinstead of rustc's errors. cargo's redrawn progress frames no longer fillbuild.log(#3431) (by gold-silver-copper) - (rig-basics, rig-cli, rig-harness-protocol)
/reloadand/updateshow the causerig buildexplains, such as a plugin's Bevy pin and the manifest line to change, instead of cargo's first error.rig buildcloses a failure it explains with oneerror: rig build:line, and blames a plugin's Bevy requirement only when cargo's first error is a version conflict over a Bevy crate (#3429) (by gold-silver-copper) - (rig-core) the built-in catalog, effect logs, OpenAI duration usage and OpenRouter thresholds read their floats when serde_json's
arbitrary_precisionis on anywhere in the build;Catalog::builtin()no longer panics there. Reads from aserde_json::Valuekeep integers beyond u64/i64 under it (effect logs, tool arguments, vector-store documents, saved sessions), through the newjson_utils::from_valueandjson_utils::from_value_seed(#3414) (by gold-silver-copper) - (rig-tui, rig-fold) a plugin key binding refused because its key is taken is shown once as a warning in the terminal view, naming both bindings, not only logged (#3397) (by gold-silver-copper)
- (rig-core, rig-markdown, rig-tui, rig-steel) token labels round before choosing the unit: 9,999 reads
10k, 999,999 reads1.0M. A tab in an assistant reply, inline code or a queued message is drawn as four spaces instead of vanishing. Private-use characters in a reply are no longer mistaken for plugin text marks. Steel's printed output cut inside a multibyte character ends at the last whole character (#3394) (by gold-silver-copper) - (rig-basics, rig-tui)
rig -prefuses the run with an error, instead of panicking, when the thread that reads piped input cannot start;/reloadandrig updatesay "Could not start the rebuild"; the terminal no longer panics at startup when the grammar warm-up thread cannot start (#3387) (by gold-silver-copper) - (rig-ecs, rig-harness) a restored turn that fails keeps the result of a call that finished before the restart, and says a call that was running may have partly run. Choosing a model for an agent with no connection connects it once. A plugin loaded inside another plugin's build owns its entities and systems. An app without
RigHomefinishes interrupted session deletes in the home the environment names (#3393) (by gold-silver-copper) - (rig-gemini-grpc) an embedding width that does not fit the gRPC request's
i32field is refused before any request is sent, instead of wrapping (#3392) (by gold-silver-copper) - (rig-core)
BeforeServe::denymarks its report as a refusal, so a denied tool call ends refused instead of failed.EmbeddingsBuilder::buildrejects a document with no text before it sends any request, and an embedding model of unknown width is described with nodims.ErasedHandler::map_streamkeeps the wrapped handler's footprint. On wasm,EmbedError::newaccepts errors that are notSend/Sync(#3390) (by gold-silver-copper) - (rig-core) Hugging Face:
with_sub_routeselects the sub-provider by sending the model asmodel:provider, and a model that already selects another provider is refused; transcription and image generation post to/hf-inference/models/<model>. OpenAI Responses WebSocket: aresponse.donewithout a response id ends the turn instead of stalling. Gemini: creating a cache and updating its expiry sendContent-Type: application/json. Azure OpenAI: transcription posts to/audio/transcriptionsand keeps the spoken language, instead of translating to English (#3391) (by gold-silver-copper) - (rig-tools, rig-tui) Ctrl+V pastes a JPEG or WebP image from a Wayland or X11 clipboard that offers no PNG. Dropping several image files at once types one
@pathper image, and a droppedfile://URL is percent-decoded and may name the hostlocalhost(#3383) (by gold-silver-copper) - (rig, rig-cli) the launcher is the new library crate
rig-cli.cargo install riginstalls therigbinary as before, now through the root package's new defaultclifeature; a library user who wants no launcher dependencies setsdefault-features = false(#3385, #3389) (by gold-silver-copper) - (rig-tools, rig-tui) [breaking] Ctrl+V names the clipboard program that is not installed (
wl-paste,xclip) instead of saying there is no image, gives up after 5 s on one that does not answer, says when no clipboard is reachable from this machine, and pastes the clipboard's text when it holds no image. A drag that copies text saysCopied N lines.clipboard::read_textreturnsOption<String>,Nonefor no text; clipboard reads and writes fail withNotFoundnaming the programs when none is installed (#3378) (by gold-silver-copper) - (rig-basics, rig-steel) the
task,helperandrun_steeldescriptions say what each tool suits and what is quicker done directly, and no longer name broad searches as a use for subagents (#3375) (by gold-silver-copper) - (rig-tui) Enter after a paste sends it: a paste no longer opens a command, path or argument list on its last word (
ping @lib,/comp), so the first Enter is not taken by the list (#3373) (by gold-silver-copper) - (rig-cli, rig-tools, rig-mcp-client, rig-memory) [breaking] the default listing (search, list, watch) leaves out only
targetdirectories, so a file namedtargetis listed, andListing::keepstakes whether the path is a directory. A newmcp.jsonis created private (0600), and a${VAR:-default}in it ends at the brace that pairs with${. A command-line word that is not UTF-8 is refused with exit 2, aRIG_HOMEwith a line break is refused before the agent build, and a leftover run or session directory that cannot be removed no longer refuses every start. Saving refuses a session log with a second header, and a session's name, working directory and end record are written durably (#3365) (by gold-silver-copper) - (rig-ecs, rig-harness, rig-basics, rig-memory, rig-tui) [breaking]
build_failure_messagetakes the home whose build log it names.rig -pat a terminal draws a tab as four spaces (rig_markdown::code::untabbed). A[model] effortin settings.toml with nodefaultis applied, with and without--model. A helper call works when the caller's directory is reached through a symlink. A refused run that waits for its start writes oneAppExit(#3361) (by gold-silver-copper) - (rig-core) [breaking] OpenAI transcription:
TranscriptionUsage::Tokens::total_tokensisOption<u64>. ChatGPT and Copilot device sign-in throughauth_contextno longer hold the credential store's cross-process lock while the user enters the code, and a spent ChatGPT refresh token asks for a sign-in. The Copilot bootstrap-token fingerprint is a SHA-256 prefix, stable across Rust releases; a credential saved by an older build is exchanged once more. Gemini: replies withoutresponseIdreportresponse_id: None,InteractionResumerefuses an interaction id that would retarget the request path,CacheBook::restorereports a lease not namedcachedContents/<id>lost, andGeminiExtrasreads an empty list asNone. A Responses WebSocket request whoseadditional_paramsisnullkeeps the session'sprevious_response_idchain (#3363) (by gold-silver-copper) - (rig-agent, rig-core) [breaking]
ChatBot::runends cleanly at end of input (Ctrl+D or a closed pipe) and returnsResult<(), StreamToStdoutError>. A tool call denied by anErrorKind::Deniedreport (a hook'sDispatchAction::Denyor a layer'sBeforeServe::deny) is a refusal (is_refused, statusdenied), not a skip.tool::feedback::invalid_call_feedbacktakes the invalid call's position (usize) instead of its&CallId. AHookStackmember whoseobservesreturns false for run-start, run-settled or a delta event is no longer called for it. A call to a tool that is not registered at dispatch tells the model which tools it has.prepare_requestfails when provider tools are set andadditional_paramsis a string, array or number (#3364) (by gold-silver-copper) - (rig-core, rig-http) a streamed reply with any 2xx status is read as a stream (before, only 200 was).
MultipartForm::encodeescapes", CR and LF in part names and filenames as%22,%0Dand%0A.StreamRecord::pushrefuses a second start of a part without reopening it. Invalid-tool-argument feedback counts the arguments it did not echo in characters, not bytes (#3360) (by gold-silver-copper) - (rig-tools, rig-tui, rig-ecs, rig-basics, rig-cli) a shell call whose background job still wrote to its output says that the job was ended with the call, and how to keep one running (
process::Ended::EndedJobs). A refused slash command that is cleared or changed and typed again is refused again. Text that starts with a path or//, or with/and a space, is a message for the model, not a slash command, in every front:rig -p "/etc/hosts: what is this?"works. The model's message says which@paths were not attached and why. A Bevy-pin build error no longer repeats cargo's message after rig's (#3332) (by gold-silver-copper) - (rig-tools, rig-harness, rig-basics) [breaking]
writereplaces an existing file only if it was read (or written) in this session and has not changed on disk since; otherwise it writes nothing and asks the model to read the file again.Workspace::write_iftakesheld: Option<&ContentHash>(Nonewrites only while there is no file) andWorkspace::replaceis removed. What the file tools saw is each agent's ownFilesSeencomponent, whichCallPlace::seenhands toread,editandwrite; rig-basics'SeenFilesis removed.CallPlacegainsseenandoverlaid(#3331) (by gold-silver-copper) - (rig-cli, rig-ecs, rig-harness, rig-mcp-client)
rig plugin newwrites Bevy's major and minor (bevy_ecs = { version = "0.20", ... }) instead of an exact pin, and when cargo cannot resolve the agent project rig names each pluginCargo.tomlline whose Bevy requirement the agent's Bevy does not meet. Everyrig plugincommand warns of a v0.46.0plugins.tomlordefaults.jsonthatsettings.tomldoes not cover yet, and prints therig plugincommands and[model]lines that rebuild the old setup. A plugin scaffolded by v0.46.0 also needs itsrig-harness = "0.46.0"raised to"0.47.0". A refused/mcp approve <name>comes back in the input as typed. A fork of an agent's whole conversation keeps its context figure. A saved value whose type no plugin of the build saves is kept in the session and logged to agent.log, not shown as a "Skipped saved" error (#3330) (by gold-silver-copper) - (rig-agent)
AgentRunner::ordered_by_footprint(true)runs the tool calls of one reply that touch the same thing in order, by what each tool says it touches (Tool::footprint). Calls that touch different things still run side by side up totool_concurrency. Off by default (#3309) (by gold-silver-copper) - (rig-agent) [breaking] a tool call that a streamed reply was cut off in the middle of by the output limit is answered "your reply reached the output limit, send less" and never run; it is not offered to
on_invalid_tool_call, and a cut call to the structured-output tool is never taken as the run's answer.StreamedTurngains the public fieldcut_off(positions inchoice). Persisted runs of earlier versions are refused on resume (RUN_FORMAT, 7 by the end of this release) (#3300) (by gold-silver-copper) - (rig-core) a tool call that a provider's stream closed unfinished (cut by the output limit) is listed in
CompletionResponse::unfinished_calls(), so on OpenAI Chat Completions and Responses providers the coding agent answers that the reply reached the output limit and the tool does not run. Before, it answered with a JSON error, or ran the call with{}. Under alengthfinish a Chat Completions call with blank argument text is unfinished, a Responses function call stated"status":"incomplete"is unfinished, and an Anthropictool_useblock never closed in a reply cut atmax_tokensis unfinished whatever its input (#3298) (by gold-silver-copper) - (rig-memory)
request_estimate(&CompletionRequest)estimates the tokens a request built to send costs, its tool definitions included (#3295) (by gold-silver-copper) - (rig-claude-cloak) every tool whose schema can be checked strictly is sent with
strict: true, within Anthropic's request-wide limits, instead of only tools with four fixed names. A tool that would push the request past 24 optional parameters is sent withoutstrictand keeps its optional parameters optional. The tools block changes, so the first request after upgrading misses the prompt cache once (#3293) (by gold-silver-copper) - (rig-core) a reply restated as stream events (
Reply::into_stream) carries a malformed tool call's arguments as the model sent them, matching a real stream, instead of the repaired object; a call with no argument text restates noArgumentsevent (#3288) (by gold-silver-copper) - (rig-cli) a staged build that cannot be started (no execute permission, or not a program) no longer stops the launch: the launcher warns and starts the previous build. A staged build that is not a program (no
#!and not the platform's executable format) is passed over on macOS too, and is never run through/bin/sh(#3297, #3307) (by gold-silver-copper) - (rig-core, rig-ecs, rig-basics) [breaking]
ReasoningSupport::parse,name_ofandreadsare one model-aware reader and printer for a reasoning setting written as text (high,off,4096 tokens), andUnknownReasoninggains abudgetfield.impl Display for ReasoningSettingis removed; print withspec.reasoning.name_of(setting.0).[model] effort = "high"is read by the model it starts on, so it works on a model that takes a budget and no levels;/efforttakes<n> tokens, and/modelkeeps the reasoning setting by its name (#3291) (by gold-silver-copper) - (rig-core, rig-agent) calls that share an id stay distinct through a streamed reply:
Reply::into_streamstates each tool call with the id the reply holds, and a streamed run settles each invalid tool call alone (repair, ignore, skip or retry) when another call in the turn shares its id (#3285) (by gold-silver-copper) - (rig-core, rig-basics)
FileTokenStore::loadrefuses a credential file that is a symlink, not a regular file, or over 64 KiB, with a newFileStoreErrornaming the path. On Unix it narrows a file that group or others can access to 0600 before reading it, and refuses the file (FileStoreError::NotNarrowed) when that fails. Saved API keys of the coding agent are read the same way (#3284) (by gold-silver-copper) - (rig-core)
ErrorReport::retry_afterreads a body wait hint in minutes or hours, as Go writes it (try again in 6m0s,1h2m3.5s); before, such a hint was ignored (#3287) (by gold-silver-copper) - (rig-rmcp) [breaking] a server whose handshake declared no tools is no longer asked for them:
McpConnection::tools, the new publicMcpConnection::list_tools(timeout)andMcpClientHandler::connectgive no tools instead of failing on a resources-only server, andMcpConnection::resourcesgives none for a server that declared no resources (#3296) (by gold-silver-copper) - (rig-cli) a SIGTERM or SIGHUP while the launcher asks for a plugin secret, a closed terminal tab included, puts the terminal back (echo, line editing, Ctrl+C) before the launcher ends by that signal (#3281) (by gold-silver-copper)
- (rig-claude-cloak) HTTP wrappers such as
--traffic-logsee the request the plugin actually sends: its real URL, headers (authorization redacted in the log) and JSON body, instead of the request before the plugin rewrote it (#3280) (by gold-silver-copper) - (rig-rmcp) new
client_config(name, version)builds a client config that offers the newest released MCP protocol version (2025-11-25with rmcp 3.9) instead of rmcp's draft default, which some servers, such as GitHub's remote MCP server, accept and then refuse the session for. The examples and docs use it (#3289) (by gold-silver-copper) - (rig-tools) a local watch whose system watch can't start (an unreadable folder under the root, or the system's watch limit) lists the files every second and tries to start the system watch again after a wait that doubles up to a minute (#3282) (by gold-silver-copper)
- (rig-harness-protocol) a settings edit (such as
rig plugin enable) is synced to disk before it replacessettings.toml, and the folder is synced after, so a power loss right after an edit no longer leaves the file empty (#3278) (by gold-silver-copper) - (rig-agent) a tool that panics fails its own call with an internal error reading
panicked: <message>; the model sees it as the tool's failed result and the run continues. A model handler that panics during a unary dispatch ends the run with anInternalerror instead of unwinding (#3279) (by gold-silver-copper) - (rig-ecs, rig-basics) a reasoning effort the model's route refuses, such as a token budget for an Ollama model, is reset at start with a warning, and
/effortrefuses it; before, every turn failed. The "Reasoning reset to default" notice is a warning, so plainrig -pshows it on stderr and--jsonreports it with"level":"warn"(#3277) (by gold-silver-copper) - (rig-harness) an agent restarted by
/reloadthat cannot read the process-group list no longer overwrites it: it moves the list aside (RunDir::set_groups_aside), starts a new one and warns, and the launcher ends the jobs of the list set aside when rig exits (#3263) (by gold-silver-copper) - (rig-harness) [breaking] a plugin settings table registered once the run's front is chosen (
add_settinginfinish) refuses the run, sorig plugin check --buildchecks every table a start reads. Register settings inbuild(#3273) (by gold-silver-copper) - (rig-mcp-client) MCP tools are attributed (
ProvidedBy) to the plugin that addedMcpCorePlugin, not only toMcpPlugin, so tool search'splugins = ["rig-mcp-client"]defers them whenMcpCorePluginruns withoutMcpPlugin(#3272) (by gold-silver-copper) - (rig-harness) [breaking] a shell tool registered per call always starts its commands as the app's
Processessay, without secrets and under any sandbox wrapper.Shellis no longer aPerCallTool; registerPerCallShell::new(shell, app.world_mut())instead (#3269) (by gold-silver-copper) - (rig-cli, rig-harness-protocol) [breaking] a launcher starts exactly the build it read its command line and secrets against, even when another
rigon the same home claims the staged build or makes another build good in between. A/reloadwhose new build crashes during startup rolls back to the build that session ran before, and a trial that becomes ready after another launcher made a newer build good no longer replaces it.Home::trial_foris removed; a launcher holds its trial and rollback builds in its run directory (#3266) (by gold-silver-copper) - (rig-cli)
rig updateinstalls from crates.io with--locked, so it builds against the dependency versions the release was tested with instead of the newest compatible ones (#3267) (by gold-silver-copper) - (rig-cli) the 10 s limit on a build describing itself also covers reading its stderr. On unix, processes the describing build started are killed when it ends, so a background child no longer keeps the launcher, and every launcher waiting on the build lock, blocked (#3262) (by gold-silver-copper)
- (deps) bump zip (through candle 0.11.1 and epub 2.1.6), rustls, hickory-resolver and xxhash-rust past their published security advisories; tokenizers moves to 0.23 with candle (#3261) (by gold-silver-copper)
- (rig-cli)
rig updateand/updatework in a project whoserust-toolchain.tomlpins an older Rust: the install runs in the rig checkout, or for crates.io in the install root, and the command rig prints starts with thatcd(#3260) (by gold-silver-copper) - (rig-tools) a local watch reports the files an edited
.gitignoreor.ignorehides or shows, so the@file picker follows an edit of the ignore rules alone (#3256) (by gold-silver-copper) - (rig-harness-protocol) a launcher command given after options, such as
rig -m x update, is refused with the exact command line to run instead of "put it first" (#3259) (by gold-silver-copper) - (rig-cli) a relative
RIG_HOMEorRIG_SOURCEkeeps naming the same place when rig restarts on a replaced launcher and when/reloadbuilds: the launcher passes both on as absolute paths (#3254) (by gold-silver-copper) - (rig-acp) re-attaching to an open session accepts the same MCP servers in any order, and a server's env vars or headers in any order (#3252) (by gold-silver-copper)
- (rig-fold) a result that folding would shorten by only one row is drawn whole (#3251) (by gold-silver-copper)
- (rig-cli)
rig plugin check --buildfails on a settings table the built plugins would refuse at start, such as a key a newer rig removed, instead of saying "all valid … Type /reload" (#3253) (by gold-silver-copper) - (rig-core) Anthropic accepts a non-strict tool whose input schema has a root
anyOf,oneOforallOf(asargs_schemagives an enum of structs or a flattened tagged enum): the combinators are sent undernot: {not: ...}, which accepts the same inputs, and the root is typedobject. References into them fromdependenciesandcontentSchemasubschemas follow (#3241, #3246) (by gold-silver-copper) - (rig-memory)
DirFilesandDirStorelist files kept in a folder whose name ends in.rig-part, sorewrite()reaches them too. Part files themselves stay hidden (#3244) (by gold-silver-copper) - (rig-tools) a recursive
Localwatch reports the files of a directory moved into the watched tree, as it does for a directory created there, and filters them by that directory's own ignore rules, so the@file picker lists them (#3240, #3248) (by gold-silver-copper) - (rig-core) tool argument validation enforces
minLength,maxLength,minItemsandmaxItemswritten as a whole float such as2.0, the same as2(#3238) (by gold-silver-copper) - (rig-typesafeai) a
Choiceover a string newtype such asstruct Team(String)decodes its answer instead of failing with "expected tuple struct" (#3237) (by gold-silver-copper) - (rig-cli, rig-harness-protocol)
rig --version, the welcome screen and ACP's agent info show the git commit when rig was built from a checkout, such as0.47.0 (eb7374fef). The agent project'sCargo.lockis copied from the checkout again whenever the checkout's lock changes, so switching versions no longer re-resolves dependencies. A launcher built from a commit whose checkout is gone or in cargo's cache (cargo install --git) says how to install it properly, instead of failing in generated code.rig_harness_protocol::env::VERSION(RIG_VERSION) andlong_version()give the version string the launcher passes to the agent (#3221) (by gold-silver-copper) - (rig-tui, rig-markdown, rig-tools) the input box wraps a long prompt at spaces instead of mid-word, keeps the caret inside the input, counts a tab as the column it draws, and moves and deletes whole emoji and accented letters. The key-hint row drops its least important hints first and ends in
…when it dropped any, soEsc stopsstays visible on narrow terminals. Numberedreadrows and/helpdescriptions keep their column when they wrap.rig_tools::shortencuts between graphemes (#3231) (by gold-silver-copper) - (rig-mcp-client) the notice for an MCP server that wants an OAuth sign-in says so in plain words and points at the README's header-token setup. A server that refuses the token in
headerssays so (HTTP 401, or 403 for a missing scope), and connection errors no longer show rmcp's Rust transport type names (#3229) (by gold-silver-copper) - (rig-mcp-client) rig offers MCP protocol version
2025-11-25, the newest released one, instead of rmcp's draft2026-07-28. Servers that accept the draft offer and then refuse the session, such as GitHub's remote MCP server, now connect (#3227) (by gold-silver-copper) - (rig-harness-protocol) editing settings through a
settings.tomlsymlink whose target does not exist yet creates the target and keeps the link, instead of replacing the link with a plain file. A link into a missing folder or a loop of links is refused with an error naming where it fails (#3225) (by gold-silver-copper) - (rig-basics, rig-ecs)
rig --jsonwritesreadyas its first line even when a request is already waiting on stdin or a resumed session carries on a turn it was cut off in.StartupSystems::{FirstAgent, Reconcile}names the kernel'sStartupsteps, so a plugin can run between the first agent existing and restored turns resuming (#3216) (by gold-silver-copper) - (rig-cli)
rig plugin check, a start andrig buildsay why a plugin crate'sCargo.tomlcannot be read (the operating system's error, or the TOML error) instead of onlycannot read … as TOML(#3214) (by gold-silver-copper) - (rig-core) [breaking]
voyageai::VOYAGE_3_5_LITEis"voyage-3.5-lite", the id Voyage AI serves. It was"voyage.3-5.lite"(#3204) (by gold-silver-copper) - (rig-core) on
wasm32-unknown-unknown, Gemini'sCacheBookreads the browser's clock by default. It read a constant zero, so caches never expired before Gemini refused them (#3205) (by gold-silver-copper) - (rig-core) [breaking]
DialectHookshas a new field,model_listing: Option<ModelCatalogue>, that reads a dialect's model catalogue from the listing reply's body;Nonekeeps the shared{ "data": [...] }reading.OpenAI::list_modelson a Copilot configuration reports each model'ssupports_tool_calls,typeandowned_byinstead ofNone(#3178) (by gold-silver-copper) - (rig-lancedb)
insert_documentsrefuses an embedding whose squared length is not finite, such as1e300in a Float64 column, naming the value.top_nandtop_n_idsreturn an error naming the row when its distance is not finite, instead of scoring it 0.0 (#3179) (by gold-silver-copper) - (rig-harness) a session whose saved marker could not be written is no longer deleted with its conversation by the agent's exit, the launcher's leave or its startup sweep; the marker write is retried until it succeeds. A session whose agent log holds no conversation (only a changed setting, or a first message a failed turn gave back) is kept on disk, unlisted. Adds
SessionDir::holds_logs(#3143) (by gold-silver-copper) - (rig-basics) a helper
timeout, or[helpers] timeout_secs, over 4294967295 s is refused naming the value instead of possibly meaning no time limit (#3141) (by gold-silver-copper) - (rig-cli) a trial build interrupted by Ctrl-C before it started is no longer rejected, and a start that runs the previous build because the new one was rejected says so on stderr (#3139) (by gold-silver-copper)
- (rig-acp) a model reply that a plugin answers without streaming, such as a replay or cache plugin answering the call in place, reaches the editor, as it already did in the TUI and
-p(#3138) (by gold-silver-copper) - (rig-basics) a saved
/loginAPI key file that exists but can't be read or parsed, or a key directory that can't be listed, refuses the provider's models with an error naming the file instead of falling back to the environment's key. With no-m, the "no model can be reached" error names the file, and rig says once when it starts on another provider's model because of it (#3136, #3168) (by gold-silver-copper) - (rig-acp)
rig acprefuses any word afteracp, such asrig acp --tools=read, saying to put options beforeacp, instead of ignoring it (#3142) (by gold-silver-copper) - (rig-harness, rig-basics, rig-acp)
Ask::checkandAnswerRefusedare the one rule for whether anAnsweranswers anAsk, used by every front.rig --jsonrefuses several choices for a question that takes one (an approval answered["deny","allow"]used to run the gated call), accepts no choice for a question that takes several, and refuses an answer to a question already answered (#3140) (by gold-silver-copper) - (rig-claude-cloak, chatgpt) in the coding agent, the browser opened for OAuth login or ChatGPT sign-in no longer inherits rig's
RIG_SECRET_*variables (#3135, #3171) (by gold-silver-copper) - (rig-harness) on unix,
sessions/,projects/,data/andrun/underRIG_HOMEand every session directory are private to the user (mode 0700), and an existing wider directory is tightened when a session starts, so another local user cannot read conversations, prompt history or failed-run logs. AddsHome::keep_private(#3137, #3164) (by gold-silver-copper) - (rig-mcp-client) a
${RIG_SECRET_*}in anmcp.jsonis refused, naming the field and the variable, in any letter case, instead of being expanded and sent to the server (#3133) (by gold-silver-copper) - (rig-typesafeai) [breaking] a stored
JevConfigwith an unknown top-level key, such asprovidermisspelled asprovder, fails to load with an error naming the key, instead of loading without the restrictions it meant to set (#3130) (by gold-silver-copper) - (rig-helixdb) with an API key,
HelixDB::new's client follows redirects only within the endpoint's origin, so the key no longer reaches another host; a redirect to another origin fails the query (#3129) (by gold-silver-copper) - (providers) a built Anthropic, OpenAI, Copilot, native Cohere embeddings, native Ollama or VoyageAI request's
Debugoutput no longer shows the API key: thex-api-key, bearer, Azureapi-keyandauthorizationheaders are marked sensitive and still sent unchanged (#3128, #3132) (by gold-silver-copper) - (openrouter) a stored
ProviderPreferenceswith an unknown key directly under it or under itsmax_price, such as a misspelleddata_colection, fails to load with an error naming the key, instead of loading without that restriction (#3127) (by gold-silver-copper) - (rig-tools)
Local::watchgiven a relative path reports its events instead of silently dropping them. When the root exists, the paths it reports are absolute (#3120) (by gold-silver-copper) - (rig-reqwest) the default client no longer sends provider key headers such as
x-api-key,api-keyorx-goog-api-keyon a redirect to another scheme, host or port. Onlyaccept,content-encoding,content-type,rangeanduser-agentgo on (#3113) (by gold-silver-copper) - (gemini) the API key is sent in the
x-goog-api-keyheader on every wire and never in the URL, where proxies, traces and errors could keep it. The header is marked sensitive, so it no longer appears in a debug-printed request (#3111, #3112) (by gold-silver-copper) - (core)
Usage::tokens_complete()says whether a sum misses an input, output or total figure from any call, including a call that reported nothing. Summed values are unchanged, but a marked sum no longer equals the same counters unmarked and serializesincomplete_tokens(#3110) (by gold-silver-copper) - (deepseek) Chat Completions sends user images as
image_urlparts to the models the catalog says read them, instead of a placeholder (#3107) (by gold-silver-copper) - (bedrock) a message cache checkpoint after a reasoning turn is placed on Claude models the catalog lists, so an agent that thinks caches its whole conversation; other models keep the refusal (#3103) (by gold-silver-copper)
- (rig-tui) the mouse wheel and touch scrolling scroll the transcript instead of browsing prompt history, and move the choice in a picker. A drag selects and copies text in rig itself. Shift+drag keeps the terminal's own selection, and middle-click paste needs Shift (#3104) (by gold-silver-copper)
- (rig-core) Gemini automatic caching replaces an expired shared-prefix cache instead of sending every later call inline, and a late 403, retire or extend for an old cache no longer changes its replacement;
CacheBook::closewaits for a create in flight and keeps what it could not delete for the nextclose. Gemini embedding models advertisemax_documents100, soEmbeddingsBuildersplits large inputs. Gemini transcription sends the request'spromptandlanguageinstead of dropping them (#3096) (by gold-silver-copper) - (stores) rig-sqlite's
top_nandtop_n_idssize candidates and search on one snapshot, so a concurrent upsert no longer hides unchanged documents.VectorizeFilter::andkeeps every operator on a shared field, and a repeated operator with another value failsvalidate(). HelixDB'stop_n_idsapplies the metadata filter and keeps negative-similarity hits when no threshold is set.MongoDbVectorIndex::newaccepts indexes withfilterfields. LanceDB map,FixedSizeBinary, null and dictionary columns yield one value per row: a dictionary column decodes to its plain value, and a null cell of any type decodes to JSON null (#3093) (by gold-silver-copper) - (core) vector store JSON filters and tool argument validation (
minimum,maximum,exclusiveMinimum,exclusiveMaximum,enum,const) compare an integer with a float exactly.args_schemakeepsnullin collection items, map values and tuple elements.Conversation::normalizeandrepairmerge two assistant turns in a row only when they can share an origin, andpairing::validateno longer reportsConsecutiveAssistantfor turns that stay apart (#3092) (by gold-silver-copper) - (rig-agent) [breaking] an
on_dispatchcompletion patch that changes the tool choice, the tool names, the provider-hosted tools or the output schema is refused before the provider is called; make that change inon_completion_callwith aRequestPatch.AgentRun::answer_allchecks every answer in a batch before a malformed call'sStop,FailorRepairends the run (#3097) (by gold-silver-copper) - (rig-cli)
rig -prefuses a run whose agent build fails to compile, exiting 1 with the compiler's errors on stderr, instead of answering with the previous build.rig plugin disable <name>takes a plugin name rig does not know out ofsettings.toml(#3094) (by gold-silver-copper) - (rig-agent, rig-core) [breaking] a run with an output schema fails when its final answer, as text or as output-tool arguments, does not fit the schema, in every output mode, instead of returning unchecked text; the model is reprompted while the output-retry budget lasts. The failure is
PromptError::OutputSchemaMismatch, which carries the answer, the validator'sProblems and the history. A text answer whose JSON is wrapped in prose or a markdown fence passes.structured_output::text_satisfies_schemais replaced bystructured_output::validate_text. The Claude wire reads a gateway'santhropic/spelling of a listed model id as that model (#3050) (by gold-silver-copper) - (rig-cli, rig-harness-protocol) a start whose
settings.tomlnames an unknown plugin or a[[plugins.extra]]path that holds no crate, or whoseRIG_SOURCEis not a rig checkout, refuses with the mistake instead of starting the previous build; the error names the list the plugin is in and how to fix it (#3057) (by gold-silver-copper) - (rig-bedrock, rig-core) a Bedrock Converse tool call typed
"tool_use"(Claude models) is a client call again instead of an opaque hosted-tool block the agent loop never ran. Copilot routes by the model catalogue before thecodexname check, sogpt-5.5,gpt-5.4and the GPT-6.1 family go to/responses. OpenAI Chat Completions keeps thethinking_blocksa LiteLLM proxy returns for Anthropic models and sends them back.codestral-embedreports a 1536 default width, and an embedding width the caller names is sent even when it equals the model's native width (#3047) (by gold-silver-copper) - (rig-memory) concurrent
DirFilesreplacements of one file each write their own part file, so writes never mix or fail withNotFound. A missing image blob no longer hides a later image's failed read inloadandload_async. A failedSession::savekeeps the unsaved changes of every log it did not write, so a retry stores each change once (#3046) (by gold-silver-copper) - (rig-memory)
read_conversationreturns the error when an image blob cannot be read for a reason other than a missing blob, asloaddoes, instead of returning a placeholder (#3095) (by gold-silver-copper) - (rig-cassette) recordings scrub account team ids that providers quote, and the fixture safety check rejects one left in place (#3045) (by gold-silver-copper)
- (rig-tools) a remote Write or Edit of a symlink is refused, naming the link's target, instead of replacing the link with a regular file. A failed remote write says the write may or may not have happened and asks for a read. Remote file listings in a git work tree no longer include tracked files deleted from disk, or links (#3041) (by gold-silver-copper)
- (rig-sqlite, rig-lancedb) SQLite filters on an indexed column that declares a collation (such as
TEXT COLLATE NOCASE) follow that collation, a failed vector-store initialization rolls back, and inserting removes the embeddings of every document a unique-key replacement deletes. LanceDB'stop_n_idsreturns the distance instead of0.0(#3042) (by gold-silver-copper) - (rig-basics, rig-core, rig-ecs) [breaking] a model call stopped, superseded or failed mid-stream counts what its provider reported before the end, else an estimate (which
/usagesays); one stopped before anything came is shown as not known. Under a budget, spend that is not known refuses the next model call until/budgetis set again.rig_core::streaming::RelayedgainsUsage, the usage a provider reported before the reply's end; rig-ecs'sReportedUsageholds the latest such report (#3003) (by gold-silver-copper) - (rig-tools, rig-memory) [breaking] a confined file tool follows dangling symlinks before checking its base, so a confined Write can no longer create or overwrite a file outside its base through a link.
Session::saverefuses a session read before another save or a rewrite withSessionError::Changed, before writing;Sessionhas a private field, so it is built fromSession::default()orSession::read(#2999) (by gold-silver-copper) - (rig-tui, rig-tools) the status line stays under the input while something is typed. A process output pipe whose read fails ends with a line saying so and why, instead of looking like the end of the output (#2998) (by gold-silver-copper)
- (rig-basics, rig-tools, rig-ecs, rig-harness, rig-steel, rig-mcp-client, rig-tui) [breaking] every limit on asked work is a
settings.tomlkey with a default.[helpers] at_once(4) andtimeout_secs(600) replaceAT_ONCE;[retry] max_retriesandmax_wait_secsand[tools] max_unavailable_callsare new, with the retry policy in theRetryPolicyresource (wasturn::RETRY_POLICY);[steel] max_seconds(60),max_calls(1000) andmax_output_bytes(64 KiB);[mcp] connect_timeout_secsandfirst_retry_secsrefuse 0. ARIG_HOME/settings.tomltable that does not read refuses the start (exit 2), naming file, table and key.shellno longer kills a command after 10 MB of output;timeout_secs: 0,read'soffset: 0andlist'sdepth: 0are refused.rig -preads piped stdin until it closes and refuses input that is not UTF-8. rig-tui tool results show JSON blocks and count images (ToolRender::result_lines()includes JSON, so a look that draws JSON itself drops the JSON content first), and prompt history keeps every distinct prompt (PromptHistory::KEPTis gone) (#2995) (by gold-silver-copper) - (rig-basics, rig-ecs) with
RedactPluginon, a notice is redacted before any front reads it, including onerig -p --jsonwrites as a turn starts. NewBetweenStagesschedule: the kernel runs it between each two stages of an agent pass, so a system there may rewrite what earlier stages wrote before a later stage, an observer or a front reads it (#2993) (by gold-silver-copper) - (rig-ecs, rig-basics) [breaking] every agent is made through one
Spawner(rig_ecs::spawn, withOriginandAgentSpec);AgentandSpawnedBycannot be built outside rig-ecs. Subagents have no depth limit:[subagents] max_depth,SubagentPolicyandSubagentSystemsare removed. Requests are owned by what made them (RequestOf/Requests); a fork is asked for by spawningForkAgent::new(agent, through)and answers with aForkResult. A subagent's owed report reaches the agent waiting for it exactly once across a crash and restore (#2991) (by gold-silver-copper) - (rig-basics, rig-acp) [breaking] on a
--jsontool_callortool_resultline,idis the call's place in its reply, such asm4/1, not the provider's call id; a plugin's own call hasnull. ACP shows a tool result of several parts the same live and aftersession/load(#2988) (by gold-silver-copper) - (rig-ecs, rig-core, rig-tui) [breaking] each tool call is known by its reply and its place in it (
CallRef), so two calls that share a provider id each keep their own result. A stop's cause is typed and saved with the turn:TurnOutcome::Stoppedholds aStopwith aStopCause,TurnEnd::Stoppedhasby: Option<StopCause>, andrig_ecs::restore::RESTARTEDis removed. Stops are made withStopTurn::new,StopTurn::pluginorStopTurn::plugin_alone, and every agent a stop reaches getsStopReached.ForkedFromholdsVec<Ancestor>,Conversation::pending_calls()returns(CallRef, ToolCall)pairs, and rig-tui'sTranscriptItem::CallandDecorationtake aCallItem(#2985) (by gold-silver-copper) - (rig-basics, rig-core) [breaking]
/model, its completion and an editor's model list offer only the models usable now: a provider whose key is exported or saved with/login, a sign-in that is logged in, or a local Ollama or llama.cpp server thatOLLAMA_API_BASE_URL/LLAMACPP_API_BASE_URLnames./model vendor/modelfor a model that does not connect is refused and the agent stays on its current model;-mwith such a model exits 2 in a headless run.ollama/*models readOLLAMA_API_BASE_URL(the daemon's address;/v1is appended).ModelStatusgainsUnconfigured, andopenai::wire::Quirksgainsbase_url_env_path(#2983) (by gold-silver-copper) - (rig-ecs, rig-basics) [breaking]
--toolslimits only the run it is given to: a later run without it has every tool the session had.ToolAccessis a struct:ToolAccess::AllisToolAccess::all(),allowsanswers for this run, andkeepsandnamesanswer what the agent keeps. The new resourceRunToolsholds this run's tools, which the session never saves. Ataskchild with notoolsgets its parent's own access (#2984) (by gold-silver-copper) - (rig-core) [breaking] a streamed model reply that sends no frame for 5 minutes fails as
ProviderError::Stalled(retryable) even while keep-alive bytes such as SSE comments arrive. The OpenAI Responses websocket session times each turn the same way by default (STREAM_IDLE_TIMEOUT), ignores pings, and fails asProviderError::Stalled;.without_event_timeout()waits indefinitely (#2982) (by gold-silver-copper) - (rig-http, rig-core, rig-basics, rig-acp, rig-cli) [breaking] every byte stream rig reads has a 64 MiB limit per frame, line or input, refused naming the limit: provider SSE and NDJSON frames,
-pstdin,--jsonrequest lines, ACP and MCP stdio.SseFramer::push,NdjsonFramer::pushandFramer::pushyieldResult<_, TooLarge>. A signal stops a headless run within about a second whatever its stdout reader does, and the launcher passes SIGTERM, SIGINT and SIGHUP on to its agent and exits only after it (#2974) (by gold-silver-copper) - (rig-basics, rig-core, rig-ecs) [breaking] only a model and reasoning setting picked with
/modelor/effortbecomes the default for new sessions, and only once that model has answered;-m, a helper's model, an editor's choice,/login's switch, a resume and/forkno longer change it. The ChatGPT plan's models are those ChatGPT lists for the account; models it does not offer are left out of/modeland refused before a request is sent. The ChatGPT rows no account offers (gpt-5.3-chat-latest,gpt-5.3-codex,gpt-5.3-codex-spark,gpt-5.3-instant,gpt-5.4,gpt-5.4-pro,gpt-5.5) are removed with theirchatgpt::GPT_5_*constants.SetModelandSetReasoningcarrykind: ChoiceKind;ModelStatusgainsCheckingandNotOffered(#2973) (by gold-silver-copper) - (rig-tools, rig-cli, rig-harness) [breaking] every process the agent starts has one owner: it goes through
rig_tools::process::Process::startorstart_with_stdio, is listed until its group is empty and is tied to its call, so a stopped call stops its processes.OutputLineholds bytes,record_groupstakes the groups to adopt,Remote::newtakes a closure for the process policy, andlist_group/unlist_groupare removed. Commands find no editor and no pager:git commitwithout-mfails at once. A SIGTERM, SIGINT or SIGHUP during a build kills cargo and rustc too (#2970) (by gold-silver-copper) - (rig-harness, rig-basics, rig-cli) [breaking] one run contract for every front.
--toolsis checked the same way in a terminal run,-pandrig acp. A command that opens a list, run where none can be shown (rig -p /model,/effort,/resume,/login), is refused with exit 2 and the commands to type instead; text after a command that takes none (/new hello) is refused. Asettings.tomltable no enabled plugin reads gets a notice at startup, and a likely misspelling ([trafic]) is an error naming the table it means.rig_basics::print::{Starting, KeepRunning, Work, TOOLS}move torig_harness::run;SlashCommandgainsargs; a front that shows pickers says so withFront::shows_pickers()(#2972) (by gold-silver-copper) - (rig-tools, rig-basics) [breaking] an
@reference attaches exactly the file that was picked. The completion list, Ctrl+V and dropped images insert@"my file.txt"for a name with spaces;@HOST:PATHattaches a host's file, read off the main thread; a path that cannot be read is reported ascould not read <path>: <error>.rig_tools::attach::Attached::missingis replaced bywarnings, and references are parsed byattach::Reference::parse(#2962) (by gold-silver-copper) - (rig-core, rig-memory, rig-harness-protocol) [breaking] a resumed session draws its tool calls as they were drawn live: each tool result's entry keeps what its call published (an edit's diff, a read's line numbers, a command's exit status).
conversation::EntryandEntryRefgain afactsfield (ResultFacts), and rig-memory'sRewritegains afactshook. A session whose only message failed is no longer kept: norig --resumeline and no blank/resumerow; its folder stays on disk, unlisted (#2964) (by gold-silver-copper) - (rig-harness, rig-ecs, rig-basics) [breaking] a session has one current agent, saved with it (
CurrentAgent, replacing rig-basics'ShownId): the top-level agent shown last, whichrig -r <id> -p,-m, ACP,/resumeand the welcome line all continue. A saved component says what a fork gets of it with#[reflect(Component, Saved(Reset))]orSaved(Never); a fork's usage starts afresh, and a fork cut before its source's end showsctx ?until its first reply.MainAgentQueryis aSystemParam, andrig_memory::main_orderis removed (#2967) (by gold-silver-copper) - (rig-http, rig-core, rig-reqwest, rig-tungstenite) [breaking] an HTTP error keeps its retry class from where it was made.
http_client::Error::InstanceandUnbuiltare replaced byTransientandPermanent, built byError::transientandError::permanent, and onlyTransientfailures are retried;rig_core::error::transient_transportbecomes the methodError::is_transient(). reqwest builder and redirect errors are no longer retried, and websocket failures are classified. A ChatGPT or Copilot token refresh the server refuses isAuthError::Reply, which keeps the reply; a 429 or 503 on refresh is retried with itsRetry-After(#2969) (by gold-silver-copper) - (rig-tools, rig-core) [breaking] tool results show what they found. A long line cut before the part a tool picked it for (a
shellfailure word, aneditchange, asearchmatch) says where that part is;rig_tools::excerptreplacesclip.Workspace::read_filesreturnsObservations andWorkspace::filesreturnsListed, sosearchandlistname what they could not read instead of reporting nothing there.readsays when a file's lines end in CRLF. A whole number sent as a float (30.0) decodes as that integer on every tool path (rig_core::tool::decode_args) (#2965) (by gold-silver-copper) - (rig-ecs, rig-core, rig-tui, rig-harness-protocol) [breaking] a stopped turn keeps what streamed.
Partialholds the reply's tool calls too (calls: Vec<PartialCall>, folded byPartial::follow); a call a stop cut while it streamed is kept, never run, and named in the turn's stop record, and the model is told it never ran (tool::feedback::stopped_call_note). A stop (Esc,/compact, an exit) is not an error: the title readsrig · errorand the OSC 133 mark isD;1only after a failed turn.REFUSED_EXIT_CODEandSIGNAL_EXIT_CODElive in rig-harness-protocol;rig_harness::host::exit::SIGNAL_EXIT_CODEis gone (#2966) (by gold-silver-copper)
Other
- (rig-agent) [breaking]
AgentRunner::{without_max_tokens, replace_additional_params, without_additional_params, without_tool_choice}are removed; configure the agent without those settings instead (#3386) (by gold-silver-copper) - (rig-core) [breaking]
OpenAIConfig::with_alternate_keyis removed; useOpenAIConfig::with_key(..).with_auth(..)with the dialect's alternate header policy (Auth::Bearerfor an Azure Entra token).OpenAIConfig::with_audio_api_versionis removed; set the publicaudio_api_versionfield. The Voyage AIRerank::with_top_kandRerank::with_return_documentsare removed; set the publictop_kandreturn_documentsfields (#3388) (by gold-silver-copper) - (rig-cli) the agent's dependencies build without debug info, which shrinks
RIG_HOME/targetand link time; the crates/reloadrebuilds keep line tables. The first build after upgrading rebuilds every dependency once. A "Faster builds" section in the docs shows howRIG_HOME/.cargo/config.toml,rust-toolchain.tomland cargo's environment variables apply to agent builds (#3372) (by gold-silver-copper) - (rig-tui, rig-basics, rig-core) [breaking]
DrawnTranscript::item,ShownNotice::drawn_in,Notices::all,PickerInput::filter,PickerInput::tickedandKeyPress::shiftare removed, andNotices,ShownNoticeandTranscriptSlotare no longer public; take an item's rows withDrawnTranscript::rows_of.UserContent::as_tool_resultandMessage::resultsborrow the tool results a user message carries (#3366) (by gold-silver-copper) - (rig-agent) [breaking]
RUN_FORMATis 7 (v0.46.0 wrote 5): runs persisted by earlier versions are refused on resume.run::PrepareErroris gone:prepare_requestandTurnPolicy::newreturnProviderError(ProviderError::Request).ModelTurnandCompletionCallcarry oneidentity: ResponseIdentityinstead ofresponse_idandprovider_request_idfields (the JSON keys are unchanged).PartialStreamedTurn::rollback_messagesreturns[Message; 2]. Removed:Extractor::{with_model_label, with_model, agent},TurnTools::contains,AgentRun::response,TurnPolicy::allowed,HookContext::agent_name,HookStack::{with, len},Agent::{model_descriptor, model_label},AgentBuilder::retrieved_tools_handler,StepEventKind::{CompletionCall, ModelTurnFinished, InvalidToolCall},ModelTurn::{with_identity, with_finish_reason},CompletionCall::{with_identity, with_finish_reason, identity}andPromptResponse::{empty, with_messages, with_completion_calls}.ChatBot::runreturnsStreamToStdoutError::Incompletewhen a stream ends with no final response (#3367) (by gold-silver-copper) - (rig-cassette) [breaking] remove
EffectLogReplayer::check,RecordedAnswers::scopesandAccountFailure::ALL, which nothing outside their own tests used (#3362) (by gold-silver-copper) - (rig-ecs, rig-harness, rig-basics, rig-tools, rig-cli) [breaking]
ShellOutputmoves fromrig_basics::coding_toolstorig_harness::per_call(and the prelude); everyPerCallShellcuts its output as the app'sShellOutputsays, not by its ownshell.cut.Picker::checkedandPerCall::buildare removed: setPickItem::checked, and usePerCallTools::build. A session delete holds the session's launcher lock until the session is gone, so a rig resuming it at that moment can no longer have it deleted underneath it (#3369) (by gold-silver-copper) - (rig-core, rig-vertexai, rig-bedrock) [breaking]
gemini::extension::HarmCategory::as_strandHarmBlockThreshold::as_strare removed: both enums deriveSerializeto the same strings.gemini::audio_generation::SpeechDecoderis removed.completion::options::Mapping::does_not_reasonis new. The Anthropic cache-marker checks run once, on the body sent, and report the first problem in walk order.providers::registry::Formatdeserializes through a derive, so an unknown family reports serde's "unknown variant" error. Provider reply types no longer read a short JSON array by filling missing trailingOptionfields withNone(#3368) (by gold-silver-copper) - (rig-core) [breaking] remove
openai::embedding::EncodingFormat,Embeddings::with_encoding_format,Embeddings::with_user, theencoding_formatanduserfields ofEmbeddings, andEmbeddingQuirks::supports_encoding_format/supports_user.openai::wire::Modelsreads the dialect'smodel_listinghook itself, through the newModelsDecoder; itsWire::EventisModelList. rig-http addsWireFrame::into_bytes(#3359) (by gold-silver-copper) - (rig-core) [breaking] remove
conversation::pairing::answersandAnswerError,Conversation::reread,Conversation::aside_positionandmessage::MediaType.RunIdis a plain newtype:from_raw,to_raw,FromStr, bothNonZeroU64conversions andid::ParseIdErrorare removed;Display,Debug, ordering and serde stay.effect::family::Custom<E>keeps onlyCloneandCopy.ToolEmbeddingdropsInitError,Stateandinit;Contextneeds onlySerialize(#3358) (by gold-silver-copper) - (rig-core, rig-http) [breaking] remove the
websocketcargo feature fromrig-coreandrig-http. It added no dependency;ws_clientand the OpenAI Responses websocket session now always compile. The facade'swebsocketfeature is unchanged. Remove the unusedwire::Event<W>alias. Addjson_utils::json_len(#3357) (by gold-silver-copper) - (rig-core) [breaking] the shared sign-in types (
TokenStore,FileTokenStore,MemoryTokenStore,StoreLock,FileStoreError,DeviceCodeHandler,DeviceCodePrompt,AuthContext,AuthError) have one public path,providers::auth, instead of being re-exported from bothproviders::chatgpt::authandproviders::copilot::auth(#3356) (by gold-silver-copper) - (rig-basics, rig-harness, rig-core) [breaking]
AppPerCallExt::add_live_tool_per_callis removed: a per-call tool declaresconst LIVE: bool = trueonPerCallTool, andadd_tool_per_callreads it. New:PickItem::new(label, command)andPickItem::detail(text),secrets::browser_opener(url), default bodies forIntercept::beforeandIntercept::after, and publicjson_utils::deep_mergeandjson_utils::struct_fields. On macOS the browser for a ChatGPT sign-in opens through/usr/bin/open(#3347) (by gold-silver-copper) - (rig, rig-core, rig-agent) [breaking] remove the
audioandimagecargo features fromrig,rig-coreandrig-agent. They added no dependency;audio_generation,image_generationand the provider audio and image models now always compile (#3351) (by gold-silver-copper) - (rig-core) [breaking] Cohere chat is two explicit wires:
Cohere::completionreturns the Compatibility API'sopenai::wire::Chat, and the newCohere::native_completionreturns the nativeNativeChat.CohereChatandChatRoute(withAuto) are removed, as isReplayTarget::route. Cohere's 200-status error body on the Compatibility wire fails the turn as a truncated reply, without Cohere's message text.CohereExtrasreads an empty list in any field as absent (#3348) (by gold-silver-copper) - (rig-tools, rig-rmcp, rig-harness-protocol, rig-mcp-client, rig-cli) [breaking] remove rig-tools'
ReadArgs::shown(useReadArgs::show),fs::read_text(use<dyn Workspace>::read_text(&Local, path)) andListing::for_glob, and rig-rmcp'sMcpTool::timeout()andFrom<RunningService> for McpConnection(useMcpConnection::new). rig-harness-protocol addsfs::replace, which replaces a file whole keeping its permissions and group, and makesconfig::linkedpublic; the settings file keeps its group when edited. A privatemcp.jsonis never staged readable by others, and a loop of links on the user'smcp.jsonis refused. The launcher treats aRIG_SECRET_*variable with a non-UTF-8 name as a secret (#3346) (by gold-silver-copper) - (rig-tui) [breaking] one type per render input:
ToolRender,EntryRender,ContentRenderandAsideRendercarry the look helpers, andRenderContentthe block kind. The borrowedToolCallView,EntryView,ContentView,AsideViewandContentBlockand theirview()/block()accessors are removed (#3345) (by gold-silver-copper) - (rig-ecs, rig-tui, rig-basics) [breaking]
DroppedOptionsis removed; useAdapted::droppedin Prepare.SavedKeys::iteris removed; useSavedKeys::pathandSavedKeys::key.NoticeLevelderivesSerialize,DeserializeandHash(info/warn/error), and its variants are now orderedWarn, Error, Info.NotYours,SpawnRefused,ForkErrorandAnswerRefusedderivethiserror::Error(#3336) (by gold-silver-copper) - (rig-core) [breaking] remove
openai::Usage, itsPromptTokensDetails/CompletionTokensDetailscopies inopenai::embedding, and the strictopenai::EmbeddingResponse;CompatibleEmbeddingResponse.usageis nowOption<EmbeddingUsage>. Removetranscription::DurationTag,transcription::TokensTagand ther#typefields ofTranscriptionUsage::{Duration, Tokens}(same JSON in and out). The Responses wire reads a provider-reported cost with the same rule as Chat. The workspace requiresserde >= 1.0.181(#3338) (by gold-silver-copper) - (rig-harness, rig-memory, rig-cassette, rig-basics) [breaking] remove rig-harness'
Timing,SystemTimings::systems,SystemTimings::clear,PluginTimings::totals,PluginSystems::iterandSessionDeleteFailed(PluginTimings::last_frame()keeps the per-run timings; a failed delete is still reported by its notice); rig-memory'sTokenCountertrait (HeuristicTokenCounter::countis inherent); rig-cassette'seffect_log::EffectFilterandhttp::owned_headers; rig-basics'telemetry::effect_log::EffectLog::read_matching(filterEffectLog::read()) (#3337) (by gold-silver-copper) - (rig-agent) [breaking]
integrations::cli_chatbotis oneChatBot::new(agent)withmax_turns,show_usageandrun;Chat,ChatImpl,AgentImpland the typestateChatBotBuilderare removed.prepare_requesttakes the prompt and returnsPreparedRequest { request, output_mode, policy }; the fields that mirroredCompletionRequestandPreparedRequest::applyare removed.ToolServerErroris removed:ToolServerHandle::tool_defsandAgent::tool_definitionsreturnProviderError. Removed test-only conveniences:ModelSelection::new,Scratchpad::contains,DispatchEvent::completion_request,MultiTurnStreamItem::final_response,TypedPromptResponse::{new, with_completion_calls},Agent::{with_model_label, with_model},HookContext::{index, model, tool},ToolCatalog::key,AgentRun::{entries_of, last_entry_of, with_validated_history},ModelTurn::from_responseand theStreamedTurn::finish_reasonfield (#3344) (by gold-silver-copper) - (rig-core) [breaking] remove
providers::copilot::model_listing(uselist_models()on the Copilot dialect),gemini::InteractionsModels(usegemini::Models),gemini::VerifyKeyDecoder(useoperation::VerifyDecoder) and the doc-hiddenGenerateContentResponse::chunkand::document(useReassemble::absorbandfinish).gemini::completion::{accepts, encodes, normalize_tool_call_id, declares_tools, CALL_ID_SLOT, BLOB_SLOTS}are no longer public: the Gemini, Vertex AI and gRPC GenerateContent wires share oneReplayTargetimpl.Gemini::verifyaccepts a 2xx reply whose body is not JSON (#3339) (by gold-silver-copper) - (rig-core) [breaking] remove
serve::ObserveandDispatch::with_observer(a dispatch is observed by theRecorderthatDispatch::recorded_byinstalls),tool::feedback::tool_result_output(useToolCall::answer),message::MessageErrorandtest_utils::raw_parity::assert_raw_parity(compareraw_pairthroughcomparable) (#3340) (by gold-silver-copper) - (rig-agent) the
Internalerror for a handler that answers with another family's outcome uses rig-core's one sentence,expected a <family> outcome, the handler answered <family>; a wrong-family failed tool result hasretryable: false(#3342) (by gold-silver-copper) - (rig-http, rig-core) [breaking]
HttpClientExt::{send, send_multipart, send_streaming}takeRequest<Bytes>and returnResponse<LazyBody>; the<T, U>type parameters go,LazyBodyis no longer generic, andhttp_client::texttakesResponse<LazyBody>. Removed:http_client::Error::NoHeadersandError::InvalidHeaderValue,test_utils::RecordingHttpClient::with_error_response,json_utils::Lenient::i64and the forwardingloaders::{file,pdf,epub}::IntoIterstructs (#3341) (by gold-silver-copper) - (rig-core) add
AssistantContent::as_text,AssistantContent::as_tool_call,AssistantContent::concat_text,UserContent::as_text,ToolResultContent::to_text(text, with the caller's placeholder for an image),structured_output::json_in_text(aTfrom JSON in a model's text) andconversation::Aside::read(#3335) (by gold-silver-copper) - (rig-core) [breaking] remove
anthropic::completion::ANTHROPIC_VERSION_2023_01_01,Defaultforanthropic::streaming::MessagesDecoderandanthropic::Messages::with_default_max_tokens, which nothing used. An Anthropic Messages request naming a model with no dialect defaultmax_tokenschecks a thinking budget against the defaultmax_tokensthe body sends, and refuses a budget at or above it locally (#3334) (by gold-silver-copper) - (rig-core) [breaking] remove
completion::{CacheCost, CacheRates}and thecompletion::cache_costmodule, withimpl From<&gemini::CacheReport> for CacheCost; price usage fromUsage's counters with your own rates (#3333) (by gold-silver-copper) - (rig-core, rig-harness)
catalog::closest_name: the name closest to a word by edit distance, within a quarter of its length, as the catalog uses for its "did you mean" suggestions (#3311) (by gold-silver-copper) - (rig-core, rig-memory) [breaking]
ModelSpec::output_limit()returns a model's output limit held to its context window, besideinput_limit().rig_memory::OUTPUT_MARGINis no longer exported (#3306) (by gold-silver-copper) - (rig-claude-cloak) credentials are kept through rig-core's
FileTokenStore, in the same file, so no new login is needed. A login waiting in the browser no longer makes requests in another rig fail as busy. A credentials file others can read is narrowed to 0600 instead of refused. The lock file is nowcredentials.lock, waited for up to two minutes. In rig-core,FileTokenStore::lockrefuses a lock held past its wait withFileStoreError::Busy,FileTokenStore::with_lock_waitsets that wait, and saves and deletes sync the directory on Unix (#3305) (by gold-silver-copper) - (rig-core, rig-ecs)
StreamEvent::wholegives the events a stream writes for one part that arrives whole;Reply::into_streamand the kernel both use it. A streamed tool call that carried no argument text ends with the text the model sent, as a restated call does, instead of the parsed object (#3303) (by gold-silver-copper) - (rig-core) [breaking] remove
rig_core::observeand provider observations:Model::call_observed/stream_observedandDynModel's twins,Dispatch::with_adapter_context,Encoded'sroute,projectandanalysis_onlywith their builders,wire::ProjectorandOperation::observed_usage. Nothing in Rig produced or read them;callandstreamare unchanged (#3302) (by gold-silver-copper) - (rig-core, rig-basics) the ChatGPT browser sign-in takes the caller's opener (
Authenticator::with_browser_opener), and the platform command is public (chatgpt::auth::browser_command). The default opener no longer removesRIG_SECRET_*variables from the browser's environment; the coding agent does that itself (#3294) (by gold-silver-copper) - (rig-core)
CompletionResponse::cut_off_callslists the calls a reply cut at the output limit or by a content filter ended in the middle of, which a host answers and never runs.Touches::must_waitsays whether a call waits for earlier unsettled calls of its reply, andTouches::default()isWrites(Anything)(#3286) (by gold-silver-copper) - (rig-harness-protocol) [breaking] new
fsmodule: file functions whose errors name the step and the path, andfs::optional, which reads only a missing file as absent.SessionDir::nameandworking_directoryreturnio::Result. A session whose saved directory file cannot be read is refused, not moved to the current directory and overwritten. An unreadablebin/stagedorbin/goodfails the build naming the file, and an interactive start skips abin/stagedthat is no build, with a warning, and starts the previous build (#3275) (by gold-silver-copper) - (rig-cli) an error in the launcher after the terminal view took the screen (for example after
/new) puts the terminal back before the error is shown, instead of leaving it in the alternate screen (#3276) (by gold-silver-copper) - (rig-harness-protocol, rig-harness) [breaking] the agent ends with one record,
end::AgentEnd, in the launcher's run directory, read with its exit status.RunDir::say_ready,heard_ready,say_screen,unsay_screen,took_screenandclear_messagesreplace the public file paths;SessionDir::switch,RunDir::ready,RunDir::refusalandRunDir::screenare removed.ExitReason::Failedtakes aFailCode, which is never 0, 75 or 130, and a refused run ends with the newExitReason::Refused(String). An exit code of 75 without the end record is a failure, not a reload, and an agent killed after it asked to switch sessions no longer switches. Thetest-utilsfeature addsfake_agent(#3274) (by gold-silver-copper) - (rig-tools, rig-harness) [breaking]
WatchyieldsWatchEvent(Snapshot,Changed,Unavailable,Closed) instead ofVec<PathBuf>, andFileChangescarries it aseventinstead ofpaths. Both watch backends decide what is listed with the same walk asWorkspace::files, so the local watch follows an edited.git/info/exclude, global excludes, an ignore file above a watched subdirectory, a directory swapped in under the same name and a root removed and made again. A failed listing no longer reports every file removed and re-added, and the@file picker keeps its paths through one (#3270) (by gold-silver-copper) - (rig-harness-protocol) [breaking] every process the launcher starts is built by the new
launchmodule (Launch,Carry,Agent,Purpose,AbsPath,LaunchError).rig update'scargo installandrig build, cargo,sttyand the describing build no longer inherit exported secrets or the launcher'sRIG_*variables. After/update, or a reload once therigfile was replaced, the new launcher's agent is told it reloaded, not resumed, and keeps the secrets typed at the prompt. The launcher's warnings show once underrig acp, in the first session it opens (#3271, #3265) (by gold-silver-copper) - (rig-core) [breaking]
message::Document, the document content block in a user message, is renamedmessage::DocumentContent, so it no longer shares a name with the RAGcompletion::Document. Fields and theUserContent::Documentvariant are unchanged (#3242) (by gold-silver-copper) - (rig-core, rig-memory, rig-tools, rig-agent, rig-harness, rig-basics, rig-tui, rig-http, rig-ecs, rig) [breaking] unused public items are removed. rig-memory: the
migrationmodule,TokenBudget's counter type parameter (TokenBudget::new(max_tokens)),HeuristicTokenCounter::newand::anthropic, theArc/Box/&dynTokenCounterimpls,store_images,load_imagesandrewrite_value. rig-tools: the file tools (Read,Write,Edit,Search,List,Delete) hold oneworkspace::Rootinstead ofworkspace,baseandconfinefields, andfs::resolveandfs::placeare removed. rig-core:json_utils::string_or_vecandjson_utils::merge_inplace, azure'sGPT_4_TURBOandGPT_4_32K_0613aliases, and the streaming conformance suite'sxfaillist andScenarioReport. rig-agent:test_utils::HookTestHarness,HookContext::set_streamingandset_agent_name, andAgentRunner::without_memory. rig-harness:edit_stoppedandPLUGIN_GUIDE. rig-ecs:restore::check_saved. rig-basics:activity::MessageFeed,FedMessage,FEED_LENandFEED_CHARS. rig-tui: the message decoration render path (DecoratedMessage,MessageRender,RenderInput::Message,RenderKey::Message,RenderBatch::messages_mut,TranscriptItem::MessageDecoration),MessageViewandRole. rig: the second pathrig::agent::tool(userig::tool). rig-http:WasmCompatSendStream(BoxedStreamis aWasmBoxedStream). rig-vectorize:ApiResponse::messagesandApiMessage.rig_harness_protocol::without_secrets(&mut Command)is new (#3202) (by gold-silver-copper) - (rig-lancedb, rig-postgres, rig-mongodb) [breaking] rig-lancedb's
top_nandtop_n_idsreturnMissingIdErrorfor a row whose id is missing or neither text nor a number, instead of inventing one, and a number id reads as its decimal text. rig-postgres'stop_nreturns the deserialization error for a row it cannot read, where it dropped the row. In rig-mongodb, a filter value BSON cannot represent isFilterError::Serialization, where it becamenull(#3202) (by gold-silver-copper) - (deps) bump qdrant-client from 1.17.0 to 1.20.0 (#2828) (by dependabot[bot])
- (deps) bump mongodb from 3.7.0 to 3.9.1, which carries the driver's security fixes for CVE-2026-81526 and CVE-2026-88024 (#2830) (by dependabot[bot])
- (deps) the agent is built on Bevy 0.20.1 (
BEVY_VERSION, was 0.20.0), so a plugin that pins=0.20.0no longer resolves: write"0.20". rmcp is raised to 3.9 and surrealdb to 3.3.5 (#3089) (by gold-silver-copper) - (rig-harness, rig-mcp-client, rig-basics) [breaking] rig finds one project root (the nearest directory holding
.gitor.rig, below your home) and reads.rig/mcp.json,AGENTS.md, skills and per-project plugin data from it, wherever inside the project it starts. The newProjectresource holds it;ProjectRootstays the working directory. A project server's relativecwdresolves from the project root.agents_md::instruction_filesandskills::rootstake theProjectfirst (#3000) (by gold-silver-copper) - (rig-basics, rig-core, rig-tools, rig-ecs) [breaking] redaction is one optional plugin,
rig_basics::redact::RedactPlugin, listed disabled: rig redacts nothing unless it is enabled (rig plugin enable rig_basics::redact::RedactPlugin). Enabled, each distinct secret becomes a placeholder,‹SECRET_n›, in what the model, the logs and every front see (it was[REDACTED]), and a tool call naming a placeholder runs with the real value.rig_core::redactgainsStreamedandtext_withand losestool_resultandjson_text;jsonreturns whether it changed anything. New:rig_tools::LineFilter,Shell::filter,rig_ecs::tools::ResultFilter(#2990) (by gold-silver-copper)