Byte-identical blobs of epiphany-pipeline/{Cargo.toml,src/lib.rs},
schemas/README.md and schemas/cultnet/* at Epiphany ef9568655e75, so Soul can
diff the copy against the source. Left out as the spec orders:
epiphany.work_organ_state.v0.schema.json and its index.json entry (no reader
outside Epiphany). Epiphany's schemas/cultnet/README.md is not copied over
Huginn's own README there; the next commit folds its pipeline section in.
The crate is not yet a workspace member and keeps its Epiphany names, so this
commit does not build as a package; nothing else changed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
166 lines
3.4 KiB
JSON
166 lines
3.4 KiB
JSON
{
|
|
"$defs": {
|
|
"ClaimOutcome": {
|
|
"enum": [
|
|
"Holds",
|
|
"Falsified",
|
|
"Unproven"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"CommitRange": {
|
|
"properties": {
|
|
"base": {
|
|
"$ref": "#/$defs/Sha"
|
|
},
|
|
"head": {
|
|
"$ref": "#/$defs/Sha"
|
|
}
|
|
},
|
|
"required": [
|
|
"base",
|
|
"head"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"Evidence": {
|
|
"properties": {
|
|
"kind": {
|
|
"$ref": "#/$defs/EvidenceKind"
|
|
},
|
|
"locator": {
|
|
"$ref": "#/$defs/Line"
|
|
},
|
|
"result": {
|
|
"$ref": "#/$defs/Line"
|
|
}
|
|
},
|
|
"required": [
|
|
"kind",
|
|
"locator",
|
|
"result"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"EvidenceKind": {
|
|
"enum": [
|
|
"Command",
|
|
"Test",
|
|
"Mutation",
|
|
"Probe",
|
|
"SourceRead",
|
|
"Capture"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"Label": {
|
|
"description": "A key label: `[A-Za-z0-9_-]{1,64}`.",
|
|
"maxLength": 64,
|
|
"type": "string"
|
|
},
|
|
"Line": {
|
|
"description": "Text of at most 1,000 UTF-8 bytes.",
|
|
"maxLength": 1000,
|
|
"type": "string"
|
|
},
|
|
"Sha": {
|
|
"description": "A git commit id: 7-40 lowercase hex characters.",
|
|
"maxLength": 40,
|
|
"type": "string"
|
|
},
|
|
"Short": {
|
|
"description": "Text of at most 200 UTF-8 bytes.",
|
|
"maxLength": 200,
|
|
"type": "string"
|
|
},
|
|
"Slug": {
|
|
"description": "A campaign slug or key segment: label parts joined by `.`.",
|
|
"maxLength": 64,
|
|
"type": "string"
|
|
},
|
|
"VerdictClaim": {
|
|
"description": "The promise this claim measured, and the report's mutations it ran. An\n`Unproven` claim with a promise is one Soul could not reach.",
|
|
"properties": {
|
|
"claim": {
|
|
"$ref": "#/$defs/Line"
|
|
},
|
|
"evidence": {
|
|
"items": {
|
|
"$ref": "#/$defs/Evidence"
|
|
},
|
|
"maxItems": 8,
|
|
"type": "array"
|
|
},
|
|
"findings": {
|
|
"items": {
|
|
"$ref": "#/$defs/Short"
|
|
},
|
|
"maxItems": 16,
|
|
"type": "array"
|
|
},
|
|
"mutations": {
|
|
"items": {
|
|
"$ref": "#/$defs/Label"
|
|
},
|
|
"maxItems": 8,
|
|
"type": "array"
|
|
},
|
|
"outcome": {
|
|
"$ref": "#/$defs/ClaimOutcome"
|
|
},
|
|
"promise": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/$defs/Label"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"claim",
|
|
"outcome",
|
|
"evidence",
|
|
"findings",
|
|
"mutations"
|
|
],
|
|
"type": "object"
|
|
}
|
|
},
|
|
"$id": "https://gamecult.dev/epiphany/cultnet/epiphany.pipeline.verdict.v2.schema.json",
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"properties": {
|
|
"campaign": {
|
|
"$ref": "#/$defs/Slug"
|
|
},
|
|
"claims": {
|
|
"items": {
|
|
"$ref": "#/$defs/VerdictClaim"
|
|
},
|
|
"maxItems": 64,
|
|
"type": "array"
|
|
},
|
|
"cut_report": {
|
|
"$ref": "#/$defs/Short"
|
|
},
|
|
"pass": {
|
|
"format": "uint32",
|
|
"minimum": 0,
|
|
"type": "integer"
|
|
},
|
|
"range": {
|
|
"$ref": "#/$defs/CommitRange"
|
|
}
|
|
},
|
|
"required": [
|
|
"campaign",
|
|
"cut_report",
|
|
"pass",
|
|
"range",
|
|
"claims"
|
|
],
|
|
"title": "PipelineVerdict",
|
|
"type": "object"
|
|
}
|