-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprofile-fallback.workflow.json
More file actions
55 lines (55 loc) · 1.5 KB
/
Copy pathprofile-fallback.workflow.json
File metadata and controls
55 lines (55 loc) · 1.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
"version": "graph-engineering/v1alpha1",
"id": "profile_fallback",
"goal": "Collect one typed result with one predeclared provider fallback",
"budgets": {
"max_nodes": 1,
"max_concurrency": 1,
"max_attempts_per_node": 1,
"max_total_attempts": 1,
"timeout_seconds": 900
},
"nodes": [
{
"id": "research",
"kind": "agent",
"task": "Return the requested repository finding with bounded evidence.",
"needs": [],
"inputs": {},
"outputs": {
"finding": {
"schema": {
"type": "object",
"additionalProperties": false,
"required": ["claim", "evidence"],
"properties": {
"claim": {"type": "string"},
"evidence": {
"type": "array",
"items": {"type": "string"},
"maxItems": 20
}
}
}
}
},
"profile": "primary-research",
"workspace": "read-only",
"permission": "read",
"checks": [{"id": "project_tests", "argv": ["python", "-m", "pytest", "-q"]}],
"retry": {"max_attempts": 1, "no_progress_limit": 1},
"fallback": {
"routes": [
{
"id": "backup_provider",
"profile": "backup-research",
"on_codes": ["SPAWN_FAILED", "TIMEOUT", "OUTPUT_LIMIT", "WORKER_EXIT"],
"max_uses": 1
}
]
},
"required": true
}
],
"outputs": {"finding": "research.finding"}
}