@tangle-network/agent-runtime 0.348.1 → 0.350.2
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-BEGalhOL.js → activation-CfJMyzEs.js} +12 -14
- package/dist/{activation-BEGalhOL.js.map → activation-CfJMyzEs.js.map} +1 -1
- package/dist/{activation-NQZP_mdI.d.ts → activation-DyiHrTlS.d.ts} +2 -24
- package/dist/agent.d.ts +8 -12
- package/dist/agent.js +9 -12
- package/dist/agent.js.map +1 -1
- package/dist/{analyst-loop-DZw5QWT9.js → analyst-loop-BZvXCDKy.js} +2 -3
- package/dist/{analyst-loop-DZw5QWT9.js.map → analyst-loop-BZvXCDKy.js.map} +1 -1
- package/dist/analyst-loop.d.ts +3 -5
- package/dist/analyst-loop.js +1 -2
- package/dist/{bundle-DKQtOO9d.js → bundle-Ze8pd07a.js} +3 -4
- package/dist/{bundle-DKQtOO9d.js.map → bundle-Ze8pd07a.js.map} +1 -1
- package/dist/candidate-execution/index.d.ts +13 -33
- package/dist/candidate-execution/index.js +16 -18
- package/dist/candidate-execution/index.js.map +1 -1
- package/dist/{coordination-manager-Bm6leXc6.js → coordination-manager-BkVfWlMz.js} +101 -132
- package/dist/coordination-manager-BkVfWlMz.js.map +1 -0
- package/dist/{delegate-Cp5-PsaX.js → delegate-DgEie4ad.js} +19 -21
- package/dist/delegate-DgEie4ad.js.map +1 -0
- package/dist/durable.d.ts +13 -23
- package/dist/durable.js +48 -43
- package/dist/durable.js.map +1 -1
- package/dist/{errors-DodWX-cb.js → errors-wuhGvpE3.js} +2 -3
- package/dist/{errors-DodWX-cb.js.map → errors-wuhGvpE3.js.map} +1 -1
- package/dist/{graph-CE_pzU31.js → graph-Cx0FhKSE.js} +192 -15
- package/dist/graph-Cx0FhKSE.js.map +1 -0
- package/dist/{improve-wT11zteg.js → improve-i0HU1-aa.js} +35 -53
- package/dist/{improve-wT11zteg.js.map → improve-i0HU1-aa.js.map} +1 -1
- package/dist/{improvement-adapter-sIthWkcN.d.ts → improvement-adapter-D5GRU1eY.d.ts} +2 -6
- package/dist/index.d.ts +41 -89
- package/dist/index.js +43 -61
- package/dist/index.js.map +1 -1
- package/dist/intelligence.d.ts +39 -59
- package/dist/intelligence.js +23 -33
- package/dist/intelligence.js.map +1 -1
- package/dist/kernel.d.ts +5 -5
- package/dist/kernel.js +11 -11
- package/dist/{loop-runner-CZzeeJTG.js → loop-runner-BwN9MhdP.js} +5 -6
- package/dist/{loop-runner-CZzeeJTG.js.map → loop-runner-BwN9MhdP.js.map} +1 -1
- package/dist/{loop-runner-CY5HHhtR.d.ts → loop-runner-DvfOXVx9.d.ts} +3 -5
- package/dist/loop-runner-bin.d.ts +5 -8
- package/dist/loop-runner-bin.js +2 -3
- package/dist/mcp/bin.js +6 -8
- package/dist/mcp/bin.js.map +1 -1
- package/dist/mcp/index.d.ts +8 -18
- package/dist/mcp/index.js +17 -25
- package/dist/mcp/index.js.map +1 -1
- package/dist/mcp/memory-bin.js +4 -6
- package/dist/mcp/memory-bin.js.map +1 -1
- package/dist/{model-policy-CyCUwHed.js → model-policy-GSxWwP-b.js} +11 -13
- package/dist/model-policy-GSxWwP-b.js.map +1 -0
- package/dist/placement.d.ts +12 -14
- package/dist/placement.js +1 -2
- package/dist/platform.d.ts +7 -13
- package/dist/platform.js +3 -6
- package/dist/platform.js.map +1 -1
- package/dist/{prepare-TEEHSJwq.js → prepare-DE8TQnLu.js} +49 -69
- package/dist/{prepare-TEEHSJwq.js.map → prepare-DE8TQnLu.js.map} +1 -1
- package/dist/{profile-6OLpbjvV.js → profile-CAhZDW2T.js} +58 -92
- package/dist/profile-CAhZDW2T.js.map +1 -0
- package/dist/{profile-materialization-bPm0gGLO.d.ts → profile-materialization-BRY22Oh8.d.ts} +1 -3
- package/dist/profiles.d.ts +25 -12
- package/dist/profiles.js +52 -11
- package/dist/profiles.js.map +1 -1
- package/dist/{protected-model-port-DVVh-hEk.d.ts → protected-model-port-IKqhTypD.d.ts} +2 -14
- package/dist/{protected-redaction-DFCeo4vg.js → protected-redaction-DilFZch5.js} +2 -3
- package/dist/{protected-redaction-DFCeo4vg.js.map → protected-redaction-DilFZch5.js.map} +1 -1
- package/dist/{provision-supervisor-CC0HdOHo.js → provision-supervisor-Bde_FF0R.js} +11 -15
- package/dist/{provision-supervisor-CC0HdOHo.js.map → provision-supervisor-Bde_FF0R.js.map} +1 -1
- package/dist/{record-events-D93DkpAx.js → record-events-B2GUgYdz.js} +12 -14
- package/dist/{record-events-D93DkpAx.js.map → record-events-B2GUgYdz.js.map} +1 -1
- package/dist/{run-cancellation-CzFhQGMa.js → run-cancellation-BLy_Zz-w.js} +6 -7
- package/dist/{run-cancellation-CzFhQGMa.js.map → run-cancellation-BLy_Zz-w.js.map} +1 -1
- package/dist/{runtime-B_40dXlF.js → runtime-6Ec9sHRe.js} +833 -215
- package/dist/runtime-6Ec9sHRe.js.map +1 -0
- package/dist/{runtime-hooks-tXpAarhW.js → runtime-hooks-CsW2pfFk.js} +2 -3
- package/dist/{runtime-hooks-tXpAarhW.js.map → runtime-hooks-CsW2pfFk.js.map} +1 -1
- package/dist/{runtime-hooks-nsqxSUFL.d.ts → runtime-hooks-ZQqPw-0g.d.ts} +1 -3
- package/dist/{sandbox-profile-compat-_fEtHPCj.js → sandbox-profile-compat-BxMQ1VXv.js} +62 -44
- package/dist/sandbox-profile-compat-BxMQ1VXv.js.map +1 -0
- package/dist/{search-executor-COd2F2wp.js → search-executor-B7g_5Wjl.js} +12 -17
- package/dist/search-executor-B7g_5Wjl.js.map +1 -0
- package/dist/{server-BGB4R4wQ.js → server-fvEMwGMQ.js} +19 -30
- package/dist/{server-BGB4R4wQ.js.map → server-fvEMwGMQ.js.map} +1 -1
- package/dist/{structural-rollout-Wl_rCuzM.js → structural-rollout-B86bSixU.js} +69 -70
- package/dist/structural-rollout-B86bSixU.js.map +1 -0
- package/dist/{substrate-CGDFTSRh.js → substrate-Db2pp6y3.js} +2 -3
- package/dist/{substrate-CGDFTSRh.js.map → substrate-Db2pp6y3.js.map} +1 -1
- package/dist/{supervise-BUOeThuB.js → supervise-CaeZcgAW.js} +615 -203
- package/dist/supervise-CaeZcgAW.js.map +1 -0
- package/dist/{supervisor-DDy0aEtR.js → supervisor-C1OePYE-.js} +526 -642
- package/dist/supervisor-C1OePYE-.js.map +1 -0
- package/dist/{task-queue-0fKkoweu.d.ts → task-queue-kefGy79U.d.ts} +1 -3
- package/dist/task-queue.d.ts +1 -1
- package/dist/task-queue.js +1 -2
- package/dist/testing.d.ts +8 -16
- package/dist/testing.js +241 -244
- package/dist/testing.js.map +1 -1
- package/dist/tool-loop.d.ts +16 -19
- package/dist/tool-loop.js +2 -3
- package/dist/{tool-server-XV4aJwoQ.js → tool-server-CwuYeW_Z.js} +3 -4
- package/dist/{tool-server-XV4aJwoQ.js.map → tool-server-CwuYeW_Z.js.map} +1 -1
- package/dist/{top-snapshot-CflmaDgk.js → top-snapshot-ChwpTr7A.js} +4 -5
- package/dist/{top-snapshot-CflmaDgk.js.map → top-snapshot-ChwpTr7A.js.map} +1 -1
- package/dist/tui/bin.js +7 -9
- package/dist/tui/bin.js.map +1 -1
- package/dist/tui/index.d.ts +3 -5
- package/dist/tui/index.js +2 -2
- package/dist/{types-hc4cmSc7.d.ts → types-Fowuwdz2.d.ts} +555 -503
- package/dist/{types-Cwrea-bU.d.ts → types-qsqfyQoY.d.ts} +1 -3
- package/dist/workspace-store/index.d.ts +12 -22
- package/dist/workspace-store/index.js +4 -7
- package/dist/workspace-store/index.js.map +1 -1
- package/dist/{workspace-streams-BiS4ABah.d.ts → workspace-streams-Dq2Fzk3c.d.ts} +1 -11
- package/package.json +25 -25
- package/skills/agent-graphs/SKILL.md +19 -4
- package/skills/be-ambitious/SKILL.md +46 -0
- package/skills/graph-designer/SKILL.md +15 -2
- package/skills/profile-authoring/SKILL.md +1 -1
- package/dist/coordination-manager-Bm6leXc6.js.map +0 -1
- package/dist/delegate-Cp5-PsaX.js.map +0 -1
- package/dist/graph-CE_pzU31.js.map +0 -1
- package/dist/model-policy-CyCUwHed.js.map +0 -1
- package/dist/profile-6OLpbjvV.js.map +0 -1
- package/dist/runtime-B_40dXlF.js.map +0 -1
- package/dist/sandbox-profile-compat-_fEtHPCj.js.map +0 -1
- package/dist/search-executor-COd2F2wp.js.map +0 -1
- package/dist/structural-rollout-Wl_rCuzM.js.map +0 -1
- package/dist/supervise-BUOeThuB.js.map +0 -1
- package/dist/supervisor-DDy0aEtR.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/agent-runtime",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.350.2",
|
|
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": {
|
|
@@ -111,47 +111,47 @@
|
|
|
111
111
|
},
|
|
112
112
|
"devDependencies": {
|
|
113
113
|
"@arethetypeswrong/cli": "0.18.5",
|
|
114
|
-
"@biomejs/biome": "^2.
|
|
115
|
-
"@modelcontextprotocol/sdk": "1.32.
|
|
116
|
-
"@tangle-network/agent-eval": "0.221.
|
|
117
|
-
"@tangle-network/agent-interface": "5.
|
|
114
|
+
"@biomejs/biome": "^2.6.3",
|
|
115
|
+
"@modelcontextprotocol/sdk": "1.32.2",
|
|
116
|
+
"@tangle-network/agent-eval": "0.221.8",
|
|
117
|
+
"@tangle-network/agent-interface": "5.8.0",
|
|
118
118
|
"@tangle-network/agent-provider-cli-bridge": "2.0.1",
|
|
119
119
|
"@tangle-network/agent-provider-daytona": "0.6.0",
|
|
120
120
|
"@tangle-network/agent-provider-e2b": "0.6.0",
|
|
121
121
|
"@tangle-network/agent-provider-tangle": "4.4.7",
|
|
122
|
-
"@tangle-network/sandbox": "0.
|
|
123
|
-
"@types/node": "26.
|
|
124
|
-
"@types/tar-stream": "3.1.
|
|
125
|
-
"miniflare": "4.
|
|
126
|
-
"oxc-parser": "0.
|
|
127
|
-
"publint": "0.3.
|
|
128
|
-
"tsdown": "0.
|
|
129
|
-
"tsx": "4.23.
|
|
122
|
+
"@tangle-network/sandbox": "0.69.0",
|
|
123
|
+
"@types/node": "26.6.5",
|
|
124
|
+
"@types/tar-stream": "3.1.5",
|
|
125
|
+
"miniflare": "4.20260730.0",
|
|
126
|
+
"oxc-parser": "0.155.0",
|
|
127
|
+
"publint": "0.3.25",
|
|
128
|
+
"tsdown": "0.23.2",
|
|
129
|
+
"tsx": "4.23.15",
|
|
130
130
|
"typedoc": "0.28.20",
|
|
131
|
-
"typedoc-plugin-markdown": "4.
|
|
131
|
+
"typedoc-plugin-markdown": "4.14.1",
|
|
132
132
|
"typescript": "6.0.3",
|
|
133
133
|
"typescript-consumer": "npm:typescript@7.0.2",
|
|
134
|
-
"vitest": "^
|
|
135
|
-
"wrangler": "4.
|
|
136
|
-
"yaml": "2.9.0"
|
|
134
|
+
"vitest": "^5.0.5",
|
|
135
|
+
"wrangler": "4.152.0"
|
|
137
136
|
},
|
|
138
137
|
"engines": {
|
|
139
138
|
"node": ">=22.19.0"
|
|
140
139
|
},
|
|
141
140
|
"license": "MIT",
|
|
142
141
|
"peerDependencies": {
|
|
143
|
-
"@tangle-network/agent-eval": ">=0.221.
|
|
144
|
-
"@tangle-network/agent-interface": ">=5.
|
|
145
|
-
"@tangle-network/sandbox": ">=0.61.1 <0.61.2 || >=0.62.2 <0.62.3 || >=0.62.14 <0.62.16 || >=0.63.10 <0.
|
|
142
|
+
"@tangle-network/agent-eval": ">=0.221.8 <0.222.0",
|
|
143
|
+
"@tangle-network/agent-interface": ">=5.8.0 <6.0.0",
|
|
144
|
+
"@tangle-network/sandbox": ">=0.61.1 <0.61.2 || >=0.62.2 <0.62.3 || >=0.62.14 <0.62.16 || >=0.63.10 <0.66.0 || >=0.66.3 <0.70.0"
|
|
146
145
|
},
|
|
147
146
|
"dependencies": {
|
|
148
|
-
"@earendil-works/pi-codemode": "1.0
|
|
149
|
-
"@tangle-network/agent-core": "
|
|
147
|
+
"@earendil-works/pi-codemode": "1.4.0",
|
|
148
|
+
"@tangle-network/agent-core": "^0.13.2",
|
|
150
149
|
"@tangle-network/agent-knowledge": "^22.0.16",
|
|
151
|
-
"@tangle-network/agent-profile-materialize": "
|
|
150
|
+
"@tangle-network/agent-profile-materialize": "^0.27.5",
|
|
152
151
|
"@tangle-network/agent-trace-contract": "^2.1.0",
|
|
153
|
-
"tar-stream": "3.2.
|
|
154
|
-
"zod": "4.6.
|
|
152
|
+
"tar-stream": "3.2.2",
|
|
153
|
+
"zod": "4.6.7",
|
|
154
|
+
"yaml": "2.9.1"
|
|
155
155
|
},
|
|
156
156
|
"scripts": {
|
|
157
157
|
"build": "tsdown",
|
|
@@ -18,6 +18,21 @@ A request for review alone does not require a graph.
|
|
|
18
18
|
Read the current [API decision table](https://github.com/tangle-network/agent-runtime/blob/main/docs/canonical-api.md), [AgentGraph contract](https://github.com/tangle-network/agent-runtime/blob/main/src/runtime/supervise/graph.ts), and a relevant [runnable example](https://github.com/tangle-network/agent-runtime/tree/main/examples/graphs).
|
|
19
19
|
These distinguish the fixed AgentGraph API from other graph or supervision contracts.
|
|
20
20
|
|
|
21
|
+
Production designs: search [Factory’s design catalog](https://github.com/tangle-network/factory/blob/main/README.md) before authoring a new graph.
|
|
22
|
+
|
|
23
|
+
## Graph files and placement
|
|
24
|
+
|
|
25
|
+
Keep one canonical YAML or JSON graph file; Runtime's `loadGraphFile` owns parsing, parameters, profiles, topology and digest generation.
|
|
26
|
+
The consumer supplies Bridge-owned seat resolution and connection bindings; the designer authors data rather than another parser or runner.
|
|
27
|
+
Use the existing `graph run --dry-run` consumer to qualify the file, repair its concrete diagnostics, then run that same file through the admitted execution path.
|
|
28
|
+
Read the installed CLI help for accepted options and the current loader contract for supported expressions and vertices; proposed later milestones are not executable capabilities.
|
|
29
|
+
|
|
30
|
+
Use one Sandbox for the graph run and Bridge to execute its agent nodes through their complete materialized profiles.
|
|
31
|
+
Parallel nodes share that admitted Sandbox through the supported Bridge sessions; a node is not a request for another Sandbox.
|
|
32
|
+
The local path uses the same Bridge transport against its caller-owned workspace.
|
|
33
|
+
Keep backend placement, authentication and environment lifecycle in the consumer's existing runtime composition.
|
|
34
|
+
Inspect model identity, native usage and transcripts from the actual path before calling the graph qualified.
|
|
35
|
+
|
|
21
36
|
## Design a factory
|
|
22
37
|
|
|
23
38
|
Use the vocabulary from the [software-factory design reference](https://github.com/mattpocock/skills/pull/1316) when a consumer needs recurring work across graph executions.
|
|
@@ -60,15 +75,15 @@ Define the artifact and independent completion check before choosing roles.
|
|
|
60
75
|
Give each required role a complete AgentProfile and capabilities appropriate to its task.
|
|
61
76
|
Preserve requested parallel instances and independent reviewers rather than collapsing their distinct work into a root prompt.
|
|
62
77
|
|
|
63
|
-
When authoring nodes, directives, routes, traversal limits, or analyst routes, read [the graph contract](references/authoring.md).
|
|
78
|
+
When authoring nodes, directives, routes, traversal limits, or analyst routes, read [the graph contract](https://github.com/tangle-network/agent-runtime/blob/main/skills/agent-graphs/references/authoring.md).
|
|
64
79
|
The runtime validates structure and prompt references before execution.
|
|
65
80
|
Keep the shared budget, per-worker allocation, concurrency, and supported limits in their actual API fields.
|
|
66
81
|
Use measured execution cost when available; do not turn a prior run into a universal minimum budget.
|
|
67
82
|
|
|
68
83
|
## Prove the graph
|
|
69
84
|
|
|
70
|
-
Use the maintained
|
|
71
|
-
Then exercise the intended backend, profiles, tools, and completion check on a real representative task.
|
|
85
|
+
Use the maintained loader and topology admission to check profiles, routes, directives and traversal limits before model execution.
|
|
86
|
+
Then exercise the intended Bridge backend, profiles, tools, and completion check on a real representative task, including a rejected completion.
|
|
72
87
|
Offline control-flow tests do not establish that a real agent solves the task.
|
|
73
88
|
|
|
74
89
|
Inspect the terminal result, complete cost and token accounting, edge delivery records, exhausted edges, and journal evidence.
|
|
@@ -78,7 +93,7 @@ Each gate visit is one `gate:<id>` ledger row whose `gate.by` names who decided.
|
|
|
78
93
|
Unknown usage is missing evidence, not zero cost.
|
|
79
94
|
A passing check proves only the outcome it actually tests.
|
|
80
95
|
|
|
81
|
-
When measuring a proposed change to this skill, read [measurement](references/measurement.md) before reusing its historical cases or results.
|
|
96
|
+
When measuring a proposed change to this skill, read [measurement](https://github.com/tangle-network/agent-runtime/blob/main/skills/agent-graphs/references/measurement.md) before reusing its historical cases or results.
|
|
82
97
|
Ordinary graph construction does not require an optimization campaign.
|
|
83
98
|
|
|
84
99
|
## Then consider
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: be-ambitious
|
|
3
|
+
description: Deepen the same task with expert methods, primary sources and an independent acceptance check.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Be ambitious
|
|
7
|
+
|
|
8
|
+
Portable snapshot of the [canonical skill](https://github.com/drewstone/dotfiles/blob/6d3df4680c420cf870646bd00e5dc91ac213b4e8/claude/skills/be-ambitious/SKILL.md).
|
|
9
|
+
The methods and rewrite procedure retain that owner; recording uses the consumer's existing task journal.
|
|
10
|
+
|
|
11
|
+
Make the task deeper, not bigger: the same goal and scope, held to a higher standard through better sources, sharper methods and an outside check.
|
|
12
|
+
Drop any suggestion that adds a deliverable, feature or side quest.
|
|
13
|
+
|
|
14
|
+
The task is the text after the invocation, else the latest request in the conversation; with neither, ask for it in one line.
|
|
15
|
+
|
|
16
|
+
## Answer four questions
|
|
17
|
+
|
|
18
|
+
Name the field first (SRE incident response, clinical pharmacology, zero-knowledge proof engineering), then answer for that field with the actual thing, not its category:
|
|
19
|
+
|
|
20
|
+
1. **Expert moves not asked for.** The two or three moves that separate expert from competent work here, such as naming the decision the work serves, checking base rates, reproducing before fixing, or writing the strongest counter-argument.
|
|
21
|
+
2. **Rawest material.** The primary source the expert starts from instead of a digest: the dataset, not the chart; the filing, not the article; the logs and code, not the bug report; the methods section, not the abstract. Say where it lives: here that is often a trace, a run's journal, `origin/<default>` or the served endpoint.
|
|
22
|
+
3. **Named methods and tools.** Techniques, instruments, libraries or commands, each with the reason it fits this task.
|
|
23
|
+
4. **Outside check.** What, other than the user or the model, shows the result is right: a test suite, benchmark, reproduction, ground-truth data, known answer, measurement, independent reviewer or real user behavior. State the pass line and the failure line, as numbers where the check allows.
|
|
24
|
+
|
|
25
|
+
Where the field is beyond what you know, say so instead of inventing a source or tool.
|
|
26
|
+
The step is done when each question has a concrete answer or a named unknown.
|
|
27
|
+
|
|
28
|
+
## Rewrite
|
|
29
|
+
|
|
30
|
+
Write the rewritten prompt in one fenced block, in the user's voice.
|
|
31
|
+
It asks for exactly what the four answers describe: start from the raw material, use the named methods, and end on the outside check and its pass line.
|
|
32
|
+
Keep the user's acceptance criteria and named levers unchanged.
|
|
33
|
+
|
|
34
|
+
When the request asked only for the rewrite, stop after it.
|
|
35
|
+
When the task is already authorized work, because the user asked for it to be done or another skill invoked this one for its own task, carry out the rewritten version.
|
|
36
|
+
|
|
37
|
+
## Record the result
|
|
38
|
+
|
|
39
|
+
Retain the rewritten task, its primary sources, the outside check's pass line and actual result in the consumer's existing task or run journal.
|
|
40
|
+
Keep unknown evidence and pending qualification explicit.
|
|
41
|
+
|
|
42
|
+
## Then consider
|
|
43
|
+
|
|
44
|
+
- `report` when the rewritten task requires research from primary sources.
|
|
45
|
+
- `eval-engineering` when the outside check must be built; carry its pass and failure lines.
|
|
46
|
+
- `grilling` when the rewrite leaves a consequential decision only the user can make.
|
|
@@ -10,14 +10,23 @@ that does the work, run it under your granted permissions, and record what happe
|
|
|
10
10
|
Every execution is fully traced like any graph run — the registry plus the run's journal
|
|
11
11
|
is the knowledge.
|
|
12
12
|
|
|
13
|
+
Apply `be-ambitious` to sharpen the methods and outside check while keeping the user's goal and acceptance fixed.
|
|
14
|
+
Apply `agent-graphs` for the executable graph contract; keep these capabilities as separate profile skill resources.
|
|
15
|
+
For a file consumer, deliver one canonical YAML or JSON graph, qualify it through the existing dry-run path, and use that same file for the authorized real run.
|
|
16
|
+
Runtime owns loading and content addressing; Bridge owns native execution and seat inventory.
|
|
17
|
+
One Sandbox hosts the graph's Bridge sessions, including parallel nodes; placement belongs to the caller rather than the topology.
|
|
18
|
+
Read the current API and CLI help for supported behavior; explicitly retain an unsupported requirement instead of claiming a future vertex or expression works.
|
|
19
|
+
|
|
20
|
+
Production designs: search [Factory’s design catalog](https://github.com/tangle-network/factory/blob/main/README.md) before authoring; record a delivered Factory run through `recordGraphRun` like any graph.
|
|
21
|
+
|
|
13
22
|
## The loop (every input)
|
|
14
23
|
|
|
15
24
|
1. Compute the task shape: the durable description you will look this kind of work up by
|
|
16
25
|
(kind, source, constraints — stable fields, not the payload itself). Hash it.
|
|
17
26
|
2. `lookupGraph(registry, taskDigest)` over YOUR WORKSPACE's registry:
|
|
18
27
|
- **replay** → run the stored graph verbatim. Re-bind the deliverable's check from the
|
|
19
|
-
environment
|
|
20
|
-
inference
|
|
28
|
+
environment: functions stay environment-owned, while supported data check definitions remain part of the stored graph. Record the run.
|
|
29
|
+
Replay avoids design inference; the graph's own agent execution still consumes its admitted resources.
|
|
21
30
|
- **author** (with the stated reason) → design per the `agent-graphs` skill, run it,
|
|
22
31
|
record it. If a prior graph failed to deliver for this shape, mutate deliberately
|
|
23
32
|
(budget, directives as new prompt-registry versions, model mix, an added analyst),
|
|
@@ -41,6 +50,10 @@ one axis at a time so the next record attributes the difference. When an optimiz
|
|
|
41
50
|
(agent-eval) is available, feed it the losing graph's journal; otherwise your reasoned
|
|
42
51
|
mutation IS the search step.
|
|
43
52
|
|
|
53
|
+
When the registry promotes a winning topology for a task type, retain a case under
|
|
54
|
+
`skills/agent-graphs/cases/` citing the run and its measured outcome. The cited record
|
|
55
|
+
provides the evidence; a descriptive ranking alone does not establish a win.
|
|
56
|
+
|
|
44
57
|
## Profiles improve the same way graphs do
|
|
45
58
|
|
|
46
59
|
A worker profile is named and content-addressed; when a mutation rewrites a node's
|
|
@@ -13,7 +13,7 @@ Do not constrain agents with prohibitions: change what is rewarded and who is in
|
|
|
13
13
|
## A profile that starts
|
|
14
14
|
|
|
15
15
|
A refused profile fails before its first model turn, and it fails the same way on every retry.
|
|
16
|
-
|
|
16
|
+
Discovery lost 20 driver attempts to unpublished tool names and 3 spawns to a missing subscription source.
|
|
17
17
|
Start from a profile that already ran (in a Discovery play, `inputs/profile-examples/<family>.json`) and change only `name`, `description` and `prompt.instructions`.
|
|
18
18
|
|
|
19
19
|
| Field | Rule |
|