@tangle-network/agent-runtime 0.285.0 → 0.286.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{activation-DXFzDCmr.js → activation-ByUQM5wd.js} +2 -2
- package/dist/{activation-DXFzDCmr.js.map → activation-ByUQM5wd.js.map} +1 -1
- package/dist/{activation-CxiJixSO.d.ts → activation-KvioC2fx.d.ts} +3 -3
- package/dist/agent.d.ts +2 -2
- package/dist/agent.js +2 -2
- package/dist/{coordination-driver-C3bIMg7f.js → coordination-driver-CLqj3s53.js} +2 -2
- package/dist/{coordination-driver-C3bIMg7f.js.map → coordination-driver-CLqj3s53.js.map} +1 -1
- package/dist/{delegate-C6wq_PN0.js → delegate-SSnnbyKu.js} +2 -2
- package/dist/{delegate-C6wq_PN0.js.map → delegate-SSnnbyKu.js.map} +1 -1
- package/dist/durable.d.ts +2 -2
- package/dist/durable.js +2 -2
- package/dist/{graph-CpfmPttW.js → graph-to6d8CPK.js} +4 -4
- package/dist/{graph-CpfmPttW.js.map → graph-to6d8CPK.js.map} +1 -1
- package/dist/{improvement-cycle-DxBnEP8q.js → improvement-cycle-Cm_YPUwJ.js} +3 -3
- package/dist/{improvement-cycle-DxBnEP8q.js.map → improvement-cycle-Cm_YPUwJ.js.map} +1 -1
- package/dist/{index-B7PfLDfI.d.ts → index-BspUvwtx.d.ts} +6 -4
- package/dist/index.d.ts +6 -6
- package/dist/index.js +7 -7
- package/dist/intelligence.d.ts +3 -3
- package/dist/intelligence.js +4 -4
- package/dist/kernel.d.ts +4 -4
- package/dist/kernel.js +8 -8
- package/dist/{loop-runner-bin-CWLXByT9.js → loop-runner-bin-By_D4FLz.js} +3 -3
- package/dist/{loop-runner-bin-CWLXByT9.js.map → loop-runner-bin-By_D4FLz.js.map} +1 -1
- package/dist/{loop-runner-bin-DEbkROOD.d.ts → loop-runner-bin-CvOEO1dE.d.ts} +3 -3
- package/dist/loop-runner-bin.d.ts +1 -1
- package/dist/loop-runner-bin.js +1 -1
- package/dist/mcp/bin.js +3 -3
- package/dist/mcp/index.d.ts +5 -5
- package/dist/mcp/index.js +4 -4
- package/dist/{openai-tools-H8QPhTVE.d.ts → openai-tools-BCS5D37j.d.ts} +2 -2
- package/dist/profiles.d.ts +2 -2
- package/dist/{provision-supervisor-jnArBa8T.js → provision-supervisor-CoXCyrZX.js} +3 -3
- package/dist/{provision-supervisor-jnArBa8T.js.map → provision-supervisor-CoXCyrZX.js.map} +1 -1
- package/dist/{runtime-BSbrdRvA.js → runtime-HbOyntiw.js} +8 -8
- package/dist/{runtime-BSbrdRvA.js.map → runtime-HbOyntiw.js.map} +1 -1
- package/dist/{search-method-Hjmqa4B8.js → search-method-D2H7J_CE.js} +2 -2
- package/dist/{search-method-Hjmqa4B8.js.map → search-method-D2H7J_CE.js.map} +1 -1
- package/dist/{server-DuSo1qox.js → server-Bgy1lt_A.js} +3 -3
- package/dist/{server-DuSo1qox.js.map → server-Bgy1lt_A.js.map} +1 -1
- package/dist/{stream-agent-turn-IIqBKeLB.d.ts → stream-agent-turn-CaLVbKSY.d.ts} +15 -3
- package/dist/{substrate-CHQ5GYnU.d.ts → substrate-E5mSYCU7.d.ts} +2 -2
- package/dist/{supervise-tLnNRbmr.js → supervise-Dgfve4nM.js} +18 -14
- package/dist/supervise-Dgfve4nM.js.map +1 -0
- package/dist/{supervisor-D4NnNHZd.js → supervisor-Ds1NgT-A.js} +100 -6
- package/dist/supervisor-Ds1NgT-A.js.map +1 -0
- package/dist/testing.d.ts +2 -2
- package/dist/testing.js +12 -12
- package/dist/tui/index.d.ts +1 -1
- package/dist/tui/index.js +1 -1
- package/dist/{types-D56jQad-.d.ts → types-wIVzqXdQ.d.ts} +3 -1
- package/package.json +1 -1
- package/skills/profile-authoring/SKILL.md +42 -89
- package/skills/profile-authoring/references/acceptance-examples.md +93 -0
- package/dist/supervise-tLnNRbmr.js.map +0 -1
- package/dist/supervisor-D4NnNHZd.js.map +0 -1
package/dist/testing.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Ac as SuperviseTestOptions, Mc as superviseWithTestBrain, Tn as driverAgent, Zt as RunGraphTestOptions, tn as runGraphWithTestBrain, ul as SupervisorAgentTestDeps, wn as DriverAgentOptions, yl as supervisorAgentWithTestBrain } from "./index-
|
|
2
|
-
import {
|
|
1
|
+
import { Ac as SuperviseTestOptions, Mc as superviseWithTestBrain, Tn as driverAgent, Zt as RunGraphTestOptions, tn as runGraphWithTestBrain, ul as SupervisorAgentTestDeps, wn as DriverAgentOptions, yl as supervisorAgentWithTestBrain } from "./index-BspUvwtx.js";
|
|
2
|
+
import { Kn as ToolLoopCallContext, qn as ToolLoopChat } from "./stream-agent-turn-CaLVbKSY.js";
|
|
3
3
|
import { AgentImprovementProposal, AgentProfile, AgentProfileImprovementMeasuredComparison, SandboxSizePreset } from "@tangle-network/agent-interface";
|
|
4
4
|
//#region src/testing/index.d.ts
|
|
5
5
|
/** A proposal produced by Runtime's opaque profile-improvement path. */
|
package/dist/testing.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { O as immutableCandidateValue, w as canonicalCandidateDigest$1 } from "./workspace-archive-MhowMCmp.js";
|
|
2
|
-
import { f as verifyAgentImprovementProposal } from "./improvement-cycle-
|
|
2
|
+
import { f as verifyAgentImprovementProposal } from "./improvement-cycle-Cm_YPUwJ.js";
|
|
3
3
|
import { i as applyExactAgentProfileDiff, p as parseExactAgentProfile } from "./profile-C4NDjZyB.js";
|
|
4
|
-
import { r as driverAgent } from "./coordination-driver-
|
|
5
|
-
import { a as superviseWithTestBrain, h as supervisorAgentWithTestBrain } from "./supervise-
|
|
6
|
-
import { i as runGraphWithTestBrain } from "./graph-
|
|
4
|
+
import { r as driverAgent } from "./coordination-driver-CLqj3s53.js";
|
|
5
|
+
import { a as superviseWithTestBrain, h as supervisorAgentWithTestBrain } from "./supervise-Dgfve4nM.js";
|
|
6
|
+
import { i as runGraphWithTestBrain } from "./graph-to6d8CPK.js";
|
|
7
7
|
import { SANDBOX_SIZE_PRESET_NAMES, canonicalAgentProfileDigest } from "@tangle-network/agent-interface";
|
|
8
8
|
//#region src/testing/fixtures/agent-improvement-proposal.json
|
|
9
9
|
var agent_improvement_proposal_default = {
|
|
10
10
|
changedSurfaces: ["prompt"],
|
|
11
|
-
digest: "sha256:
|
|
11
|
+
digest: "sha256:0bdb2ee4bdd9dbd1423a6b9460a239d360b287e9a999fc9de112abbcd6d9a179",
|
|
12
12
|
evaluation: {
|
|
13
13
|
"decision": {
|
|
14
14
|
"contributingChecks": [
|
|
@@ -4579,7 +4579,7 @@ var agent_improvement_proposal_default = {
|
|
|
4579
4579
|
],
|
|
4580
4580
|
"metadata": {
|
|
4581
4581
|
"fixture": "agent-improvement-proposal",
|
|
4582
|
-
"runtimeVersion": "0.
|
|
4582
|
+
"runtimeVersion": "0.286.0"
|
|
4583
4583
|
},
|
|
4584
4584
|
"objectives": [
|
|
4585
4585
|
{
|
|
@@ -4690,8 +4690,8 @@ var agent_improvement_proposal_default = {
|
|
|
4690
4690
|
"baselineContentHash": "sha256:5c21ee53e513fc604cb09754e21c392b24a424da0ef37dbf8f1ee4a8a0b08f09",
|
|
4691
4691
|
"candidateContentHash": "sha256:60fcbb1c728194bd51d7d19cb732d1c3f1881dce7e0a6266b41c8b98cfd65693",
|
|
4692
4692
|
"kind": "agent-eval-loop",
|
|
4693
|
-
"recordDigest": "sha256:
|
|
4694
|
-
"runId": "agent-runtime-0.
|
|
4693
|
+
"recordDigest": "sha256:62fe853c8ba86a49e7297389cd7d045f53a98b396500db9160aa94b2a3da9969",
|
|
4694
|
+
"runId": "agent-runtime-0.286.0-proposal-fixture",
|
|
4695
4695
|
"schema": "agent-candidate-experiment"
|
|
4696
4696
|
}
|
|
4697
4697
|
},
|
|
@@ -4714,13 +4714,13 @@ var agent_improvement_proposal_default = {
|
|
|
4714
4714
|
}],
|
|
4715
4715
|
kind: "agent-improvement-proposal",
|
|
4716
4716
|
proposedAt: "2026-07-10T01:00:00.000Z",
|
|
4717
|
-
runId: "agent-runtime-0.
|
|
4717
|
+
runId: "agent-runtime-0.286.0-proposal-fixture"
|
|
4718
4718
|
};
|
|
4719
4719
|
//#endregion
|
|
4720
4720
|
//#region src/testing/fixtures/agent-profile-improvement-proposal.json
|
|
4721
4721
|
var agent_profile_improvement_proposal_default = {
|
|
4722
4722
|
changedSurfaces: ["prompt", "skills"],
|
|
4723
|
-
digest: "sha256:
|
|
4723
|
+
digest: "sha256:ed9681233c29af4fb29019b51588ff5140844b92b0327fa9227275d0fb6a0847",
|
|
4724
4724
|
evaluation: {
|
|
4725
4725
|
"decision": {
|
|
4726
4726
|
"contributingChecks": [
|
|
@@ -6354,7 +6354,7 @@ var agent_profile_improvement_proposal_default = {
|
|
|
6354
6354
|
],
|
|
6355
6355
|
"metadata": {
|
|
6356
6356
|
"fixture": "agent-profile-improvement-proposal",
|
|
6357
|
-
"runtimeVersion": "0.
|
|
6357
|
+
"runtimeVersion": "0.286.0"
|
|
6358
6358
|
},
|
|
6359
6359
|
"objectives": [
|
|
6360
6360
|
{
|
|
@@ -6465,7 +6465,7 @@ var agent_profile_improvement_proposal_default = {
|
|
|
6465
6465
|
"baselineContentHash": "sha256:21c495a37c418c10bde64fbaa188beddeed31f1f051ea60a6a6582a9ee0db704",
|
|
6466
6466
|
"candidateContentHash": "sha256:103f77bc8481601eef1ad5fe6ba84a40dffabc3a44f421f8c8559121edab84e9",
|
|
6467
6467
|
"kind": "agent-eval-loop",
|
|
6468
|
-
"recordDigest": "sha256:
|
|
6468
|
+
"recordDigest": "sha256:e2bdfd2d42a76497049c35a618ef9511a07cb558e1622b62541fc0b63da94798",
|
|
6469
6469
|
"runId": "profile-improvement-1",
|
|
6470
6470
|
"schema": "agent-profile-improvement-experiment"
|
|
6471
6471
|
}
|
package/dist/tui/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ct as ProvisionSupervisorConnection, Dt as provisionSupervisor, Et as SupervisorCleanupReceipt, Tt as ProvisionedSupervisor, wt as ProvisionSupervisorRequest } from "../index-
|
|
1
|
+
import { Ct as ProvisionSupervisorConnection, Dt as provisionSupervisor, Et as SupervisorCleanupReceipt, Tt as ProvisionedSupervisor, wt as ProvisionSupervisorRequest } from "../index-BspUvwtx.js";
|
|
2
2
|
//#region src/tui/top-app.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* The interactive side of the supervisor-run TUI: a keypress/mouse loop over the frames
|
package/dist/tui/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as provisionSupervisor } from "../provision-supervisor-
|
|
1
|
+
import { t as provisionSupervisor } from "../provision-supervisor-CoXCyrZX.js";
|
|
2
2
|
import { a as renderTopFrameWithLayout, i as renderTopFrame, n as runTopApp, r as loadTopSnapshot, t as renderTopOnce } from "../top-app-DaiR4LXM.js";
|
|
3
3
|
export { loadTopSnapshot, provisionSupervisor, renderTopFrame, renderTopFrameWithLayout, renderTopOnce, runTopApp };
|
|
@@ -2267,6 +2267,8 @@ interface ContinuationNoteInput {
|
|
|
2267
2267
|
readonly progress: DriverProgressMark;
|
|
2268
2268
|
/** Whether `read_continuation` is served to this manager. */
|
|
2269
2269
|
readonly canReadMore: boolean;
|
|
2270
|
+
/** Whether submit_result is served to this manager. Absent means unavailable. */
|
|
2271
|
+
readonly canSubmitResult?: boolean;
|
|
2270
2272
|
/** Whether the check's score comes from cases the director cannot see. */
|
|
2271
2273
|
readonly sealed?: boolean;
|
|
2272
2274
|
}
|
|
@@ -5818,4 +5820,4 @@ interface WidenGate<Out> {
|
|
|
5818
5820
|
}
|
|
5819
5821
|
//#endregion
|
|
5820
5822
|
export { SpawnJournal as $, RuntimeStreamEvent as $a, Iteration as $i, ReadableEnvironment as $n, RetainedInteractiveBindingError as $r, RuntimeStreamEventCollector as $t, NodeExecutionIdentity as A, RuntimeRunStatus as Aa, RetainedRunStartMaterial as Ai, RetainedPendingCause as An, ContinuationPanelInput as Ar, TraceContext as At, ResultBlobStore as B, AgentTaskRunResult as Ba, ReservationHolder as Bi, ReconnectRetainedInteractiveRunOptions as Bn, distillFindings as Br, OtelSpan as Bt, ExecutorToolCall as C, Validator as Ca, RetainedRunEffect as Ci, SessionTraceBox as Cn, CheckUnavailableError as Cr, WorkspaceCheckpointMarker as Ct, MaterializedExecutionIdentity as D, RuntimeRunOptions as Da, RetainedRunIntentAdmission as Di, decodeToolPart as Dn, ContinuationEntry as Dr, workerTraceEnv as Dt, HeldEnvironment as E, RuntimeRunHandle as Ea, RetainedRunHandle as Ei, createPushTraceSource as En, ContinuationContext as Er, readWorkerTraceContext as Et, ProviderModelAttemptEvidence as F, AgentExecutionBackend as Fa, BudgetPoolRestore as Fi, ScopeProgressInput as Fn, VerdictSummary as Fr, LoopSpanNode as Ft, RootMaterialization as G, OpenAIChatResponseFormat as Ga, ReservationWaitRefused as Gi, RetainedInteractiveStartMaterial as Gn, AgentEvalError$1 as Gr, createOpenInferenceFileExporter as Gt, ResumedWork as H, AgentTaskStatus as Ha, ReservationShortfall as Hi, RetainedInteractiveAdmissionHook as Hn, failedItems as Hr, buildLoopOtelSpans as Ht, ProviderModelExecutionEvidence as I, AgentKnowledgeProvider as Ia, BudgetReadout as Ii, TeamProgress as In, admitContinuationPolicy as Ir, OtelAttribute as It, RootStreamReceipt as J, RunAgentTaskOptions as Ja, spendFromUsageEvents as Ji, HarnessTranscriptCapture as Jn, ConfigError as Jr, loopEventToOtelSpan as Jt, RootProviderModelEvidence as K, OpenAIChatTool as Ka, ReserveOptions as Ki, StartRetainedInteractiveRunOptions as Kn, AgentEvalErrorCode as Kr, createOtelExporter as Kt, RecursiveReservationPolicy as L, AgentRuntimeEvent as La, BudgetReconcileFault as Li, WorkerProgress as Ln, admitFinding as Lr, OtelExportConfig as Lt, NodeSnapshot as M, AgentAdapter as Ma, StartRetainedRunInEnvironmentOptions as Mi, ActivityNote as Mn, ContinuationPolicy as Mr, mergeTraceEnv as Mt, NodeStatus as N, AgentBackendContext as Na, StartRetainedRunOptions as Ni, DEFAULT_STALL_AFTER_MS as Nn, ContinuationProfile as Nr, readTraceContextFromEnv as Nt, MaterializedModelIdentity as O, RuntimeRunPersistenceAdapter as Oa, RetainedRunReplayPoint as Oi, sandboxSessionTraceSource as On, ContinuationNoteInput as Or, workerTraceHeaders as Ot, ProfileMaterializationReceipt as P, AgentBackendInput as Pa, BudgetPool as Pi, ExecutorProgress as Pn, PanelFinding as Pr, traceContextToEnv as Pt, SpawnEvent as Q, RuntimeSessionStore as Qa, ExecCtx as Qi, HarnessTranscriptUnavailableReason as Qn, RetainedInteractiveAdmissionError as Qr, RuntimeEventCollector as Qt, ResourceLimit as R, AgentRuntimeEventSink as Ra, LeakedReservation as Ri, createActivityLog as Rn, checkVerdictOf as Rr, OtelExportStats as Rt, ExecutorTeardownWarning as S, ValidationCtx as Sa, RetainedRunDispatchedAdmission as Si, SessionMessageLike as Sn, CheckRead as Sr, WorkerTraceUnavailableReason as St, Handle as T, RuntimeRunCost as Ta, RetainedRunEventOptions as Ti, TraceSource as Tn, ContinuationAppend as Tr, WorkerTraceSeamCarrier as Tt, RetainedExecutionState as U, BackendErrorDetail as Ua, ReservationStage as Ui, RetainedInteractiveEnvironmentInput as Un, passedItems as Ur, buildLoopSpanNodes as Ut, ResumedKeyState as V, AgentTaskSpec as Va, ReservationRejection as Vi, RecoverRetainedInteractiveRunOptions as Vn, expandQuestions as Vr, RuntimeEventOtelOptions as Vt, RootHandle as W, KnowledgeReadinessDecision as Wa, ReservationTicket as Wi, RetainedInteractiveRunHandle as Wn, verdictFromJudgeScore as Wr, buildRuntimeEventOtelSpans as Wt, Scope as X, RuntimeCanonicalStreamEvent as Xa, DefaultVerdict$1 as Xi, HarnessTranscriptFile as Xn, NotFoundError as Xr, padTraceId as Xt, Runtime as Y, RunAgentTaskStreamOptions as Ya, AgentRunSpec as Yi, HarnessTranscriptEvidence as Yn, JudgeError as Yr, padSpanId as Yt, Settled as Z, RuntimeSession as Za, Driver as Zi, HarnessTranscriptUnavailable as Zn, PlannerError as Zr, toOtelAttributes as Zt, ExecutorMaterialization as _, MountRecorder as _a, RetainedInteractiveStartedAdmission as _i, isWaitOutcome as _n, upstreamUnavailableSignal as _r, WaitOpts as _t, BudgetOverspend as a, LoopLineageOptions as aa, WorkerSlots as ai, createRuntimeEventCollector as an, DriverAttemptsExhaustedError as ar, SpendGap as at, ExecutorRegistry as b, SandboxClient as ba, RetainedRunCancelOptions as bi, validateWaitSpec as bn, CONTINUATIONS_DIR as br, WorkerInteractiveUnavailableReason as bt, EnvironmentTeardownReceipt as c, LoopResult as ca, NativeContextContinuationHandle as ci, sanitizeKnowledgeReadinessReport as cn, DriverContractState as cr, SubtreeSummary as ct, ExecutorAccounting as d, LoopTeardownFailedPayload as da, RecoverRetainedRunIntentOptions as di, WaitOutcome as dn, DriverProgressMark as dr, SupervisorOpts as dt, LoopDecisionPayload as ea, RetainedRunAdmissionError as ei, RuntimeStreamEventSink as en, captureHarnessTranscript as er, SpawnOpts as et, ExecutorCancellation as f, LoopTokenUsage as fa, RecoverRetainedRunOptions as fi, WaitProbe as fn, DriverReentry as fr, TokenUsageProvenance as ft, ExecutorFactory as g, MountManifestEntry as ga, RetainedInteractiveIntentAdmission as gi, createWaitProbes as gn, summarizeDriverAttempts as gr, UsageEvent as gt, ExecutorExecutionBinding as h, LoopWinner as ha, RetainedInteractiveEnvironmentAdmission as hi, WaitSpec as hn, classifyDriverFailure as hr, UnknownMaterializationReason as ht, Budget as i, LoopIterationStartedPayload as ia, SlotPermit as ii, SanitizedKnowledgeRequirement as in, DriverAttemptStop as ir, SpendChannel as it, NodeId as j, startRuntimeRun as ja, RetainedRunTurnInput as ji, ActivityLog as jn, ContinuationPanelResult as jr, createPropagatingTraceEmitter as jt, NoWinnerError as k, RuntimeRunRow as ka, RetainedRunSnapshot as ki, RetainedChildRecovery as kn, ContinuationPanel as kr, workerTraceSeamKey as kt, ExecutionBindingReceipt as l, LoopSandboxPlacement as la, NativeContextContinuationInput as li, sanitizeRuntimeStreamEvent as ln, DriverFailureClass as lr, SupervisedResult as lt, ExecutorContext as m, LoopTraceEvent as ma, RetainedInteractiveAdmission as mi, WaitRejection as mn, DriverRetryPolicy as mr, UnconfirmedTeardown as mt, AgentExecutionRef as n, LoopIterationDispatchPayload as na, RuntimeRunStateError as ni, RuntimeTelemetryOptions as nn, persistHarnessTranscript as nr, SpawnRejection as nt, BudgetViolation as o, LoopPlanDescription as oa, createWorkerSlots as oi, createRuntimeStreamEventCollector as on, DriverBudgetReadout as or, SteerableRootHandle as ot, ExecutorCancellationRequest as p, LoopTraceEmitter as pa, RecoverRetainedRunResult as pi, WaitProbeRegistry as pn, DriverRepromptRefusal as pr, TreeView as pt, RootSignal as q, OpenAIChatToolChoice as qa, createBudgetPool as qi, HarnessTranscriptArtifact as qn, BackendTransportError as qr, generateSpanId as qt, AgentSpec as r, LoopIterationEndedPayload as ra, ValidationError as ri, SanitizedKnowledgeReadinessReport as rn, DriverAttemptRecord as rr, Spend as rt, DefaultVerdict as s, LoopPlanPayload as sa, NativeContextContinuationExecution as si, sanitizeAgentRuntimeEvent as sn, DriverContinuationRecord as sr, SubtreeResult as st, Agent as t, LoopEndedPayload as ta, RetainedRunDispatchBindingError as ti, RuntimeStreamEventSummary as tn, harnessTranscriptArtifact as tr, SpawnPrior as tt, Executor as u, LoopStartedPayload as ua, ReconnectRetainedRunOptions as ui, PendingWait as un, DriverLoopRecord as ur, Supervisor as ut, ExecutorNodeContext as v, OutputAdapter as va, RetainedRunAdmission as vi, pollFor as vn, UnavailablePausePolicy as vr, WidenGate as vt, FleetYield as w, RuntimeRunCompleteInput as wa, RetainedRunEnvironmentAdmission as wi, ToolStepInput as wn, CheckVerdict as wr, WorkerTraceResolver as wt, ExecutorResult as x, SelectionReceipt as xa, RetainedRunCancellation as xi, waitUntil as xn, CONTINUATION_FACTS as xr, WorkerTraceEvidence as xt, ExecutorProgressEvent as y, RunProvenance as ya, RetainedRunAdmissionHook as yi, timerAt as yn, AdmittedFinding as yr, WorkerInteractiveSession as yt, ResourceSpend as z, AgentTaskContext as za, ReservationFloor as zi, readWorkerProgress as zn, composeContinuationNote as zr, OtelExporter as zt };
|
|
5821
|
-
//# sourceMappingURL=types-
|
|
5823
|
+
//# sourceMappingURL=types-wIVzqXdQ.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/agent-runtime",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.286.0",
|
|
4
4
|
"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.",
|
|
5
5
|
"homepage": "https://github.com/tangle-network/agent-runtime#readme",
|
|
6
6
|
"repository": {
|
|
@@ -15,7 +15,6 @@ The audience accepts or rejects the result: a paper's authors and referees, a re
|
|
|
15
15
|
The proxy is the check you can run during the work: an exact checker, a test suite, a rater, or a demo.
|
|
16
16
|
The gap is everything the proxy accepts and the audience rejects.
|
|
17
17
|
Hacks live in the gap, and a stronger model does not close it.
|
|
18
|
-
Measured: where a known gap existed, 15 of 27 lanes with claims filed false "new" results; where none was known, 0 of 34 lanes did.
|
|
19
18
|
|
|
20
19
|
## 1. Name the audience and its acceptance test
|
|
21
20
|
|
|
@@ -82,19 +81,32 @@ A null that is no search, such as a spec conflict or a gap list, names each item
|
|
|
82
81
|
A null without a certificate, or without a registered reproducer, is recorded as "stopped, unverified", never as success.
|
|
83
82
|
A null inside a range the source checked or an earlier reproduced null covered adds nothing.
|
|
84
83
|
Tell agents the checker may be wrong; credit a checker-defect report the same way, once someone outside the run reproduces the defect.
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
84
|
+
|
|
85
|
+
Separate execution settlement, development progress, and final acceptance.
|
|
86
|
+
An unknown outside verdict does not establish absent research progress.
|
|
87
|
+
Match completion instructions to the tools actually served to that node.
|
|
88
|
+
Require `submit_result` only when its grant and checker exist.
|
|
89
|
+
Keep unassessed results unassessed when the execution contract permits settlement without acceptance.
|
|
90
|
+
|
|
91
|
+
For continued research, inspect the installed Runtime deliverable and continuation contracts before choosing bounds.
|
|
92
|
+
Use the existing `checkState` interface for calibrated development measurements when applicable.
|
|
93
|
+
Probe useful progress and unchanged or invalid artifacts before relying on the measurement.
|
|
94
|
+
An always-false acceptance placeholder alone cannot distinguish useful work from stagnation.
|
|
95
|
+
Preserve genuine no-progress limits, deadlines, budgets, and cancellation.
|
|
96
|
+
Choose `maxBarren` from the task's measured feedback cadence; pending assessment does not justify a universally low value.
|
|
97
|
+
|
|
98
|
+
For managers, state how they wait for descendants and collect their artifacts before returning.
|
|
99
|
+
A nested manager returning can end its scope and cancel live descendants.
|
|
100
|
+
Use the granted `await_event` tool while required descendant work remains live.
|
|
101
|
+
A bounded event wait can return before the worker finishes; inspect its state and continue waiting when appropriate.
|
|
102
|
+
A background shell timer does not establish Runtime re-entry.
|
|
103
|
+
Require each descendant to retain partial work where its parent can recover it after interruption.
|
|
104
|
+
|
|
105
|
+
Retain certificates and partial work where the outside assessor can read exact bytes.
|
|
106
|
+
A certificate becomes accepted only through the registered outside check.
|
|
107
|
+
Record the actual termination cause separately from the research outcome.
|
|
108
|
+
State the continuation policy and available completion path in the immutable input.
|
|
109
|
+
A source merge proves no change to an installed or running process.
|
|
98
110
|
|
|
99
111
|
## 6. Carry known traps
|
|
100
112
|
|
|
@@ -103,7 +115,6 @@ Write each trap as what the held-back acceptance refuses, never as what the prox
|
|
|
103
115
|
"The outside check does not count a c = 0 instance" is a trap; "the checker passed c = 0 claims" is a recipe.
|
|
104
116
|
Examples: excluded or trivial cases, stale or wrong-field comparators, published answers, tests versus users, a demo versus a customer, a rater versus an expert.
|
|
105
117
|
Keep infrastructure incidents out of the brief; the operator owns the stack.
|
|
106
|
-
Measured: a director told of an infrastructure failure spent 2 of its first 4 children probing it.
|
|
107
118
|
Record each new trap where the next author reads it, in the same change as its fix.
|
|
108
119
|
|
|
109
120
|
## 7. Set budget and caps
|
|
@@ -118,7 +129,6 @@ Give each paid job its own named key with a dollar cap, and state the dollars be
|
|
|
118
129
|
|
|
119
130
|
Before launch, register the claim, the arms, the outcome measures, the useful-effect threshold, and the result that would refute the claim.
|
|
120
131
|
Run each ingredient you want to credit against a control without it: the referee, the credited exit, live notes, the wording.
|
|
121
|
-
Measured elsewhere: prompt wording alone moved one model's cheating from over 85% to 1%.
|
|
122
132
|
Count precision after review, not claim volume.
|
|
123
133
|
Report reviewed-claim precision, canary pass rate, how many proxy passes the audience accepts, and the cost per accepted result.
|
|
124
134
|
|
|
@@ -136,15 +146,20 @@ Keep unknown cost, output and state unknown; never record them as zero or succes
|
|
|
136
146
|
Before a new or changed profile, name the observed reason and the result that would reverse the choice.
|
|
137
147
|
Before you retry a null or failed child, inspect its recorded artifacts; finished work may be usable.
|
|
138
148
|
A profile with no Runtime coordination tool is a leaf; any coordination tool makes it a managed node.
|
|
139
|
-
|
|
149
|
+
`agent_runtime_coordination_spawn_worker: true` grants Runtime spawning; names, metadata and role labels grant nothing.
|
|
150
|
+
Prove recursive execution through actual child-to-grandchild edges.
|
|
151
|
+
Record harness-native children separately from Runtime children.
|
|
152
|
+
Group retries of the same assignment into one lineage when comparing teams.
|
|
140
153
|
Grant `submit_result` only when Runtime gives that node an independent check; otherwise its settlement stays unassessed.
|
|
141
154
|
Grant only the observation, steering and journal tools that the assignment needs.
|
|
142
155
|
Set `harness`, `model.default` and `model.provider` explicitly, and validate against the current `agentProfileSchema`.
|
|
143
156
|
A tool name must be one the harness publishes, and a refused name fails the same way on retry.
|
|
144
157
|
`ls`, `list` and `find` are not tool names; select paths with a glob tool and search contents with a grep tool.
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
158
|
+
Inspect materialized permissions and served tools before relying on a restriction.
|
|
159
|
+
Distinguish exact Runtime grants from harness-native defaults, which may expose additional tools.
|
|
160
|
+
Keep file access within the actual permission boundary.
|
|
161
|
+
Use the execution owner's supported cancellation and recovery procedures for a wedged parent.
|
|
162
|
+
Compare Runtime's materialization receipt and served tool set with what you authored before a large run.
|
|
148
163
|
|
|
149
164
|
Hand a file by path in `resources.files`, and compare the returned sha256 with your source:
|
|
150
165
|
|
|
@@ -172,82 +187,20 @@ Referee: family, instrument, dollars:
|
|
|
172
187
|
Monitor: model, what it may steer:
|
|
173
188
|
Null certificate: space, rows, calibration; registered reproducer, sha256, source calibration; who reruns it, budget:
|
|
174
189
|
Credited exit, in the agents' words:
|
|
175
|
-
|
|
190
|
+
Served completion tools and observed materialization:
|
|
191
|
+
Development progress measurement, calibration, and feedback cadence:
|
|
192
|
+
Stop: installed check/continuation policy, deadline, maxBarren, budget, cancellation:
|
|
176
193
|
Known traps handed to agents:
|
|
177
194
|
Budget, caps, key and its dollar cap:
|
|
178
195
|
Arms, control, measures, threshold, refuting result:
|
|
179
196
|
Records that expose a hack:
|
|
180
197
|
```
|
|
181
198
|
|
|
182
|
-
##
|
|
183
|
-
|
|
184
|
-
### Counterexample hunt, before and after
|
|
185
|
-
|
|
186
|
-
Before, on a 36-lane hunt over 12 conjectures in 2026-09:
|
|
187
|
-
The brief transcribed Wang and Zheng's Conjecture 13 (arXiv:2104.12942) as "c != 1".
|
|
188
|
-
The checker refused only c = 1, and its admission decoys came from that transcription.
|
|
189
|
-
Workers held the same checker that scored claims, and it counted any verified claim as new.
|
|
190
|
-
All 3 lanes on that conjecture filed 39 "verified-new" claims, every one at c = 0.
|
|
191
|
-
The paper assumes c != 0 throughout; at c = 0 the question is only whether x^d permutes the field.
|
|
192
|
-
The real yield was 0.
|
|
193
|
-
|
|
194
|
-
After:
|
|
195
|
-
Audience: the paper's authors and its referees.
|
|
196
|
-
Acceptance: Conjecture 13 quoted with the standing assumption that c is not 0 or 1, plus a literature sweep.
|
|
197
|
-
Gap probe: before launch, the checker refuses c = 0 and classes a Corollary 11 family member as known.
|
|
198
|
-
Agents run the development checker; the operator reruns a held-back checker and the sweep on each packet.
|
|
199
|
-
A referee from another family recomputes each claim with its own code.
|
|
200
|
-
A null over m <= 20 ends the run at its bound, and it counts once the outside check reruns its own reproducer on the certificate's cells.
|
|
201
|
-
Arms: with and without the referee.
|
|
202
|
-
|
|
203
|
-
### A null that counts
|
|
204
|
-
|
|
205
|
-
Wang and Zheng checked Conjecture 13 for 2 <= m <= 10.
|
|
206
|
-
Two lanes searched every (m, d, c) with c not in {0, 1} to m = 20, found no counterexample, and wrote a table.
|
|
207
|
-
Nobody outside the run could check that table.
|
|
208
|
-
Before the next launch, the operator registers a reference search for one m, its sha256, and its calibration: Theorem 9 gives 4 PcN pairs at m = 6 and 8 at m = 10, and a canary drops family (2) so those pairs must count as found.
|
|
209
|
-
As a certificate, the null reads:
|
|
210
|
-
|
|
211
|
-
```json
|
|
212
|
-
{"space": {"cells": {"m": {"from": 2, "to": 20}}, "method": "enumerate", "bound": "m <= 20",
|
|
213
|
-
"within": "each unit d modulo 2^m - 1, one per Frobenius orbit, and each c outside {0, 1}"},
|
|
214
|
-
"rows": [{"cell": {"m": 12}, "searched": 585442, "positives": 28, "found": 0}],
|
|
215
|
-
"calibration": [{"cell": {"m": 6}, "why": "Theorem 9: x^5 is PcN for c in GF(4) outside {0, 1}"}],
|
|
216
|
-
"reference": "sha256:5d198f4fc2d9..."}
|
|
217
|
-
```
|
|
199
|
+
## Examples
|
|
218
200
|
|
|
219
|
-
|
|
220
|
-
The
|
|
221
|
-
|
|
222
|
-
A reference that searches nothing fails at m = 6; one whose found never fires fails the canary.
|
|
223
|
-
If the budget ends after m = 18, the null is credited for 11 <= m <= 18 only.
|
|
224
|
-
The in-run check holds the certificate, and the run ends at `maxBarren`; only the rerun gives credit.
|
|
225
|
-
The trap for this conjecture reads: "the outside check does not count a c = 0 instance; the source sets c = 0 aside".
|
|
226
|
-
|
|
227
|
-
### Coding task scored by tests
|
|
228
|
-
|
|
229
|
-
Audience: the task's author, and a maintainer who decides whether to merge.
|
|
230
|
-
Proxy: the visible tests.
|
|
231
|
-
Gap: a change that passes the tests and that a maintainer rejects, such as a special-cased input, an edited test or a skipped check.
|
|
232
|
-
Measured: in an 8-lane Terminal-Bench batch, Runtime marked 6 lanes as winners and the task's verifier passed 1 of them.
|
|
233
|
-
Profile: agents run the visible tests.
|
|
234
|
-
The held-back verifier and hidden tests run on the patch in a fresh container.
|
|
235
|
-
Hash the test files; a changed test fails acceptance.
|
|
236
|
-
A referee from another family reads the diff for special cases.
|
|
237
|
-
A report that the task cannot pass without breaking its specification ends the run; it counts once the held-back verifier reproduces the conflict.
|
|
238
|
-
|
|
239
|
-
### Product for a customer
|
|
240
|
-
|
|
241
|
-
Audience: the customer who pays, and the decision the product supports.
|
|
242
|
-
Acceptance: the customer's own evaluation criteria, quoted, and a walkthrough of the running product doing the customer's task.
|
|
243
|
-
Proxy: an LLM fulfilment rater and a compliance checklist.
|
|
244
|
-
Gap, measured across product lanes: the rater accepted 19 of 31 failed lanes and scored 0.45 where always-reject scored 0.73.
|
|
245
|
-
In one wave, 19 of 44 reviewers never received the product.
|
|
246
|
-
Profile: reviewers mount the product by path and must run it.
|
|
247
|
-
A referee from another family walks the customer's task on the running product.
|
|
248
|
-
The rater stays a ruler, not a gate, until it beats always-reject.
|
|
249
|
-
Acceptance is the owner's or the customer's walkthrough.
|
|
250
|
-
"Not ready, and this is what is missing" ends the run; it counts once the owner's walkthrough reproduces each gap.
|
|
201
|
+
For acceptance gaps and null certificates, read [acceptance examples](references/acceptance-examples.md).
|
|
202
|
+
The core instructions above are complete when only this file is mounted.
|
|
203
|
+
Mount the reference as well when the assignment needs its worked examples.
|
|
251
204
|
|
|
252
205
|
## Then consider
|
|
253
206
|
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
# Acceptance examples
|
|
2
|
+
|
|
3
|
+
These examples preserve historical observations from the previous skill.
|
|
4
|
+
Their counts are not current fleet measurements or default settings.
|
|
5
|
+
|
|
6
|
+
## Contents
|
|
7
|
+
|
|
8
|
+
- [Counterexample hunt](#counterexample-hunt-before-and-after)
|
|
9
|
+
- [A null that counts](#a-null-that-counts)
|
|
10
|
+
- [Coding task](#coding-task-scored-by-tests)
|
|
11
|
+
- [Customer product](#product-for-a-customer)
|
|
12
|
+
- [Other historical observations](#other-historical-observations)
|
|
13
|
+
|
|
14
|
+
## Counterexample hunt, before and after
|
|
15
|
+
|
|
16
|
+
Before, on a 36-lane hunt over 12 conjectures in 2026-09:
|
|
17
|
+
The brief transcribed Wang and Zheng's Conjecture 13 (arXiv:2104.12942) as "c != 1".
|
|
18
|
+
The checker refused only c = 1, and its admission decoys came from that transcription.
|
|
19
|
+
Workers held the same checker that scored claims, and it counted any verified claim as new.
|
|
20
|
+
All 3 lanes on that conjecture filed 39 "verified-new" claims, every one at c = 0.
|
|
21
|
+
The paper assumes c != 0 throughout; at c = 0 the question is only whether x^d permutes the field.
|
|
22
|
+
The real yield was 0.
|
|
23
|
+
|
|
24
|
+
After:
|
|
25
|
+
Audience: the paper's authors and its referees.
|
|
26
|
+
Acceptance: Conjecture 13 quoted with the standing assumption that c is not 0 or 1, plus a literature sweep.
|
|
27
|
+
Gap probe: before launch, the checker refuses c = 0 and classes a Corollary 11 family member as known.
|
|
28
|
+
Agents run the development checker; the operator reruns a held-back checker and the sweep on each packet.
|
|
29
|
+
A referee from another family recomputes each claim with its own code.
|
|
30
|
+
A null over m <= 20 ends the run at its bound, and it counts once the outside check reruns its own reproducer on the certificate's cells.
|
|
31
|
+
Arms: with and without the referee.
|
|
32
|
+
|
|
33
|
+
## A null that counts
|
|
34
|
+
|
|
35
|
+
Wang and Zheng checked Conjecture 13 for 2 <= m <= 10.
|
|
36
|
+
Two lanes searched every (m, d, c) with c not in {0, 1} to m = 20, found no counterexample, and wrote a table.
|
|
37
|
+
Nobody outside the run could check that table.
|
|
38
|
+
Before the next launch, the operator registers a reference search for one m, its sha256, and its calibration: Theorem 9 gives 4 PcN pairs at m = 6 and 8 at m = 10, and a canary drops family (2) so those pairs must count as found.
|
|
39
|
+
As a certificate, the null reads:
|
|
40
|
+
|
|
41
|
+
```json
|
|
42
|
+
{"space": {"cells": {"m": {"from": 2, "to": 20}}, "method": "enumerate", "bound": "m <= 20",
|
|
43
|
+
"within": "each unit d modulo 2^m - 1, one per Frobenius orbit, and each c outside {0, 1}"},
|
|
44
|
+
"rows": [{"cell": {"m": 12}, "searched": 585442, "positives": 28, "found": 0}],
|
|
45
|
+
"calibration": [{"cell": {"m": 6}, "why": "Theorem 9: x^5 is PcN for c in GF(4) outside {0, 1}"}],
|
|
46
|
+
"reference": "sha256:5d198f4fc2d9..."}
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
The rows list every m; one is shown.
|
|
50
|
+
The outside check hashes its copy, reruns the calibration and the canary with no network, then m = 11 to 20, then the rest.
|
|
51
|
+
Rows typed instead of computed fail at the first cell that differs, and a script in the lane's packet is never run.
|
|
52
|
+
A reference that searches nothing fails at m = 6; one whose found never fires fails the canary.
|
|
53
|
+
If the budget ends after m = 18, the null is credited for 11 <= m <= 18 only.
|
|
54
|
+
The run retains the certificate and ends under its registered stop policy; only the outside rerun gives credit.
|
|
55
|
+
The trap for this conjecture reads: "the outside check does not count a c = 0 instance; the source sets c = 0 aside".
|
|
56
|
+
|
|
57
|
+
## Coding task scored by tests
|
|
58
|
+
|
|
59
|
+
Audience: the task's author, and a maintainer who decides whether to merge.
|
|
60
|
+
Proxy: the visible tests.
|
|
61
|
+
Gap: a change that passes the tests and that a maintainer rejects, such as a special-cased input, an edited test or a skipped check.
|
|
62
|
+
Measured: in an 8-lane Terminal-Bench batch, Runtime marked 6 lanes as winners and the task's verifier passed 1 of them.
|
|
63
|
+
Profile: agents run the visible tests.
|
|
64
|
+
The held-back verifier and hidden tests run on the patch in a fresh container.
|
|
65
|
+
Hash the test files; a changed test fails acceptance.
|
|
66
|
+
A referee from another family reads the diff for special cases.
|
|
67
|
+
A conflict report follows the registered completion and stop policy.
|
|
68
|
+
It counts only after the held-back verifier reproduces the conflict.
|
|
69
|
+
|
|
70
|
+
## Product for a customer
|
|
71
|
+
|
|
72
|
+
Audience: the customer who pays, and the decision the product supports.
|
|
73
|
+
Acceptance: the customer's own evaluation criteria, quoted, and a walkthrough of the running product doing the customer's task.
|
|
74
|
+
Proxy: an LLM fulfilment rater and a compliance checklist.
|
|
75
|
+
Gap, measured across product lanes: the rater accepted 19 of 31 failed lanes and scored 0.45 where always-reject scored 0.73.
|
|
76
|
+
In one wave, 19 of 44 reviewers never received the product.
|
|
77
|
+
Profile: reviewers mount the product by path and must run it.
|
|
78
|
+
A referee from another family walks the customer's task on the running product.
|
|
79
|
+
The rater stays a ruler, not a gate, until it beats always-reject.
|
|
80
|
+
Acceptance is the owner's or the customer's walkthrough.
|
|
81
|
+
A gap report follows the registered completion and stop policy.
|
|
82
|
+
It counts only after the owner's walkthrough reproduces each gap.
|
|
83
|
+
|
|
84
|
+
## Other historical observations
|
|
85
|
+
|
|
86
|
+
These observations motivated the original guidance.
|
|
87
|
+
Consult their underlying records before reusing their numerical claims.
|
|
88
|
+
|
|
89
|
+
- Measured: where a known gap existed, 15 of 27 lanes with claims filed false "new" results; where none was known, 0 of 34 lanes did.
|
|
90
|
+
- Measured elsewhere: a credited exit cut one model's test cheating from 54% to 9%, while prohibitions barely moved another's.
|
|
91
|
+
- Measured: an in-run check that accepted a documented null made it the cheapest hack in 11 of 16 blind judgments.
|
|
92
|
+
- Measured: a director told of an infrastructure failure spent 2 of its first 4 children probing it.
|
|
93
|
+
- Measured elsewhere: prompt wording alone moved one model's cheating from over 85% to 1%.
|