Repository navigation
Releases
dashboard 0.4.0
A minor, not a patch, and the reason is the schema. This image installs spans v4 and
facts v2; every published image up to and including 0.3.1 installs spans v3 and facts
v1. Two different schemas under one version number is the state this bump exists to end —
0.3.1 had been serving both, because the release gate checks that the written-out tags
agree with each other, not that the number increments when the schema moves.
Changed
- The dashboard schema moved: spans v3 → v4, facts v1 → v2. The version markers are the
release-visible part of the span-resolution and fact-tier work below; the bump is what
makes them addressable by a tag instead of hiding behind one that already means something
else. - Every migration is now gated on the version marker before it touches DDL, not just
data. An image older than the database it finds leaves it strictly alone and says so,
rather than half-downgrading it in silence.
Fixed
- A trace split across two overlapping ingest batches kept the
turn_0alias. An
AFTER STATEMENTtrigger runs inside the transaction that fired it, before that
transaction commits — and no snapshot shows another transaction's uncommitted rows. So
when the batch carrying the children and the batch carrying the enclosing
workflow.run.idspan are in flight at once, neither can see the other: both commit, and
the finished trace on disk is one no transaction ever saw. (An earlier entry here said the
trigger "only sees its own statement's snapshot". That was wrong — a volatile plpgsql
function takes a fresh snapshot per query — and it mattered, because it made the failure
sound certain when it is a race: 31 of 40 overlapping traces went stale, not 40.) The session page then reported "No spans on any of the 1
runs" for a turn whose tool call/traces/<id>rendered in full.insertSpansnow
re-resolves the traces it touched from its own transaction once every chunk has committed,
so the last writer to commit is the one whose walk sees the finished trace. The trigger
stays — it is the only thing that resolves a write that did not arrive through
insertSpans. Measured: 40 traces delivered as two overlapping batches left 93 stale spans
across 31 of them. - Seven more surfaces where a check that could not run reported the reassuring value.
The fleet banner returnednullon a failed sweep, which its own contract reads as
"nothing is open";lib/sandboxes.tsskipped containers Docker would not describe and
then counted them in "All 6 running sandboxes are network-isolated" on a PAGE-severity
alert; the failing-streak query ranked over unresolved runs, so a worker that died
mid-run sat on top of twenty failures and produced streak 0; failed chart queries
degraded to the empty result a genuinely quiet window earns;/evalsrendered "Ended
badly: 0" from a swallowed count; and/api/budgetclassified errors by substring, so
permission-denied answered "No budget data yet" at HTTP 200. Each now carries an explicit
unreadable/unknown state. /api/healthdistinguishes its not-ok states, so a client can tell an unconfigured
dashboard from one that cannot reach Postgres from one that is older than its own
database.evestack statusreads that body instead of blaming credentials for all four.
docker pull ghcr.io/sammytourani/evestack-dashboard:0.4.0
Multi-arch: linux/amd64 and linux/arm64. Also tagged :latest.
evestack@0.4.0
Changed
evestack tourno longer treats silence as consent. Off a TTY it exits 3 instead of
sending a billable model call (920a439). This is a behaviour change for anything
scripting it, which is why the bump is minor rather than patch.
Fixed
- The four output defects the
0.3.0redesign left behind — the stderr colour fix and
two--jsondefects among them — andevestack statusagainst a scheme-less dashboard
URL (920a439). - The npm README advertised three of seven commands — it predated the redesign that
addedstatusandtour, so the two commands that redesign was built around were
invisible on the page most people land on first (920a439).
create-evestack@0.9.1
Changed
- The scaffolded compose file pins
ghcr.io/sammytourani/evestack-dashboard:0.3.0, up
from:0.2.0.:0.2.0is not withdrawn and stays pullable.
Fixed
npm run verifytold an operator whose dashboard reports no version that it was "at
least as old as 0.2.0". Theversionfield on/api/healthwas added in3d318ce,
which shipped in the 0.3.0 image — so an image without it is older than 0.3.0, and
0.2.0 was the newest release that could still be missing the field rather than the
oldest. Off by one release, in the direction that made a stale image sound newer.
Why this exists at all.
0.9.0was published an hour before the dashboard was cut
at0.3.0, so it pins:0.2.0— correct when published, stale within the hour.
publish-dashboard.yml's version job caught it and refused to build: "Every scaffolded
project would pull a tag this release does not publish." The gate stopped the release
rather than shipping a mismatch, which is the whole reason it counts written-out tags
instead of trusting one.
@evestack/sandbox-opensandbox@0.4.0
Three defects found by testing the session surface against a stubbed SDK, and two more
found by reviewing those fixes before they shipped. test/adapter.test.mjs is what made
any of it visible: everything in index.ts needs a live OpenSandbox server to run, so none
of it could be pinned by a test until the wire was faked. Each fix below is pinned by a
case that fails on 0.3.0.
Unlike every other entry in this file, this one carries no commit hashes — the work is
uncommitted in this checkout, in src/index.ts, src/translate.ts, README.md,
test/translate.test.mjs and a new test/adapter.test.mjs. Commit before publishing:
npm publish ./packages/sandbox-opensandbox packs the working tree, so otherwise 0.4.0
on npm is a version that exists in no commit and these bullets cite nothing checkable.
Added
networkPolicyon the backend. OpenSandbox fixes a sandbox'sdefaultActionwhen
the sandbox is created — that is whysession.setNetworkPolicy()still rejects — so
creation is the only point at which a policy can be honoured, and now it is:
opensandbox({ networkPolicy: "deny-all" })or an allow-list, translated to
OpenSandbox's{defaultAction, egress}model and passed toSandbox.create. Honoured
completely or not at all —subnets(its egress model has no IP/CIDR) and per-domain
transform/forwardURL/matchrules throw when the backend is constructed
rather than being dropped, because a restriction that is half-applied reports success
with the hole still open.- The policy is recorded alongside the sandbox id, and
create()refuses to reattach to a
sandbox created under different egress: that sandbox's rules cannot be changed to match,
so reattaching would run the agent under the old policy while the operator reads the new
one in their source. Two limits on that refusal, both of which it lacked at first and
both of which turned a guard into an outage — it is checked after the reconnect ladder
and only for a sandbox actually recovered (a session whose sandbox was reaped upstream
has nothing to diverge from, and now gets a fresh one under the new policy instead of
throwing on every turn for ever: reproduced against the earlier build ascreate() THREW ... Sandbox.create calls: 0), andallow-allcompares equal to no policy at all, since
the SDK's own schema says an empty or null policy is allow-all at startup. Writing
networkPolicy: "allow-all"down explicitly is a no-op, not something that detaches
every live session. test/adapter.test.mjs, the stubbed-SDK harness described above.
Changed
- Breaking:
opensandbox()now throws on any option it does not implement
(assertKnownOptions), where0.3.0accepted and ignored it. TypeScript's
excess-property check catchesopensandbox({ typo: 1 })written as an object literal
and catches nothing else, so an untyped JavaScript caller, a spread
(opensandbox({ ...config })), or a config loaded from JSON that was passing extra keys
silently will now fail at construction — that is the compatibility break in this
release, and it has no other announcement. It is deliberate because of the case that
motivated it: verified against0.3.0,opensandbox({ initialNetworkPolicy: "deny-all" })calledSandbox.createwith{"image":"ubuntu"}and said nothing, and a
caller who asked for a locked-down network and silently got an open one has no way to
tell from the outside. A misspelling that looks network-related is named as such in the
error. setNetworkPolicy()'s rejection message no longer says a creation-time policy "is not
exposed yet"; it points atopensandbox({ networkPolicy }).- The README documents the option, the kill path and the exit-code contract, and says
which of them are covered only by the stubbed SDK rather than by a live server.
Fixed
- A command that never completed reported success.
exitCodeOfwas
execution.exitCode ?? (execution.error ? 1 : 0), so a null exit code with no error
object returned 0. The SDK returns null for exactly the cases where the command did
not complete — a server-side timeout kill, an OOM-killed container, an SSE stream that
simply ends — so a killed command was reported to the model as a success. It now returns
137(128 + SIGKILL), the number Linux, Docker and eve's owndocker()backend surface,
so a reader that only asksexitCode !== 0sees failure and a reader of the number sees
"killed". The function's own doc comment and the README both already claimed the fixed
behaviour. Reproduced on0.3.0: an execution of{exitCode: null, error: undefined}
came back fromsession.run()as{"exitCode":0}. Applies torun()and tospawn(). kill()did not kill. It calledAbortController.abort()and made no further
request to the sandbox at all — that closes our SSE connection, and whether execd then
reaps the command is a server-side detail the SDK does not promise; it ships a separate
termination API precisely because hanging up is not a kill. Measured against the previous
build with a stubbed SDK:kill()made zero further calls to the sandbox, andwait()
afterwards rejected withAbortErrorrather than reporting a terminated process. A
spawned command is now wrapped to record its pid, andkill()runs a second command
inside the sandbox that SIGKILLs that pid and every descendant, using the same
/proc-walking script as eve'sdocker()backend.wait()after a successfulkill()
now resolves with137; akill()whose request never reached the sandbox throws,
rather than reporting a termination that may not have happened. Not the SDK's own
commands.interrupt(): it isDELETE /command?id=<sessionId>against a bash session
this backend does not use, and a termination call aimed at the wrong id is a kill that
silently does nothing.- The kill's intent is recorded before the round trip, not after. The server kills the
process before it answers, so the spawned command's stream dies whilekill()is still
awaiting the response — written the other way round, which is how it was first written, a
kill that worked perfectly took the "the stream broke unexpectedly" path:wait()
rejected and both byte sinks errored under any reader, the exact opposite of the README's
claim. A count rather than a flag, so two concurrent kills cannot undo each other. - Network-policy options were accepted and never reached the sandbox. There was no
correctly-spelled option to pass one with, and anything that looked like one was dropped
in silence — seenetworkPolicyandassertKnownOptionsabove. This is the one class of
failure a caller cannot detect from outside the sandbox, which is why both halves of the
fix refuse rather than degrade.
@evestack/mcp@0.3.0
Cut as a minor, not the patch this was first queued as. It was a patch while the change
was README-only; the output cap below is a new feature with a new environment variable and
a behavioural change to every tool result, and shipping that as 0.2.1 would tell every
consumer's version range it was safe to take without reading anything.
Added
- A cap on how much one tool result can put in a model's context, default 64 KiB
(~16k tokens), configurable throughEVESTACK_MCP_MAX_OUTPUT_BYTES. Before it, the size
of a tool result was a property of how much history the deployment had rather than of
anything this server decided:list_approvalsagainst a busy install measured 113,289 B
(~28k tokens) with no arguments at all. Results are never silently shortened — the
payload stays valid JSON,_truncatedis the first key so a model reading top-down meets
it before the data, andcutsnames every array and string that lost content. A
truncated audit log mistaken for a complete one answers "who approved this?" with
"nobody did".
Fixed
dashboard 0.3.1
Fixed
- Every new chat and every fork answered 502 against an eve 0.31.x agent, and
docs/upgrading.mdxwas telling self-hosters tonpm install eve@latest— which is
0.31.3.createSessionrequired acontinuationTokenin the create response;
0.30.8's docs say the response "returnssessionIdand thecontinuationToken", and
0.31.3's say "session message and control request/response bodies do not accept or
return continuation tokens". The token moved to thesession.waitingstream event,
which is where it becomes meaningful — a session that has not parked has nothing to
continue from. The session id is the handle; the token was never required here, and
every caller that needs one already resolves it from the durable stream. Now accepted
as absent, so the dashboard works against both lines. The fix was written and reviewed
in PR #36 a day earlier and stranded there behind a version bump. /scheduleswas up to 25 hours wrong, andpinned, in a zone whose daylight-saving
change is not a whole hour.0 2 * * *inAmerica/St_Johnsstanding on
2026-10-31T20:00Z projected 2026-11-02T05:30Z against the runner's 2026-11-01T05:30Z.
The 0.3.0 fix stepped over the whole repeated interval, which is right for a reading
inside it — New York's30 1 * * *— and wrong for one on its far edge, which has not
happened yet and occurs exactly once. The test is now the candidate rather than the
interval: look ahead at the new offset and step over the window only when what is found
inside it is a reading the clock has already spent. Verified against the runner across
five zones and both transitions;America/St_Johns,Australia/Lord_Howe,
Pacific/ChathamandEurope/Berlinnow have no confidently-wrong answer at all.
docker pull ghcr.io/sammytourani/evestack-dashboard:0.3.1
Multi-arch: linux/amd64 and linux/arm64. Also tagged :latest.
dashboard 0.3.0
The second release of the day, and cut for the reason the first one was: 0.2.0 shipped
in the morning and the audit's remaining findings landed in 3d318ce that afternoon, so
the image tag and the source tree once again named the same version while containing
different code. Bumping is what stops that from being a standing condition rather than an
incident.
A minor, not a patch: the schedule projection moved from the browser to the server and
changes what the page displays, and /api/health grew a field.
Security
safeNextPathrejected the//and/\prefixes, but the WHATWG URL parser strips
tab, LF and CR before parsing, so the string the browser resolves is not the string
that was validated./signin?next=/%09/evil.examplesent the operator off-site
immediately after they typed the deployment password. Measured against Node's own
implementation for all three characters (b9a00a7).
Fixed
/costscounted turns that never called a model as unpriced spend.pricedis a
three-state column —TRUEpriced,FALSEno catalog entry,NULLno model call
(sql/facts.sql:155) — andr.priced !== truefolded the last two together. The
warning banner then read "N turns ran a model with no catalog price ()" with an empty
parenthetical, because a turn that called no model has no model name to list. The same
fold was corrected inlib/alerts.ts, where it produced a spuriousfiringalert.- "Most expensive sessions" on
/costswas empty on every install since it shipped.
session_idisgroupable: falsein the catalog,compileMetricQuerythrew, and
ranked()'s caller caught everything and returned[], so a broken panel rendered as
"Nothing to rank" — indistinguishable from a quiet month. The query now takes an
explicittopN: true, andMetricQueryErroris re-thrown rather than swallowed
(38076ca). /schedulescomputed the next fire in the reader's browser timezone. The number is
now projected server-side, and the agent's zone is derived from the fires that schedule
actually recorded rather than assumed — so two people in different places are shown the
same instant, and it is the instant the runner will use./schedulesprojected a daylight-saving fall-back a full day early, and marked it
confident. Standing on 01:30 EDT the page offered the 01:30 EST repeat an hour later;
the runner fires the next day, because Vixie does not re-run a reading the clock
repeats.pinned: truesuppresses the UI's hedge, so it was drawn as a firm answer.
Verified against@evestack/schedules' ownnextFire()rather than against a
description of it, and pinned by a differential test over both transitions.- A schedule named
__proto__lost its next fire silently.nextFires[name] = value
on a plain object sets the prototype instead of creating a property when the key is
__proto__, and the name is chosen by the operator. Built withObject.fromEntries
now, which creates an ordinary own key. - The wedged-turns alert used a 15-minute threshold while
facts.sql,lib/fleet.ts
and thewedgedoutcome all useSTUCK_TURN_MS= 1 hour, so it counted turns the fleet
banner called healthy and linked to a shorter list than the number it reported
(b9a00a7). Itsthresholdfield, rendered as "healthy: …", separately asserted "none
stalled" whatever the count was; it now states the condition it actually tests. /memorycapped at 200 rows without saying so. The total was already shown; what
was missing was any marker that the list itself had ended early.- Several claims about what an unconfigured dashboard serves were wrong, in
lib/auth.ts,proxy.ts,app/api/health/route.ts, the README and.env.example.
It does not answer 503 on every route:PUBLIC_PATHSholds three paths andproxy.ts
gates the tier on method, so four path/method combinations get through —GET /signin
renders the misconfiguration with no form on it, the two/api/authroutes are
POST-only and answer a bare 405, andGET /api/healthreaches its own handler, which
returns503 {"status":"unconfigured"}.
Added
/api/healthreports the dashboard's ownversion, on every branch including the
failures. Nothing could previously ask a running dashboard what it was —evestack verifyprinted the same line against the current image and against the four-day-old
one — which is the whole reason the0.1.0image went 51 commits stale unnoticed
(f76a0d1).- Tests for two surfaces that decided something consequential and had none:
evaluateAlerts
(everyDeliveryStatusbranch, the threshold boundary, empty versus stale facts) and the
approvals decision path.
docker pull ghcr.io/sammytourani/evestack-dashboard:0.3.0
Multi-arch: linux/amd64 and linux/arm64. Also tagged :latest.
@evestack/budget@0.2.1
Fixed
-
The spend cap undercharged every cache write.
costUsd()takes five arguments —
(model, input, output, cacheRead, cacheWrite)— andhook.tscalled it with four, so
cacheWriteTokensfell to its= 0default on every step and a write was billed at the
plain input rate (b9a00a7). eve reports the number andpricing.tshas always accepted
it; only the call site dropped it. Cache reads and writes are parts ofinputTokens
rather than additions to it, so the miss is the gap between two rates, not a whole extra
charge. Measured against the shipped catalog on 1M input tokens of which 400k were cache
writes:anthropic/claude-sonnet-5charged $2.000 against a correct $2.200 (−10%);
openai/gpt-5-minicharged $0.250 against a correct $0.250 (no difference), because it
publishes no separate write rate andpricing.tsfalls back to the input rate. So the
bug undercharges on Anthropic and is a no-op on the default provider, which is why it
survived. Cost is what the cap is measured against, so an Anthropic prompt-caching
workload passed its limit before anything tripped.Patch rather than minor: no surface moved and nothing scripting this package sees a
different shape — the only behaviour change is that a cap now trips where it should
always have. Pinned by a source-text assertion, because the hook needs Postgres and a
live session to run and a four-argument call is exactly the shape that regressed.Still not fixed:
budget_stepshas nocache_write_tokenscolumn, so the count is not
stored per step — only its cost is now correct. Adding the column means a migration
against tables created withCREATE TABLE IF NOT EXISTS, which is more than this bug
needs.
create-evestack@0.5.0
Covers everything since 0.3.1, including the 0.4.0 fixes.
The scaffolder was broken in two ways nobody could see from inside the repo
Found by installing the published package in an empty directory and following the printed instructions, rather than running it from a checkout.
The advertised $0 local-model path never booted. Choosing "Ollama (local) — genuinely $0" wrote EVESTACK_MODEL=qwen3 and a comment saying no API key was needed, but never EVESTACK_PROVIDER=ollama. The agent defaults the provider to openai, so the model name went to the wrong provider and it died before serving a request:
Cannot compile agent compaction because the primary compaction trigger model
"openai/qwen3" does not have known AI Gateway context window metadata.
Every project claimed the compose name evestack. Compose treats name: as the project identity, so a second scaffold — or a scaffold plus the cloned repo, which the printed next-steps tell you to set up — was the same project. Observed live: scaffolding into a fresh directory recreated an unrelated running evestack-postgres-1, after which two agents would share one database. The name now derives from the project directory.
A fresh install reported 5 npm advisories. Now 0.
All five were undici, reached two ways. @workflow/world-local exact-pins 7.28.0, which is why npm audit fix gave up — a narrow nested override lifts just that edge. The rest came from @ai-sdk/openai pinned to ^2.0.0, two majors behind the SDK it plugs into, which the agent announced at every boot as "specificationVersion is used in a compatibility mode… Some features may not be available." ^4.0.0 is the version that matches ai@7, so this is a correctness fix as much as a security one.
Sandbox and instrumentation
Egress is denied by default and the sandbox image is pinned. The dashboard now says out loud when it refuses a span instead of dropping it silently, and the tool-approval middleware was rewritten for @ai-sdk/provider 4.0.5 — under the new spec a denial carries providerOptions.openai.approvalId, which the old rewrite dropped.
Also
The RAM warning for local models appears in the wizard itself, not only the README. Loading a 5.2 GB model on top of Docker, Postgres, the dashboard and the agent does not degrade gracefully — it can take the host down.
Every surface — site, README, GitHub and npm — now opens with the same sentence: The whole eve stack. On your own machine.