Repository navigation
v0.124.2
What
Nika 0.124.2 lets a workflow ask its route for a service tier. run.access.service_tier takes
standard or fast on the codex seat over ACP (via: codex, protocol: acp): the session selects
the 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 a
route that cannot carry a tier is refused before task 1 (NIKA-1800). The receipt keeps what was
requested, offered, sent and read back, and says unknown for the tier a turn carried and the tier
that 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 to
20.7 s on the default tier (3 runs) and 14.8 s to 15.7 s with fast (3 of 4 runs; the fourth ended
without 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-permits names the host an exec: URL reaches, and the embedded language pack follows
nika-spec b4c692f. The SDK protocol is unchanged; an engine that reads the key lists
accessServiceTier in supportedCapabilities.
Added
- A workflow can ask its route for a service tier.
run.accessgains
service_tier, with the two wordsstandardandfast(spec 01
§run). On the codex seat over ACP (via: codex,protocol: acp) the
session 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: onand
standardasoff. 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 bynika checkand
by the run (NIKA-1800): an API or local route, a seat without a
measured control, and aninfer:task outsideprotocol: acp. The
access_selectionreceipt gains aservice_tierblock only when the
file declares a tier:requested,option,offered,transmitted,
configuredandconfigured_source, plusturnandeffective,
which readunknownbecause no ACP answer names the tier a turn
carried or the tier that served it. Omitting the key is not
standard: nothing is sent, the route keeps its own tier, and the
file keeps its resume identity and its receipt. A resumed run whose
tier changed re-runs itsinfer:andagent:tasks. A child workflow
resolves its own declaration and never inherits its parent's tier.
nika --sdk-identityand a resident's/healthlist
accessServiceTierinsupportedCapabilities: an engine without the
token refuses the key at parse, so a client requires it before it
admits a file that declares a tier. Onnika servethe tier is a field
of the file, never of the request, and the per-call receipt stays in
the sealed journal. An editor served by an oldernika lsprefuses the
new key and loses hover and navigation on the file until it is updated.
Changed
- An ACP task starts its adapter once. For an agent application whose
identity is itsinitializeanswer (codex-acp, claude-agent-acp,
opencode, copilot), everyagent:task and everyinfer:task over ACP
used to start the adapter twice: once to askinitializeand stop it,
once for the session. The session's own first answer is now the one
judged, beforesession/new. A hosted codex seat saves one adapter
start per task, measured at about 1.6 s. The refusals are unchanged: an
adapter that does not answerinitializewithin 30 s, exits before
answering, answers as another program or sits outside its version pin
is unavailable (NIKA-1803) and is not retried.nika doctorand the
access rows still probe on their own. - The embedded language pack follows nika-spec
b4c692f.SPEC_PIN
andcrates/nika-pack/packadvance together from5cd95cd, the commit
0.124.0 and 0.124.1 embed. The schemanika spec --schemaprints, and
the onenika checkvalidates against, gains
run.access.service_tier(standard·fast); spec 01 §run states its
rules 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, the
templates and the stdlib pages are unchanged.
Fixed
nika check --infer-permitsnames the host anexec:URL reaches.
Forexec: { command: ["curl", "https://example.com/"] }it printed
exec: ["curl"]alone, andnika checkthen refused that very block
withNIKA-SEC-004(exec URL host example.com is outside permits.net.http). A literal orconst:-backed URL in an argv, or in a
shell line, now adds its host topermits.net.http, read from the same
tokens the check judges. When an HTTP client (curl,wget,xh,
http,https) gets only a computed argument, or a template decides a
URL'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 written
without spaces fills an exec URL's host: that host is computed, and the
run judges it.- A refused seat no longer teaches a flag its own file refuses. When a
seat fails at the call, theaccess_refusedrecord ontask_failed
names the next ready path and the flag that pins it. Under a declared
run.access.via, that next path could be a route the declaration
itself excludes: a machine with a readyopenaikey answered a refused
via: codexcall with"pin": "--access openai", a flag the same file
refuses before task 1. The record now names a next path only when the
declaration allows it, and names none otherwise. - A refused route declaration no longer suggests a pin that cannot help.
When a run is refused before task 1 (NIKA-1800) and this machine has
a signed-in seat,nika runadds "or use a seat present on this
machine:--access <seat>". It also did so when the refusal was about
the file's ownrun.accessdeclaration, for example aservice_tier
its 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
brew install supernovae-st/tap/nika # macOS · Linux
curl -LsSf https://nika.sh/install.sh | sh # script install
docker run --rm ghcr.io/supernovae-st/nika:0.124.2 --versionTarballs below: macOS arm64 / x64 · Linux x64 / arm64, plus SHA256SUMS.
Verify: three independent proofs
# 1 · checksum: the bytes you hold are the bytes CI hashed
sha256sum -c SHA256SUMS --ignore-missing # macOS: shasum -a 256 -c
# 2 · attestation: GitHub-signed build provenance for this exact artifact
gh attestation verify nika-<platform>-0.124.2.tar.gz --repo supernovae-st/nika
# 3 · SLSA provenance: the intoto asset, verifiable offline
slsa-verifier verify-artifact nika-<platform>-0.124.2.tar.gz \
--provenance-path multiple.intoto.jsonl \
--source-uri github.com/supernovae-st/nika --source-tag v0.124.2Provenance
Built from tag v0.124.2 by release.yml
on GitHub-hosted runners. Provenance is published twice: GitHub's native
build attestation (proof 2) and the SLSA generator's multiple.intoto.jsonl
release asset (proof 3). The release itself is a claim on the
machine-verified timeline: https://nika.sh/timeline
What's Changed
- fix(nika-check): infer the net host an exec url reaches by @ThibautMelen in #1861
- docs(workspace): show the lethal trifecta refusal in the readme by @ThibautMelen in #1859
- feat(access): add run.access.service_tier on the codex acp seat by @ThibautMelen in #1865
- chore(release): prepare 0.124.2 by @ThibautMelen in #1866
Full Changelog: v0.124.1...v0.124.2