-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdispatch_qubo_table.schema.json
More file actions
78 lines (78 loc) · 2.25 KB
/
Copy pathdispatch_qubo_table.schema.json
File metadata and controls
78 lines (78 loc) · 2.25 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
"envelope_version": "0.3.0",
"schema_type": "qubo_routing_table",
"version": "1.0",
"description": "Schema for Dispatch Router QUBO routing table artifacts",
"fields": {
"artifact_id": {
"type": "string",
"required": true,
"description": "Unique identifier for this QUBO table artifact"
},
"published_at": {
"type": "ISO8601_timestamp",
"required": true,
"description": "Timestamp when table was published"
},
"route_candidates": {
"type": "array",
"required": true,
"items": {
"type": "object",
"properties": {
"route_id": {
"type": "string",
"required": true
},
"semantic_class": {
"type": "string",
"required": true,
"enum": ["local_fallback", "cloud_lane", "openclaw_subagent", "dispatch_qubo", "attest", "blocked"]
},
"energy_class": {
"type": "string",
"required": true,
"enum": ["low", "medium", "high", "critical"]
},
"cost_weight": {
"type": "number",
"required": true,
"minimum": 0
},
"latency_weight": {
"type": "number",
"required": true,
"minimum": 0
}
}
}
},
"eta_thermo_required": {
"type": "boolean",
"required": true,
"description": "Whether eta_thermo evaluation is required for this table"
},
"dissonance_required": {
"type": "boolean",
"required": true,
"description": "Whether dissonance check is required for this table"
},
"allowed_lane": {
"type": "string",
"required": true,
"enum": ["local_fallback", "cloud_lane", "openclaw_subagent", "dispatch_qubo", "attest", "blocked"]
},
"scheduler_mode": {
"type": "string",
"required": true,
"enum": ["live", "dry_run", "simulated"]
}
},
"hash_fields": ["artifact_id", "published_at", "route_candidates", "eta_thermo_required", "dissonance_required", "allowed_lane"],
"validation_rules": {
"min_route_candidates": 1,
"max_route_candidates": 100,
"cost_weight_range": [0, 1000],
"latency_weight_range": [0, 1000]
}
}