Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Changelog

## 0.193.1

### Bridge roots refuse unavailable work before allocation

Bridge roots now check model routing and their bulk admission lane before Runtime allocates a remote run identity.
Temporary route failures remain retryable, while an unrouted model remains terminal.
Pre-dispatch refusals record trusted zero spend and never send a cancellation for work that did not start.
Credential reads and interrupted preflights also complete before Runtime allocates the remote identity.
Caller cancellation remains an abort through route and admission reads.

### Provisioned supervisors no longer expire by default

`ProvisionSupervisorRequest.timeoutMs` now creates a lifecycle deadline only when the caller supplies it.
Omitting it lets the worker continue until cleanup or cancellation.

## 0.193.0

### Omitted code-mode deadlines no longer stop work
Expand Down
2 changes: 1 addition & 1 deletion docs/api/primitive-catalog.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

# Primitive catalog — the never-stale anti-reinvention inventory

> **GENERATED** from `@tangle-network/agent-runtime@0.193.0` and `@tangle-network/agent-eval@0.173.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/`.
> **GENERATED** from `@tangle-network/agent-runtime@0.193.1` and `@tangle-network/agent-eval@0.173.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

Expand Down
8 changes: 4 additions & 4 deletions docs/api/runtime.md
Original file line number Diff line number Diff line change
Expand Up @@ -15299,7 +15299,7 @@ Root directory for Runtime-owned `.agent/supervisor` state.

> `readonly` `optional` **timeoutMs?**: `number`

Maximum wall-clock time for the complete supervisor lifecycle, including cleanup.
Maximum wall-clock time for the complete supervisor lifecycle, including cleanup. Omit for no lifecycle deadline.

##### pollMs?

Expand Down Expand Up @@ -30437,9 +30437,9 @@ Pre-journal profile resolution for `preflightSpawn`; see

(`tools`) => `void`

Called with this server's coordination tool descriptors once they exist and BEFORE the
listener opens — the seam a caller uses to give an already-bound node tool a way to call the
same verbs in code (`SupervisorToolInvocationContext.verbs`).
Called with this server's exact MCP tool descriptors once they exist and BEFORE the listener
opens — the seam a caller uses to give an already-bound node tool a way to call the same
verbs in code (`SupervisorToolInvocationContext.verbs`).

#### Returns

Expand Down
2 changes: 1 addition & 1 deletion docs/canonical-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.193.0.**
> **Version 0.193.1.**
> [`docs/api/primitive-catalog.md`](./api/primitive-catalog.md) lists every export and import path.
> `agent-eval` must satisfy `>=0.173.0 <0.174.0`.
> `sandbox` must satisfy `>=0.36.4 <0.38.0`.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tangle-network/agent-runtime",
"version": "0.193.0",
"version": "0.193.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": {
Expand Down
4 changes: 2 additions & 2 deletions src/improvement/improve.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1025,7 +1025,7 @@ describe('improve code execution', () => {
} finally {
repo.cleanup()
}
})
}, 120_000)

it('retains and disposes the incumbent for a baseline-only code run', async () => {
const repo = createRepo('improve-code-baseline-')
Expand Down Expand Up @@ -1089,7 +1089,7 @@ describe('improve code execution', () => {
} finally {
repo.cleanup()
}
})
}, 120_000)

it('cleans the incumbent when baseline finalization fails', async () => {
const repo = createRepo('improve-code-finalize-')
Expand Down
Loading