Weksa/schemas/cultnet/weksa.loop_run.schema.json
Weksa b569028f48 Soul s1 fixes: pin the lowerer reach, bound lowering text, pin the build refusal and the I/O discard
RunRecord key 12 LowererReach set by a required --lowerer-reach flag and
shown in round and cycle lines. PROMPT_SOURCE_DIGEST covers packet.rs.
Lowering text is refused when blank, over 4096 bytes or holding a control
character. Unanswered lowering digests are listed once. Tests for the
Prompt::lower build refusal and the packets.cc discard after a port error.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 09:32:28 +00:00

82 lines
2.3 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": {
"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"
}
]
}
}
}