@claudexor/schema 3.20.1 → 3.23.0
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/agent-capabilities.d.ts +9 -9
- package/dist/agent-capabilities.d.ts.map +1 -1
- package/dist/agent-capabilities.js +2 -1
- package/dist/agent-capabilities.js.map +1 -1
- package/dist/command-list.d.ts +108 -37
- package/dist/command-list.d.ts.map +1 -1
- package/dist/command-list.js +17 -35
- package/dist/command-list.js.map +1 -1
- package/dist/command-summary.d.ts +8 -0
- package/dist/command-summary.d.ts.map +1 -0
- package/dist/command-summary.js +33 -0
- package/dist/command-summary.js.map +1 -0
- package/dist/continuation-admission.d.ts +41 -0
- package/dist/continuation-admission.d.ts.map +1 -0
- package/dist/continuation-admission.js +136 -0
- package/dist/continuation-admission.js.map +1 -0
- package/dist/control-operation-responses.d.ts +357 -0
- package/dist/control-operation-responses.d.ts.map +1 -1
- package/dist/control-operation-responses.js +2 -0
- package/dist/control-operation-responses.js.map +1 -1
- package/dist/control-run-detail.d.ts +726 -0
- package/dist/control-run-detail.d.ts.map +1 -1
- package/dist/control-run-execution.js +1 -1
- package/dist/control-run-execution.js.map +1 -1
- package/dist/control-thread-requests.d.ts +17 -3
- package/dist/control-thread-requests.d.ts.map +1 -1
- package/dist/control-thread-requests.js +24 -1
- package/dist/control-thread-requests.js.map +1 -1
- package/dist/control.d.ts +347 -22
- package/dist/control.d.ts.map +1 -1
- package/dist/control.js +32 -4
- package/dist/control.js.map +1 -1
- package/dist/credential-profile-snapshot.d.ts +144 -0
- package/dist/credential-profile-snapshot.d.ts.map +1 -1
- package/dist/credential-profile.d.ts +1 -1
- package/dist/credential-profile.js +1 -1
- package/dist/daemon-status.d.ts +177 -0
- package/dist/daemon-status.d.ts.map +1 -0
- package/dist/daemon-status.js +27 -0
- package/dist/daemon-status.js.map +1 -0
- package/dist/decision.d.ts +12 -0
- package/dist/decision.d.ts.map +1 -1
- package/dist/effort.d.ts +33 -12
- package/dist/effort.d.ts.map +1 -1
- package/dist/effort.js +43 -13
- package/dist/effort.js.map +1 -1
- package/dist/events.d.ts +4 -4
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +11 -0
- package/dist/events.js.map +1 -1
- package/dist/harness.d.ts +16 -9
- package/dist/harness.d.ts.map +1 -1
- package/dist/harness.js +3 -3
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/dist/mcp-run-result.d.ts +155 -0
- package/dist/mcp-run-result.d.ts.map +1 -1
- package/dist/mcp-run-result.js +38 -0
- package/dist/mcp-run-result.js.map +1 -1
- package/dist/project.d.ts +2 -2
- package/dist/project.d.ts.map +1 -1
- package/dist/project.js +3 -3
- package/dist/project.js.map +1 -1
- package/dist/quota.d.ts +252 -0
- package/dist/quota.d.ts.map +1 -1
- package/dist/quota.js +42 -17
- package/dist/quota.js.map +1 -1
- package/dist/raw.d.ts +1 -1
- package/dist/raw.d.ts.map +1 -1
- package/dist/raw.js +0 -1
- package/dist/raw.js.map +1 -1
- package/dist/run-continuation.d.ts +166 -0
- package/dist/run-continuation.d.ts.map +1 -0
- package/dist/run-continuation.js +65 -0
- package/dist/run-continuation.js.map +1 -0
- package/dist/run-continuity.d.ts +215 -0
- package/dist/run-continuity.d.ts.map +1 -0
- package/dist/run-continuity.js +170 -0
- package/dist/run-continuity.js.map +1 -0
- package/dist/run-facts.d.ts +7 -0
- package/dist/run-facts.d.ts.map +1 -1
- package/dist/run-list-page.d.ts +74 -0
- package/dist/run-list-page.d.ts.map +1 -0
- package/dist/run-list-page.js +85 -0
- package/dist/run-list-page.js.map +1 -0
- package/dist/run-strategy.d.ts +18 -0
- package/dist/run-strategy.d.ts.map +1 -1
- package/dist/run-strategy.js +15 -0
- package/dist/run-strategy.js.map +1 -1
- package/dist/status-projection.d.ts +8 -1
- package/dist/status-projection.d.ts.map +1 -1
- package/dist/status-projection.js +22 -1
- package/dist/status-projection.js.map +1 -1
- package/dist/telemetry.d.ts +33 -3
- package/dist/telemetry.d.ts.map +1 -1
- package/dist/telemetry.js +3 -3
- package/dist/telemetry.js.map +1 -1
- package/dist/thread.d.ts +24 -10
- package/dist/thread.d.ts.map +1 -1
- package/dist/thread.js +14 -4
- package/dist/thread.js.map +1 -1
- package/dist/work-report.d.ts +18 -4
- package/dist/work-report.d.ts.map +1 -1
- package/dist/work-report.js +26 -5
- package/dist/work-report.js.map +1 -1
- package/generated/AgentCapabilityCatalog.schema.json +5 -4
- package/generated/CommandListQuery.schema.json +204 -0
- package/generated/ControlCredentialProfilesQueryResponse.schema.json +21 -6
- package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +21 -6
- package/generated/ControlDaemonStatus.schema.json +150 -0
- package/generated/ControlHarnessListResponse.schema.json +1 -1
- package/generated/ControlHarnessSettingsPatch.schema.json +1 -1
- package/generated/ControlProjectRemoveReceipt.schema.json +1 -1
- package/generated/ControlQuotaResponse.schema.json +20 -5
- package/generated/ControlRetainedEnvelope.schema.json +63 -0
- package/generated/ControlRunAgainDraft.schema.json +17 -1
- package/generated/ControlRunDetail.schema.json +406 -1
- package/generated/ControlRunListResponse.schema.json +406 -1
- package/generated/ControlRunStartRequest.schema.json +17 -1
- package/generated/ControlRunSummary.schema.json +406 -1
- package/generated/ControlSettingsSnapshot.schema.json +1 -1
- package/generated/ControlSettingsUpdateRequest.schema.json +1 -1
- package/generated/ControlThread.schema.json +11 -2
- package/generated/ControlThreadCreateRequest.schema.json +7 -2
- package/generated/ControlThreadDetail.schema.json +25 -3
- package/generated/ControlThreadListResponse.schema.json +11 -2
- package/generated/ControlThreadTurnRequest.schema.json +4 -0
- package/generated/DecisionRecord.schema.json +14 -1
- package/generated/EnvelopeCustody.schema.json +195 -0
- package/generated/GlobalConfig.schema.json +1 -1
- package/generated/HarnessEvent.schema.json +7 -2
- package/generated/HarnessManifest.schema.json +1 -1
- package/generated/HarnessStatusDto.schema.json +1 -1
- package/generated/McpRunHandleResult.schema.json +109 -1
- package/generated/McpRunToolResult.schema.json +14 -1
- package/generated/RunContinuityReceipt.schema.json +182 -0
- package/generated/RunEvent.schema.json +3 -1
- package/generated/RunFacts.schema.json +14 -1
- package/generated/RunListQuery.schema.json +66 -0
- package/generated/RunResumable.schema.json +153 -0
- package/generated/RunTelemetry.schema.json +14 -1
- package/generated/SessionCapsule.schema.json +78 -0
- package/generated/TaskContract.schema.json +1 -1
- package/generated/Thread.schema.json +12 -3
- package/package.json +2 -2
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/EnvelopeCustody",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"EnvelopeCustody": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"version": {
|
|
8
|
+
"type": "number",
|
|
9
|
+
"const": 1
|
|
10
|
+
},
|
|
11
|
+
"state": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"enum": [
|
|
14
|
+
"live",
|
|
15
|
+
"retained"
|
|
16
|
+
]
|
|
17
|
+
},
|
|
18
|
+
"holder_run_id": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"minLength": 1,
|
|
21
|
+
"description": "Run that holds the envelope."
|
|
22
|
+
},
|
|
23
|
+
"holder_run_dir": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"minLength": 1,
|
|
26
|
+
"description": "Absolute run directory of the holder."
|
|
27
|
+
},
|
|
28
|
+
"envelope": {
|
|
29
|
+
"type": "object",
|
|
30
|
+
"properties": {
|
|
31
|
+
"id": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"minLength": 1,
|
|
34
|
+
"description": "Envelope id."
|
|
35
|
+
},
|
|
36
|
+
"task_id": {
|
|
37
|
+
"type": "string",
|
|
38
|
+
"minLength": 1,
|
|
39
|
+
"description": "Task the envelope belongs to."
|
|
40
|
+
},
|
|
41
|
+
"attempt_id": {
|
|
42
|
+
"type": "string",
|
|
43
|
+
"minLength": 1,
|
|
44
|
+
"description": "Attempt the envelope belongs to."
|
|
45
|
+
},
|
|
46
|
+
"repo_root": {
|
|
47
|
+
"type": "string",
|
|
48
|
+
"description": "Absolute path of the source repository root."
|
|
49
|
+
},
|
|
50
|
+
"base_ref": {
|
|
51
|
+
"type": [
|
|
52
|
+
"string",
|
|
53
|
+
"null"
|
|
54
|
+
],
|
|
55
|
+
"description": "Git base ref; null for directory execution."
|
|
56
|
+
},
|
|
57
|
+
"base_sha": {
|
|
58
|
+
"type": [
|
|
59
|
+
"string",
|
|
60
|
+
"null"
|
|
61
|
+
],
|
|
62
|
+
"default": null,
|
|
63
|
+
"description": "Resolved base commit SHA; null when not recorded."
|
|
64
|
+
},
|
|
65
|
+
"worktree_path": {
|
|
66
|
+
"type": "string",
|
|
67
|
+
"description": "Absolute actual execution directory, whether Git-backed or plain."
|
|
68
|
+
},
|
|
69
|
+
"branch_name": {
|
|
70
|
+
"type": [
|
|
71
|
+
"string",
|
|
72
|
+
"null"
|
|
73
|
+
],
|
|
74
|
+
"description": "Clone-local branch; null for directory execution."
|
|
75
|
+
},
|
|
76
|
+
"workspace_kind": {
|
|
77
|
+
"type": "string",
|
|
78
|
+
"enum": [
|
|
79
|
+
"git",
|
|
80
|
+
"directory"
|
|
81
|
+
]
|
|
82
|
+
},
|
|
83
|
+
"scope_paths": {
|
|
84
|
+
"type": "array",
|
|
85
|
+
"items": {
|
|
86
|
+
"type": "string",
|
|
87
|
+
"minLength": 1
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"home_dir": {
|
|
91
|
+
"type": "string",
|
|
92
|
+
"description": "Scoped HOME directory for the harness process (kept outside the checkout)."
|
|
93
|
+
},
|
|
94
|
+
"harness_config_dirs": {
|
|
95
|
+
"type": "object",
|
|
96
|
+
"additionalProperties": {
|
|
97
|
+
"type": "string"
|
|
98
|
+
},
|
|
99
|
+
"default": {},
|
|
100
|
+
"description": "Scoped per-harness config directories keyed by harness id (kept outside the checkout)."
|
|
101
|
+
},
|
|
102
|
+
"policy_profile": {
|
|
103
|
+
"type": "string",
|
|
104
|
+
"default": "workspace_write",
|
|
105
|
+
"description": "Access profile the envelope enforces."
|
|
106
|
+
},
|
|
107
|
+
"dirty_policy": {
|
|
108
|
+
"type": "string",
|
|
109
|
+
"enum": [
|
|
110
|
+
"refuse",
|
|
111
|
+
"snapshot"
|
|
112
|
+
],
|
|
113
|
+
"description": "How a dirty working tree is handled when creating an envelope: snapshot captures the dirty state as the base SHA without touching the live tree; refuse fails loudly.",
|
|
114
|
+
"default": "refuse"
|
|
115
|
+
},
|
|
116
|
+
"created_at": {
|
|
117
|
+
"type": "string",
|
|
118
|
+
"minLength": 1,
|
|
119
|
+
"description": "When the envelope was created."
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
"required": [
|
|
123
|
+
"id",
|
|
124
|
+
"task_id",
|
|
125
|
+
"attempt_id",
|
|
126
|
+
"repo_root",
|
|
127
|
+
"base_ref",
|
|
128
|
+
"worktree_path",
|
|
129
|
+
"branch_name",
|
|
130
|
+
"home_dir",
|
|
131
|
+
"created_at"
|
|
132
|
+
],
|
|
133
|
+
"additionalProperties": false,
|
|
134
|
+
"description": "The envelope exactly as created (adoption reuses it)."
|
|
135
|
+
},
|
|
136
|
+
"cause": {
|
|
137
|
+
"anyOf": [
|
|
138
|
+
{
|
|
139
|
+
"type": "string",
|
|
140
|
+
"enum": [
|
|
141
|
+
"vendor_limit",
|
|
142
|
+
"pool_exhausted",
|
|
143
|
+
"pinned_limit",
|
|
144
|
+
"transport",
|
|
145
|
+
"context_exhausted",
|
|
146
|
+
"wall_clock",
|
|
147
|
+
"cancelled",
|
|
148
|
+
"host_restart",
|
|
149
|
+
"input_required",
|
|
150
|
+
"other"
|
|
151
|
+
],
|
|
152
|
+
"description": "Typed reason the previous process stopped: a vendor limit (next account eligible), the whole pool spent, a pinned account's limit, a transport death (crash, timeout, watchdog), context exhaustion, the wall-clock deadline, a cancel, a daemon/host restart, a model that asked for input, or another typed cause."
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"type": "null"
|
|
156
|
+
}
|
|
157
|
+
],
|
|
158
|
+
"description": "Why the holder stopped; null while live."
|
|
159
|
+
},
|
|
160
|
+
"retained_at": {
|
|
161
|
+
"type": [
|
|
162
|
+
"string",
|
|
163
|
+
"null"
|
|
164
|
+
],
|
|
165
|
+
"description": "When custody became retained; null while live."
|
|
166
|
+
},
|
|
167
|
+
"bytes": {
|
|
168
|
+
"anyOf": [
|
|
169
|
+
{
|
|
170
|
+
"type": "integer",
|
|
171
|
+
"minimum": 0
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"type": "null"
|
|
175
|
+
}
|
|
176
|
+
],
|
|
177
|
+
"description": "Disk use measured when retained (the kept envelope is not written to); null while live or unmeasured."
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
"required": [
|
|
181
|
+
"version",
|
|
182
|
+
"state",
|
|
183
|
+
"holder_run_id",
|
|
184
|
+
"holder_run_dir",
|
|
185
|
+
"envelope",
|
|
186
|
+
"cause",
|
|
187
|
+
"retained_at",
|
|
188
|
+
"bytes"
|
|
189
|
+
],
|
|
190
|
+
"additionalProperties": false,
|
|
191
|
+
"description": "Durable custody record of an isolated envelope (live or retained for continuation)."
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
195
|
+
}
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
"minLength": 1,
|
|
107
107
|
"maxLength": 32,
|
|
108
108
|
"pattern": "^[a-z0-9]+(?:[_-][a-z0-9]+)*$",
|
|
109
|
-
"description": "Cross-harness reasoning-effort level as a lowercase slug (open vocabulary, mirroring the vendor contract); adapters advertise the levels they accept per model, ordered weakest to strongest by the vendor itself, and a shared normalizer passes advertised levels through, clamps inside the vendor order,
|
|
109
|
+
"description": "Cross-harness reasoning-effort level as a lowercase slug (open vocabulary, mirroring the vendor contract); adapters advertise the levels they accept per model, ordered weakest to strongest by the vendor itself, and a shared normalizer passes advertised levels through, clamps inside the vendor order, places a word the vendor order lacks by the shared preference order (none < minimal < low < medium < high < xhigh < max < ultra) onto an advertised level, and refuses words neither order places."
|
|
110
110
|
}
|
|
111
111
|
},
|
|
112
112
|
"required": [
|
|
@@ -601,7 +601,6 @@
|
|
|
601
601
|
"raw_patch_outside_scope",
|
|
602
602
|
"raw_patch_stale_preimage",
|
|
603
603
|
"raw_patch_binary_unsupported",
|
|
604
|
-
"raw_patch_sensitive_content",
|
|
605
604
|
"raw_patch_truncated",
|
|
606
605
|
"raw_patch_apply_failed"
|
|
607
606
|
],
|
|
@@ -792,6 +791,12 @@
|
|
|
792
791
|
}
|
|
793
792
|
]
|
|
794
793
|
},
|
|
794
|
+
"applies_to_model_prefixes": {
|
|
795
|
+
"type": "array",
|
|
796
|
+
"items": {
|
|
797
|
+
"$ref": "#/definitions/HarnessEvent/properties/credential_profile_id"
|
|
798
|
+
}
|
|
799
|
+
},
|
|
795
800
|
"applies_to_unspecified_model": {
|
|
796
801
|
"type": "boolean"
|
|
797
802
|
},
|
|
@@ -850,7 +855,7 @@
|
|
|
850
855
|
"resets_at"
|
|
851
856
|
],
|
|
852
857
|
"additionalProperties": false,
|
|
853
|
-
"description": "One independent vendor quota window;
|
|
858
|
+
"description": "One independent vendor quota window; without model ids or declared prefixes it applies to every model, and null usage stays unknown."
|
|
854
859
|
}
|
|
855
860
|
}
|
|
856
861
|
},
|
|
@@ -525,7 +525,7 @@
|
|
|
525
525
|
"minLength": 1,
|
|
526
526
|
"maxLength": 32,
|
|
527
527
|
"pattern": "^[a-z0-9]+(?:[_-][a-z0-9]+)*$",
|
|
528
|
-
"description": "Cross-harness reasoning-effort level as a lowercase slug (open vocabulary, mirroring the vendor contract); adapters advertise the levels they accept per model, ordered weakest to strongest by the vendor itself, and a shared normalizer passes advertised levels through, clamps inside the vendor order,
|
|
528
|
+
"description": "Cross-harness reasoning-effort level as a lowercase slug (open vocabulary, mirroring the vendor contract); adapters advertise the levels they accept per model, ordered weakest to strongest by the vendor itself, and a shared normalizer passes advertised levels through, clamps inside the vendor order, places a word the vendor order lacks by the shared preference order (none < minimal < low < medium < high < xhigh < max < ultra) onto an advertised level, and refuses words neither order places."
|
|
529
529
|
},
|
|
530
530
|
"default": [],
|
|
531
531
|
"description": "Ordered (weakest to strongest) reasoning-effort levels this harness accepts across all its models; empty means effort is not a tunable surface."
|
|
@@ -543,7 +543,7 @@
|
|
|
543
543
|
"minLength": 1,
|
|
544
544
|
"maxLength": 32,
|
|
545
545
|
"pattern": "^[a-z0-9]+(?:[_-][a-z0-9]+)*$",
|
|
546
|
-
"description": "Cross-harness reasoning-effort level as a lowercase slug (open vocabulary, mirroring the vendor contract); adapters advertise the levels they accept per model, ordered weakest to strongest by the vendor itself, and a shared normalizer passes advertised levels through, clamps inside the vendor order,
|
|
546
|
+
"description": "Cross-harness reasoning-effort level as a lowercase slug (open vocabulary, mirroring the vendor contract); adapters advertise the levels they accept per model, ordered weakest to strongest by the vendor itself, and a shared normalizer passes advertised levels through, clamps inside the vendor order, places a word the vendor order lacks by the shared preference order (none < minimal < low < medium < high < xhigh < max < ultra) onto an advertised level, and refuses words neither order places."
|
|
547
547
|
},
|
|
548
548
|
"default": [],
|
|
549
549
|
"description": "Ordered (weakest to strongest) reasoning-effort levels this harness accepts across all its models; empty means effort is not a tunable surface."
|
|
@@ -331,7 +331,7 @@
|
|
|
331
331
|
"incomplete",
|
|
332
332
|
"unverified"
|
|
333
333
|
],
|
|
334
|
-
"description": "Folded work state: the WorkReport state, or unverified when no report was
|
|
334
|
+
"description": "Folded work state: the WorkReport state, or unverified when no valid report was obtained (transport unsupported / lane gated, or an instructed footer missing or broken)."
|
|
335
335
|
},
|
|
336
336
|
"source": {
|
|
337
337
|
"type": "string",
|
|
@@ -387,6 +387,19 @@
|
|
|
387
387
|
},
|
|
388
388
|
"maxItems": 16,
|
|
389
389
|
"description": "Carried through from a needs_input/incomplete WorkReport for honest disclosure."
|
|
390
|
+
},
|
|
391
|
+
"unverified_reason": {
|
|
392
|
+
"type": "string",
|
|
393
|
+
"enum": [
|
|
394
|
+
"footer_missing",
|
|
395
|
+
"footer_not_json",
|
|
396
|
+
"footer_not_object",
|
|
397
|
+
"report_missing",
|
|
398
|
+
"report_malformed",
|
|
399
|
+
"report_contradictory",
|
|
400
|
+
"legacy_output_invalid"
|
|
401
|
+
],
|
|
402
|
+
"description": "Present only with state unverified on a validated (instructed footer) source: the disclosed cause of the missing report."
|
|
390
403
|
}
|
|
391
404
|
},
|
|
392
405
|
"required": [
|
|
@@ -1517,6 +1530,101 @@
|
|
|
1517
1530
|
],
|
|
1518
1531
|
"description": "Typed post-terminal detail-read problem (the durable run handle survives); null when the detail read succeeded.",
|
|
1519
1532
|
"default": null
|
|
1533
|
+
},
|
|
1534
|
+
"secretLike": {
|
|
1535
|
+
"anyOf": [
|
|
1536
|
+
{
|
|
1537
|
+
"type": "object",
|
|
1538
|
+
"properties": {
|
|
1539
|
+
"totalMatches": {
|
|
1540
|
+
"type": "integer",
|
|
1541
|
+
"minimum": 0,
|
|
1542
|
+
"description": "Strings hidden across patch and answer."
|
|
1543
|
+
},
|
|
1544
|
+
"answerMatches": {
|
|
1545
|
+
"type": "integer",
|
|
1546
|
+
"minimum": 0,
|
|
1547
|
+
"description": "Strings hidden in the answer."
|
|
1548
|
+
},
|
|
1549
|
+
"files": {
|
|
1550
|
+
"type": "array",
|
|
1551
|
+
"items": {
|
|
1552
|
+
"type": "object",
|
|
1553
|
+
"properties": {
|
|
1554
|
+
"path": {
|
|
1555
|
+
"type": "string",
|
|
1556
|
+
"description": "Changed file whose saved diff hides strings."
|
|
1557
|
+
},
|
|
1558
|
+
"matches": {
|
|
1559
|
+
"type": "integer",
|
|
1560
|
+
"minimum": 0,
|
|
1561
|
+
"description": "Strings hidden in that file's diff."
|
|
1562
|
+
},
|
|
1563
|
+
"kinds": {
|
|
1564
|
+
"type": "array",
|
|
1565
|
+
"items": {
|
|
1566
|
+
"type": "string"
|
|
1567
|
+
},
|
|
1568
|
+
"description": "Content-rule ids that matched."
|
|
1569
|
+
}
|
|
1570
|
+
},
|
|
1571
|
+
"required": [
|
|
1572
|
+
"path",
|
|
1573
|
+
"matches",
|
|
1574
|
+
"kinds"
|
|
1575
|
+
],
|
|
1576
|
+
"additionalProperties": false
|
|
1577
|
+
},
|
|
1578
|
+
"description": "Changed files with hidden strings in the saved patch copy."
|
|
1579
|
+
},
|
|
1580
|
+
"binaryPaths": {
|
|
1581
|
+
"type": "array",
|
|
1582
|
+
"items": {
|
|
1583
|
+
"type": "string"
|
|
1584
|
+
},
|
|
1585
|
+
"description": "Binary files whose payload the saved patch omits."
|
|
1586
|
+
},
|
|
1587
|
+
"mediaWithheld": {
|
|
1588
|
+
"type": "array",
|
|
1589
|
+
"items": {
|
|
1590
|
+
"type": "string"
|
|
1591
|
+
},
|
|
1592
|
+
"description": "Images that were not saved as produced outputs."
|
|
1593
|
+
},
|
|
1594
|
+
"persistedPatch": {
|
|
1595
|
+
"type": "string",
|
|
1596
|
+
"enum": [
|
|
1597
|
+
"exact",
|
|
1598
|
+
"redacted"
|
|
1599
|
+
],
|
|
1600
|
+
"description": "Whether the saved final/patch.diff is byte-exact or a display-only redacted copy."
|
|
1601
|
+
},
|
|
1602
|
+
"exactPatchRecorded": {
|
|
1603
|
+
"type": [
|
|
1604
|
+
"boolean",
|
|
1605
|
+
"null"
|
|
1606
|
+
],
|
|
1607
|
+
"description": "For a redacted copy: whether the private exact patch object was recorded (false = deferred Apply answers patch_exact_bytes_unavailable); null for an exact copy."
|
|
1608
|
+
}
|
|
1609
|
+
},
|
|
1610
|
+
"required": [
|
|
1611
|
+
"totalMatches",
|
|
1612
|
+
"answerMatches",
|
|
1613
|
+
"files",
|
|
1614
|
+
"binaryPaths",
|
|
1615
|
+
"mediaWithheld",
|
|
1616
|
+
"persistedPatch",
|
|
1617
|
+
"exactPatchRecorded"
|
|
1618
|
+
],
|
|
1619
|
+
"additionalProperties": false,
|
|
1620
|
+
"description": "What a run's saved copies hide: secret-like strings kept in the work, hidden on disk."
|
|
1621
|
+
},
|
|
1622
|
+
{
|
|
1623
|
+
"type": "null"
|
|
1624
|
+
}
|
|
1625
|
+
],
|
|
1626
|
+
"description": "INV-062 disclosure: secret-like strings kept in the work but hidden in saved copies (paths and counts only); null when nothing was hidden.",
|
|
1627
|
+
"default": null
|
|
1520
1628
|
}
|
|
1521
1629
|
},
|
|
1522
1630
|
"required": [
|
|
@@ -328,7 +328,7 @@
|
|
|
328
328
|
"incomplete",
|
|
329
329
|
"unverified"
|
|
330
330
|
],
|
|
331
|
-
"description": "Folded work state: the WorkReport state, or unverified when no report was
|
|
331
|
+
"description": "Folded work state: the WorkReport state, or unverified when no valid report was obtained (transport unsupported / lane gated, or an instructed footer missing or broken)."
|
|
332
332
|
},
|
|
333
333
|
"source": {
|
|
334
334
|
"type": "string",
|
|
@@ -384,6 +384,19 @@
|
|
|
384
384
|
},
|
|
385
385
|
"maxItems": 16,
|
|
386
386
|
"description": "Carried through from a needs_input/incomplete WorkReport for honest disclosure."
|
|
387
|
+
},
|
|
388
|
+
"unverified_reason": {
|
|
389
|
+
"type": "string",
|
|
390
|
+
"enum": [
|
|
391
|
+
"footer_missing",
|
|
392
|
+
"footer_not_json",
|
|
393
|
+
"footer_not_object",
|
|
394
|
+
"report_missing",
|
|
395
|
+
"report_malformed",
|
|
396
|
+
"report_contradictory",
|
|
397
|
+
"legacy_output_invalid"
|
|
398
|
+
],
|
|
399
|
+
"description": "Present only with state unverified on a validated (instructed footer) source: the disclosed cause of the missing report."
|
|
387
400
|
}
|
|
388
401
|
},
|
|
389
402
|
"required": [
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/RunContinuityReceipt",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"RunContinuityReceipt": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"tryIndex": {
|
|
8
|
+
"type": "integer",
|
|
9
|
+
"minimum": 0,
|
|
10
|
+
"description": "Native try within the attempt; joins the receipt to its try."
|
|
11
|
+
},
|
|
12
|
+
"attemptId": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"minLength": 1,
|
|
15
|
+
"description": "Non-empty identifier string."
|
|
16
|
+
},
|
|
17
|
+
"carrier": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"enum": [
|
|
20
|
+
"native",
|
|
21
|
+
"native_moved",
|
|
22
|
+
"packet",
|
|
23
|
+
"fresh"
|
|
24
|
+
],
|
|
25
|
+
"description": "Carrier of a continued try: native (the vendor's own session, same account), native_moved (the session file made visible in the next account's store, then resumed there), packet (a fresh session re-grounded by an evidence index), or fresh (nothing to carry — a replay of the original prompt)."
|
|
26
|
+
},
|
|
27
|
+
"cause": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"enum": [
|
|
30
|
+
"vendor_limit",
|
|
31
|
+
"pool_exhausted",
|
|
32
|
+
"pinned_limit",
|
|
33
|
+
"transport",
|
|
34
|
+
"context_exhausted",
|
|
35
|
+
"wall_clock",
|
|
36
|
+
"cancelled",
|
|
37
|
+
"host_restart",
|
|
38
|
+
"input_required",
|
|
39
|
+
"other"
|
|
40
|
+
],
|
|
41
|
+
"description": "Typed reason the previous process stopped: a vendor limit (next account eligible), the whole pool spent, a pinned account's limit, a transport death (crash, timeout, watchdog), context exhaustion, the wall-clock deadline, a cancel, a daemon/host restart, a model that asked for input, or another typed cause."
|
|
42
|
+
},
|
|
43
|
+
"from": {
|
|
44
|
+
"type": "object",
|
|
45
|
+
"properties": {
|
|
46
|
+
"runId": {
|
|
47
|
+
"$ref": "#/definitions/RunContinuityReceipt/properties/attemptId"
|
|
48
|
+
},
|
|
49
|
+
"attemptId": {
|
|
50
|
+
"$ref": "#/definitions/RunContinuityReceipt/properties/attemptId"
|
|
51
|
+
},
|
|
52
|
+
"profileId": {
|
|
53
|
+
"anyOf": [
|
|
54
|
+
{
|
|
55
|
+
"$ref": "#/definitions/RunContinuityReceipt/properties/attemptId"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"type": "null"
|
|
59
|
+
}
|
|
60
|
+
],
|
|
61
|
+
"description": "Non-empty identifier string."
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"required": [
|
|
65
|
+
"runId",
|
|
66
|
+
"attemptId",
|
|
67
|
+
"profileId"
|
|
68
|
+
],
|
|
69
|
+
"additionalProperties": false
|
|
70
|
+
},
|
|
71
|
+
"to": {
|
|
72
|
+
"type": "object",
|
|
73
|
+
"properties": {
|
|
74
|
+
"profileId": {
|
|
75
|
+
"anyOf": [
|
|
76
|
+
{
|
|
77
|
+
"$ref": "#/definitions/RunContinuityReceipt/properties/attemptId"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"type": "null"
|
|
81
|
+
}
|
|
82
|
+
],
|
|
83
|
+
"description": "Non-empty identifier string."
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"required": [
|
|
87
|
+
"profileId"
|
|
88
|
+
],
|
|
89
|
+
"additionalProperties": false
|
|
90
|
+
},
|
|
91
|
+
"workspace": {
|
|
92
|
+
"type": "string",
|
|
93
|
+
"enum": [
|
|
94
|
+
"same_root",
|
|
95
|
+
"different_root"
|
|
96
|
+
],
|
|
97
|
+
"description": "Whether the continued try runs in the predecessor's execution root."
|
|
98
|
+
},
|
|
99
|
+
"memory": {
|
|
100
|
+
"type": "string",
|
|
101
|
+
"enum": [
|
|
102
|
+
"full",
|
|
103
|
+
"partial",
|
|
104
|
+
"unknown"
|
|
105
|
+
],
|
|
106
|
+
"description": "Its own fact: a native resume carries the whole history (full); a packet re-brief is partial; a native resume that lost history (e.g. a rejected compacted item) is partial/unknown."
|
|
107
|
+
},
|
|
108
|
+
"instructions": {
|
|
109
|
+
"type": "string",
|
|
110
|
+
"enum": [
|
|
111
|
+
"as_sent",
|
|
112
|
+
"vendor_snapshot"
|
|
113
|
+
],
|
|
114
|
+
"description": "as_sent: the successor's instructions equal the predecessor's; vendor_snapshot: they differ, and the vendor may resend its recorded system prompt instead (claude records it on the first request)."
|
|
115
|
+
},
|
|
116
|
+
"reingestedTokens": {
|
|
117
|
+
"anyOf": [
|
|
118
|
+
{
|
|
119
|
+
"type": "integer",
|
|
120
|
+
"minimum": 0
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"type": "null"
|
|
124
|
+
}
|
|
125
|
+
],
|
|
126
|
+
"description": "Input + cache-creation tokens of the first resumed request, when known."
|
|
127
|
+
},
|
|
128
|
+
"observedModel": {
|
|
129
|
+
"type": [
|
|
130
|
+
"string",
|
|
131
|
+
"null"
|
|
132
|
+
],
|
|
133
|
+
"description": "THIS try's attested model (never borrowed from another try)."
|
|
134
|
+
},
|
|
135
|
+
"modelMismatch": {
|
|
136
|
+
"type": [
|
|
137
|
+
"boolean",
|
|
138
|
+
"null"
|
|
139
|
+
]
|
|
140
|
+
},
|
|
141
|
+
"identityCheck": {
|
|
142
|
+
"type": "string",
|
|
143
|
+
"enum": [
|
|
144
|
+
"matched_before_effects",
|
|
145
|
+
"mismatch_before_effects",
|
|
146
|
+
"mismatch_after_possible_effects",
|
|
147
|
+
"not_applicable"
|
|
148
|
+
],
|
|
149
|
+
"description": "Whether the resumed vendor session was the one requested, judged at the earliest handshake (codex thread/resume before turn/start; claude system/init): matched, mismatch caught before the child could act, mismatch caught after it may have acted, or not applicable (no resume was requested, or a harness without the continuity capability answered with another session id, which is recorded as before)."
|
|
150
|
+
},
|
|
151
|
+
"inputDelivery": {
|
|
152
|
+
"type": "string",
|
|
153
|
+
"enum": [
|
|
154
|
+
"confirmed",
|
|
155
|
+
"uncertain",
|
|
156
|
+
"not_applicable"
|
|
157
|
+
],
|
|
158
|
+
"description": "Whether the predecessor's last input (its turn prompt or an admitted steering message) is known to be in the vendor history: confirmed, uncertain (carried in the notice as a reference to reconcile, never replayed blindly), or not applicable."
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
"required": [
|
|
162
|
+
"tryIndex",
|
|
163
|
+
"attemptId",
|
|
164
|
+
"carrier",
|
|
165
|
+
"cause",
|
|
166
|
+
"from",
|
|
167
|
+
"to",
|
|
168
|
+
"workspace",
|
|
169
|
+
"memory",
|
|
170
|
+
"instructions",
|
|
171
|
+
"reingestedTokens",
|
|
172
|
+
"observedModel",
|
|
173
|
+
"modelMismatch",
|
|
174
|
+
"identityCheck",
|
|
175
|
+
"inputDelivery"
|
|
176
|
+
],
|
|
177
|
+
"additionalProperties": false,
|
|
178
|
+
"description": "Receipt of one continued try: carrier, cause, accounts, memory, model attestation."
|
|
179
|
+
}
|
|
180
|
+
},
|
|
181
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
182
|
+
}
|
|
@@ -101,7 +101,9 @@
|
|
|
101
101
|
"run.completed",
|
|
102
102
|
"run.failed",
|
|
103
103
|
"run.continuation",
|
|
104
|
-
"run.continuation.denied"
|
|
104
|
+
"run.continuation.denied",
|
|
105
|
+
"run.continuity",
|
|
106
|
+
"workspace.retained"
|
|
105
107
|
],
|
|
106
108
|
"description": "Type of an append-only run event, covering run lifecycle, contract/context creation, budget, routing fallbacks, harness activity, interactions, gates, review, arbitration, work products, and control verbs."
|
|
107
109
|
},
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
"incomplete",
|
|
117
117
|
"unverified"
|
|
118
118
|
],
|
|
119
|
-
"description": "Folded work state: the WorkReport state, or unverified when no report was
|
|
119
|
+
"description": "Folded work state: the WorkReport state, or unverified when no valid report was obtained (transport unsupported / lane gated, or an instructed footer missing or broken)."
|
|
120
120
|
},
|
|
121
121
|
"source": {
|
|
122
122
|
"type": "string",
|
|
@@ -172,6 +172,19 @@
|
|
|
172
172
|
},
|
|
173
173
|
"maxItems": 16,
|
|
174
174
|
"description": "Carried through from a needs_input/incomplete WorkReport for honest disclosure."
|
|
175
|
+
},
|
|
176
|
+
"unverified_reason": {
|
|
177
|
+
"type": "string",
|
|
178
|
+
"enum": [
|
|
179
|
+
"footer_missing",
|
|
180
|
+
"footer_not_json",
|
|
181
|
+
"footer_not_object",
|
|
182
|
+
"report_missing",
|
|
183
|
+
"report_malformed",
|
|
184
|
+
"report_contradictory",
|
|
185
|
+
"legacy_output_invalid"
|
|
186
|
+
],
|
|
187
|
+
"description": "Present only with state unverified on a validated (instructed footer) source: the disclosed cause of the missing report."
|
|
175
188
|
}
|
|
176
189
|
},
|
|
177
190
|
"required": [
|