From c07352441a2ab92453e7272fabfba44e8e05c339 Mon Sep 17 00:00:00 2001 From: Drew Stone Date: Sun, 16 Aug 2026 16:32:54 -0600 Subject: [PATCH 1/4] =?UTF-8?q?chore(release):=200.138.1=20=E2=80=94=20req?= =?UTF-8?q?uire=20Eval=200.146.0=20and=20Knowledge=208.0.6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Eval 0.146.0 adds the multishot/golden subpath and removes nothing. Measured against 0.145.21 through the TypeScript checker, across every entry point in the exports map, the published surface loses no entry point, no top-level export and no interface member, and gains 51 exports. The peer window is derived, not chosen: assertPeerMatchesDevelopmentDependency holds it to the shape the dependency's own versioning earns, and a pre-1.0 dependency stops at its next minor. Requiring Eval 0.145.21 produced the old window on its own. Knowledge is a dependency of this package, so its own Eval peer had to admit 0.146.0 first. That is Knowledge 8.0.6. The testing fixtures carry the runtime version, so the version bump regenerates them. --- CHANGELOG.md | 14 ++++++++ package.json | 4 +-- pnpm-lock.yaml | 32 +++++++++---------- pnpm-workspace.yaml | 4 +-- .../fixtures/agent-improvement-proposal.json | 10 +++--- .../agent-profile-improvement-proposal.json | 6 ++-- 6 files changed, 42 insertions(+), 28 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 114ed7d7..e892229a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## 0.138.1 + +### Eval moves to 0.146.0, so the peer window moves with it + +The Eval peer range becomes `>=0.146.0 <0.147.0`, and the catalog requires Eval `0.146.0` and Knowledge `8.0.6`. + +The window is derived, not chosen. `assertPeerMatchesDevelopmentDependency` holds the peer range to the shape the dependency's own versioning earns: a pre-1.0 dependency stops at its next minor, because npm locks a 0.x caret to its minor. Requiring Eval `0.145.21` therefore produced `>=0.145.21 <0.146.0` on its own. + +Eval 0.146.0 adds the `multishot/golden` subpath and removes nothing. Diffing the two published type surfaces through the TypeScript checker, across every entry point in the `exports` map, 0.145.21 to 0.146.0 removes no entry point, no top-level export and no interface member, and adds 51 exports. The 20 signature changes are type-precision improvements on values that were `any`. + +Knowledge is a dependency of this package, so its own Eval peer had to admit 0.146.0 first; that is Knowledge 8.0.6. + +No API changes. + ## 0.138.0 ### `runTree` leaves the kernel surface; the composition families are now held by a test diff --git a/package.json b/package.json index 94d135a7..499e6fe7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@tangle-network/agent-runtime", - "version": "0.138.0", + "version": "0.138.1", "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": { @@ -170,7 +170,7 @@ "license": "MIT", "packageManager": "pnpm@11.17.0", "peerDependencies": { - "@tangle-network/agent-eval": ">=0.145.21 <0.146.0", + "@tangle-network/agent-eval": ">=0.146.0 <0.147.0", "@tangle-network/agent-interface": "^1.0.0", "@tangle-network/sandbox": ">=0.27.1 <0.28.0" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0270fdee..23f27b83 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -16,14 +16,14 @@ catalogs: specifier: 0.9.4 version: 0.9.4 '@tangle-network/agent-eval': - specifier: 0.145.21 - version: 0.145.21 + specifier: 0.146.0 + version: 0.146.0 '@tangle-network/agent-interface': specifier: 1.0.0 version: 1.0.0 '@tangle-network/agent-knowledge': - specifier: 8.0.5 - version: 8.0.5 + specifier: 8.0.6 + version: 8.0.6 '@tangle-network/agent-profile-materialize': specifier: 0.16.0 version: 0.16.0 @@ -58,7 +58,7 @@ importers: version: 0.9.4(@modelcontextprotocol/sdk@1.30.0(supports-color@10.2.2)(zod@4.4.3)) '@tangle-network/agent-knowledge': specifier: 'catalog:' - version: 8.0.5(@tangle-network/agent-eval@0.145.21(@modelcontextprotocol/sdk@1.30.0(supports-color@10.2.2)(zod@4.4.3)))(@tangle-network/agent-interface@1.0.0) + version: 8.0.6(@tangle-network/agent-eval@0.146.0(@modelcontextprotocol/sdk@1.30.0(supports-color@10.2.2)(zod@4.4.3)))(@tangle-network/agent-interface@1.0.0) '@tangle-network/agent-profile-materialize': specifier: 'catalog:' version: 0.16.0(@tangle-network/agent-interface@1.0.0) @@ -80,7 +80,7 @@ importers: version: 1.30.0(supports-color@10.2.2)(zod@4.4.3) '@tangle-network/agent-eval': specifier: 'catalog:' - version: 0.145.21(@modelcontextprotocol/sdk@1.30.0(supports-color@10.2.2)(zod@4.4.3)) + version: 0.146.0(@modelcontextprotocol/sdk@1.30.0(supports-color@10.2.2)(zod@4.4.3)) '@tangle-network/agent-interface': specifier: 'catalog:' version: 1.0.0 @@ -128,13 +128,13 @@ importers: dependencies: '@tangle-network/agent-eval': specifier: 'catalog:' - version: 0.145.21(@modelcontextprotocol/sdk@1.30.0(supports-color@10.2.2)(zod@4.4.3)) + version: 0.146.0(@modelcontextprotocol/sdk@1.30.0(supports-color@10.2.2)(zod@4.4.3)) '@tangle-network/agent-interface': specifier: 'catalog:' version: 1.0.0 '@tangle-network/agent-knowledge': specifier: 'catalog:' - version: 8.0.5(@tangle-network/agent-eval@0.145.21(@modelcontextprotocol/sdk@1.30.0(supports-color@10.2.2)(zod@4.4.3)))(@tangle-network/agent-interface@1.0.0) + version: 8.0.6(@tangle-network/agent-eval@0.146.0(@modelcontextprotocol/sdk@1.30.0(supports-color@10.2.2)(zod@4.4.3)))(@tangle-network/agent-interface@1.0.0) '@tangle-network/agent-runtime': specifier: workspace:* version: link:.. @@ -1132,20 +1132,20 @@ packages: '@modelcontextprotocol/sdk': optional: true - '@tangle-network/agent-eval@0.145.21': - resolution: {integrity: sha512-BeNIO8/+AJwQ8KYeJ1juqZT9gqQkaWwfLhX7KLQUo7LkRF++tBfulvARGesOpVHorx0fEkheJiyGMM5Tsx8IGQ==} + '@tangle-network/agent-eval@0.146.0': + resolution: {integrity: sha512-r/bQTDWMyhghLGJvxyAz3qUpE8Hrm7U5nXWb4NUZFP+zF7+cjS6U0VJN/0vRyuP40/1bDwp+hhucHNxQ/HJb+Q==} engines: {node: '>=20'} hasBin: true '@tangle-network/agent-interface@1.0.0': resolution: {integrity: sha512-rhXoscOE1TwkLvHg3tfqdumz++kcDRf7c5GRSTBnJkKLVypwvXB5yQJCB4aTUTrOCJxJMqowm2VPOmlTrUszOQ==} - '@tangle-network/agent-knowledge@8.0.5': - resolution: {integrity: sha512-QMY16NSdy7aLxZZDejrb17hlUb6ejh4rg5Keg1TfA+FDMeIbyCaTSx6I/CFmK27TQq5aZ0RoIgaa1lZVc5rDRg==} + '@tangle-network/agent-knowledge@8.0.6': + resolution: {integrity: sha512-15ClCc7tb5Hz1Xe0miMbjw9l0iDQ/Th/mZME9AXc2J51BVQhimO+tqMxR1e9j8ijM1hg2Ox/FLfNv0VQWXrikA==} engines: {node: '>=20.19.0'} hasBin: true peerDependencies: - '@tangle-network/agent-eval': '>=0.145.21 <0.146.0' + '@tangle-network/agent-eval': '>=0.146.0 <0.147.0' '@tangle-network/agent-interface': ^1.0.0 '@tangle-network/agent-profile-materialize@0.16.0': @@ -3177,7 +3177,7 @@ snapshots: optionalDependencies: '@modelcontextprotocol/sdk': 1.30.0(supports-color@10.2.2)(zod@4.4.3) - '@tangle-network/agent-eval@0.145.21(@modelcontextprotocol/sdk@1.30.0(supports-color@10.2.2)(zod@4.4.3))': + '@tangle-network/agent-eval@0.146.0(@modelcontextprotocol/sdk@1.30.0(supports-color@10.2.2)(zod@4.4.3))': dependencies: '@asteasolutions/zod-to-openapi': 9.1.0(zod@4.4.3) '@hono/node-server': 2.0.12(hono@4.12.32) @@ -3197,9 +3197,9 @@ snapshots: spdx-expression-parse: 5.0.0 zod: 4.4.3 - '@tangle-network/agent-knowledge@8.0.5(@tangle-network/agent-eval@0.145.21(@modelcontextprotocol/sdk@1.30.0(supports-color@10.2.2)(zod@4.4.3)))(@tangle-network/agent-interface@1.0.0)': + '@tangle-network/agent-knowledge@8.0.6(@tangle-network/agent-eval@0.146.0(@modelcontextprotocol/sdk@1.30.0(supports-color@10.2.2)(zod@4.4.3)))(@tangle-network/agent-interface@1.0.0)': dependencies: - '@tangle-network/agent-eval': 0.145.21(@modelcontextprotocol/sdk@1.30.0(supports-color@10.2.2)(zod@4.4.3)) + '@tangle-network/agent-eval': 0.146.0(@modelcontextprotocol/sdk@1.30.0(supports-color@10.2.2)(zod@4.4.3)) '@tangle-network/agent-interface': 1.0.0 proper-lockfile: 4.1.2 zod: 4.4.3 diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 106df738..e4237277 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -20,9 +20,9 @@ catalog: '@modelcontextprotocol/sdk': 1.30.0 '@tangle-network/agent-core': 0.9.4 '@types/node': 26.1.1 - '@tangle-network/agent-eval': 0.145.21 + '@tangle-network/agent-eval': 0.146.0 '@tangle-network/agent-interface': 1.0.0 - '@tangle-network/agent-knowledge': 8.0.5 + '@tangle-network/agent-knowledge': 8.0.6 '@tangle-network/agent-profile-materialize': 0.16.0 '@tangle-network/agent-trace-contract': ^1.0.2 '@tangle-network/sandbox': 0.27.1 diff --git a/src/testing/fixtures/agent-improvement-proposal.json b/src/testing/fixtures/agent-improvement-proposal.json index 64625ea6..8c091ec8 100644 --- a/src/testing/fixtures/agent-improvement-proposal.json +++ b/src/testing/fixtures/agent-improvement-proposal.json @@ -1,6 +1,6 @@ { "changedSurfaces": ["prompt"], - "digest": "sha256:b84cc224522ae0a07db1f1de41c8244899a00f0c522dc4f6762d708c111dd2b8", + "digest": "sha256:96aa602a3f9d198264af652f5bba5cd51fb54519aaae91c28894eef2b6e694e5", "evaluation": { "decision": { "contributingChecks": [ @@ -4882,7 +4882,7 @@ ], "metadata": { "fixture": "agent-improvement-proposal", - "runtimeVersion": "0.138.0" + "runtimeVersion": "0.138.1" }, "objectives": [ { @@ -4993,8 +4993,8 @@ "baselineContentHash": "sha256:5c21ee53e513fc604cb09754e21c392b24a424da0ef37dbf8f1ee4a8a0b08f09", "candidateContentHash": "sha256:60fcbb1c728194bd51d7d19cb732d1c3f1881dce7e0a6266b41c8b98cfd65693", "kind": "agent-eval-loop", - "recordDigest": "sha256:4d748710e2d77cea5e0fe66a57d5fb6ddc25d325f65139884e040d1af3ce2d4d", - "runId": "agent-runtime-0.138.0-proposal-fixture", + "recordDigest": "sha256:5b1be97ac62edbe65f899224398159b1fbfc9a768d25a5d79044de6e53f76600", + "runId": "agent-runtime-0.138.1-proposal-fixture", "schema": "agent-candidate-experiment" } }, @@ -5021,5 +5021,5 @@ ], "kind": "agent-improvement-proposal", "proposedAt": "2026-07-10T01:00:00.000Z", - "runId": "agent-runtime-0.138.0-proposal-fixture" + "runId": "agent-runtime-0.138.1-proposal-fixture" } diff --git a/src/testing/fixtures/agent-profile-improvement-proposal.json b/src/testing/fixtures/agent-profile-improvement-proposal.json index ff6388fe..edbe8cbd 100644 --- a/src/testing/fixtures/agent-profile-improvement-proposal.json +++ b/src/testing/fixtures/agent-profile-improvement-proposal.json @@ -1,6 +1,6 @@ { "changedSurfaces": ["prompt", "skills"], - "digest": "sha256:b89b24bfcd014e7582f9e6d7797feea0c6ae0f3a7be6cfaa4cacdf3396dee908", + "digest": "sha256:f98a80755978d5cfbca957967b1a97f29af8a974bf920746fda8b3deddf38304", "evaluation": { "decision": { "contributingChecks": [ @@ -1715,7 +1715,7 @@ ], "metadata": { "fixture": "agent-profile-improvement-proposal", - "runtimeVersion": "0.138.0" + "runtimeVersion": "0.138.1" }, "objectives": [ { @@ -1826,7 +1826,7 @@ "baselineContentHash": "sha256:21c495a37c418c10bde64fbaa188beddeed31f1f051ea60a6a6582a9ee0db704", "candidateContentHash": "sha256:103f77bc8481601eef1ad5fe6ba84a40dffabc3a44f421f8c8559121edab84e9", "kind": "agent-eval-loop", - "recordDigest": "sha256:4e32d77d314c15b9df9d33aaaf0468a29d63dfb10eef0d6e215a4f36f473e7a6", + "recordDigest": "sha256:16e8733160306657bd773d677c478519634bb4360f0573484e6c5e85e4dcc6d4", "runId": "profile-improvement-1", "schema": "agent-profile-improvement-experiment" } From b3509f409d6a047e70644c96678245cf95cdb9ca Mon Sep 17 00:00:00 2001 From: Drew Stone Date: Sun, 16 Aug 2026 18:46:10 -0600 Subject: [PATCH 2/4] fix(ci): point the packed cohort at Eval 0.146.0 and Knowledge 8.0.6 The release requires those versions, so the cohort checkout must pack them. Bench moves to 0.8.13 because its catalog dependencies change with the release. --- .github/workflows/ci.yml | 4 ++-- bench/package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e5ea02c4..510d39fb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -88,14 +88,14 @@ jobs: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: repository: tangle-network/agent-eval - ref: f99af3aa2189211e837650b37a8d2d9cabf20f02 # @tangle-network/agent-eval@0.145.21 + ref: 76969e551d54c7898f11253175e0da9652e0c4a8 # @tangle-network/agent-eval@0.146.0 path: .cohort/agent-eval persist-credentials: false - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: repository: tangle-network/agent-knowledge - ref: 662c8742c8e41c5a42ab0f9f6d6441feb22c50ac # @tangle-network/agent-knowledge@8.0.5 + ref: 9a1079dd2727f5cfbf8d36a0c4e4a2e4efd21bed # @tangle-network/agent-knowledge@8.0.6 path: .cohort/agent-knowledge persist-credentials: false diff --git a/bench/package.json b/bench/package.json index bfbb8d81..bb4497f8 100644 --- a/bench/package.json +++ b/bench/package.json @@ -1,6 +1,6 @@ { "name": "@tangle-network/agent-bench", - "version": "0.8.12", + "version": "0.8.13", "type": "module", "description": "Benchmark adapters and execution for agent-runtime across coding, tool-use, RAG, memory, browser, and terminal tasks.", "repository": { From 232c65b3991e6476bb8218fcf81d7d4f04bf0f00 Mon Sep 17 00:00:00 2001 From: Drew Stone Date: Sun, 16 Aug 2026 18:54:41 -0600 Subject: [PATCH 3/4] docs(api): regenerate the catalog and state the Eval 0.146.0 window The publish cohort checkout needs the same refs the CI cohort uses, or the tag-driven publish packs a version the release does not require. --- .github/workflows/publish.yml | 4 ++-- docs/api/primitive-catalog.md | 2 +- docs/canonical-api.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e7e846a9..e1ff1f26 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -143,7 +143,7 @@ jobs: uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: repository: tangle-network/agent-eval - ref: f99af3aa2189211e837650b37a8d2d9cabf20f02 # @tangle-network/agent-eval@0.145.21 + ref: 76969e551d54c7898f11253175e0da9652e0c4a8 # @tangle-network/agent-eval@0.146.0 path: .cohort/agent-eval persist-credentials: false @@ -151,7 +151,7 @@ jobs: uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: repository: tangle-network/agent-knowledge - ref: 662c8742c8e41c5a42ab0f9f6d6441feb22c50ac # @tangle-network/agent-knowledge@8.0.5 + ref: 9a1079dd2727f5cfbf8d36a0c4e4a2e4efd21bed # @tangle-network/agent-knowledge@8.0.6 path: .cohort/agent-knowledge persist-credentials: false diff --git a/docs/api/primitive-catalog.md b/docs/api/primitive-catalog.md index 8bb98f71..350aeb3c 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.138.0` and `@tangle-network/agent-eval@0.145.21` 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.138.1` and `@tangle-network/agent-eval@0.146.0` 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 diff --git a/docs/canonical-api.md b/docs/canonical-api.md index bd61c773..fa3fc442 100644 --- a/docs/canonical-api.md +++ b/docs/canonical-api.md @@ -6,7 +6,7 @@ Run pnpm docs:freshness after editing this file. --> > **Version 0.138.0.** > [`docs/api/primitive-catalog.md`](./api/primitive-catalog.md) lists every export and import path. -> `agent-eval` must satisfy `>=0.145.21 <0.146.0`. +> `agent-eval` must satisfy `>=0.146.0 <0.147.0`. > `sandbox` must satisfy `>=0.27.1 <0.28.0`. > Portable profile and tool-part types come from `@tangle-network/agent-interface` `^1.0.0`. > From 82073e05b8db4da793a29ebb58e9ab2d198b0d88 Mon Sep 17 00:00:00 2001 From: Drew Stone Date: Sun, 16 Aug 2026 18:55:41 -0600 Subject: [PATCH 4/4] docs(canonical-api): state the released version --- 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 fa3fc442..11f96d1f 100644 --- a/docs/canonical-api.md +++ b/docs/canonical-api.md @@ -4,7 +4,7 @@ Generated signatures and the complete export list live in docs/api/. Run pnpm docs:freshness after editing this file. --> -> **Version 0.138.0.** +> **Version 0.138.1.** > [`docs/api/primitive-catalog.md`](./api/primitive-catalog.md) lists every export and import path. > `agent-eval` must satisfy `>=0.146.0 <0.147.0`. > `sandbox` must satisfy `>=0.27.1 <0.28.0`.