Drop verifier

This commit is contained in:
jif-oai
2025-10-16 14:57:30 +01:00
parent fc79a46c7a
commit 2cdfd38c24
7 changed files with 24 additions and 131 deletions

View File

@@ -41,27 +41,16 @@ impl SolverRole {
}
pub fn solver_signal_schema() -> Value {
// Only allow asking the director or sending the final result.
serde_json::json!({
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": ["direction_request", "verification_request", "final_delivery"]
},
"type": { "type": "string", "enum": ["direction_request", "final_delivery"] },
"prompt": { "type": ["string", "null"] },
"claim_path": { "type": ["string", "null"] },
"notes": { "type": ["string", "null"] },
"deliverable_path": { "type": ["string", "null"] },
"summary": { "type": ["string", "null"] }
},
"required": [
"type",
"prompt",
"claim_path",
"notes",
"deliverable_path",
"summary"
],
"required": ["type", "prompt", "deliverable_path", "summary"],
"additionalProperties": false
})
}
@@ -187,12 +176,6 @@ pub enum SolverSignal {
#[serde(default)]
prompt: Option<String>,
},
VerificationRequest {
#[serde(default)]
claim_path: Option<String>,
#[serde(default)]
notes: Option<String>,
},
FinalDelivery {
#[serde(default)]
deliverable_path: Option<String>,