Repository navigation
Release v1.8.0 - #228
Merged
Merged
Release v1.8.0#228
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
[1.8.0] — 2026-09-11
Added
One connection pool per process for the Postgres backend (One connection pool per process across schemas, search_path per transaction #181, third
and closing increment). A memory handle no longer owns a connection: every
handle on one DSN borrows from one process-wide pool — a connection per
statement, or one for the length of a transaction — so N memories in a
process hold at most P connections between them, an idle memory holds
none, and the telemetry sidecar and the broker's blob door ride the same
pool. P is
?pool=on the DSN or$AREEV_PG_POOL(default 8, the DSNwinning); the first open sizes the pool and a later open asking otherwise
is told in
open_warnings(). Prepared statements and the ANN sessionsettings moved onto the connection; a handle applies what it wants with
SET LOCALper transaction, and the bootstrap'ssearch_pathisSET LOCALtoo, so no schema is ever left on a pooled session. Connectionscarry
application_name = areev. Proven by a new conformance binary(twelve telemetry-on handles and six concurrent writers through a pool of
three, counted in
pg_stat_activity), a two-backend isolation case (twomemories served in turn by one pool share nothing), and the whole suite
through
?pool=2, the chaos hook and PgBouncer. The deployment profile's"keep an LRU of handles" advice is withdrawn.
$sendcan fan out to an abstract node (Run input queue for steering; Send to abstract nodes; ask bubbling from subgraphs #187). A spawn target had tobe a host tool node, so a plan that wanted N documents classified by an
agent had to enumerate N nodes or drop to a single tool call. Each task now
gets its OWN LLM loop, journaled under its own task path, and the loop's
answer settles that task — the batch joins before the target's downstream
edges fire, exactly as a host fan-out does.
abstract_flowsis keyed bynode-and-task rather than node; a node's own loop keeps the bare-index key,
so existing journals replay byte-identically.
A person can steer a running run (Run input queue for steering; Send to abstract nodes; ask bubbling from subgraphs #187).
areev run input --run-id ID --message TEXT— alsoareev_run_input(MCP),db.run_input(Python),m.runInput(Node) — queues a message on the run. The next superstep handsevery node it dispatches the queued messages, in order, under the reserved
$inboxkey in their input. A chat-style plan no longer has to misuse ahuman-gate ask to receive a message. Steering is journaled as a Fact on the
run and is applied only while a superstep is open, so it stays inert for the
whole superstep that observed it. That is what keeps
verifyexact: replaycounts the journaled messages against the checkpoint's
inputs_seen, neveragainst when the driver happened to poll. A message queued before the run
starts therefore reaches the second superstep — the first one's input is
--input.run.executeis the verb: steering advances a run rather thanbraking it.
A subgraph child that parks on a human gate now bubbles its asks to the
parent (Run input queue for steering; Send to abstract nodes; ask bubbling from subgraphs #187). The gate used to fail the parent node with "subgraph run
parked" — a HITL step had to live in the top-level graph, which is exactly
the composition a subgraph exists to allow. The child's open asks travel as
the subgraph effect's own journaled result, so the parent parks on the same
tool_call_ids andrespond/resumeon the parent route down to thechild: you answer the run you started, however deep the gate sits. Because
the bubble is a journaled result,
verifyreproduces the park from theparent's journal alone and never re-runs the child. Two consequences worth
stating: a child run id is now derived from the parent and the NODE
(
parent~sha256(parent, node, attempt)[..16]), which a bounded cycle stillvaries per generation while a park and its answer reach the same child; and
a bubble round advances
effect_seqrather thanattempt, so parking neverspends the node's retry budget.
A trigger can name its connector by content address (Connector execution from a grain on the trigger path #185). A polling
connector was a host command (
--connector-cmd), which put the code mostlikely to be wrong — cursors, pagination, a provider's quirks — outside the
memory: it did not travel in a bundle,
areev tool provenancecould notchase it, and the loop could not propose a
code_revisionagainst it. ATrigger now carries
connector_tool, a reference to a Tool Definitionwhose
executor_uriis the blob:A Definition rather than a
cas://blob directly, because the runtime, thelimits and the
capabilitiesdeclaration that decides where the code mayreach live on the Definition — a second place to write them would be a second
place for them to disagree. The evaluator reads it through the same
pin_from_definitionRunManifest::resolveuses, and dispatches through thesame
CodeExecutor, so the sandbox argv, the capability registration and thecleared environment are one implementation rather than a second that drifts
on the surface nobody watches.
The authorization does not travel with the code.
--allow-executoronthe evaluating host is what runs it; without it the poll refuses with the new
TRG-E012, naming the address to pin, before a broker is started andbefore anything is spent. The same code covers a Definition carrying no
executor_uri, a declared runtime with no--sandbox-cmd, and ablob-reading module on an evaluator wired no memory locator.
connector(thename) stays required beside
connector_tool: the run id is derived from(trigger, connector, dedup value), so revising the code must not renumberthe runs. Both bindings take the same pin on
trigger_run/trigger_deliver(
allow_executor,sandbox_cmd,executor_cache,executor_timeout_secs),each reading its
$AREEV_RUN_*variable, because a heartbeat is a cron line.trigger shownow prints the connector and, when it is a grain, says so.examples/grain-connector/runs the whole path keyless and offline.Breaking for direct constructors:
areev_trigger::Evaluatorgained aconnector_codefield. A host that runs host-command connectors only passesNone— and a trigger naming a connector Definition then refuses rather thanfalling through to
--connector-cmd, because a fallback would run adifferent program than the declaration names.
areev pack validate | install | export(areev packverb: validate, install, export #178) — a pack is aninstallable agent: a manifest, the grains it seeds, and the code blobs those
grains name. It replaces the installer everyone was writing (blobs into the
CAS,
executor_urirewritten to the address the bytes turned out to have,grains seeded in order, plan hashes checked) with one verb, and self-hosters
get the same door a managed deployment does.
References are symbolic —
"blob:<name>"and"grain:<id>"— because anaddress is a measurement of bytes, not something an author can write down;
install stores the blob, learns its address, rewrites the Definition,
addresses that, and rewrites the plan that binds it.
expected_hashisrefused, not warned, with nothing written: a plan installed at a
different address than the deployment expects has changed what runs, and
every trigger pointing at the old hash is now pointing elsewhere. Grains are
built and addressed with no store at all (content addressing is a pure
function of the serialized grain), so
validatespeaks forinstalland canrun in CI on a pull request. Export writes either reviewable grain JSON
(refusing to write anything it cannot rebuild to the same address) or a
bundle plus a manifest of what it must contain. Saved queries and templates
travel too — a pack without them installs a trigger whose
context_querynames nothing.
docs/pack.mdis the reference; every agent underexamples/agents/now ships apack/, andrun-smokes.shasserts each oneinstalls the same plan its language stacks mint.
Blessed shared tools:
http.call,mcp.call,a2a.call(Blessed shared wasm32-areev-io tools: http.call, mcp.call, a2a.call #179) — threewasm32-areev-ioblobs shipped in this repository with documented contentaddresses (
areev-tools/dist/blessed.json,docs/blessed-tools.md). A packbinds one by address, declares where it may reach, and gets an outbound leg
with no code of its own.
The point is not convenience. A tool gateway that decides where a request
may go is code everyone installing it must trust;
http.callmakes no suchdecision — it hands the request to the broker and the answer back, verbatim,
in both directions. Where it may go, which method, which credential and which
headers are the Definition's
capabilitiesand the host's grant: data, inthe memory, replicated with the tool, auditable without reading any code.
Two Definitions may name the same blob with different declarations, which is
exactly the shape a fleet wants.
mcp.callanda2a.calladd one JSON-RPCenvelope and one unwrap, copying the caller's
argumentsbyte for byterather than round-tripping it.
They are
no_stdwith no dependencies (http.callis 2,598 bytes), builtfrom
areev-tools/— a standalone workspace, likeareev-sandbox— andtested where the engine is:
areev-sandbox/tests/blessed_tools.rsruns thecommitted bytes under real wasmi against a loopback broker stand-in, and
asserts the import gate holds (a tool that declared no network does not get
areev::fetchlinked at all). CI checks that every published address is theaddress of the file beside it.
examples/agents/sanctions-screeningseeds deterministically. Itsevalset Fact — the gate Rule E1 pins on the
screentool — was stamped withthe wall clock, so the tool's hash, and therefore the desk's plan hash,
differed on every seed. A plan hash that moves cannot be pinned by a pack,
quoted in a README, or pointed at by a trigger, and nothing caught it because
the cross-stack hash comparison needs two stacks and this desk has one. The
seeder now pins
created_atlike every other grain it writes. Pinning itsurfaced a second bug, fixed below rather than worked around: a dated evalset
is exactly what
cold_grainswas mis-flagging as a retire candidate.The benchmark harnesses can run against a Postgres memory (areev-bench: let the persistence backends open a Postgres memory, not only a file #200).
AREEV_BENCH_DB(orreceipts/run.py --db) names the memory — a file pathor a
postgres://…?schema=…DSN, handed toareev.Areevverbatim — for thereceipts experience/evaluation/regress legs and the PAST-Bench backend,
which had both hard-coded a file under their work directory. What a schema
cannot do is be copied, and the harnesses now say so:
evaluate.pyrunsevery arm on the one memory and produces arm A by rolling back on it
(last, and for real —
dryrun.shtakes arm A after the regress leg, withthe new
--append, since that rollback ends the state regress verifies);snapshots and per-pass learner copies are refused on
a DSN; the loop policy a leg records goes to that leg's work dir. A DSN is
printed and recorded only redacted. Unset, the published file-backed runs
are unchanged — the keyless dry run's summaries match the baseline.
areev::blob_getworks on the Postgres tier — the whole class ofattachment-parsing capability tools was unavailable on the backend the
server tier actually runs on.
{"blob": {"read": true}}(Capability tools cannot read CAS blobs: attachment-processing tools are stuck host-side even after #105 #106) is what letsa
wasm32-areev-iomodule read the attachment a trigger's connector alreadyfiled, by address, read-only, every read journaled as a
blob_readObservation. On PostgreSQL the broker answered
501: the read is lock-freebecause it goes to the
.blobssidecar without opening the database, andthat sidecar is an embedded-backend thing. The documented alternative — the
tool opens the memory itself — needs handing the tool a credential to the
memory, which is exactly what a capability tool exists to avoid.
read_blob_offlinenow serves apostgres://…?schema=…locator too: oneshort-lived connection of its own, one schema-qualified
SELECTagainst thein-schema
blobstable, closed on return. It still never opens the memory,so it cannot contend with the run holding it — and on this backend there is
no exclusive lock to avoid in the first place, which makes it cheaper than
the embedded case rather than harder. Qualifying the table (One connection pool per process across schemas, search_path per transaction #181) keeps it
independent of
search_path, so it is safe behind a pooler. Blobs are neversealed here (the blob key derives from the page cipher, which Postgres
refuses), so the sealed branch cannot arise.
areev blob getlifts the same restriction: it skipped the lock-free pathfor a DSN, a workaround for the limitation this removes, so the two
blob-reading surfaces now behave identically
(#202).
CAL can summarise by frequency, extract from text, and navigate a JSON
payload (CAL: no per-group count to project or render, so "most frequent first" cannot be a query #209, CAL: no way to extract part of a value (pattern/split), so a title inside free text needs host code #210, CAL: a JSON payload in a grain field cannot be navigated from a template or a WHERE #211, CAL: a Tool grain body is unrenderable in templates and ungroupable, so a failure ranking can name the endpoint or the message but not both #217) — three reads that could only be done by
over-fetching and finishing the job in host code, which also defeated
BUDGET(the budget was spent on the rows about to be discarded). Thespec-level decisions are recorded in
docs/oms-1.7-amendments-cal-expressiveness.md.Per-group counts (CAL: no per-group count to project or render, so "most frequent first" cannot be a query #209).
GROUP BY <field>followed byCOUNTnowprojects one row per group carrying its size, most frequent first (ties
by key ascending, so the answer is reproducible across backends and runs):
That combination previously returned the plain total — identical to
COUNTalone, silently discarding the grouping — so no new syntax was needed
and no meaningful answer is taken away. Frequency is how a memory says what
matters: "which tool fails most", "which topic does this user raise most",
"which policy is cited most". Render it with the new
group.*templatevariables (
{{group.count}}x {{group.key}}), or make anASSEMBLEsourceof it so a frequency roll-up is a section of a prompt.
The key can name two things at once (CAL: a Tool grain body is unrenderable in templates and ungroupable, so a failure ranking can name the endpoint or the message but not both #217). "Which tool fails most" is
the first question anyone asks a memory of tool calls; "and with what" is
the half that says what to do about it — an agent told
phone.loginfailedsix times learns less than one told it failed with a 401.
GROUP BYtakesup to four fields, joined into one key with
·(CAL-E123past that),and the parts render individually:
Three related gaps close with it. A Tool's body is reachable from a
template: it is projected as
tool_content(the compact keycntexpandsto it), which every built-in format printed and no template variable named,
so a CAL-rendered block could say which call failed but never how —
{{grain.tool_content}}resolves,{{grain.content}}projects the sametext on a Tool, and
tool_contentis queryable and groupable.A
LIMITafterCOUNTbinds, so a top-N of a ranking is a top-N(
total_availablestill reports the whole ranking's size, so a page neverreads as the whole answer). And
CAL-W018now announces aGROUP BYkey no grain carries, which used to return a single empty-key group —
indistinguishable from a ranking with one dominant value.
Extracting filters (CAL: no way to extract part of a value (pattern/split), so a title inside free text needs host code #210):
first_line,split("<sep>", n),strip_prefix,strip_suffix,between("<open>", "<close>"), andmatch("<pattern>"[, n]). Memories store text people wrote, and titles,ticket ids, error codes and thread keys all live inside it:
A JSON path accessor (CAL: a JSON payload in a grain field cannot be navigated from a template or a WHERE #211), in both a render and a filter:
record_tool_callround-trips a tool'sinputas parsed JSON, so Pythonand Node hosts already received the structure — it was specifically the CAL
path that could not see inside. A field name may now be a dotted path of up
to 8 segments (it accepted one dot before, which did not reach the shape a
stored error envelope actually has), and a value stored as a JSON string
navigates identically to a parsed one. A path that does not resolve is
UNKNOWN, so navigation inherits the fails-closed rule rather than adding
one:
input.app != "phone"does not widen to everything.The filter set stays closed —
DESCRIBE CAPABILITIESreports it, andOMS conformance means two implementations must render a grain identically.
Bad arguments are refused when the template is defined (
CAL-E049), notwhen it renders, so "what will this saved query show me?" stays answerable
by reading it; rendering itself stays total, because one unparseable grain
must not fail the render of the other 199.
matchuses a non-backtrackingengine — no backreferences, no lookaround — because a template runs over
untrusted grain content on every turn, where a backtracking regex is a
denial-of-service primitive. Patterns are length-capped and compiled through
a bounded cache; extractor input is clipped at 64 KiB; paths are
depth-capped.
Deliberately not added: host-registered functions (a template calling
one would render differently depending on who opened the file, breaking the
property that makes saved queries worth having — the registry travels with
the memory), a general expression language in templates, and any
transformation that parses, mutates and re-serialises. For new corpora the
paved road is still to store the shape you want to read: two fields rather
than one payload, which makes the value filterable as well as renderable.
World-time validity is queryable and renderable (CAL:
valid_tois not queryable on facts, so "what is currently valid" cannot be a query #206).valid_from,valid_to,system_valid_fromandsystem_valid_toareGrainCommonfields on every grain type — serialized since 1.0, read by the loop's
stalenessanalyzer, and present in every JSON payload — but they wereabsent from CAL's filterable set, so the one read that makes a validity
window worth writing answered
CAL-E060. They now filter and sort on everytype with the usual comparators and
IS NULL, resolve in templates(
{{grain.valid_to | date}}), and appear inDESCRIBE FIELDS. "What iscurrently valid" is a query:
This is what a waiver, a delegation, an out-of-office or a price valid until
a date needs. Every host previously over-fetched and post-filtered, which
also defeated
BUDGET— the budget was spent on grains about to bediscarded.
The container image and the release archives carry
areev-sandbox.runtime: "wasm32-areev"and"wasm32-areev-io"dispatch a pinned blob tothe sandbox, but the sandbox is
publish = falseand shipped in nothing: theimage built only
areev, and the release attached onlyareev. So acontainer deployment could install a capability tool and never run one — the
tier was unreachable from the deployment shape it most obviously exists for.
Both binaries are now built from one tree in one stage,
areev-sandbox --versionagrees withareev --version, and--sandbox-cmd areev-sandboxresolves on the image's
PATH. The sandbox travels inside each releasearchive rather than as a separate asset, so the pair cannot be mixed across
versions.
docker.ymlproves the whole path: it authors a code-carryingDefinition over MCP, starts a run against it, and asserts the sandbox judged
the bytes rather than the host failing to reach one
(#203).
A preview channel for unreleased changes. npm and PyPI published only on
a published GitHub Release, so proving a Core change against a downstream's
test suite cost a full release cycle — and the only alternative, pointing a
consumer at a local checkout, cannot run in CI.
release-npmandrelease-pypinow take apreview: truedispatch from any branch andpublish
X.Y.Z-preview.<run number>under npm'spreviewdist-tag and as aPyPI pre-release, so
npm install @areev/areevandpip install areevareunaffected. Nothing is committed:
scripts/stamp_preview.pystamps at buildtime, and
check_versions.py --previewstill refuses a tree whose twopublished sites disagree (#204).
Two things constrained the shape. The version had to be
-preview.<number>, not the-preview.<sha>first proposed: PEP 440numbers its pre-releases and PyPI rejects the
+localsegment a sha wouldneed, so a sha is publishable to npm and not to PyPI. And only
package.jsonandpyproject.tomlmay be stamped — crates depend on eachother as
version = "1.7.0", and Cargo does not match a prerelease against^1.7.0, so stamping the workspace makes every inter-crate requirementunsatisfiable and nothing builds at all.
Fixed
areev tool provenancereports the runs that executed a tool. The docsaid it chained code "to the runs that executed it"; the command answered
runs_touching: 0for a Definition a run had just executed. The walk behindit is a PROVENANCE walk —
derived_fromup, the reverse index down — and ajournal's result grain supersedes its intent while neither supersedes the
Definition, so there was no edge to find. What connects a run to the code it
ran is §8.4's
spec_hash, andruns_touchingnow reads it backwards for aTool Definition (
Areev::runs_executing, exposed on its own too). A boundedscan rather than an index read, because
spec_hashis a field and not arelated_tolink — and skipped entirely unless the target IS a Definition,so no other caller pays for it. Pinned by a conformance case on both
backends;
examples/blessed-tools/asserts both runs, the refused oneincluded, because a request the broker turned down is still a run that
touched that code.
cold_grainsno longer proposes retiring a Rule E1 gate. An evalset alive Tool Definition pins is read by the gate at review time, never through
recall, so it aged past the grace window and was flagged as a retire
candidate — the one grain that must not be retired, since removing it removes
the gate a
code_revisionhas to pass. Recall counts measure whether a factinforms answers; that fact's job is to judge code. Facts pinned as
evalset_hashby a live Definition are now excluded, and deliberately onlythose: a general "any hash a live grain mentions" sweep would also swallow
the evidence a pending recommendation cites, and since this analyzer's own
findings cite the fact they flag, every cold finding would suppress itself on
the next run.
examples/agents/sanctions-screeningdrops the config wideningit needed and asserts the clean result instead.
An
ASSEMBLEsource can carry its own pipeline, and no longer drops anested assembly's grains. Sources had no pipeline at all, so a source
could not be ranked, bounded or summarised in place. Separately,
assemble.rscarried a second copy ofextract_grainsthat had driftedfrom the executor's: it saw only the
Grainspayload, so a nestedAssembledresult silently contributed nothing to the enclosing assembly.There is now one extractor.
A
WHEREpredicate on a field the grain does not carry no longer matcheseverything (CAL: a WHERE predicate on a field the grain type does not carry silently matches everything (
objecton skills), against the fails-closed contract #207).objectis a real field name in general — Fact,Observation and Goal all declare it — but means nothing for a Skill, and the
per-grain evaluator read that absence as
false, which made every negationof it
true. SoRECALL skills WHERE object != "retired"returned everyskill, the retired one included, with nothing in the payload to distinguish
"the filter ran and matched everything" from "the filter did not run" — the
opposite of the fails-closed contract §3.4 states. Evaluation is now
three-valued: absence is UNKNOWN,
AND/ORcombine by SQL's truth tables,and UNKNOWN does not match.
!=,NOT (… = …)andNOT INall narrow.Nothing that already matched stops matching (
T ∧ UandF ∧ Ualreadycollapsed to no-match,
T ∨ Ualready matched), and the omit-defaultdiscriminators still resolve their defaults, so
kind != "definition"keepsreturning legacy execution grains.
areev-trigger's composite gates sharethe evaluator and mean the opposite by an absent field — "this member has not
fired" is definite, not unknown — so
gate_satisfiednow materializes everyreferenced member instead of encoding the answer in a gap.
descriptionis queryable on skills (CAL: a WHERE predicate on a field the grain type does not carry silently matches everything (objecton skills), against the fails-closed contract #207). Required on the Skill structsince 1.4 but absent from the registry's
queryable_fields, so the one fieldevery Skill must carry was the one
WHERErefused withCAL-E060.{{… | date}}renders the right year (CAL:valid_tois not queryable on facts, so "what is currently valid" cannot be a query #206). Every timestamp a templatecan name is epoch milliseconds, but the filter handed its input to a
seconds-based formatter, so
{{created_at | date}}rendered 58657-02-23for a grain written today.
relativenever had the bug becausehumanize_time(created_ms, now_secs)names its units._nowis millisecondstoo, so the whole filter surface speaks one unit;
format_epochkeeps itspublic seconds signature.
ASSEMBLEsays what its budget dropped (CAL: ASSEMBLE silently drops grains to its default 4000-token budget, and total_available hides it #208).ASSEMBLEapplies atoken budget whether or not the caller writes one — 4000 by default, ceiling
16000 — and when it bound it discarded the tail of each source in silence.
The payload actively hid it:
total_availablereported the post-budgetcount, so
grains.len() == total_availableheld for a truncated assemblyexactly as it did for a complete one. Measured on a real memory, 229
matching grains came back as 80 with
warnings: None.A budget that drops grains now emits
CAL-W017, naming the sources andthe counts, and saying whether the budget was written or defaulted:
total_availableis now the pre-budget count, so the drop is computablerather than announced only in prose; each source's
grain_countstillreports what survived.
docs/cal-reference.mdstates the default and theceiling where
BUDGETis documented — neither number appeared there, so "noBUDGETclause" read as "no budget".The default itself was kept rather than removed: an unbudgeted assembly that
returned everything could overflow the context window it is being composed
for, which is the worse failure. Silence was the defect, not the number.
Why it matters: a host composing a prompt from an assembly had no way to
detect that its rules, its policies or its recent turns were trimmed — it
would publish a number produced from a truncated prompt and never know.
RECALLhas announced the same kind of cut asCAL-W015since 1.5.1.The console shows CAL warnings. Every other surface honoured the
"silence means the query did what you asked" contract — the bindings and the
MCP tool return
warnings, the CLI prints them to stderr — but the consolereceived them from
POST /api/caland dropped them on the floor. That wasthe worst place for it: this is the surface a person reads an answer from,
and a warning is exactly the news that the answer is a window rather than
the whole match. All seventeen (
CAL-W001–W017) now appear above theresult on the Query page, in plain language, with the
CAL-Wnnncode shownonly in Developer mode.
record_tool_calltakesnsin both bindings (Pythonns=, Nodens), exactly asadd()does. It was the only write on either surface thatcould not leave the session namespace, so a host recording calls into
per-domain child namespaces (
domain.phone,domain.spotify) had to open asecond handle — which the single-writer registry refuses (
STO-E002).An empty
tool_env/toolEnvin the bindings now means "clear to theminimal set", as the CLI's
--tool-env ""does (Bindings: an empty toolEnv / tool_env should mean clear-to-minimal, as the CLI's --tool-env "" does #197). Both bindingsfiltered the empty string out before building the policy, so the strictest
request — clear the environment, admit nothing beyond what a command needs
to start — was answered with the loosest posture, inherit everything. A host
wanting the clear-only policy had to name a variable already in the minimal
set just to select it.
None/nullkeep the inherit default, unchanged.Pinned in both bindings' tests, on the run executors and the trigger
connector.
The credential broker reaches the bindings and
areev serve(The credential broker is unreachable from the bindings, so no capability tool can run from Node or Python #201).A
wasm32-areev-iotool'sareev::fetchis answered by the broker, andthe broker was built only from CLI flags — so a host driving runs through
Python or Node, which is what a service does, could persist a capability
tool, pin it, point at the sandbox, and still have every fetch fail. The
parser moved into
areev-runasEgressSpec, the one behind--credential/--allow-host/--tool-egress/--credential-ttl/--resolver-env, and every surface calls it: the same-named parameters onrun_start,run_resume,trigger_runandtrigger_deliverin bothbindings (
credentials,allow_hosts,tool_egress,credential_ttl_secs,resolver_env; camelCase in Node) take the flags' spec strings verbatim,and
$AREEV_RUN_CREDENTIAL,$AREEV_RUN_ALLOW_HOST,$AREEV_RUN_TOOL_EGRESS,$AREEV_RUN_CREDENTIAL_TTLand$AREEV_RUN_RESOLVER_ENVare the server-bound spellings forareev serve— and the out-of-band fallbacks for the CLI, like the rest of the family.
The blob door (
{"blob": {"read": true}}) is wired on the same path, arefusal from a binding-driven run is journaled exactly as from the CLI
(
403+RUN-E022, an Observation inagent:harness), and a parity testdrives one capability tool from Node, Python, the CLI and the MCP server
with one declaration and one set of grants.
Changed
areev-benchharnesses now run on the engine's own surfaces. Everymodel-facing prompt block that can be is a saved
ASSEMBLEquery registeredin the memory file and rendered by a registered template, so a memory handed
to someone else carries how to read it. Tool calls are recorded through
record_tool_callrather than flattened, AppWorld's evidence lives inper-app child namespaces read through
"appworld.*", and the governedlearning pass is an
areev runworkflow whose review node parks for a human— so separation of duties is enforced by the runtime (
RUN-E012) instead ofby harness convention. Ordering within a section relies on a source's own pipeline (CAL: no per-group count to project or render, so "most frequent first" cannot be a query #209/cal: summarise by frequency, extract from text, navigate a payload #215, above). The moves are byte-for-byte against the renderers
they replace, gated by
crates/areev-bench/scripts/parity_check.py; thenew-track blueprint is
crates/areev-bench/BENCH-TEMPLATE.md.A failed spawn names the command that failed, not the blob. The
code executor formatted every spawn error as
spawn <materialized blob path>, including when the thing that could not be spawned was the sandboxbinary — so a missing
--sandbox-cmdreported a path that exists and isnot the problem, which is exactly the diagnosis a host without a sandbox
needs to make.
areev-sandboxjoins the version lockstep. It sat at 1.6.0 against a1.7.3 workspace — two minors of silent drift on a binary whose whole job is
to be the security boundary paired with the engine. It is now the sixth site
scripts/check_versions.pyasserts, alongside the other detached package(
areev-js), and it gained the--versionflag that makes the pairingcheckable at all.
https://claude.ai/code/session_01AcXRh9A9PAx9NZ6bFrWNyF