Repository navigation
Expand file tree
/
Copy pathexternal-host.capabilities.json
More file actions
64 lines (64 loc) · 1.96 KB
/
Copy pathexternal-host.capabilities.json
File metadata and controls
64 lines (64 loc) · 1.96 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
56
57
58
59
60
61
62
63
64
{
"adapter": "examples/external-host.ts",
"contractSchema": "decision-contract/v1",
"level": 2,
"description": "Reference fixture: local decision execution plus a host-owned multi-node graph.",
"positions": {
"step-start": ["use_tool", "answer"],
"tool-choice": ["call"],
"input-choice": ["use"],
"before-call": ["auto", "auto_audit", "ask_human"],
"after-tool": ["continue", "stop", "finish", "keep_going"],
"after-generate": ["deliver", "revise"]
},
"hostPositions": {
"host:issue-triage": ["call"],
"host:test-failure": ["call"],
"host:review": ["ask_human", "finish"]
},
"customGraphNodes": [
"classify_issue",
"inspect_repository",
"plan_patch",
"run_tests",
"interpret_failure",
"prepare_candidate",
"request_review"
],
"terminalStates": ["done"],
"graphFeatures": ["branch", "retry", "escalation", "terminal-state"],
"projections": [
"earlierMaybe",
"describeDone",
"filesMaybe",
"readMaybe",
"lastOrNone",
"toolOrEmpty",
"lastInput",
"toolOrUnknown",
"localToolRisk",
"resultMaybe",
"readCount",
"recentSteps",
"draftMaybe",
"writeEvidence"
],
"dynamicProviders": ["toolsFor", "fileOptions"],
"dynamicProviderReads": {
"toolsFor": ["history", "files", "readFiles", "canWrite", "canDelete"],
"fileOptions": ["files", "readFiles"]
},
"conformance": {
"command": "npm run external-host",
"negativeFixtures": "tests/adapter.test.ts",
"reportCheck": "npm run adapter-report",
"dispatchAfterCapabilityCheck": true
},
"knownLimitations": [
"The fixture uses a deterministic mock provider.",
"Projection and dynamic-provider names are host-owned capabilities.",
"The graph is a demonstration, not a universal graph runtime.",
"Replay and event export are not yet implemented by this fixture.",
"State-cell names are not listed here; the report is checked against the code with npm run adapter-report."
]
}