@tangle-network/agent-runtime 0.297.6 → 0.297.7
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/testing.js
CHANGED
|
@@ -8,7 +8,7 @@ import { SANDBOX_SIZE_PRESET_NAMES, canonicalAgentProfileDigest } from "@tangle-
|
|
|
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:8dbe9fd929eaa0cceebbfa726924b798ff0da84b85d4ba53bb9c407a9608eacd",
|
|
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.297.
|
|
4582
|
+
"runtimeVersion": "0.297.7"
|
|
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.297.
|
|
4693
|
+
"recordDigest": "sha256:612b11fa629ee10b2649213bdfa5e14a352f2145849193ebc12b27df8189c506",
|
|
4694
|
+
"runId": "agent-runtime-0.297.7-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.297.
|
|
4717
|
+
runId: "agent-runtime-0.297.7-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:eb9153326d925773256ab4754ee7f9bb6c55c09ea1bb05915ec8ca86530607da",
|
|
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.297.
|
|
6357
|
+
"runtimeVersion": "0.297.7"
|
|
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:343d8e8131e62c914a83ced9dcfce7682b21713de3e821f2f3bc76d34488f70b",
|
|
6469
6469
|
"runId": "profile-improvement-1",
|
|
6470
6470
|
"schema": "agent-profile-improvement-experiment"
|
|
6471
6471
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/agent-runtime",
|
|
3
|
-
"version": "0.297.
|
|
3
|
+
"version": "0.297.7",
|
|
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": {
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
"@biomejs/biome": "^2.5.11",
|
|
105
105
|
"@modelcontextprotocol/sdk": "1.30.0",
|
|
106
106
|
"@tangle-network/agent-eval": "0.205.1",
|
|
107
|
-
"@tangle-network/agent-interface": "^2.
|
|
107
|
+
"@tangle-network/agent-interface": "^2.19.0",
|
|
108
108
|
"@tangle-network/agent-provider-tangle": "2.0.0",
|
|
109
109
|
"@tangle-network/sandbox": "^0.60.0",
|
|
110
110
|
"@types/node": "26.4.0",
|
|
@@ -128,12 +128,12 @@
|
|
|
128
128
|
"license": "MIT",
|
|
129
129
|
"peerDependencies": {
|
|
130
130
|
"@tangle-network/agent-eval": ">=0.203.0 <0.206.0",
|
|
131
|
-
"@tangle-network/agent-interface": "^2.
|
|
131
|
+
"@tangle-network/agent-interface": "^2.19.0",
|
|
132
132
|
"@tangle-network/sandbox": ">=0.58.4 <0.61.0"
|
|
133
133
|
},
|
|
134
134
|
"dependencies": {
|
|
135
135
|
"@tangle-network/agent-core": ">=0.10.2 <0.11.0",
|
|
136
|
-
"@tangle-network/agent-knowledge": "^19.0
|
|
136
|
+
"@tangle-network/agent-knowledge": "^19.1.0",
|
|
137
137
|
"@tangle-network/agent-profile-materialize": ">=0.20.1 <0.21.0",
|
|
138
138
|
"@tangle-network/agent-trace-contract": "^2.0.0",
|
|
139
139
|
"tar-stream": "3.2.1",
|
|
@@ -188,6 +188,7 @@ Hand a file by path in `resources.files`, and compare the returned sha256 with y
|
|
|
188
188
|
|
|
189
189
|
The outer `path` is the child's mount; the nested `resource.path` is a UTF-8 source file in your workspace, under 4 MiB.
|
|
190
190
|
Every profile that can spawn carries this complete skill as an immutable inline `resources.skills` entry, with `resources.failOnError: true`.
|
|
191
|
+
For research work, carry the complete research-director reference and the mounted capability inventory as well; it gives children the lookup and source selection procedure.
|
|
191
192
|
Copy the mounted bytes; never retype them.
|
|
192
193
|
|
|
193
194
|
## Checklist
|
|
@@ -10,6 +10,63 @@ Give each director a reason to exist: a distinct scientific question, method, co
|
|
|
10
10
|
|
|
11
11
|
Put standing responsibility in the profile and the current question in the assignment. A continuation carries established results, failed routes, unresolved disagreements, and the next decision. Compare predecessor and successor profiles explicitly; preserve the earlier registration and use the execution owner's existing continuation or fork contract.
|
|
12
12
|
|
|
13
|
+
## Find, retain, and select capabilities
|
|
14
|
+
|
|
15
|
+
Resolve installed skill symlinks to their owning source before pinning a capability.
|
|
16
|
+
Use the maintained discovery surfaces: `skills <topic>` for installed skills,
|
|
17
|
+
`drewstone/dotfiles` under `claude/skills` for public skills, the authorized
|
|
18
|
+
`tangle-network/skills-internal` marketplace for private skills, and each package's
|
|
19
|
+
current skill or API catalog. Runtime owns this profile-authoring skill.
|
|
20
|
+
A catalog entry names a candidate; read its complete instructions and requirements
|
|
21
|
+
before selecting it. A research proof, checker, dataset, or method can also be a
|
|
22
|
+
capability source. Preserve its original authorship and limits.
|
|
23
|
+
|
|
24
|
+
For Disco research, look up the retained program and its sources through the
|
|
25
|
+
existing Knowledge intake:
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
skills research
|
|
29
|
+
skills calibrate
|
|
30
|
+
disco research list
|
|
31
|
+
disco research show program:math-theory
|
|
32
|
+
# Use an exact source ID returned by the program lookup:
|
|
33
|
+
disco research show source:the-retained-source-id --content
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
Use the operator's existing `--store` and `--db` pair. Original source content must
|
|
37
|
+
be present in the private projection for `--content`; the operator can rebuild it
|
|
38
|
+
with `disco research refresh --content`. A missing projection, unavailable CLI,
|
|
39
|
+
access refusal, and an absent source are separate gaps. In a sandbox without these
|
|
40
|
+
CLIs, read the mounted catalog snapshot and selected full source files. The snapshot
|
|
41
|
+
must name its owner, source revision, lookup command, capture time, and coverage;
|
|
42
|
+
it is navigation evidence, not a replacement registry.
|
|
43
|
+
|
|
44
|
+
Retain newly consulted material as `kind: source` records through
|
|
45
|
+
`disco research record`, linked to the existing program. Record the repository or
|
|
46
|
+
artifact URI, immutable revision, SHA-256 and byte count, complete source output,
|
|
47
|
+
producer, prerequisites, allowed authority, and known evidence limits. Use the
|
|
48
|
+
existing `original.metadata` for these source observations. Keep selection separate:
|
|
49
|
+
a prepared registration is an `idea` record linked to the source IDs, with the
|
|
50
|
+
reason each source fits this question and the capabilities that remain unavailable.
|
|
51
|
+
Use the existing intake owner and configured write authority; prepare a batch when
|
|
52
|
+
write authority is absent. Private material stays in the authorized private archive.
|
|
53
|
+
|
|
54
|
+
Mount the selected full bytes through `AgentProfile.resources` and include a small
|
|
55
|
+
inventory pointing to the retained source IDs, hashes, and available resource paths.
|
|
56
|
+
Every spawn-capable node receives the complete current profile-authoring skill and
|
|
57
|
+
this research-director reference with `resources.failOnError: true`. Give it the
|
|
58
|
+
inventory and authority needed to select domain resources for its own children.
|
|
59
|
+
A child copies those immutable authoring resources when it can spawn, and selects
|
|
60
|
+
its other resources from the question and actual tool access. Names in an inventory
|
|
61
|
+
grant no tool, credential, installation permission, or extra budget.
|
|
62
|
+
|
|
63
|
+
For a continuation, identify the latest actual execution and its current operator
|
|
64
|
+
before preparing a successor. Preserve useful predecessor artifacts with their
|
|
65
|
+
qualifications. A prepared successor remains gated on reconciliation of any active
|
|
66
|
+
predecessor; new evidence that changes the assignment requires a new immutable
|
|
67
|
+
registration. Record which source set was available at preparation and which newer
|
|
68
|
+
output is still missing. Keep that operator gate outside the research handoff.
|
|
69
|
+
|
|
13
70
|
## Give analysis a working execution path
|
|
14
71
|
|
|
15
72
|
A request to reflect grants no tool, trace access, or model budget. Before launch, inspect the installed interfaces and connect the analysis required by the commission:
|