Skip to content

Release v1.8.0 - #228

Merged
sathish-mg merged 1 commit into
mainfrom
release/v1.8.0
Sep 11, 2026
Merged

sathish-mg merged 1 commit into
mainfrom
release/v1.8.0

Conversation

@sathish-mg

Copy link
Copy Markdown
Contributor

[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 DSN
    winning); the first open sizes the pool and a later open asking otherwise
    is told in open_warnings(). Prepared statements and the ANN session
    settings moved onto the connection; a handle applies what it wants with
    SET LOCAL per transaction, and the bootstrap's search_path is SET LOCAL too, so no schema is ever left on a pooled session. Connections
    carry 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 (two
    memories 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.

  • $send can fan out to an abstract node (Run input queue for steering; Send to abstract nodes; ask bubbling from subgraphs #187). A spawn target had to
    be 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_flows is keyed by
    node-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 — also areev_run_input (MCP), db.run_input (Python),
    m.runInput (Node) — queues a message on the run. The next superstep hands
    every node it dispatches the queued messages, in order, under the reserved
    $inbox key in their input. A chat-style plan no longer has to misuse a
    human-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 verify exact: replay
    counts the journaled messages against the checkpoint's inputs_seen, never
    against 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.execute is the verb: steering advances a run rather than
    braking 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 and respond/resume on the parent route down to the
    child: you answer the run you started, however deep the gate sits. Because
    the bubble is a journaled result, verify reproduces the park from the
    parent'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 still
    varies per generation while a park and its answer reach the same child; and
    a bubble round advances effect_seq rather than attempt, so parking never
    spends 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 most
    likely to be wrong — cursors, pagination, a provider's quirks — outside the
    memory: it did not travel in a bundle, areev tool provenance could not
    chase it, and the loop could not propose a code_revision against it. A
    Trigger now carries connector_tool, a reference to a Tool Definition
    whose executor_uri is the blob:

    areev trigger add --type polling --workflow <PLAN> --observer gmail \
      --connector-tool <DEFINITION> --interval 900 --dedup-key /message_id \
      --because "the AP desk watches this mailbox"
    
    areev trigger run --allow-executor <64 hex> --sandbox-cmd areev-sandbox

    A Definition rather than a cas:// blob directly, because the runtime, the
    limits and the capabilities declaration that decides where the code may
    reach 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_definition RunManifest::resolve uses, and dispatches through the
    same CodeExecutor, so the sandbox argv, the capability registration and the
    cleared environment are one implementation rather than a second that drifts
    on the surface nobody watches.

    The authorization does not travel with the code. --allow-executor on
    the 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 and
    before anything is spent. The same code covers a Definition carrying no
    executor_uri, a declared runtime with no --sandbox-cmd, and a
    blob-reading module on an evaluator wired no memory locator. connector (the
    name) stays required beside connector_tool: the run id is derived from
    (trigger, connector, dedup value), so revising the code must not renumber
    the 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 show now 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::Evaluator gained a
    connector_code field. A host that runs host-command connectors only passes
    None — and a trigger naming a connector Definition then refuses rather than
    falling through to --connector-cmd, because a fallback would run a
    different program than the declaration names.

  • areev pack validate | install | export (areev pack verb: validate, install, export #178) — a pack is an
    installable 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_uri rewritten 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.

    areev pack validate ./pack                 # opens no memory at all
    areev pack install  ./pack --db agent.db   # refuses on a hash mismatch
    areev pack export   --db agent.db --ns ops --out ./pack

    References are symbolic — "blob:<name>" and "grain:<id>" — because an
    address 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_hash is
    refused, 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 validate speaks for install and can
    run 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_query
    names nothing. docs/pack.md is the reference; every agent under
    examples/agents/ now ships a pack/, and run-smokes.sh asserts each one
    installs 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) — three
    wasm32-areev-io blobs shipped in this repository with documented content
    addresses (areev-tools/dist/blessed.json, docs/blessed-tools.md). A pack
    binds 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.call makes no such
    decision — 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 capabilities and the host's grant: data, in
    the 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.call and a2a.call add one JSON-RPC
    envelope and one unwrap, copying the caller's arguments byte for byte
    rather than round-tripping it.

    They are no_std with no dependencies (http.call is 2,598 bytes), built
    from areev-tools/ — a standalone workspace, like areev-sandbox — and
    tested where the engine is: areev-sandbox/tests/blessed_tools.rs runs the
    committed 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::fetch linked at all). CI checks that every published address is the
    address of the file beside it.

  • examples/agents/sanctions-screening seeds deterministically. Its
    evalset Fact — the gate Rule E1 pins on the screen tool — was stamped with
    the 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_at like every other grain it writes. Pinning it
    surfaced a second bug, fixed below rather than worked around: a dated evalset
    is exactly what cold_grains was 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 (or receipts/run.py --db) names the memory — a file path
    or a postgres://…?schema=… DSN, handed to areev.Areev verbatim — for the
    receipts 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.py runs
    every arm on the one memory and produces arm A by rolling back on it
    (last, and for real — dryrun.sh takes arm A after the regress leg, with
    the 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_get works on the Postgres tier — the whole class of
    attachment-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 lets
    a wasm32-areev-io module read the attachment a trigger's connector already
    filed, by address, read-only, every read journaled as a blob_read
    Observation. On PostgreSQL the broker answered 501: the read is lock-free
    because it goes to the .blobs sidecar without opening the database, and
    that 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_offline now serves a postgres://…?schema=… locator too: one
    short-lived connection of its own, one schema-qualified SELECT against the
    in-schema blobs table, 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 never
    sealed here (the blob key derives from the page cipher, which Postgres
    refuses), so the sealed branch cannot arise.

    areev blob get lifts the same restriction: it skipped the lock-free path
    for 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). The
    spec-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 by COUNT now
    projects one row per group carrying its size, most frequent first (ties
    by key ascending, so the answer is reproducible across backends and runs):

    RECALL tools WHERE is_error = true LIMIT 400 GROUP BY tool_name COUNT

    That combination previously returned the plain total — identical to COUNT
    alone, 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.* template
    variables ({{group.count}}x {{group.key}}), or make an ASSEMBLE source
    of 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.login failed
    six times learns less than one told it failed with a 401. GROUP BY takes
    up to four fields, joined into one key with · (CAL-E123 past that),
    and the parts render individually:

    RECALL tools WHERE is_error = true LIMIT 400 GROUP BY tool_name, tool_content COUNT
    DEFINE TEMPLATE top_failures ELEMENT {- ({{group.count}}x) {{group.key.0}}: {{group.key.1}}}
    → - (6x) phone.login: Response status code is 401
    

    Three related gaps close with it. A Tool's body is reachable from a
    template
    : it is projected as tool_content (the compact key cnt expands
    to 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 same
    text on a Tool, and tool_content is queryable and groupable.
    A LIMIT after COUNT binds, so a top-N of a ranking is a top-N
    (total_available still reports the whole ranking's size, so a page never
    reads as the whole answer). And CAL-W018 now announces a GROUP BY
    key 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>"), and
    match("<pattern>"[, n]). Memories store text people wrote, and titles,
    ticket ids, error codes and thread keys all live inside it:

    {{grain.object | between("[", "]")}}     → Q3 close handoff
    

    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:

    {{grain.object | get("error.code")}}     → rate_limited
    
    RECALL tools WHERE input.app = "phone"
    RECALL facts WHERE object.error.code = "rate_limited"

    record_tool_call round-trips a tool's input as parsed JSON, so Python
    and 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 CAPABILITIES reports it, and
    OMS conformance means two implementations must render a grain identically.
    Bad arguments are refused when the template is defined (CAL-E049), not
    when 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. match uses a non-backtracking
    engine — 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_to is not queryable on facts, so "what is currently valid" cannot be a query #206). valid_from,
    valid_to, system_valid_from and system_valid_to are GrainCommon
    fields on every grain type — serialized since 1.0, read by the loop's
    staleness analyzer, and present in every JSON payload — but they were
    absent 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 every
    type with the usual comparators and IS NULL, resolve in templates
    ({{grain.valid_to | date}}), and appear in DESCRIBE FIELDS. "What is
    currently valid" is a query:

    RECALL facts WHERE namespace = "desk"
      AND (valid_to IS NULL OR valid_to > 1788866000000)

    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 be
    discarded.

  • The container image and the release archives carry areev-sandbox.
    runtime: "wasm32-areev" and "wasm32-areev-io" dispatch a pinned blob to
    the sandbox, but the sandbox is publish = false and shipped in nothing: the
    image built only areev, and the release attached only areev. So a
    container 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 --version agrees with areev --version, and --sandbox-cmd areev-sandbox
    resolves on the image's PATH. The sandbox travels inside each release
    archive rather than as a separate asset, so the pair cannot be mixed across
    versions. docker.yml proves the whole path: it authors a code-carrying
    Definition 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-npm and
    release-pypi now take a preview: true dispatch from any branch and
    publish X.Y.Z-preview.<run number> under npm's preview dist-tag and as a
    PyPI pre-release, so npm install @areev/areev and pip install areev are
    unaffected. Nothing is committed: scripts/stamp_preview.py stamps at build
    time, and check_versions.py --preview still refuses a tree whose two
    published sites disagree (#204).

    Two things constrained the shape. The version had to be
    -preview.<number>, not the -preview.<sha> first proposed: PEP 440
    numbers its pre-releases and PyPI rejects the +local segment a sha would
    need, so a sha is publishable to npm and not to PyPI. And only
    package.json and pyproject.toml may be stamped — crates depend on each
    other as version = "1.7.0", and Cargo does not match a prerelease against
    ^1.7.0, so stamping the workspace makes every inter-crate requirement
    unsatisfiable and nothing builds at all.

Fixed

  • areev tool provenance reports the runs that executed a tool. The doc
    said it chained code "to the runs that executed it"; the command answered
    runs_touching: 0 for a Definition a run had just executed. The walk behind
    it is a PROVENANCE walk — derived_from up, the reverse index down — and a
    journal'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, and runs_touching now reads it backwards for a
    Tool Definition (Areev::runs_executing, exposed on its own too). A bounded
    scan rather than an index read, because spec_hash is a field and not a
    related_to link — 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 one
    included, because a request the broker turned down is still a run that
    touched that code.

  • cold_grains no longer proposes retiring a Rule E1 gate. An evalset a
    live 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_revision has to pass. Recall counts measure whether a fact
    informs answers; that fact's job is to judge code. Facts pinned as
    evalset_hash by a live Definition are now excluded, and deliberately only
    those: 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-screening drops the config widening
    it needed and asserts the clean result instead.

  • An ASSEMBLE source can carry its own pipeline, and no longer drops a
    nested assembly's grains.
    Sources had no pipeline at all, so a source
    could not be ranked, bounded or summarised in place. Separately,
    assemble.rs carried a second copy of extract_grains that had drifted
    from the executor's: it saw only the Grains payload, so a nested
    Assembled result silently contributed nothing to the enclosing assembly.
    There is now one extractor.

  • A WHERE predicate on a field the grain does not carry no longer matches
    everything
    (CAL: a WHERE predicate on a field the grain type does not carry silently matches everything (object on skills), against the fails-closed contract #207). object is 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 negation
    of it true. So RECALL skills WHERE object != "retired" returned every
    skill, 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/OR combine by SQL's truth tables,
    and UNKNOWN does not match. !=, NOT (… = …) and NOT IN all narrow.
    Nothing that already matched stops matching (T ∧ U and F ∧ U already
    collapsed to no-match, T ∨ U already matched), and the omit-default
    discriminators still resolve their defaults, so kind != "definition" keeps
    returning legacy execution grains. areev-trigger's composite gates share
    the evaluator and mean the opposite by an absent field — "this member has not
    fired" is definite, not unknown — so gate_satisfied now materializes every
    referenced member instead of encoding the answer in a gap.

  • description is queryable on skills (CAL: a WHERE predicate on a field the grain type does not carry silently matches everything (object on skills), against the fails-closed contract #207). Required on the Skill struct
    since 1.4 but absent from the registry's queryable_fields, so the one field
    every Skill must carry was the one WHERE refused with CAL-E060.

  • {{… | date}} renders the right year (CAL: valid_to is not queryable on facts, so "what is currently valid" cannot be a query #206). Every timestamp a template
    can name is epoch milliseconds, but the filter handed its input to a
    seconds-based formatter, so {{created_at | date}} rendered 58657-02-23
    for a grain written today. relative never had the bug because
    humanize_time(created_ms, now_secs) names its units. _now is milliseconds
    too, so the whole filter surface speaks one unit; format_epoch keeps its
    public seconds signature.

  • ASSEMBLE says what its budget dropped (CAL: ASSEMBLE silently drops grains to its default 4000-token budget, and total_available hides it #208). ASSEMBLE applies a
    token 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_available reported the post-budget
    count, so grains.len() == total_available held for a truncated assembly
    exactly 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 and
    the counts, and saying whether the budget was written or defaulted:

    CAL-W017: the default BUDGET 4000 tokens dropped 130 of 200 grains from
    source(s) [e] — this assembly is a window, not the whole match.
    

    total_available is now the pre-budget count, so the drop is computable
    rather than announced only in prose; each source's grain_count still
    reports what survived. docs/cal-reference.md states the default and the
    ceiling where BUDGET is documented — neither number appeared there, so "no
    BUDGET clause" 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.
    RECALL has announced the same kind of cut as CAL-W015 since 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 console
    received them from POST /api/cal and dropped them on the floor. That was
    the 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 the
    result on the Query page, in plain language, with the CAL-Wnnn code shown
    only in Developer mode.

  • record_tool_call takes ns in both bindings (Python ns=, Node
    ns), exactly as add() does. It was the only write on either surface that
    could not leave the session namespace, so a host recording calls into
    per-domain child namespaces (domain.phone, domain.spotify) had to open a
    second handle — which the single-writer registry refuses (STO-E002).

  • An empty tool_env / toolEnv in the bindings now means "clear to the
    minimal 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 bindings
    filtered 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 / null keep 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-io tool's areev::fetch is answered by the broker, and
    the 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-run as EgressSpec, the one behind
    --credential/--allow-host/--tool-egress/--credential-ttl/
    --resolver-env, and every surface calls it: the same-named parameters on
    run_start, run_resume, trigger_run and trigger_deliver in both
    bindings (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_TTL and
    $AREEV_RUN_RESOLVER_ENV are the server-bound spellings for areev 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, a
    refusal from a binding-driven run is journaled exactly as from the CLI
    (403 + RUN-E022, an Observation in agent:harness), and a parity test
    drives one capability tool from Node, Python, the CLI and the MCP server
    with one declaration and one set of grants.

Changed

  • areev-bench harnesses now run on the engine's own surfaces. Every
    model-facing prompt block that can be is a saved ASSEMBLE query registered
    in 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_call rather than flattened, AppWorld's evidence lives in
    per-app child namespaces read through "appworld.*", and the governed
    learning pass is an areev run workflow whose review node parks for a human
    — so separation of duties is enforced by the runtime (RUN-E012) instead of
    by 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; the
    new-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 sandbox
    binary
    — so a missing --sandbox-cmd reported a path that exists and is
    not the problem, which is exactly the diagnosis a host without a sandbox
    needs to make.

  • areev-sandbox joins the version lockstep. It sat at 1.6.0 against a
    1.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.py asserts, alongside the other detached package
    (areev-js), and it gained the --version flag that makes the pairing
    checkable at all.

https://claude.ai/code/session_01AcXRh9A9PAx9NZ6bFrWNyF

@sathish-mg
sathish-mg requested a review from a team as a code owner September 11, 2026 11:57
@sathish-mg
sathish-mg merged commit 311654f into main Sep 11, 2026
22 checks passed
@sathish-mg
sathish-mg deleted the release/v1.8.0 branch September 11, 2026 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant