Repository navigation
v0.124.2 #1867
v0.124.2
#1867
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.2 lets a workflow ask its route for a service tier.
run.access.service_tiertakesstandardorfaston the codex seat over ACP (via: codex,protocol: acp): the session selectsthe tier with the model and the effort and reads the selection back before its first prompt. When
the session cannot confirm the tier, the call is refused before the prompt (
NIKA-1805), and aroute that cannot carry a tier is refused before task 1 (
NIKA-1800). The receipt keeps what wasrequested, offered, sent and read back, and says
unknownfor the tier a turn carried and the tierthat served it, because no ACP answer names them. Omitting the key changes nothing: no option is
sent, and the file keeps its resume identity and its receipt. An ACP task also starts its adapter
once instead of twice. Measured on one codex seat with codex-acp 1.13.1 on 2026-11-10: the single
start saves about 1.6 s per task; an answer of about 400 words took 12.5 s and 13.1 s on the route's
default tier and 9.3 s and 9.1 s with
fast; one image from the agent's image tool took 15.8 s to20.7 s on the default tier (3 runs) and 14.8 s to 15.7 s with
fast(3 of 4 runs; the fourth endedwithout an image). These are observations of one seat, not a promise of the tier. A refused seat and
a refused route declaration no longer suggest a pin the same file refuses,
nika check --infer-permitsnames the host anexec:URL reaches, and the embedded language pack followsnika-spec
b4c692f. The SDK protocol is unchanged; an engine that reads the key listsaccessServiceTierinsupportedCapabilities.Added
run.accessgainsservice_tier, with the two wordsstandardandfast(spec 01§run). On the codex seat over ACP (
via: codex,protocol: acp) thesession selects the model, the effort, the tier and the confinement
mode in that order, then reads the whole selection back before its
first prompt;
fastis sent as codex-acp'sfast-mode: onandstandardasoff. The binding is held for codex-acp 1.13.1 only:another release of the adapter, an adapter with no measured speed
control, a model whose session lists no such option, or a read-back
that does not hold the value refuses before the prompt (
NIKA-1805).A tier no route can carry is refused before task 1 by
nika checkandby the run (
NIKA-1800): an API or local route, a seat without ameasured control, and an
infer:task outsideprotocol: acp. Theaccess_selectionreceipt gains aservice_tierblock only when thefile declares a tier:
requested,option,offered,transmitted,configuredandconfigured_source, plusturnandeffective,which read
unknownbecause no ACP answer names the tier a turncarried or the tier that served it. Omitting the key is not
standard: nothing is sent, the route keeps its own tier, and thefile keeps its resume identity and its receipt. A resumed run whose
tier changed re-runs its
infer:andagent:tasks. A child workflowresolves its own declaration and never inherits its parent's tier.
nika --sdk-identityand a resident's/healthlistaccessServiceTierinsupportedCapabilities: an engine without thetoken refuses the key at parse, so a client requires it before it
admits a file that declares a tier. On
nika servethe tier is a fieldof the file, never of the request, and the per-call receipt stays in
the sealed journal. An editor served by an older
nika lsprefuses thenew key and loses hover and navigation on the file until it is updated.
Changed
identity is its
initializeanswer (codex-acp, claude-agent-acp,opencode, copilot), every
agent:task and everyinfer:task over ACPused to start the adapter twice: once to ask
initializeand stop it,once for the session. The session's own first answer is now the one
judged, before
session/new. A hosted codex seat saves one adapterstart per task, measured at about 1.6 s. The refusals are unchanged: an
adapter that does not answer
initializewithin 30 s, exits beforeanswering, answers as another program or sits outside its version pin
is unavailable (
NIKA-1803) and is not retried.nika doctorand theaccess rows still probe on their own.
b4c692f.SPEC_PINand
crates/nika-pack/packadvance together from5cd95cd, the commit0.124.0 and 0.124.1 embed. The schema
nika spec --schemaprints, andthe one
nika checkvalidates against, gainsrun.access.service_tier(standard·fast); spec 01 §run states itsrules and the coverage matrix lists its fixtures. The three status
amendments that name 0.124.0 and 0.124.1 as released ride along
(
QUICKSTART.md, spec 00 and 07).canon.yaml, the examples, thetemplates and the stdlib pages are unchanged.
Fixed
nika check --infer-permitsnames the host anexec:URL reaches.For
exec: { command: ["curl", "https://example.com/"] }it printedexec: ["curl"]alone, andnika checkthen refused that very blockwith
NIKA-SEC-004(exec URL host example.com is outside permits.net.http). A literal orconst:-backed URL in an argv, or in ashell line, now adds its host to
permits.net.http, read from the sametokens the check judges. When an HTTP client (
curl,wget,xh,http,https) gets only a computed argument, or a template decides aURL's host, the block gains a review note naming the task and the
inferred net face is marked partial, instead of a block that checks
green and is refused at run.
nika checkalso stops asking for"${{inputs.host}}"inpermits.net.httpwhen a template writtenwithout spaces fills an exec URL's host: that host is computed, and the
run judges it.
seat fails at the call, the
access_refusedrecord ontask_failednames the next ready path and the flag that pins it. Under a declared
run.access.via, that next path could be a route the declarationitself excludes: a machine with a ready
openaikey answered a refusedvia: codexcall with"pin": "--access openai", a flag the same filerefuses before task 1. The record now names a next path only when the
declaration allows it, and names none otherwise.
When a run is refused before task 1 (
NIKA-1800) and this machine hasa signed-in seat,
nika runadds "or use a seat present on thismachine:
--access <seat>". It also did so when the refusal was aboutthe file's own
run.accessdeclaration, for example aservice_tierits route cannot carry. Under a declared route, another seat is refused
by that declaration and the same seat changes nothing. The line is now
printed only when the refusal is about what the machine lacks, such as
a missing credential.
Install
Tarballs below: macOS arm64 / x64 · Linux x64 / arm64, plus
SHA256SUMS.Verify: three independent proofs
Provenance
Built from tag
v0.124.2byrelease.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.124.1...v0.124.2
This discussion was created from the release v0.124.2.
All reactions