Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/CUDApp/blob/main/docs/independent-verification/manifest.schema.json # CUDApp CUDA++: AIEN’s GPU machine-code toolchain, runtime and driver client for NVIDIA GPUs without the CUDA toolkit. Hardware coverage and driver replacement limits are explicit. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `CUDApp / docs / independent-verification / manifest.schema.json` 284 lines · 11627 bytes Raw Blame History 1 { 2 "$schema": "https://json-schema.org/draft/2020-12/schema", 3 "title": "CUDA++ independent GPU evidence collection, not an acceptance verdict", 4 "description": "Structural validation only. COLLECTED is not PASS. Hashes, references, chronology, independence and physical events require separate review.", 5 "type": "object", 6 "additionalProperties": false, 7 "required": [ 8 "schema", 9 "record_kind", 10 "claim_status", 11 "operator", 12 "identities", 13 "checks", 14 "artifacts", 15 "commands", 16 "limitations" 17 ], 18 "properties": { 19 "schema": {"const": "cudapp-independent-gpu-collection-v1"}, 20 "record_kind": {"enum": ["template", "operator_report"]}, 21 "claim_status": {"const": "NOT_EVALUATED"}, 22 "operator": { 23 "type": "object", 24 "additionalProperties": false, 25 "required": ["identity", "relationship_to_author", "independence_review", "review_artifact"], 26 "properties": { 27 "identity": {"anyOf": [{"type": "string", "minLength": 1}, {"type": "null"}]}, 28 "relationship_to_author": {"anyOf": [{"type": "string", "minLength": 1}, {"type": "null"}]}, 29 "independence_review": {"enum": ["NOT_REVIEWED", "SELF_REPORTED", "REVIEWED"]}, 30 "review_artifact": {"anyOf": [{"$ref": "#/$defs/id"}, {"type": "null"}]} 31 }, 32 "allOf": [ 33 { 34 "if": {"properties": {"independence_review": {"const": "REVIEWED"}}}, 35 "then": { 36 "properties": { 37 "identity": {"type": "string", "minLength": 1}, 38 "relationship_to_author": {"type": "string", "minLength": 1}, 39 "review_artifact": {"$ref": "#/$defs/id"} 40 } 41 } 42 } 43 ] 44 }, 45 "identities": { 46 "type": "object", 47 "additionalProperties": false, 48 "required": [ 49 "candidate_repository", 50 "candidate_commit", 51 "dirty_patch_sha256", 52 "compiler_repository", 53 "compiler_commit", 54 "compiler_binary_sha256", 55 "unit_sha256", 56 "executable_sha256", 57 "kernel_sha256", 58 "launch_sha256", 59 "oracle_source_sha256", 60 "input_sha256", 61 "expected_output_sha256" 62 ], 63 "properties": { 64 "candidate_repository": {"anyOf": [{"type": "string", "minLength": 1}, {"type": "null"}]}, 65 "candidate_commit": {"anyOf": [{"$ref": "#/$defs/commit"}, {"type": "null"}]}, 66 "dirty_patch_sha256": {"anyOf": [{"$ref": "#/$defs/sha256"}, {"type": "null"}]}, 67 "compiler_repository": {"anyOf": [{"type": "string", "minLength": 1}, {"type": "null"}]}, 68 "compiler_commit": {"anyOf": [{"$ref": "#/$defs/commit"}, {"type": "null"}]}, 69 "compiler_binary_sha256": {"anyOf": [{"$ref": "#/$defs/sha256"}, {"type": "null"}]}, 70 "unit_sha256": {"anyOf": [{"$ref": "#/$defs/sha256"}, {"type": "null"}]}, 71 "executable_sha256": {"anyOf": [{"$ref": "#/$defs/sha256"}, {"type": "null"}]}, 72 "kernel_sha256": {"anyOf": [{"$ref": "#/$defs/sha256"}, {"type": "null"}]}, 73 "launch_sha256": {"anyOf": [{"$ref": "#/$defs/sha256"}, {"type": "null"}]}, 74 "oracle_source_sha256": {"anyOf": [{"$ref": "#/$defs/sha256"}, {"type": "null"}]}, 75 "input_sha256": {"anyOf": [{"$ref": "#/$defs/sha256"}, {"type": "null"}]}, 76 "expected_output_sha256": {"anyOf": [{"$ref": "#/$defs/sha256"}, {"type": "null"}]} 77 } 78 }, 79 "checks": { 80 "type": "object", 81 "additionalProperties": false, 82 "required": [ 83 "source_provenance", 84 "exact_source_build", 85 "host_suite", 86 "challenge_custody", 87 "cpu_oracle", 88 "device_identity", 89 "admission", 90 "correct_kernel", 91 "guard_canaries", 92 "wrong_kernel", 93 "restored_kernel", 94 "no_submission", 95 "static_dependencies", 96 "dynamic_execution", 97 "public_sanitization", 98 "independent_report", 99 "second_machine", 100 "toolkit_absent_environment" 101 ], 102 "properties": { 103 "source_provenance": {"$ref": "#/$defs/check"}, 104 "exact_source_build": {"$ref": "#/$defs/check"}, 105 "host_suite": {"$ref": "#/$defs/check"}, 106 "challenge_custody": {"$ref": "#/$defs/check"}, 107 "cpu_oracle": {"$ref": "#/$defs/check"}, 108 "device_identity": {"$ref": "#/$defs/check"}, 109 "admission": {"$ref": "#/$defs/check"}, 110 "correct_kernel": {"$ref": "#/$defs/check"}, 111 "guard_canaries": {"$ref": "#/$defs/check"}, 112 "wrong_kernel": {"$ref": "#/$defs/check"}, 113 "restored_kernel": {"$ref": "#/$defs/check"}, 114 "no_submission": {"$ref": "#/$defs/check"}, 115 "static_dependencies": {"$ref": "#/$defs/check"}, 116 "dynamic_execution": {"$ref": "#/$defs/check"}, 117 "public_sanitization": {"$ref": "#/$defs/check"}, 118 "independent_report": {"$ref": "#/$defs/check"}, 119 "second_machine": {"$ref": "#/$defs/check"}, 120 "toolkit_absent_environment": {"$ref": "#/$defs/check"} 121 } 122 }, 123 "artifacts": {"type": "array", "items": {"$ref": "#/$defs/artifact"}}, 124 "commands": {"type": "array", "items": {"$ref": "#/$defs/command"}}, 125 "limitations": {"type": "array", "minItems": 1, "items": {"type": "string", "minLength": 1}} 126 }, 127 "allOf": [ 128 { 129 "if": {"properties": {"record_kind": {"const": "template"}}}, 130 "then": { 131 "properties": { 132 "operator": { 133 "const": { 134 "identity": null, 135 "relationship_to_author": null, 136 "independence_review": "NOT_REVIEWED", 137 "review_artifact": null 138 } 139 }, 140 "identities": { 141 "const": { 142 "candidate_repository": null, 143 "candidate_commit": null, 144 "dirty_patch_sha256": null, 145 "compiler_repository": null, 146 "compiler_commit": null, 147 "compiler_binary_sha256": null, 148 "unit_sha256": null, 149 "executable_sha256": null, 150 "kernel_sha256": null, 151 "launch_sha256": null, 152 "oracle_source_sha256": null, 153 "input_sha256": null, 154 "expected_output_sha256": null 155 } 156 }, 157 "artifacts": {"maxItems": 0}, 158 "commands": {"maxItems": 0}, 159 "checks": { 160 "properties": { 161 "source_provenance": {"properties": {"status": {"const": "NOT_RUN"}}}, 162 "exact_source_build": {"properties": {"status": {"const": "NOT_RUN"}}}, 163 "host_suite": {"properties": {"status": {"const": "NOT_RUN"}}}, 164 "challenge_custody": {"properties": {"status": {"const": "NOT_RUN"}}}, 165 "cpu_oracle": {"properties": {"status": {"const": "NOT_RUN"}}}, 166 "device_identity": {"properties": {"status": {"const": "NOT_RUN"}}}, 167 "admission": {"properties": {"status": {"const": "NOT_RUN"}}}, 168 "correct_kernel": {"properties": {"status": {"const": "NOT_RUN"}}}, 169 "guard_canaries": {"properties": {"status": {"const": "NOT_RUN"}}}, 170 "wrong_kernel": {"properties": {"status": {"const": "NOT_RUN"}}}, 171 "restored_kernel": {"properties": {"status": {"const": "NOT_RUN"}}}, 172 "no_submission": {"properties": {"status": {"const": "NOT_RUN"}}}, 173 "static_dependencies": {"properties": {"status": {"const": "NOT_RUN"}}}, 174 "dynamic_execution": {"properties": {"status": {"const": "NOT_RUN"}}}, 175 "public_sanitization": {"properties": {"status": {"const": "NOT_RUN"}}}, 176 "independent_report": {"properties": {"status": {"const": "NOT_RUN"}}}, 177 "second_machine": {"properties": {"status": {"const": "NOT_RUN"}}}, 178 "toolkit_absent_environment": {"properties": {"status": {"const": "NOT_RUN"}}} 179 } 180 } 181 } 182 } 183 } 184 ], 185 "$defs": { 186 "id": {"type": "string", "pattern": "^[a-z][a-z0-9_-]*(?![\\s\\S])"}, 187 "sha256": {"type": "string", "pattern": "^[0-9a-f]{64}(?![\\s\\S])", "minLength": 64, "maxLength": 64}, 188 "commit": {"type": "string", "pattern": "^[0-9a-f]{40}(?![\\s\\S])", "minLength": 40, "maxLength": 40}, 189 "check": { 190 "type": "object", 191 "additionalProperties": false, 192 "required": ["status", "observation", "evidence", "commands"], 193 "properties": { 194 "status": {"enum": ["NOT_RUN", "BLOCKED", "FAILED", "COLLECTED"]}, 195 "observation": {"type": "string", "minLength": 1}, 196 "evidence": {"type": "array", "uniqueItems": true, "items": {"$ref": "#/$defs/id"}}, 197 "commands": {"type": "array", "uniqueItems": true, "items": {"$ref": "#/$defs/id"}} 198 }, 199 "allOf": [ 200 { 201 "if": {"properties": {"status": {"const": "COLLECTED"}}}, 202 "then": {"properties": {"evidence": {"minItems": 1}}} 203 }, 204 { 205 "if": {"properties": {"status": {"const": "NOT_RUN"}}}, 206 "then": {"properties": {"evidence": {"maxItems": 0}, "commands": {"maxItems": 0}}} 207 } 208 ] 209 }, 210 "artifact": { 211 "type": "object", 212 "additionalProperties": false, 213 "required": [ 214 "id", 215 "public_path", 216 "sha256", 217 "bytes", 218 "redaction", 219 "raw_sha256", 220 "raw_custody", 221 "sanitization_report" 222 ], 223 "properties": { 224 "id": {"$ref": "#/$defs/id"}, 225 "public_path": { 226 "type": "string", 227 "pattern": "^[A-Za-z0-9][A-Za-z0-9._/-]*(?![\\s\\S])", 228 "not": {"pattern": "(^|/)\\.\\.(/|$)"} 229 }, 230 "sha256": {"$ref": "#/$defs/sha256"}, 231 "bytes": {"type": "integer", "minimum": 0}, 232 "redaction": {"enum": ["none", "sanitized"]}, 233 "raw_sha256": {"anyOf": [{"$ref": "#/$defs/sha256"}, {"type": "null"}]}, 234 "raw_custody": {"anyOf": [{"type": "string", "minLength": 1}, {"type": "null"}]}, 235 "sanitization_report": {"anyOf": [{"$ref": "#/$defs/id"}, {"type": "null"}]} 236 }, 237 "allOf": [ 238 { 239 "if": {"properties": {"redaction": {"const": "sanitized"}}}, 240 "then": { 241 "properties": { 242 "raw_sha256": {"$ref": "#/$defs/sha256"}, 243 "raw_custody": {"type": "string", "minLength": 1}, 244 "sanitization_report": {"$ref": "#/$defs/id"} 245 } 246 } 247 } 248 ] 249 }, 250 "command": { 251 "type": "object", 252 "additionalProperties": false, 253 "required": [ 254 "id", 255 "command", 256 "cwd_token", 257 "started_utc", 258 "ended_utc", 259 "exit_code", 260 "stdout_artifact", 261 "stderr_artifact" 262 ], 263 "properties": { 264 "id": {"$ref": "#/$defs/id"}, 265 "command": {"type": "string", "minLength": 1}, 266 "cwd_token": {"type": "string", "minLength": 1}, 267 "started_utc": { 268 "type": "string", 269 "format": "date-time", 270 "pattern": "^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\\.[0-9]+)?Z(?![\\s\\S])" 271 }, 272 "ended_utc": { 273 "type": "string", 274 "format": "date-time", 275 "pattern": "^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\\.[0-9]+)?Z(?![\\s\\S])" 276 }, 277 "exit_code": {"type": "integer"}, 278 "stdout_artifact": {"$ref": "#/$defs/id"}, 279 "stderr_artifact": {"$ref": "#/$defs/id"} 280 }, 281 "description": "UTC timestamp lexical profile excludes leap seconds. Calendar validity requires date-time format support or separate checking; chronology remains manual." 282 } 283 } 284 }