@claudexor/schema 1.0.0 → 2.0.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 +88 -16
- package/dist/agent-capabilities.d.ts.map +1 -1
- package/dist/agent-capabilities.js +49 -18
- package/dist/agent-capabilities.js.map +1 -1
- package/dist/apply-eligibility.d.ts.map +1 -1
- package/dist/apply-eligibility.js +22 -6
- package/dist/apply-eligibility.js.map +1 -1
- package/dist/attachment.d.ts +113 -48
- package/dist/attachment.d.ts.map +1 -1
- package/dist/attachment.js +60 -45
- package/dist/attachment.js.map +1 -1
- package/dist/auth.d.ts +1423 -0
- package/dist/auth.d.ts.map +1 -0
- package/dist/auth.js +317 -0
- package/dist/auth.js.map +1 -0
- package/dist/budget.d.ts +133 -16
- package/dist/budget.d.ts.map +1 -1
- package/dist/budget.js +65 -22
- package/dist/budget.js.map +1 -1
- package/dist/config.d.ts +449 -115
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +114 -41
- package/dist/config.js.map +1 -1
- package/dist/context.d.ts +6 -6
- package/dist/context.d.ts.map +1 -1
- package/dist/context.js +31 -7
- package/dist/context.js.map +1 -1
- package/dist/control-operation-responses.d.ts +1172 -0
- package/dist/control-operation-responses.d.ts.map +1 -0
- package/dist/control-operation-responses.js +35 -0
- package/dist/control-operation-responses.js.map +1 -0
- package/dist/control-run-detail.d.ts +443 -242
- package/dist/control-run-detail.d.ts.map +1 -1
- package/dist/control-run-detail.js +72 -17
- package/dist/control-run-detail.js.map +1 -1
- package/dist/control-run-retry.d.ts +88 -0
- package/dist/control-run-retry.d.ts.map +1 -0
- package/dist/control-run-retry.js +40 -0
- package/dist/control-run-retry.js.map +1 -0
- package/dist/control-run-scope.d.ts +25 -0
- package/dist/control-run-scope.d.ts.map +1 -0
- package/dist/control-run-scope.js +22 -0
- package/dist/control-run-scope.js.map +1 -0
- package/dist/control-secret.d.ts +90 -0
- package/dist/control-secret.d.ts.map +1 -0
- package/dist/control-secret.js +35 -0
- package/dist/control-secret.js.map +1 -0
- package/dist/control-spec.d.ts +592 -0
- package/dist/control-spec.d.ts.map +1 -0
- package/dist/control-spec.js +85 -0
- package/dist/control-spec.js.map +1 -0
- package/dist/control-thread-apply.d.ts +175 -0
- package/dist/control-thread-apply.d.ts.map +1 -0
- package/dist/control-thread-apply.js +31 -0
- package/dist/control-thread-apply.js.map +1 -0
- package/dist/control-trust.d.ts +74 -10
- package/dist/control-trust.d.ts.map +1 -1
- package/dist/control-trust.js +31 -11
- package/dist/control-trust.js.map +1 -1
- package/dist/control.d.ts +1391 -878
- package/dist/control.d.ts.map +1 -1
- package/dist/control.js +468 -310
- package/dist/control.js.map +1 -1
- package/dist/decision.d.ts +10 -10
- package/dist/decision.d.ts.map +1 -1
- package/dist/decision.js +62 -15
- package/dist/decision.js.map +1 -1
- package/dist/delivery.d.ts +99 -0
- package/dist/delivery.d.ts.map +1 -0
- package/dist/delivery.js +19 -0
- package/dist/delivery.js.map +1 -0
- package/dist/events.d.ts +25 -2
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +25 -4
- package/dist/events.js.map +1 -1
- package/dist/gate.d.ts +2 -2
- package/dist/gate.d.ts.map +1 -1
- package/dist/gate.js +25 -5
- package/dist/gate.js.map +1 -1
- package/dist/harness.d.ts +558 -175
- package/dist/harness.d.ts.map +1 -1
- package/dist/harness.js +207 -82
- package/dist/harness.js.map +1 -1
- package/dist/index.d.ts +15 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +15 -0
- package/dist/index.js.map +1 -1
- package/dist/operation.d.ts +185 -0
- package/dist/operation.d.ts.map +1 -0
- package/dist/operation.js +50 -0
- package/dist/operation.js.map +1 -0
- package/dist/orchestrate.d.ts +127 -22
- package/dist/orchestrate.d.ts.map +1 -1
- package/dist/orchestrate.js +61 -7
- package/dist/orchestrate.js.map +1 -1
- package/dist/primitives.d.ts.map +1 -1
- package/dist/primitives.js +4 -1
- package/dist/primitives.js.map +1 -1
- package/dist/problem.d.ts +29 -0
- package/dist/problem.d.ts.map +1 -0
- package/dist/problem.js +17 -0
- package/dist/problem.js.map +1 -0
- package/dist/project.d.ts +97 -0
- package/dist/project.d.ts.map +1 -0
- package/dist/project.js +27 -0
- package/dist/project.js.map +1 -0
- package/dist/quota.d.ts +251 -0
- package/dist/quota.d.ts.map +1 -0
- package/dist/quota.js +46 -0
- package/dist/quota.js.map +1 -0
- package/dist/raw.d.ts +195 -0
- package/dist/raw.d.ts.map +1 -0
- package/dist/raw.js +58 -0
- package/dist/raw.js.map +1 -0
- package/dist/recovery.d.ts +515 -0
- package/dist/recovery.d.ts.map +1 -0
- package/dist/recovery.js +93 -0
- package/dist/recovery.js.map +1 -0
- package/dist/request-requirements.d.ts +36 -0
- package/dist/request-requirements.d.ts.map +1 -0
- package/dist/request-requirements.js +26 -0
- package/dist/request-requirements.js.map +1 -0
- package/dist/review.d.ts +26 -26
- package/dist/review.d.ts.map +1 -1
- package/dist/review.js +50 -10
- package/dist/review.js.map +1 -1
- package/dist/route.d.ts +10 -10
- package/dist/route.d.ts.map +1 -1
- package/dist/route.js +19 -4
- package/dist/route.js.map +1 -1
- package/dist/setup.d.ts +9766 -0
- package/dist/setup.d.ts.map +1 -0
- package/dist/setup.js +450 -0
- package/dist/setup.js.map +1 -0
- package/dist/spec.d.ts +174 -57
- package/dist/spec.d.ts.map +1 -1
- package/dist/spec.js +69 -16
- package/dist/spec.js.map +1 -1
- package/dist/surface-run-controls.d.ts.map +1 -1
- package/dist/surface-run-controls.js +25 -21
- package/dist/surface-run-controls.js.map +1 -1
- package/dist/task.d.ts +1560 -58
- package/dist/task.d.ts.map +1 -1
- package/dist/task.js +97 -18
- package/dist/task.js.map +1 -1
- package/dist/telemetry.d.ts +233 -60
- package/dist/telemetry.d.ts.map +1 -1
- package/dist/telemetry.js +97 -15
- package/dist/telemetry.js.map +1 -1
- package/dist/thread.d.ts +68 -41
- package/dist/thread.d.ts.map +1 -1
- package/dist/thread.js +45 -11
- package/dist/thread.js.map +1 -1
- package/dist/workproduct.d.ts +3 -3
- package/dist/workproduct.d.ts.map +1 -1
- package/dist/workproduct.js.map +1 -1
- package/dist/workspace.d.ts +1 -1
- package/dist/workspace.d.ts.map +1 -1
- package/dist/workspace.js +12 -3
- package/dist/workspace.js.map +1 -1
- package/generated/AgentCapabilityCatalog.schema.json +53 -11
- package/generated/BudgetLease.schema.json +55 -6
- package/generated/BudgetObservation.schema.json +28 -7
- package/generated/ConformanceReport.schema.json +49 -0
- package/generated/ControlApplyCheckResponse.schema.json +34 -0
- package/generated/ControlArtifactListResponse.schema.json +57 -0
- package/generated/ControlAuthReadinessRefreshRequest.schema.json +38 -0
- package/generated/ControlAuthReadinessRefreshResponse.schema.json +85 -0
- package/generated/ControlDeliveryResponse.schema.json +136 -0
- package/generated/ControlHandshakeRequest.schema.json +26 -0
- package/generated/ControlHandshakeResponse.schema.json +30 -0
- package/generated/ControlHarnessListResponse.schema.json +103 -12
- package/generated/ControlHarnessSettingsPatch.schema.json +0 -12
- package/generated/ControlJournalEvent.schema.json +42 -0
- package/generated/ControlJournalExportReceipt.schema.json +49 -0
- package/generated/ControlJournalInspection.schema.json +149 -0
- package/generated/ControlJournalQuarantineReceipt.schema.json +55 -0
- package/generated/ControlJournalQuarantineRequest.schema.json +24 -0
- package/generated/ControlJournalValidation.schema.json +181 -0
- package/generated/ControlOperationCatalog.schema.json +128 -0
- package/generated/ControlOperationDescriptor.schema.json +110 -0
- package/generated/ControlProblem.schema.json +59 -0
- package/generated/ControlProject.schema.json +42 -0
- package/generated/ControlProjectListResponse.schema.json +54 -0
- package/generated/ControlProjectRegisterRequest.schema.json +19 -0
- package/generated/ControlProjectRelinkRequest.schema.json +19 -0
- package/generated/ControlQueuedRunInfo.schema.json +4 -2
- package/generated/ControlQuotaResponse.schema.json +176 -0
- package/generated/ControlResource.schema.json +59 -0
- package/generated/ControlRunAgainDraft.schema.json +499 -0
- package/generated/ControlRunDetail.schema.json +197 -30
- package/generated/ControlRunListResponse.schema.json +797 -0
- package/generated/ControlRunRetryResponse.schema.json +54 -0
- package/generated/ControlRunStartRequest.schema.json +83 -55
- package/generated/ControlRunStartResponse.schema.json +78 -0
- package/generated/ControlRunSummary.schema.json +140 -20
- package/generated/ControlSecretListResponse.schema.json +8 -14
- package/generated/ControlSecretMutationResponse.schema.json +32 -0
- package/generated/ControlSecretSetRequest.schema.json +27 -0
- package/generated/ControlSettingsSnapshot.schema.json +118 -44
- package/generated/ControlSettingsUpdateRequest.schema.json +110 -40
- package/generated/ControlSetupJob.schema.json +763 -65
- package/generated/ControlSetupJobCreateRequest.schema.json +11 -13
- package/generated/ControlSetupJobEvent.schema.json +861 -5
- package/generated/ControlSetupJobListFilter.schema.json +35 -0
- package/generated/ControlSetupJobListResponse.schema.json +763 -65
- package/generated/ControlSetupJobSnapshot.schema.json +870 -0
- package/generated/ControlSpecAnswersRequest.schema.json +74 -0
- package/generated/ControlSpecQuestionsRequest.schema.json +128 -2
- package/generated/ControlSpecSession.schema.json +249 -0
- package/generated/ControlSpecSessionListResponse.schema.json +261 -0
- package/generated/ControlThread.schema.json +20 -2
- package/generated/ControlThreadApplyResponse.schema.json +139 -0
- package/generated/ControlThreadDetail.schema.json +32 -4
- package/generated/ControlThreadListResponse.schema.json +20 -2
- package/generated/ControlThreadTurnRequest.schema.json +373 -0
- package/generated/ControlThreadTurnResponse.schema.json +73 -0
- package/generated/ControlThreadUpdateRequest.schema.json +1 -1
- package/generated/ControlTrustListResponse.schema.json +6 -0
- package/generated/ControlTrustState.schema.json +6 -0
- package/generated/ControlTrustUpdateRequest.schema.json +65 -3
- package/generated/ControlUploadCreateRequest.schema.json +37 -0
- package/generated/ControlUploadFinalizeRequest.schema.json +17 -0
- package/generated/ControlUploadStatus.schema.json +40 -0
- package/generated/DecisionRecord.schema.json +6 -3
- package/generated/GlobalConfig.schema.json +105 -58
- package/generated/HarnessEvent.schema.json +201 -10
- package/generated/HarnessManifest.schema.json +63 -12
- package/generated/HarnessStatusDto.schema.json +103 -12
- package/generated/OrchestrateContract.schema.json +32 -6
- package/generated/OrchestratePlan.schema.json +20 -0
- package/generated/OrchestratePlanProgress.schema.json +61 -0
- package/generated/PaidBudget.schema.json +42 -0
- package/generated/Project.schema.json +45 -0
- package/generated/ProjectConfig.schema.json +45 -18
- package/generated/RawContextPacket.schema.json +184 -0
- package/generated/RawGitPatchEnvelope.schema.json +70 -0
- package/generated/RunTelemetry.schema.json +80 -0
- package/generated/SecretMetadata.schema.json +4 -7
- package/generated/SpecPack.schema.json +118 -7
- package/generated/TaskContract.schema.json +159 -26
- package/generated/TestCommandInvocation.schema.json +45 -0
- package/generated/Thread.schema.json +62 -6
- package/generated/ThreadTurn.schema.json +24 -11
- package/generated/TrustConfig.schema.json +77 -0
- package/package.json +1 -1
- package/generated/ControlSetupJobConfirmRequest.schema.json +0 -18
- package/generated/ControlSpecFreezeRequest.schema.json +0 -83
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/RawContextPacket",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"RawContextPacket": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"schema_version": {
|
|
8
|
+
"type": "number",
|
|
9
|
+
"const": 1
|
|
10
|
+
},
|
|
11
|
+
"packet_hash": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"minLength": 1,
|
|
14
|
+
"description": "Content hash in algo:hex form, e.g. \"sha256:abcd...\"."
|
|
15
|
+
},
|
|
16
|
+
"base_commit_sha": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"minLength": 1
|
|
19
|
+
},
|
|
20
|
+
"base_tree_sha": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"minLength": 1
|
|
23
|
+
},
|
|
24
|
+
"readable_files": {
|
|
25
|
+
"type": "array",
|
|
26
|
+
"items": {
|
|
27
|
+
"type": "object",
|
|
28
|
+
"properties": {
|
|
29
|
+
"path": {
|
|
30
|
+
"type": "string",
|
|
31
|
+
"minLength": 1,
|
|
32
|
+
"description": "Exact repo-relative readable/editable path."
|
|
33
|
+
},
|
|
34
|
+
"mode": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"description": "Git object mode at the bound base tree."
|
|
37
|
+
},
|
|
38
|
+
"blob_oid": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"minLength": 1,
|
|
41
|
+
"description": "Git blob oid at the bound base tree."
|
|
42
|
+
},
|
|
43
|
+
"content_hash": {
|
|
44
|
+
"$ref": "#/definitions/RawContextPacket/properties/packet_hash"
|
|
45
|
+
},
|
|
46
|
+
"content": {
|
|
47
|
+
"type": "string",
|
|
48
|
+
"description": "Complete text content; never truncated."
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"required": [
|
|
52
|
+
"path",
|
|
53
|
+
"mode",
|
|
54
|
+
"blob_oid",
|
|
55
|
+
"content_hash",
|
|
56
|
+
"content"
|
|
57
|
+
],
|
|
58
|
+
"additionalProperties": false
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"editable_paths": {
|
|
62
|
+
"type": "array",
|
|
63
|
+
"items": {
|
|
64
|
+
"type": "string",
|
|
65
|
+
"minLength": 1
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"creatable_roots": {
|
|
69
|
+
"type": "array",
|
|
70
|
+
"items": {
|
|
71
|
+
"type": "string",
|
|
72
|
+
"minLength": 1
|
|
73
|
+
},
|
|
74
|
+
"default": [],
|
|
75
|
+
"description": "Exact repo-relative roots where a patch may add a new path; '.' means the project root."
|
|
76
|
+
},
|
|
77
|
+
"file_manifest": {
|
|
78
|
+
"type": "array",
|
|
79
|
+
"items": {
|
|
80
|
+
"type": "object",
|
|
81
|
+
"properties": {
|
|
82
|
+
"path": {
|
|
83
|
+
"type": "string",
|
|
84
|
+
"description": "Repo-relative path."
|
|
85
|
+
},
|
|
86
|
+
"disposition": {
|
|
87
|
+
"type": "string",
|
|
88
|
+
"enum": [
|
|
89
|
+
"full",
|
|
90
|
+
"included",
|
|
91
|
+
"manifest_only",
|
|
92
|
+
"excluded",
|
|
93
|
+
"sensitive",
|
|
94
|
+
"binary",
|
|
95
|
+
"vendored",
|
|
96
|
+
"oversized",
|
|
97
|
+
"read_error",
|
|
98
|
+
"omitted"
|
|
99
|
+
],
|
|
100
|
+
"description": "How a tracked path was accounted for in the Scope Atlas (full/included content, manifest_only, or excluded/sensitive/binary/vendored/oversized/read_error/omitted); no path is ever silently dropped."
|
|
101
|
+
},
|
|
102
|
+
"hash": {
|
|
103
|
+
"$ref": "#/definitions/RawContextPacket/properties/packet_hash",
|
|
104
|
+
"description": "Content hash of the path, when read."
|
|
105
|
+
},
|
|
106
|
+
"bytes": {
|
|
107
|
+
"type": "integer",
|
|
108
|
+
"minimum": 0,
|
|
109
|
+
"description": "Size of the path in bytes, when known."
|
|
110
|
+
},
|
|
111
|
+
"reason": {
|
|
112
|
+
"type": "string",
|
|
113
|
+
"description": "Why the path got this disposition."
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
"required": [
|
|
117
|
+
"path",
|
|
118
|
+
"disposition"
|
|
119
|
+
],
|
|
120
|
+
"additionalProperties": false,
|
|
121
|
+
"description": "Accounting entry for one tracked path in the Scope Atlas."
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
"omissions": {
|
|
125
|
+
"type": "array",
|
|
126
|
+
"items": {
|
|
127
|
+
"type": "object",
|
|
128
|
+
"properties": {
|
|
129
|
+
"path": {
|
|
130
|
+
"type": "string",
|
|
131
|
+
"description": "Repo-relative path that was omitted."
|
|
132
|
+
},
|
|
133
|
+
"reason": {
|
|
134
|
+
"type": "string",
|
|
135
|
+
"description": "Why the path was omitted."
|
|
136
|
+
},
|
|
137
|
+
"replacement": {
|
|
138
|
+
"type": "string",
|
|
139
|
+
"enum": [
|
|
140
|
+
"summary",
|
|
141
|
+
"map",
|
|
142
|
+
"index",
|
|
143
|
+
"none"
|
|
144
|
+
],
|
|
145
|
+
"default": "none",
|
|
146
|
+
"description": "What stands in for the omitted content: a summary, a map, an index, or nothing."
|
|
147
|
+
},
|
|
148
|
+
"hash": {
|
|
149
|
+
"$ref": "#/definitions/RawContextPacket/properties/packet_hash",
|
|
150
|
+
"description": "Content hash of the omitted file, when known."
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
"required": [
|
|
154
|
+
"path",
|
|
155
|
+
"reason"
|
|
156
|
+
],
|
|
157
|
+
"additionalProperties": false,
|
|
158
|
+
"description": "Explicit record of a file omitted from the context; nothing is silently cut."
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
"evidence_refs": {
|
|
162
|
+
"type": "array",
|
|
163
|
+
"items": {
|
|
164
|
+
"type": "string",
|
|
165
|
+
"minLength": 1
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
"required": [
|
|
170
|
+
"schema_version",
|
|
171
|
+
"packet_hash",
|
|
172
|
+
"base_commit_sha",
|
|
173
|
+
"base_tree_sha",
|
|
174
|
+
"readable_files",
|
|
175
|
+
"editable_paths",
|
|
176
|
+
"file_manifest",
|
|
177
|
+
"omissions",
|
|
178
|
+
"evidence_refs"
|
|
179
|
+
],
|
|
180
|
+
"additionalProperties": false
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
184
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/RawGitPatchEnvelope",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"RawGitPatchEnvelope": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"schema_version": {
|
|
8
|
+
"type": "number",
|
|
9
|
+
"const": 1
|
|
10
|
+
},
|
|
11
|
+
"context_packet_hash": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"minLength": 1,
|
|
14
|
+
"description": "Content hash in algo:hex form, e.g. \"sha256:abcd...\"."
|
|
15
|
+
},
|
|
16
|
+
"base_tree_sha": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"minLength": 1
|
|
19
|
+
},
|
|
20
|
+
"patch": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"minLength": 1
|
|
23
|
+
},
|
|
24
|
+
"patch_hash": {
|
|
25
|
+
"$ref": "#/definitions/RawGitPatchEnvelope/properties/context_packet_hash"
|
|
26
|
+
},
|
|
27
|
+
"touched_paths": {
|
|
28
|
+
"type": "array",
|
|
29
|
+
"items": {
|
|
30
|
+
"type": "object",
|
|
31
|
+
"properties": {
|
|
32
|
+
"path": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"minLength": 1
|
|
35
|
+
},
|
|
36
|
+
"expected_blob_oid": {
|
|
37
|
+
"anyOf": [
|
|
38
|
+
{
|
|
39
|
+
"type": "string",
|
|
40
|
+
"minLength": 1
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"type": "null"
|
|
44
|
+
}
|
|
45
|
+
],
|
|
46
|
+
"description": "Base-tree blob oid, or null only when the path is absent in the base tree."
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"required": [
|
|
50
|
+
"path",
|
|
51
|
+
"expected_blob_oid"
|
|
52
|
+
],
|
|
53
|
+
"additionalProperties": false
|
|
54
|
+
},
|
|
55
|
+
"minItems": 1
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"required": [
|
|
59
|
+
"schema_version",
|
|
60
|
+
"context_packet_hash",
|
|
61
|
+
"base_tree_sha",
|
|
62
|
+
"patch",
|
|
63
|
+
"patch_hash",
|
|
64
|
+
"touched_paths"
|
|
65
|
+
],
|
|
66
|
+
"additionalProperties": false
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
70
|
+
}
|
|
@@ -188,6 +188,78 @@
|
|
|
188
188
|
"default": null,
|
|
189
189
|
"description": "Model the harness stream actually reported; null when never disclosed (rendered as unverified, never guessed)."
|
|
190
190
|
},
|
|
191
|
+
"auth_mode": {
|
|
192
|
+
"anyOf": [
|
|
193
|
+
{
|
|
194
|
+
"type": "string",
|
|
195
|
+
"enum": [
|
|
196
|
+
"local_session",
|
|
197
|
+
"api_key",
|
|
198
|
+
"unknown"
|
|
199
|
+
],
|
|
200
|
+
"description": "Auth mode a route runs under: a native local session, an API key, or unknown."
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"type": "null"
|
|
204
|
+
}
|
|
205
|
+
],
|
|
206
|
+
"description": "Auth route the attempt actually ran under (local_session subscription vs api_key), disclosed by the adapter's typed started payload; null when never disclosed (treated as unknown, never guessed).",
|
|
207
|
+
"default": null
|
|
208
|
+
},
|
|
209
|
+
"request_requirements": {
|
|
210
|
+
"type": "array",
|
|
211
|
+
"items": {
|
|
212
|
+
"type": "object",
|
|
213
|
+
"properties": {
|
|
214
|
+
"capability": {
|
|
215
|
+
"type": "string",
|
|
216
|
+
"const": "browser"
|
|
217
|
+
},
|
|
218
|
+
"harness_id": {
|
|
219
|
+
"type": "string",
|
|
220
|
+
"minLength": 1
|
|
221
|
+
},
|
|
222
|
+
"eligible": {
|
|
223
|
+
"type": "boolean"
|
|
224
|
+
},
|
|
225
|
+
"requested": {
|
|
226
|
+
"type": "boolean"
|
|
227
|
+
},
|
|
228
|
+
"effective": {
|
|
229
|
+
"type": "boolean"
|
|
230
|
+
},
|
|
231
|
+
"reason": {
|
|
232
|
+
"type": "string",
|
|
233
|
+
"enum": [
|
|
234
|
+
"not_requested",
|
|
235
|
+
"effective",
|
|
236
|
+
"manifest_unsupported",
|
|
237
|
+
"web_policy_off",
|
|
238
|
+
"access_profile_incompatible"
|
|
239
|
+
]
|
|
240
|
+
},
|
|
241
|
+
"evidence_refs": {
|
|
242
|
+
"type": "array",
|
|
243
|
+
"items": {
|
|
244
|
+
"type": "string"
|
|
245
|
+
},
|
|
246
|
+
"default": []
|
|
247
|
+
}
|
|
248
|
+
},
|
|
249
|
+
"required": [
|
|
250
|
+
"capability",
|
|
251
|
+
"harness_id",
|
|
252
|
+
"eligible",
|
|
253
|
+
"requested",
|
|
254
|
+
"effective",
|
|
255
|
+
"reason"
|
|
256
|
+
],
|
|
257
|
+
"additionalProperties": false,
|
|
258
|
+
"description": "Preflight resolution of one requested capability on one selected harness lane."
|
|
259
|
+
},
|
|
260
|
+
"default": [],
|
|
261
|
+
"description": "Per-lane requested/effective capability receipts computed at preflight; never inferred by surfaces."
|
|
262
|
+
},
|
|
191
263
|
"web": {
|
|
192
264
|
"type": "object",
|
|
193
265
|
"properties": {
|
|
@@ -401,6 +473,14 @@
|
|
|
401
473
|
"default": [],
|
|
402
474
|
"description": "Per-attempt telemetry records."
|
|
403
475
|
},
|
|
476
|
+
"request_requirements": {
|
|
477
|
+
"type": "array",
|
|
478
|
+
"items": {
|
|
479
|
+
"$ref": "#/definitions/RunTelemetry/properties/attempts/items/properties/request_requirements/items"
|
|
480
|
+
},
|
|
481
|
+
"default": [],
|
|
482
|
+
"description": "All selected-lane capability receipts for this run."
|
|
483
|
+
},
|
|
404
484
|
"tool_warnings_total": {
|
|
405
485
|
"type": "integer",
|
|
406
486
|
"minimum": 0,
|
|
@@ -10,16 +10,13 @@
|
|
|
10
10
|
},
|
|
11
11
|
"backend": {
|
|
12
12
|
"type": "string",
|
|
13
|
-
"
|
|
14
|
-
|
|
15
|
-
"file"
|
|
16
|
-
],
|
|
17
|
-
"description": "Where the secret is stored: the OS keychain or a file store."
|
|
13
|
+
"const": "file",
|
|
14
|
+
"description": "Claudexor v2 file secret store."
|
|
18
15
|
},
|
|
19
16
|
"present": {
|
|
20
17
|
"type": "boolean",
|
|
21
18
|
"default": true,
|
|
22
|
-
"description": "Whether a value is
|
|
19
|
+
"description": "Whether a value is stored."
|
|
23
20
|
}
|
|
24
21
|
},
|
|
25
22
|
"required": [
|
|
@@ -27,7 +24,7 @@
|
|
|
27
24
|
"backend"
|
|
28
25
|
],
|
|
29
26
|
"additionalProperties": false,
|
|
30
|
-
"description": "Secret
|
|
27
|
+
"description": "Secret metadata; never the value."
|
|
31
28
|
}
|
|
32
29
|
},
|
|
33
30
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -128,27 +128,138 @@
|
|
|
128
128
|
"items": {
|
|
129
129
|
"type": "object",
|
|
130
130
|
"properties": {
|
|
131
|
-
"
|
|
131
|
+
"program": {
|
|
132
132
|
"type": "string",
|
|
133
133
|
"minLength": 1,
|
|
134
|
-
"
|
|
134
|
+
"pattern": "\\S",
|
|
135
|
+
"description": "Executable invoked directly without an implicit shell."
|
|
136
|
+
},
|
|
137
|
+
"args": {
|
|
138
|
+
"type": "array",
|
|
139
|
+
"items": {
|
|
140
|
+
"type": "string"
|
|
141
|
+
},
|
|
142
|
+
"default": [],
|
|
143
|
+
"description": "Exact argv passed to the executable."
|
|
144
|
+
},
|
|
145
|
+
"cwd": {
|
|
146
|
+
"type": "string",
|
|
147
|
+
"description": "Optional project-relative working directory for the command."
|
|
135
148
|
},
|
|
136
|
-
"
|
|
149
|
+
"envAllowlist": {
|
|
150
|
+
"type": "array",
|
|
151
|
+
"items": {
|
|
152
|
+
"type": "string",
|
|
153
|
+
"minLength": 1,
|
|
154
|
+
"pattern": "\\S",
|
|
155
|
+
"description": "User-supplied string that must contain visible content, not just whitespace."
|
|
156
|
+
},
|
|
157
|
+
"default": [],
|
|
158
|
+
"description": "Non-secret parent environment names explicitly forwarded to the command."
|
|
159
|
+
},
|
|
160
|
+
"id": {
|
|
137
161
|
"type": "string",
|
|
138
|
-
"
|
|
162
|
+
"minLength": 1,
|
|
163
|
+
"description": "Test command id."
|
|
139
164
|
},
|
|
140
165
|
"required": {
|
|
141
166
|
"type": "boolean",
|
|
142
167
|
"default": true,
|
|
143
168
|
"description": "Whether this test must pass (vs advisory)."
|
|
169
|
+
},
|
|
170
|
+
"trust_required": {
|
|
171
|
+
"type": "boolean",
|
|
172
|
+
"default": false,
|
|
173
|
+
"description": "Whether this command originated in versioned project config."
|
|
174
|
+
},
|
|
175
|
+
"trust_grant": {
|
|
176
|
+
"anyOf": [
|
|
177
|
+
{
|
|
178
|
+
"type": "object",
|
|
179
|
+
"properties": {
|
|
180
|
+
"projectDigest": {
|
|
181
|
+
"type": "string",
|
|
182
|
+
"minLength": 1,
|
|
183
|
+
"description": "Digest of the canonical project identity."
|
|
184
|
+
},
|
|
185
|
+
"configDigest": {
|
|
186
|
+
"type": "string",
|
|
187
|
+
"minLength": 1,
|
|
188
|
+
"description": "Digest of the parsed versioned project config blob."
|
|
189
|
+
},
|
|
190
|
+
"commandDigest": {
|
|
191
|
+
"type": "string",
|
|
192
|
+
"minLength": 1,
|
|
193
|
+
"description": "Digest of the canonical command invocation."
|
|
194
|
+
},
|
|
195
|
+
"executablePath": {
|
|
196
|
+
"type": "string",
|
|
197
|
+
"description": "Resolved executable path approved by the operator."
|
|
198
|
+
},
|
|
199
|
+
"executableDigest": {
|
|
200
|
+
"type": "string",
|
|
201
|
+
"minLength": 1,
|
|
202
|
+
"description": "Digest of the resolved executable bytes."
|
|
203
|
+
},
|
|
204
|
+
"scriptPath": {
|
|
205
|
+
"type": [
|
|
206
|
+
"string",
|
|
207
|
+
"null"
|
|
208
|
+
],
|
|
209
|
+
"default": null,
|
|
210
|
+
"description": "Resolved script path, when any."
|
|
211
|
+
},
|
|
212
|
+
"scriptDigest": {
|
|
213
|
+
"anyOf": [
|
|
214
|
+
{
|
|
215
|
+
"type": "string",
|
|
216
|
+
"minLength": 1,
|
|
217
|
+
"description": "Content hash in algo:hex form, e.g. \"sha256:abcd...\"."
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"type": "null"
|
|
221
|
+
}
|
|
222
|
+
],
|
|
223
|
+
"description": "Digest of the script bytes.",
|
|
224
|
+
"default": null
|
|
225
|
+
},
|
|
226
|
+
"accessProfile": {
|
|
227
|
+
"type": "string",
|
|
228
|
+
"enum": [
|
|
229
|
+
"readonly",
|
|
230
|
+
"workspace_write",
|
|
231
|
+
"full",
|
|
232
|
+
"external_sandbox_full",
|
|
233
|
+
"inherit_native"
|
|
234
|
+
],
|
|
235
|
+
"description": "Effective access profile covered by this grant."
|
|
236
|
+
}
|
|
237
|
+
},
|
|
238
|
+
"required": [
|
|
239
|
+
"projectDigest",
|
|
240
|
+
"configDigest",
|
|
241
|
+
"commandDigest",
|
|
242
|
+
"executablePath",
|
|
243
|
+
"executableDigest",
|
|
244
|
+
"accessProfile"
|
|
245
|
+
],
|
|
246
|
+
"additionalProperties": false,
|
|
247
|
+
"description": "External exact grant for one versioned project test command."
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"type": "null"
|
|
251
|
+
}
|
|
252
|
+
],
|
|
253
|
+
"description": "Matching external grant; null when none was found.",
|
|
254
|
+
"default": null
|
|
144
255
|
}
|
|
145
256
|
},
|
|
146
257
|
"required": [
|
|
147
|
-
"
|
|
148
|
-
"
|
|
258
|
+
"program",
|
|
259
|
+
"id"
|
|
149
260
|
],
|
|
150
261
|
"additionalProperties": false,
|
|
151
|
-
"description": "A deterministic test command used as a verification gate."
|
|
262
|
+
"description": "A deterministic typed-argv test command used as a verification gate."
|
|
152
263
|
},
|
|
153
264
|
"default": [],
|
|
154
265
|
"description": "Deterministic test commands frozen into the spec."
|