Repository navigation
v0.124.0 #1853
v0.124.0
#1853
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
What
Nika 0.124.0 opens the 0.124 release line with media capabilities that workflows need, so a
contact sheet or a narration no longer needs
exec magick montageorexec /usr/bin/say:nika:image_compose, the 30th builtin, lays 1 to 64 PNG images out as one grid, row or column,and
nika:tts_generatespeaks with no key, offline, throughprovider: system. Anagent:taskon a Codex seat hands the images it generates to the next task as values (
images:, saved insidepermits.fs.writefrom the bytes its own session received). Over ACP(
run.access.protocol: acp), aninfer:task on a Codex or Claude Code seat carries aschema:and its
vision:files, andnika checkblocks what the seat cannot carry instead of passingwhat the run refuses; on a direct seat route, without that protocol, the run still sends no
vision:,temperature,max_tokensorthinking, andnika checkdoes not say so.nika doctorandnika welcomename thenikathat is running and every other copy onPATH,and the first parse refusals a newcomer meets teach the shape they refused and point at the line.
Some workflows that 0.123.2 checked clean or ran unattended are now refused or paused.
NIKA-SEC-009follows untrusted content through a child workflow call and through a file abuiltin reads; a blocking
nika:promptthat dominates the path still clears it, but a gateinside the child does not count for its caller: put the gate in front of the call.
NIKA-SEC-014holds a confirm gate in front of a child workflow that acts: a bareafter: { ask: success }edge still runs the child on « no », so bind the answer on the call(
with: { go: "${{ tasks.ask.output }}" }andwhen: ${{ with.go == true }}), as an inlineeffect already needs. On the
openaiprovider,nika checkrefuses atemperature:ongpt-5,gpt-5-mini,gpt-5-nanoand the o-series, which accept only the default: drop itthere. On a Codex seat, a command that asks to leave its sandbox always pauses for you, under
permits.exec: truetoo, and a turn Codex reports as failed fails its task instead ofsucceeding with the error as its output; what Codex does without asking, such as opening pages
with its hosted web tool or calling MCP tools marked read-only, is stated by
nika check, notbounded by
permits:. On a seat, one--answernow decides one ask per task: an attempt thatretry:replays pauses on its ask instead of reusing the answer.A
vision:file is now a read insidepermits.fs.read, a breaking change. 0.123.2 sent any filean
infer:task named to the model provider, under anypermits:or none, and read a relativepath from the process directory. The run now reads each file under the workflow's own boundary,
on its resolved path, before any provider call, and fails
NIKA-SEC-004outside it.nika checkrefuses an ungranted literal path (
NIKA-AUTH-006with nopermits:block,NIKA-SEC-004outside a declared one), and refuses a computed path, or a computed
images: { save: }, under aboundary that grants no path at all (no block,
permits: {}, an emptyfs.readorfs.write).Grant each file in
permits.fs.read:nika check --infer-permitsprints the block for a literalpath, but for a computed one only a note and a partial
fs, so the grant must cover every filethe run may name, for example
fs: { read: ["./in/**"] }. Asource: urlentry needs no grant,a secret in a vision entry now needs
egress: [{ to: "infer" }]like one in a prompt, andNIKA-SEC-009follows untrusted content that picks a vision file, as for anika:readpath.A run under a cost cap now bills paid media at dated public prices and refuses what it cannot
price, a breaking change for capped runs, scheduled beats included: a beat always runs under
its
plafond:, and a projectceiling:caps a plainnika run. Under a cap,nika:image_generateon OpenAIgpt-image-2or one of the five Gemini image models the catalogprices, and
nika:tts_generateon OpenAItts-1ortts-1-hdor a priced ElevenLabs model, arefloored at launch and billed against the cap; OpenAI's
gpt-image-2.5-sunburstandgpt-image-2.5-flarepublish token rates only, so they are billed from the usage they report andrefused at launch only under a zero cap. 0.123.2 ran these OpenAI, Gemini and ElevenLabs calls
with no bound (xAI images were already floored and metered).
nika checkshows each paid mediacall's floor, rate and price date, or says it is
METERED,UNPRICEDorDECIDED AT RUN. Apaid call the catalog cannot price is refused before any request, with
NIKA-1709at launch, orwith
NIKA-1704when only the run decides its provider or model or anagent:makes it throughits tools: OpenAI's default voice
gpt-4o-mini-tts,gpt-image-1.5andgpt-image-1-mini(which OpenAI shuts down on 2026-12-01), and any model id the catalog does not list.
nika armshows a beat on one of them UNREADY. For speech, set
model: tts-1ortts-1-hd(OpenAI shutsall three of its speech models down on 2027-01-06), use a priced
elevenlabsmodel, the keylessprovider: systemvoice, which bills no provider and runs under any cap as unpriced local work,or
local/mock; for images, usegpt-image-2(the default) or a 2.5 model. A paid call thecatalog cannot price runs only with no cap, and the settlement then counts it unpriced.
The file format and its nine top-level keys are unchanged and the SDK machine protocol stays 2;
the language gains
nika:image_compose,provider: systemand theimages:field ofagent:.0.124 is the current release line. Work stays focused on maintenance, security and the media
capabilities workflows need; native video is planned for 0.125. Known limits are listed in plain
words, each with a way around it:
Known limits in 0.124. In short: 0.124.0 makes no
video;
nika:image_composereads PNG only; the system voice needs macOSsayor Linuxespeak-ng; only a Codex seat delivers images toimages:; a seat carries notemperature,max_tokensortools:whitelist; the VS Code extension stays at 0.120.Added
nika doctorandnika welcomename whichnikais running. Ashadowed install used to read healthy: no path, no installer, no other
copy. Doctor now prints the running binary's resolved path, version,
commit and installer (read from the path:
install.sh,homebrew,npm-global,npm-payload,cargo,nix,release-dir,source-build, elseunknown), says what typingnikaruns, warnswhen that is another build, and lists every other
nikaon PATH withthe version it reports. Each copy is asked
--versionunder atwo-second deadline: one that hangs is reported as unknown, one that
fails warns, neither is fatal. A relative or literal-
~PATH entry isnever executed, and a copy that is asked runs from
/with nocredential in its environment and no relative PATH entry; its whole
process group is killed after the answer. A removal is suggested only
for a known install layout.
--jsonaddsrunning,others[]andothers_truncated;nika welcomesays the same in one line underthis binaryand carries the same keys.agent:task on a seat can declareimages:(spec 02 §Harness images):.outputbecomes{ message, images }, each image withits
index,path,sha256,size_bytes,mime_type,widthandheight, andimages: { save: <path> }has Nika write the received bytes throughnika:write, insidepermits.fs.write: every path the save can take (image n at-n, up to four) is judgedbefore any file is written, and a save rides the same-path law (
NIKA-SEC-012) like anika:write.checktypes.outputas{ message, images }, so.output.images[0].pathand.output.message.<key>resolve and a schema key read at thetop is refused. Only the bytes sent on the task's own session count: the path an
application reports (Codex's
~/.codex/generated_images, which every session shares) isnever opened, so a workflow no longer asks Codex to copy its image and cannot pick up another
session's. A save with no image received fails the new
NIKA-AGENT-007. The image'sagent_image_observedframe records thesaved_path, andnika servelists the file amongthe run's artifacts with the received digest. On an API or local model,
checkand the runrefuse
images:.nika:image_composeassembles several PNG images into one. The 30thbuiltin (stdlib §Media graduate chore(deps): Bump the rust-minor-patch group in /tools/nika with 9 updates #5) lays an ordered list of 1 to 64 inputs
out as a
grid(columns and rows derived from the count when absent), arowor acolumn; each image keeps its own size, is scaled to fit itscell with the aspect kept (
fit), or is scaled and center-cropped to fillit (
fill), withgap,paddingand abackgroundcolour. Likenika:image_fxit is pure, zero-dependency pixel work: the same inputbytes and args give the same PNG bytes, the
image_compose/v1recipe ridesthe tEXt chunk, and the output carries path, sha256, width and height,
never bytes. Every input is an
fs.readthatnika checkjudges, infersand counts as a use, and
out:anfs.write; caps on each input's side,the summed input pixels, each scaled
fit/fillbox and the canvas failNIKA-BUILTIN-IMAGE_COMPOSE-005from the PNG headers before anydecompression (an input count outside 1..=64 is an argument,
-001), aninput with a second IHDR is
-004, and each of the six codes has itsnika explainlesson. Its inputs are file reads theNIKA-SEC-009content flow follows, like
nika:image_fx's. A contact sheet no longer needsexec magick montage.nika:tts_generatespeaks with no key throughprovider: system. Thehost's own synthesizer, offline: macOS
/usr/bin/say, or Linuxespeak-ngfound in an absolute directory of the engine'sPATH. Theengine starts it itself as part of the builtin, with the text on standard
input, so the workflow needs no
permits.exec. The text is spoken astext: every
[[thatsayreads as an embedded command ([[volm 0]]would mute the file) or
espeak-ngas phonemes is broken by a space, andthe audio is capped at 64 MiB. The WAV still lands under
output_dir:through
permits.fs.write.nika checknames the program in its plan andrefuses a literal
model:other thansay/espeak-ngor a voice that isnot a host voice name, as the run does. Every start is journaled as a
permit_checkedframe on thebuiltinplane, and the cost is reported asunpriced local work (
cost_usd: null·cost_unpriced: local_modelonthe output and the task's frame), never as priced or free; only this
builtin can label the run's cost that way. A named voice must be installed
(
saywould otherwise read with its default voice), and a host with nosynthesizer refuses
NIKA-BUILTIN-TTS_GENERATE-002naming what ismissing, with no fallback to another provider. A narration no longer needs
exec /usr/bin/say.Changed
plafond:, and a plainnika runin a project withceiling:runs under that cap. Under a cap,nika:image_generateon OpenAIgpt-image-2(the default) or Gemini (gemini-3.1-flash-image, the default,gemini-3-pro-image,gemini-2.5-flash-image,gemini-3.1-flash-lite-image,gemini-nano-banana-2.1) andnika:tts_generateon OpenAItts-1ortts-1-hdor on ElevenLabs (its models mapped to the price page's families) now run, floored at launch and billed against the cap; OpenAI'sgpt-image-2.5-sunburstandgpt-image-2.5-flarepublish token rates only, so they run billed from the usage they report, refused only under a zero cap. 0.123.2 ran these OpenAI, Gemini and ElevenLabs calls with no bound (xAI images were already floored and metered). A paid call the catalog cannot price is refused before any request (nika armshows the beat UNREADY with NIKA-1709): OpenAI's default voicegpt-4o-mini-tts(no per-call price is published and its speech response reports no usage),gpt-image-1.5andgpt-image-1-mini(shut down by OpenAI on 2026-12-01), and any model id the catalog does not list; the refusal names every model the catalog prices. A beat on the default OpenAI voice is therefore UNREADY: setmodel: tts-1ortts-1-hd(OpenAI shuts every speech model down on 2027-01-06), use a pricedelevenlabsmodel, the keylessprovider: systemvoice (it bills no provider and settles as unpriced local work), orlocal/mock. Only a run with no cap at all makes a paid call the catalog cannot price.@supernovae-st/nika0.123.2 closes.published_sdk.jsonis re-read from that package'sdist. Every closed set of 0.123.1 isunchanged, and one is new: an artifact manifest's
verdictmust besealedoranchored,the two values
GET /v1/jobs/{id}/artifactsserves. The manifest and its entries are readopen otherwise, so a later key rides through.
5cd95cd.SPEC_PINand
crates/nika-pack/packadvance together fromc5dcd97, the commit0.123.2 embeds. nika-spec#397 (
aac8de5) adds the contract ofnika:image_composeand the keylesssystemvoice:canon.yamlcounts 30builtins, the schema's builtin enum and the stdlib gain
nika:image_compose, its caps list each input side, the summed pixels,each scaled box and the canvas, the
systemvoice speaks its text as textwith its audio capped at 64 MiB, and the
image-compose-sheetexamplejoins the pack. nika-spec#399 (
ebc6448) makes the images an agentapplication delivers on a seat a value of the
agent:task: the schemagains
images: { save: }, chapter 02 its §Harness images, chapter 17 thesaved_pathof a saved image and the error registryNIKA-AGENT-007(112codes), and a seat's
infer:meets a JSON or JSON Schema need when theengine validates its answer. nika-spec#400 (
479b0bc) makes aninfer:vision:file a read underpermits.fs.read(NIKA-AUTH-006under anabsent block,
NIKA-SEC-004outside a declared one, and a refusal atcheck, whatever the path's form, under a boundary that admits no read; a
source: urlentry needs no grant), makes everyvision:entry aprovider-egress sink of its task (
NIKA-SEC-006,NIKA-SEC-009), andbounds an
images: { save: }to four files and names it, with its-2to-4siblings, in the same-path law (NIKA-SEC-012). nika-spec#401(
5cd95cd) lets thecost_usdofnika:image_generateandnika:tts_generatecome from the engine's dated price catalog, marked bycost_basiswith the rates' date incost_as_of, and keeps itnullwhen neither the provider's report nor the catalog yields a figure.
Fixed
nika checkaccepts the$keyvariablesnika:jqbinds from itsinput. At run, every key of an object
input:is a jq variable, soinput: { rows: [...], batch: B1 }with$rows | map(. + {batch: $batch})works, but the check refused it with NIKA-VAR-005 « undefined filter or
variable
$rows» and the documented form could never run. The check nowbinds the same names; a templated
input:leaves an undefined$nametothe run, and any other undefined name still refuses.
refused. A scalar
infer:,invoke:oragent:body (infer: "say hi",invoke: nika:jq) now reflects it into its mapping (infer: { prompt: "say hi" },invoke: { tool: nika:jq, args: { … } }, orinvoke: { workflow: ./child.nika }for a child workflow); a bare builtinname is taught under its prefix (
invoke: fetch→tool: nika:fetch). Anuntyped
inputs:entry names the typed form it meant (topic: { type: string, default: "x" },tags: { type: { array: string }, default: [...] }for a list) and the ten primitives. A builtin written as a task key
(
fetch:ornika:fetch:) says it is called throughinvoke: { tool: nika:fetch, args: { url: … } }. The codes are unchanged (NIKA-PARSE-019,NIKA-PARSE-005).NIKA-PARSE-001) names its site and its usualcause.
prompt: Note: this has a colon: hereandinfer: {prompt: ${{ inputs.t }}}printed one raw sentence with no line frame, and the--jsonfinding had no span. The refusal now carries the position the YAML scanner
stopped at (where the content ends, when the scanner ran out of input), so
nika checkprints the-->frame with its caret and the--jsonparsefinding carries
span: {start, end}like a CONFORM finding (everyspan-bearing parse refusal does). A colon inside a plain value is told to
quote the value or use a block scalar, or to nest a key that meant to be
one; an unquoted
${{ … }}inside a flow mapping is told to quote theexpression; a flow mapping or list the file never closed is told so.
{{ name }}that names a declared input or awith:key drawsthe
[silent-literal]hint.{{ inputs.name }}was already named asliteral text, but
content: "Hello {{ name }}"passednika checkinsilence and the run wrote the braces. The hint now names the reference it
meant:
${{ with.name }}for awith:key of that task, otherwise${{ inputs.name }}. A bare word that names neither stays silent, andso does a dashed name, whose dotted reference would not parse.
nika welcomeno longer calls an API key « ready now ». The key rungread
OPENAI_API_KEY is set · ready now · billed per run, but nothing onthat path checks the key, and a revoked one answered 401 on the first
paid call. The rung now says the variable is set and is not checked until
the first call;
welcome --jsoncarries the same reason.it.
prompt:,max_tokens:andsystem:written straight on a task nowpoint to
infer:;http:,url:,method:andrequest:toinvoke:with
tool: nika:fetch;command:,shell:andscript:toexec:and
permits.exec;tool:andargs:toinvoke:. The field list stillfollows, so
check --fixand the editor repairs read it as before.nika explain NIKA-PARSE-005now teaches that list and those mappings instead ofsending the author to
nika spec --schema.nika servesays so when the project arms nothing. In a project whosenika.yamlcarries noarm:entry,serve --onceexited 0 in silence,serve --drynever returned and a bareservewaited without a word.--onceand--drynow print the sentencenika armprints, plus the--bindcommand and the token recipe for running workflows over HTTP,and exit 0. The resident prints the same lines once on stderr and keeps
watching
nika.yaml, so arming it later still takes effect. The tokenrecipe, here, in the
--bindrefusal and innika doctor, now creates.nika/before it writes the token, so it works in a project fresh fromnika init.nika checkjudges a declared route over this machine's access rows.A file that declares
run.access(avia:or aprotocol:) and has noinfer:oragent:task was judged over no rows, so ACCESS said the binarywas built without agentic CLI adapters and
run readywas refused, whilenika runresolved the same route and finished. Check now also probes fora declared route, as the run does, beside a task that dials a model and an
--accesspin.nika checkno longer calls the members of a folded group dead spend.A task that declares
group: <name>is read by every${{ group.<name> }}fold, but the
[dead-spend]hint only countedtasks.<id>.outputreferences and told the author to remove each member. The hint now reads
group membership with the same law the DAG uses to fold.
bound counted path-only reports, so one delivered image beside four
reported paths was refused; and the agent verb wrote a fifth image from a
lent backend at a
-5path no check judged. The bound now counts imageswhose bytes arrived, and the writer refuses a fifth before any write.
failed turn (a 400
model_not_found, a retry limit exhausted on 429) as answer text andend_turn, so anagent:orinfer:task on the Codex seat succeeded with the error as itsoutput. Nika now advertises the
sessionFailureextension, which codex-acp andclaude-agent-acp implement, and the failure the adapter then reports fails the task with its
own error: transient (
NIKA-1804) when the adapter offers a retry, an expired sign-in when itasks you to sign in again, a refusal (
NIKA-1805) otherwise.nika explainnow describesboth codes for such a failed turn. An adapter without that extension still returns its error
as text.
[jq-as-map]no longer fires on a binding whose scope has ended.map(. as $r | {n: ($r.a | length)})binds each element, so the map thatencloses the binding maps what it was written to map, and so does a later
map of its output (
map(. as $r | …) | map(.n)); the run's result wasright. The hint only checked that a
. as $namebinding and a baremap(both appeared; it now counts a bare
map(only inside a dot binding'sscope, which ends at the bracket that closes the construct the binding sits
in, so
. as $c | map(.n)still draws it.scanandINin jq expressions give jq's results.scanwith aregex that has capture groups returned each whole match where jq returns
the captures (
"abab" | [scan("(a)(b)")]gave["ab","ab"]instead of[["a","b"],["a","b"]]), andIN(...)was an undefined filter.IN/1,IN/2andscanover a match where every group takes part now followjq 1.7 in
nika:jq, output bindings,nika checkand the compileverifier, which load the same definitions. A group that takes no part in
a match (
a(b)?ona, one side of(a)|(b)) still differs: jq yieldsnullfor it, while this engine leaves it out, and yields the whole matchwhen no group took part.
--max-cost-usdand the run settlement now see paid media spend.nika:image_generateandnika:tts_generateon OpenAI, Gemini and ElevenLabs billed their provider and reported nocost_usd, so a capped run never charged them and the settlement left them out (a run whose only spend was such a call settledunmetered). The engine now carries a hand-sourced media price table apart from the models.dev snapshot: each row names its provider, model, unit (per image by size class and quality, per million characters, or per million tokens of text input, image input, image output and text and thinking output), USD rate, official source page and the date it was read (2026-10-27). The builtins bill every priced call from it, each response on its own: at the token rates times the usage it reported, at the per-image price times its images when an image response reports no usage (the dearest row over what the request leaves open, such asquality: auto), or at the per-character rate times the characters sent, and say how on the output and the manifest (cost_basis, with the rates' date incost_as_of); xAI images keep the spend xAI reports (provider_reported). A paid call that fails after its provider billed keeps that spend: a Geminin:batch whose later request fails keeps the bill of the images already rendered, a render that fails after its answer keeps its bill, and a request that broke after it left is counted unpriced. The run ledger debits all of it as it debits a model's, per attempt, so a retry is judged against what is left. Under a cap every paid media call is judged on its rendered arguments before its request, a${{in a rendered text being text the provider bills: a provider, model,quality:,size:,n:ortext:only the run decides refuses NIKA-1704 when the catalog cannot price the call or its floor exceeds what the cap leaves. An admitted call holds its floor until it returns, so the items of a cappedfor_eachfan-out, parallel or not, cannot launch past the cap together; a call dropped in flight (afail_fastsibling, atimeout:) is counted unpriced and its floor stays consumed; once a paid call billed without a figure, a call billed only from its usage is refused under the cap. Anagent:loop judges its media tool calls the same way against what its task's remainder leaves after the loop's own model turns, its returned tools and the floors its concurrent calls hold, so a model batching image calls cannot spend one remainder twice; concurrent agent tasks each judge against their own snapshot, as text siblings in flight do. A paid call the catalog cannot price runs only with no cap and is counted inspend.unpriced_calls, so the settlement readsunpricedorpartially_priced; a child workflow's unpriced calls reach its parent's settlement, and a grandchild's unpriced media is refused at the root's launch. The run's prologue records the table (media_pricing, besidepricingandadmission_pricing), andnika trace verifyrefuses the cost replay of a journal that pinned other media rates.nika checknames each paid media call on its COST rung with its floor, the rate and unit that set it and the table's date (METERED for a call billed from its usage or, for speech, per character of the text the run renders; UNPRICED; or DECIDED AT RUN), including a composed child's and the paid media an agent's tools can reach, and listsunpriced_media_cap,priced_image_over_capandpriced_speech_over_capinfailure_plan.nika checkrefuses atemperature:onopenai/gpt-5,gpt-5-mini,gpt-5-nanoand the o-series. These models accept only the defaulttemperature, and OpenAI answers any other value with HTTP 400 at run
(« Only the default (1) value is supported »), while check showed
capacity fit ✔. The catalog now records that GPT-5, GPT-5 mini andGPT-5 nano (and their 2025-08-07 snapshots) take no temperature, as it
already did for the o-series, and the fixed-sampling finding covers
OpenAI's own API beside Anthropic's for the models the catalog lists. A
Session label call on these models, a dated snapshot included, no longer
sends a temperature. The finding does not yet name a dated snapshot id
(
gpt-5-mini-2025-08-07), which the catalog's model list does not carry.OpenRouter and other compatible routes, which drop the control, and the
later dot variants (
gpt-5.1onward) are unchanged.nika:image_fxrefused an input over 16384 pixels on a side asNIKA-BUILTIN-IMAGE_FX-004(corrupt, re-produce it); the stdlib files thatinput cap under
-005, which it now returns. The PNG decoder behindimage_fxandimage_composenow refuses an IHDR that is not the firstchunk, or a second IHDR, so the size a pixel budget judged from the header
is always the size decoded.
checkand the run agree on what a Codex or Claude Code seat can carry.checksaidrun readyforschema:andvision:on a seat while the run refused them. Aninfer:task over ACP now carries a
schema:: the prompt carries the schema and Nika validates theanswer, and each repair is a new one-turn session that receives the earlier answer and the
errors (
NIKA-INFER-002after the budget). Itsvision:files ride as ACP image blocks whenthe application declares image prompts at
initializeand the file carries an imagesignature. An
agent:task'sschema:is validated on the seat's final message, with norepair turn. What a seat still cannot carry (
temperature,max_tokens, an enabledthinkingbudget, avision:URL oninfer:, atools:whitelist onagent:) is acheckblocker, and
checkno longer suggestsmax_tokensormax_tokens_totalon a seated task.--varrefusal names its code in the--jsonenvelope. An unknowninput, a value its declared type refuses and a malformed pair reached
nika run --jsoncallers as{"error":{"code":null,…}}, while the--inputs-jsonchannel and the server sayunknown_inputandinput_type_mismatch. The envelope now carriesunknown_input,input_type_mismatch,malformed,env_unset,env_undeclared_in_ciorenv_name_missing; the sentence on stderr and exit 3 are unchanged.nika:tts_generateread astreamed WAV header's placeholder
datasize (0xFFFFFFFF) verbatim, soan OpenAI narration reported
duration_ms: 89478485(24.8 hours). Thesize is now clamped to the bytes actually present, which also gives
espeak-ng --stdoutaudio its true length.Security
NIKA-SEC-014holds a confirm gate in front of a child workflow call. The consent check only looked at egress tasks written in the workflow itself, so a gate that the trifecta credited in front of aninvoke: workflow:call was never checked to stop the child's effect on a « no » answer.nika checkandnika runnow judge a call as the egress-capable task its child (or a workflow below it) reaches, whatever content reaches that task: every route from a confirm gate to the call must close on a refusal, as for the inline form, and the finding names the call. A confirm gate inside the child owns the effect behind it, as inline. When only a child gate the check cannot decide from the caller stands before the effect (awhen:on an input the caller may bind to its answer), the call gets the advisory hint instead of the refusal. A child the check cannot resolve counts as acting.check --jsonnames the child task undercomposed_calls[].effect, witheffect_conditionalfor the advisory case.read-only, Codex runsordinary commands in its sandbox without asking, so every command it asks about asks to run
with no sandbox at all (
require_escalated). Its ask carries the command as a string and thereason in
_meta.permission.description, which Nika read asexecute · <prose>: underpermits: { exec: true }it was allowed, and Codex fetched a site outside its sandbox. It nowpauses for you on the exec plane (
sandbox · command) whateverpermits.execgrants, with thecommand and the reason in the question and in the witness. Every pause question now names the
command and the reason an ask carries unless its title shows it, on one line a harness cannot
steer: control characters become spaces and invisible ones (direction overrides, zero-width
characters) are removed, so a Claude Code title, which is the model's own command, can no
longer erase itself on your terminal. A long command keeps its end in view (its beginning and
end around the bytes left out and their SHA-256; whole up to 16 KiB in the witness), and a
sandbox widening's witness names the command it is for. One
--answernow decides one ask forthe task: an attempt that
retry:replays never reuses it, where a typed 429 failure couldotherwise replay the session and approve a different command with the same answer.
nika check,nika explain harnessand docs/usage/harness-agents.md now also state what Codexdoes without asking: it calls its MCP tools marked
readOnlyHint, opens pages with its hostedweb tool, writes its own
~/.codex, starts every configured MCP server and applies your global~/.codex/AGENTS.mdand plugins.NIKA-SEC-009now judges a child workflow through the call that runs it. A parent thatread a private file and sent data out passed
nika checkand ran when part of the flow satin a child reached through
invoke: workflow:, while the same tasks written inline wererefused.
nika checkandnika runnow judge each call as the tasks it stands for, throughevery workflow below it. The call is a source of untrusted content when content the child
brings in (a
nika:fetch, anexec:, anmcp:tool, anagent:whose tools admit one)reaches its outputs or a file it writes. It is an egress task when untrusted content reaches
an egress task inside it: content the child brings in, the call's arguments, or a file
written before the call that a child
exec:reads. The parent is refused unless a blockingnika:promptof its own dominates the path, as for the inline form; a gate inside thechild is not credited to the caller. The finding names the child task behind the call. A
child the check cannot read, parse or resolve counts as all of these (fail-closed).
check --jsonlists every direct call undercomposed_calls, resolved or not, and theruntime's report check re-derives the trifecta over the same calls.
NIKA-DRIFT-001nolonger tells you to remove a grant a child needs (its program, its tools, the files and
hosts its own
permits:lets its subprocess reach); removing it failedNIKA-COMP-002orthe child's run. A check of the source alone (an editor, the MCP
nika_checktool) readsno child: its trifecta judges the parent's own tasks only, and its
NIKA-DRIFT-001makesno
permits:claim on a file that calls a child.NIKA-SEC-009follows untrusted content through a file a builtin reads. A gate could clear the task that saved untrusted content to a file, and anika:readof that file then fed an ungated egress: the trifecta counted only an earlierexec:as a reader of such files, sonika checkpassed the workflow. A builtin read (nika:read,nika:grep(its default root.included),nika:glob,nika:edit, anika:decidebundle, the filesnika:image_fx,nika:chartandnika:image_generateread, anika:fetchmultipart upload) of a path the write may have reached now carries the content on, inline and inside a child workflow, and, when the write's path is literal, whatever the order: a read in the writer's own wave, or before it in the run (the next run reads the file), counts too. Paths compare lexically: folded, case-blind, a segment past ASCII may be any segment,/private/tmpis/tmp, and a templated path may be any file. A read whose path cannot reach the written one stays clean.nika_check::check()withRuntime::runand a child runner could run a fetching child into an ungated egress. A call the report does not list for its task and target now counts as unresolved, and the run refuses withNIKA-1707, naming it.nika run --taskre-checks the kept tasks with their children, so a scoped run of a composed workflow keeps its calls resolved.vision:file is a read insidepermits.fs.read(breaking). Theinfer:verb opened everyvision: [{ source: file }]path itself, onevery route (API and ACP;
nika run, serve, Session, child workflows,nika testand rehearsal rooms), with nopermitscheck: an absent block,a narrower
fs.readgrant, a symlink or a..did not keep the file fromthe model provider, and a relative path was read from the process
directory instead of the run's root. The run now reads each file through
nika:readunder the workflow's own boundary, on its resolved path,before any provider call: outside it the task fails
NIKA-SEC-004(onepermit_checkedfs frame), and a granted file that cannot be read failswith the read's own code (
NIKA-BUILTIN-READ-001when no file is there,-002otherwise) instead of the internalNIKA-432.nika checkjudgesa literal or bare-
constpath (NIKA-AUTH-006with nopermits:block,NIKA-SEC-004outside a declared one), and refuses a computed path, or acomputed
images.save, under a boundary whose side grants no path at all.--infer-permitsprints the grant, the drift scan counts it as used, achild's vision reads join
NIKA-COMP-002, and the check card no longercalls such a body pure compute. The
vision:entries are sink fields ofthe task, on check and run alike: a secret in a vision URL or path is the
inferleak (NIKA-SEC-006unlessegress: [{ to: "infer" }]), anduntrusted content that picks an entry reaches the answer, so the trifecta
(
NIKA-SEC-009) follows it as it follows anika:readpath; the filechannel follows a vision read of a file an untrusted writer left. A
source: urlneeds no grant: the provider fetches it. Migration: granteach vision file in
permits.fs.read(nika check --infer-permitsprintsthe block); embedders hand the verb bytes they read (
VisionPart::Loaded),never a path.
Install
Tarballs below: macOS arm64 / x64 · Linux x64 / arm64, plus
SHA256SUMS.Verify: three independent proofs
Provenance
Built from tag
v0.124.0byrelease.ymlon GitHub-hosted runners. Provenance is published twice: GitHub's native
build attestation (proof 2) and the SLSA generator's
multiple.intoto.jsonlrelease asset (proof 3). The release itself is a claim on the
machine-verified timeline: https://nika.sh/timeline
What's Changed
Full Changelog: v0.123.2...v0.124.0
This discussion was created from the release v0.124.0.
All reactions