@effect-agent/testing 0.1.0-beta.17 → 0.1.0-beta.19
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/index.mjs +5 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +9 -9
- package/src/certification.ts +10 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effect-agent/testing",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.19",
|
|
4
4
|
"exports": {
|
|
5
5
|
".": {
|
|
6
6
|
"types": "./dist/index.d.mts",
|
|
@@ -8,14 +8,14 @@
|
|
|
8
8
|
}
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@effect-agent/capabilities": "0.1.0-beta.
|
|
12
|
-
"@effect-agent/core": "0.1.0-beta.
|
|
13
|
-
"@effect-agent/engine": "0.1.0-beta.
|
|
14
|
-
"@effect-agent/platform-node": "0.1.0-beta.
|
|
15
|
-
"@effect-agent/sandbox": "0.1.0-beta.
|
|
16
|
-
"@effect-agent/session": "0.1.0-beta.
|
|
17
|
-
"@effect-agent/storage-memory": "0.1.0-beta.
|
|
18
|
-
"@effect-agent/storage-sqlite": "0.1.0-beta.
|
|
11
|
+
"@effect-agent/capabilities": "0.1.0-beta.19",
|
|
12
|
+
"@effect-agent/core": "0.1.0-beta.19",
|
|
13
|
+
"@effect-agent/engine": "0.1.0-beta.19",
|
|
14
|
+
"@effect-agent/platform-node": "0.1.0-beta.19",
|
|
15
|
+
"@effect-agent/sandbox": "0.1.0-beta.19",
|
|
16
|
+
"@effect-agent/session": "0.1.0-beta.19",
|
|
17
|
+
"@effect-agent/storage-memory": "0.1.0-beta.19",
|
|
18
|
+
"@effect-agent/storage-sqlite": "0.1.0-beta.19",
|
|
19
19
|
"effect": "4.0.0-beta.107"
|
|
20
20
|
},
|
|
21
21
|
"description": "Scripted models, deterministic fixtures, and adapter conformance kits for testing Effect Agent applications.",
|
package/src/certification.ts
CHANGED
|
@@ -261,10 +261,16 @@ const promptShapeModel = (
|
|
|
261
261
|
),
|
|
262
262
|
);
|
|
263
263
|
|
|
264
|
+
// Tier-2 intentionally advances virtual time past a 30-second ownership lease on every
|
|
265
|
+
// re-drive round. Keep its business-policy duration above the full eight-round sweep so this
|
|
266
|
+
// fixture certifies crash convergence rather than accidentally relying on a fresh duration
|
|
267
|
+
// allowance per replacement Attempt. RUN-030 owns the dedicated duration-expiry coverage.
|
|
268
|
+
const CERTIFICATION_MAX_DURATION = "10 minutes" as const;
|
|
269
|
+
|
|
264
270
|
const policy = AgentPolicy.make({
|
|
265
271
|
maxTurns: 4,
|
|
266
272
|
maxToolCalls: 4,
|
|
267
|
-
maxDuration:
|
|
273
|
+
maxDuration: CERTIFICATION_MAX_DURATION,
|
|
268
274
|
toolConcurrency: 2,
|
|
269
275
|
});
|
|
270
276
|
|
|
@@ -334,7 +340,7 @@ const childDefinition = Agent.define("certify-child", {
|
|
|
334
340
|
policy: AgentPolicy.make({
|
|
335
341
|
maxTurns: 2,
|
|
336
342
|
maxToolCalls: 1,
|
|
337
|
-
maxDuration:
|
|
343
|
+
maxDuration: CERTIFICATION_MAX_DURATION,
|
|
338
344
|
toolConcurrency: 1,
|
|
339
345
|
}),
|
|
340
346
|
});
|
|
@@ -357,7 +363,7 @@ const researchDelegation = Subagent.define("delegate_research", {
|
|
|
357
363
|
maxConcurrency: 2,
|
|
358
364
|
maxTurns: 4,
|
|
359
365
|
maxToolCalls: 4,
|
|
360
|
-
maxDuration:
|
|
366
|
+
maxDuration: CERTIFICATION_MAX_DURATION,
|
|
361
367
|
}),
|
|
362
368
|
});
|
|
363
369
|
|
|
@@ -374,7 +380,7 @@ const coordinatorDefinition = Agent.define("certify-coordinator", {
|
|
|
374
380
|
policy: AgentPolicy.make({
|
|
375
381
|
maxTurns: 4,
|
|
376
382
|
maxToolCalls: 3,
|
|
377
|
-
maxDuration:
|
|
383
|
+
maxDuration: CERTIFICATION_MAX_DURATION,
|
|
378
384
|
toolConcurrency: 2,
|
|
379
385
|
}),
|
|
380
386
|
});
|