From cb62bad18502ba5888ad1e02efba014a5f0abab8 Mon Sep 17 00:00:00 2001 From: Drew Stone Date: Thu, 9 Jul 2026 14:01:25 -0600 Subject: [PATCH 1/3] chore(release): 0.90.0; pin npm major 11 in publish workflow Releases the 25 commits since v0.89.0 (terminal-bench executor/supervisor arms, KB improvement job + supervised update wrapper, raw-trace improvement context, await_event pending semantics, bench run-id normalization). npm 12.0.0 became 'latest' with a broken provenance publish (libnpmpublish requires sigstore without bundling it; it failed agent-eval's v0.109.0 publish twice) - pin the known-good npm 11 line, same fix as agent-eval. --- .github/workflows/publish.yml | 4 +++- package.json | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 44fd144b..29890325 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -80,7 +80,9 @@ jobs: # agent-runtime, workflow publish.yml. - name: Publish to npm (OIDC trusted publishing) run: | - npm install -g npm@latest + # npm 12.0.0 ships a broken provenance publish (libnpmpublish requires + # sigstore without bundling it); OIDC needs npm >= 11.5.1, so pin major 11. + npm install -g npm@11 NAME=$(node -p "require('./package.json').name") VERSION=$(node -p "require('./package.json').version") if npm view "$NAME@$VERSION" version >/dev/null 2>&1; then diff --git a/package.json b/package.json index 07173544..6249a315 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@tangle-network/agent-runtime", - "version": "0.89.0", + "version": "0.90.0", "description": "Shared task-lifecycle skeleton for agents: a recursive loop kernel for chat turns, one-shot tasks, and multi-attempt loops, with trace capture and eval-gated self-improvement. Domain behavior lives in adapters; scoring and ship-gates in @tangle-network/agent-eval.", "homepage": "https://github.com/tangle-network/agent-runtime#readme", "repository": { From eafb3c51be22b72a32e66369cef6800d8c720f93 Mon Sep 17 00:00:00 2001 From: Drew Stone Date: Thu, 9 Jul 2026 14:05:16 -0600 Subject: [PATCH 2/3] docs(api): regenerate primitive catalog for 0.90.0 --- docs/api/primitive-catalog.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/primitive-catalog.md b/docs/api/primitive-catalog.md index b553f220..2c3c6daa 100644 --- a/docs/api/primitive-catalog.md +++ b/docs/api/primitive-catalog.md @@ -7,7 +7,7 @@ # Primitive catalog — the never-stale anti-reinvention inventory -> **GENERATED** from `@tangle-network/agent-runtime@0.89.0` and `@tangle-network/agent-eval@0.108.1` by `scripts/gen-primitive-catalog.mjs`. Do NOT hand-edit — run `pnpm run docs:api`. This is the mechanical companion to the JUDGMENT in `canonical-api.md` (§2 decision table + §1.5 AgentProfile law): that doc says WHICH primitive to reach for and what NOT to build; this catalog proves WHAT exists. Per-symbol signatures + `file:line` live in the per-module pages under `docs/api/`. +> **GENERATED** from `@tangle-network/agent-runtime@0.90.0` and `@tangle-network/agent-eval@0.108.1` by `scripts/gen-primitive-catalog.mjs`. Do NOT hand-edit — run `pnpm run docs:api`. This is the mechanical companion to the JUDGMENT in `canonical-api.md` (§2 decision table + §1.5 AgentProfile law): that doc says WHICH primitive to reach for and what NOT to build; this catalog proves WHAT exists. Per-symbol signatures + `file:line` live in the per-module pages under `docs/api/`. ## 1. agent-runtime — own public surface From b6274c77ed56fd84c0e158793f5a855e85cd6e79 Mon Sep 17 00:00:00 2001 From: Drew Stone Date: Thu, 9 Jul 2026 14:08:44 -0600 Subject: [PATCH 3/3] docs(canonical-api): version line 0.90.0 --- docs/canonical-api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/canonical-api.md b/docs/canonical-api.md index 1149d8da..60df0c5a 100644 --- a/docs/canonical-api.md +++ b/docs/canonical-api.md @@ -2,7 +2,7 @@ -> **Version 0.89.0.** The export inventory + per-symbol signatures live in the generated `docs/api/` reference: **`docs/api/primitive-catalog.md`** is the never-stale, grouped list of every primitive to reuse (own surface + the agent-eval judge / authenticity / verification / statistics / campaign / token-usage surfaces), with each one's import path and one-line summary read live from source; the per-module pages hold the full signatures. The pinned substrate is agent-eval `>=0.101.0 <1.0.0`; the sandbox substrate that materializes profiles into harness shapes is `@tangle-network/sandbox` (peer `>=0.8.0 <1.0.0`). The neutral contract types (`AgentProfile`, `AgentProfileMcpServer`, `HarnessType`, `ReasoningEffort`, `Part`/`ToolPart`/`ToolState`, plus environment-provider types) are owned by **`@tangle-network/agent-interface`** (peer `>=0.14.0 <1.0.0`) — the single source of truth. Substrate primitives are re-exported through `@tangle-network/agent-eval/contract` (or `/campaign`), not local to this package — the catalog's §2 shows exactly which subpath each lives under. +> **Version 0.90.0.** The export inventory + per-symbol signatures live in the generated `docs/api/` reference: **`docs/api/primitive-catalog.md`** is the never-stale, grouped list of every primitive to reuse (own surface + the agent-eval judge / authenticity / verification / statistics / campaign / token-usage surfaces), with each one's import path and one-line summary read live from source; the per-module pages hold the full signatures. The pinned substrate is agent-eval `>=0.101.0 <1.0.0`; the sandbox substrate that materializes profiles into harness shapes is `@tangle-network/sandbox` (peer `>=0.8.0 <1.0.0`). The neutral contract types (`AgentProfile`, `AgentProfileMcpServer`, `HarnessType`, `ReasoningEffort`, `Part`/`ToolPart`/`ToolState`, plus environment-provider types) are owned by **`@tangle-network/agent-interface`** (peer `>=0.14.0 <1.0.0`) — the single source of truth. Substrate primitives are re-exported through `@tangle-network/agent-eval/contract` (or `/campaign`), not local to this package — the catalog's §2 shows exactly which subpath each lives under. > > **`./loops` is the runtime barrel** — `package.json` maps it to `src/runtime/index.ts`. Everything below labelled `/loops` is the recursive-atom + loop-kernel surface. >