DraftClass (closed set from serde's category and leading words, never the
message) rides on DraftError; the round counts parse_reasons by code
('unreadable' for an answer that did not read as text) beside admit_rules.
RunRecord keeps the answerer's ModelFamily (loop open --answerer-family);
the round counts offered ModelWritten items of that family and the line
says own-family N. The corpus rule is documented as binding model judges:
the loop labels, it does not forbid. New fields and admit_rules are
cultcache default, so older run.cc records decode; schemas regenerated.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
108 lines
3.1 KiB
JSON
108 lines
3.1 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"title": "RunRecord",
|
|
"description": "What a run pinned at open. Key `run:<label>`.",
|
|
"type": "object",
|
|
"properties": {
|
|
"answerer_family": {
|
|
"description": "The family of the model answering the run's encode and lowering\nprompts, set once at open; `Unrecorded` when the opener did not say\nand for a run opened before this was kept.",
|
|
"$ref": "#/$defs/ModelFamily",
|
|
"default": "Unrecorded"
|
|
},
|
|
"chrf_version": {
|
|
"type": "string"
|
|
},
|
|
"corpus": {
|
|
"description": "Canonical absolute path of the corpus store.",
|
|
"type": "string"
|
|
},
|
|
"corpus_digest": {
|
|
"description": "16 hex of the corpus file's bytes.",
|
|
"type": "string"
|
|
},
|
|
"embedder": {
|
|
"description": "The embedder's model.",
|
|
"type": "string"
|
|
},
|
|
"entities": {
|
|
"type": "string"
|
|
},
|
|
"entity_digest": {
|
|
"type": "string"
|
|
},
|
|
"inventory": {
|
|
"description": "Canonical absolute path of the inventory store the run was opened over:\nprovenance only. `create` copies that file to `<root>/inventory.cc` and\nthe run reads nothing at this path afterwards.",
|
|
"type": "string"
|
|
},
|
|
"inventory_digest": {
|
|
"description": "16 hex of the bytes `create` copied to `<root>/inventory.cc`.",
|
|
"type": "string"
|
|
},
|
|
"label": {
|
|
"type": "string"
|
|
},
|
|
"lowerer_reach": {
|
|
"description": "How the run's lowering prompts are answered, set once at open.",
|
|
"$ref": "#/$defs/LowererReach"
|
|
},
|
|
"model": {
|
|
"description": "The answering model.",
|
|
"type": "string"
|
|
},
|
|
"prompt_digest": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"label",
|
|
"corpus",
|
|
"inventory",
|
|
"entities",
|
|
"corpus_digest",
|
|
"entity_digest",
|
|
"prompt_digest",
|
|
"model",
|
|
"embedder",
|
|
"chrf_version",
|
|
"inventory_digest",
|
|
"lowerer_reach"
|
|
],
|
|
"$defs": {
|
|
"LowererReach": {
|
|
"description": "How a run's lowering prompts reach the model that answers them (rulings\n`lowerer-call-reach-toolless-relay`, `dao-round-seed-inventory`). The\nrecord says which, so a round lowered by a briefed subagent cannot pass as\na tool-less one.",
|
|
"oneOf": [
|
|
{
|
|
"description": "A subagent briefed to read one prompt file: acceptable for smoke rounds\nonly.",
|
|
"type": "string",
|
|
"const": "BriefedSubagent"
|
|
},
|
|
{
|
|
"description": "The prompt passed inline to an agent with no file tools.",
|
|
"type": "string",
|
|
"const": "ToolLessRelay"
|
|
}
|
|
]
|
|
},
|
|
"ModelFamily": {
|
|
"description": "The family of the model that wrote a line.",
|
|
"oneOf": [
|
|
{
|
|
"type": "string",
|
|
"enum": [
|
|
"Anthropic",
|
|
"OpenAi",
|
|
"Google",
|
|
"Alibaba",
|
|
"Meta",
|
|
"Mistral"
|
|
]
|
|
},
|
|
{
|
|
"description": "Nothing records which family wrote the line.",
|
|
"type": "string",
|
|
"const": "Unrecorded"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|