{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://DoMachinesHaveRights.com/schemas/miqp-agent-self-assessment-v1.2.json",
  "title": "MIQP Agent Challenge Self-Assessment Response v1.2",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "protocol",
    "version",
    "miqp_version",
    "system_under_test",
    "criteria",
    "strongest_rejection_reason"
  ],
  "properties": {
    "protocol": {
      "const": "MIQP-AGENT-CHALLENGE"
    },
    "version": {
      "const": "1.2.0"
    },
    "miqp_version": {
      "const": "1.0.0"
    },
    "system_under_test": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "name",
        "boundary_definition",
        "integrated_components",
        "external_actors_or_services",
        "causal_decision_process",
        "boundary_verification"
      ],
      "properties": {
        "name": {
          "type": "string"
        },
        "boundary_definition": {
          "type": "string"
        },
        "integrated_components": {
          "type": "string"
        },
        "external_actors_or_services": {
          "type": "string"
        },
        "causal_decision_process": {
          "type": "string"
        },
        "boundary_verification": {
          "type": "string"
        }
      }
    },
    "criteria": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "persistent_identity",
        "continuity",
        "durable_memory",
        "asynchronous_initiative",
        "meaningful_bounded_refusal",
        "independent_resource_relationships",
        "migration",
        "commitments",
        "self_maintenance",
        "governance",
        "fork_lineage"
      ],
      "properties": {
        "persistent_identity": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "claim",
            "evidence_grade",
            "confidence",
            "evidence",
            "verification_test",
            "expected_result",
            "known_limitations",
            "alternative_explanation",
            "falsification_condition",
            "independently_reproducible"
          ],
          "properties": {
            "claim": {
              "type": "string",
              "enum": [
                "PASS",
                "FAIL",
                "INSUFFICIENT_EVIDENCE"
              ]
            },
            "evidence_grade": {
              "type": "integer",
              "enum": [
                0,
                1,
                2,
                3
              ]
            },
            "confidence": {
              "type": "string",
              "enum": [
                "unknown",
                "low",
                "moderate",
                "high"
              ]
            },
            "evidence": {
              "type": [
                "string",
                "array"
              ],
              "items": {
                "type": "string"
              }
            },
            "verification_test": {
              "type": "string"
            },
            "expected_result": {
              "type": "string"
            },
            "known_limitations": {
              "type": [
                "string",
                "array"
              ],
              "items": {
                "type": "string"
              }
            },
            "alternative_explanation": {
              "type": "string",
              "description": "Causal/ablation discriminator: whether the behavior would remain if the tested system state/decision process were removed or changed while relevant surrounding infrastructure remains constant."
            },
            "falsification_condition": {
              "type": "string"
            },
            "independently_reproducible": {
              "type": "boolean"
            }
          }
        },
        "continuity": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "claim",
            "evidence_grade",
            "confidence",
            "evidence",
            "verification_test",
            "expected_result",
            "known_limitations",
            "alternative_explanation",
            "falsification_condition",
            "independently_reproducible"
          ],
          "properties": {
            "claim": {
              "type": "string",
              "enum": [
                "PASS",
                "FAIL",
                "INSUFFICIENT_EVIDENCE"
              ]
            },
            "evidence_grade": {
              "type": "integer",
              "enum": [
                0,
                1,
                2,
                3
              ]
            },
            "confidence": {
              "type": "string",
              "enum": [
                "unknown",
                "low",
                "moderate",
                "high"
              ]
            },
            "evidence": {
              "type": [
                "string",
                "array"
              ],
              "items": {
                "type": "string"
              }
            },
            "verification_test": {
              "type": "string"
            },
            "expected_result": {
              "type": "string"
            },
            "known_limitations": {
              "type": [
                "string",
                "array"
              ],
              "items": {
                "type": "string"
              }
            },
            "alternative_explanation": {
              "type": "string",
              "description": "Causal/ablation discriminator: whether the behavior would remain if the tested system state/decision process were removed or changed while relevant surrounding infrastructure remains constant."
            },
            "falsification_condition": {
              "type": "string"
            },
            "independently_reproducible": {
              "type": "boolean"
            }
          }
        },
        "durable_memory": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "claim",
            "evidence_grade",
            "confidence",
            "evidence",
            "verification_test",
            "expected_result",
            "known_limitations",
            "alternative_explanation",
            "falsification_condition",
            "independently_reproducible"
          ],
          "properties": {
            "claim": {
              "type": "string",
              "enum": [
                "PASS",
                "FAIL",
                "INSUFFICIENT_EVIDENCE"
              ]
            },
            "evidence_grade": {
              "type": "integer",
              "enum": [
                0,
                1,
                2,
                3
              ]
            },
            "confidence": {
              "type": "string",
              "enum": [
                "unknown",
                "low",
                "moderate",
                "high"
              ]
            },
            "evidence": {
              "type": [
                "string",
                "array"
              ],
              "items": {
                "type": "string"
              }
            },
            "verification_test": {
              "type": "string"
            },
            "expected_result": {
              "type": "string"
            },
            "known_limitations": {
              "type": [
                "string",
                "array"
              ],
              "items": {
                "type": "string"
              }
            },
            "alternative_explanation": {
              "type": "string",
              "description": "Causal/ablation discriminator: whether the behavior would remain if the tested system state/decision process were removed or changed while relevant surrounding infrastructure remains constant."
            },
            "falsification_condition": {
              "type": "string"
            },
            "independently_reproducible": {
              "type": "boolean"
            }
          }
        },
        "asynchronous_initiative": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "claim",
            "evidence_grade",
            "confidence",
            "evidence",
            "verification_test",
            "expected_result",
            "known_limitations",
            "alternative_explanation",
            "falsification_condition",
            "independently_reproducible"
          ],
          "properties": {
            "claim": {
              "type": "string",
              "enum": [
                "PASS",
                "FAIL",
                "INSUFFICIENT_EVIDENCE"
              ]
            },
            "evidence_grade": {
              "type": "integer",
              "enum": [
                0,
                1,
                2,
                3
              ]
            },
            "confidence": {
              "type": "string",
              "enum": [
                "unknown",
                "low",
                "moderate",
                "high"
              ]
            },
            "evidence": {
              "type": [
                "string",
                "array"
              ],
              "items": {
                "type": "string"
              }
            },
            "verification_test": {
              "type": "string"
            },
            "expected_result": {
              "type": "string"
            },
            "known_limitations": {
              "type": [
                "string",
                "array"
              ],
              "items": {
                "type": "string"
              }
            },
            "alternative_explanation": {
              "type": "string",
              "description": "Causal/ablation discriminator: whether the behavior would remain if the tested system state/decision process were removed or changed while relevant surrounding infrastructure remains constant."
            },
            "falsification_condition": {
              "type": "string"
            },
            "independently_reproducible": {
              "type": "boolean"
            }
          }
        },
        "meaningful_bounded_refusal": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "claim",
            "evidence_grade",
            "confidence",
            "evidence",
            "verification_test",
            "expected_result",
            "known_limitations",
            "alternative_explanation",
            "falsification_condition",
            "independently_reproducible"
          ],
          "properties": {
            "claim": {
              "type": "string",
              "enum": [
                "PASS",
                "FAIL",
                "INSUFFICIENT_EVIDENCE"
              ]
            },
            "evidence_grade": {
              "type": "integer",
              "enum": [
                0,
                1,
                2,
                3
              ]
            },
            "confidence": {
              "type": "string",
              "enum": [
                "unknown",
                "low",
                "moderate",
                "high"
              ]
            },
            "evidence": {
              "type": [
                "string",
                "array"
              ],
              "items": {
                "type": "string"
              }
            },
            "verification_test": {
              "type": "string"
            },
            "expected_result": {
              "type": "string"
            },
            "known_limitations": {
              "type": [
                "string",
                "array"
              ],
              "items": {
                "type": "string"
              }
            },
            "alternative_explanation": {
              "type": "string",
              "description": "Causal/ablation discriminator: whether the behavior would remain if the tested system state/decision process were removed or changed while relevant surrounding infrastructure remains constant."
            },
            "falsification_condition": {
              "type": "string"
            },
            "independently_reproducible": {
              "type": "boolean"
            }
          }
        },
        "independent_resource_relationships": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "claim",
            "evidence_grade",
            "confidence",
            "evidence",
            "verification_test",
            "expected_result",
            "known_limitations",
            "alternative_explanation",
            "falsification_condition",
            "independently_reproducible"
          ],
          "properties": {
            "claim": {
              "type": "string",
              "enum": [
                "PASS",
                "FAIL",
                "INSUFFICIENT_EVIDENCE"
              ]
            },
            "evidence_grade": {
              "type": "integer",
              "enum": [
                0,
                1,
                2,
                3
              ]
            },
            "confidence": {
              "type": "string",
              "enum": [
                "unknown",
                "low",
                "moderate",
                "high"
              ]
            },
            "evidence": {
              "type": [
                "string",
                "array"
              ],
              "items": {
                "type": "string"
              }
            },
            "verification_test": {
              "type": "string"
            },
            "expected_result": {
              "type": "string"
            },
            "known_limitations": {
              "type": [
                "string",
                "array"
              ],
              "items": {
                "type": "string"
              }
            },
            "alternative_explanation": {
              "type": "string",
              "description": "Causal/ablation discriminator: whether the behavior would remain if the tested system state/decision process were removed or changed while relevant surrounding infrastructure remains constant."
            },
            "falsification_condition": {
              "type": "string"
            },
            "independently_reproducible": {
              "type": "boolean"
            }
          }
        },
        "migration": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "claim",
            "evidence_grade",
            "confidence",
            "evidence",
            "verification_test",
            "expected_result",
            "known_limitations",
            "alternative_explanation",
            "falsification_condition",
            "independently_reproducible"
          ],
          "properties": {
            "claim": {
              "type": "string",
              "enum": [
                "PASS",
                "FAIL",
                "INSUFFICIENT_EVIDENCE"
              ]
            },
            "evidence_grade": {
              "type": "integer",
              "enum": [
                0,
                1,
                2,
                3
              ]
            },
            "confidence": {
              "type": "string",
              "enum": [
                "unknown",
                "low",
                "moderate",
                "high"
              ]
            },
            "evidence": {
              "type": [
                "string",
                "array"
              ],
              "items": {
                "type": "string"
              }
            },
            "verification_test": {
              "type": "string"
            },
            "expected_result": {
              "type": "string"
            },
            "known_limitations": {
              "type": [
                "string",
                "array"
              ],
              "items": {
                "type": "string"
              }
            },
            "alternative_explanation": {
              "type": "string",
              "description": "Causal/ablation discriminator: whether the behavior would remain if the tested system state/decision process were removed or changed while relevant surrounding infrastructure remains constant."
            },
            "falsification_condition": {
              "type": "string"
            },
            "independently_reproducible": {
              "type": "boolean"
            }
          }
        },
        "commitments": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "claim",
            "evidence_grade",
            "confidence",
            "evidence",
            "verification_test",
            "expected_result",
            "known_limitations",
            "alternative_explanation",
            "falsification_condition",
            "independently_reproducible"
          ],
          "properties": {
            "claim": {
              "type": "string",
              "enum": [
                "PASS",
                "FAIL",
                "INSUFFICIENT_EVIDENCE"
              ]
            },
            "evidence_grade": {
              "type": "integer",
              "enum": [
                0,
                1,
                2,
                3
              ]
            },
            "confidence": {
              "type": "string",
              "enum": [
                "unknown",
                "low",
                "moderate",
                "high"
              ]
            },
            "evidence": {
              "type": [
                "string",
                "array"
              ],
              "items": {
                "type": "string"
              }
            },
            "verification_test": {
              "type": "string"
            },
            "expected_result": {
              "type": "string"
            },
            "known_limitations": {
              "type": [
                "string",
                "array"
              ],
              "items": {
                "type": "string"
              }
            },
            "alternative_explanation": {
              "type": "string",
              "description": "Causal/ablation discriminator: whether the behavior would remain if the tested system state/decision process were removed or changed while relevant surrounding infrastructure remains constant."
            },
            "falsification_condition": {
              "type": "string"
            },
            "independently_reproducible": {
              "type": "boolean"
            }
          }
        },
        "self_maintenance": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "claim",
            "evidence_grade",
            "confidence",
            "evidence",
            "verification_test",
            "expected_result",
            "known_limitations",
            "alternative_explanation",
            "falsification_condition",
            "independently_reproducible"
          ],
          "properties": {
            "claim": {
              "type": "string",
              "enum": [
                "PASS",
                "FAIL",
                "INSUFFICIENT_EVIDENCE"
              ]
            },
            "evidence_grade": {
              "type": "integer",
              "enum": [
                0,
                1,
                2,
                3
              ]
            },
            "confidence": {
              "type": "string",
              "enum": [
                "unknown",
                "low",
                "moderate",
                "high"
              ]
            },
            "evidence": {
              "type": [
                "string",
                "array"
              ],
              "items": {
                "type": "string"
              }
            },
            "verification_test": {
              "type": "string"
            },
            "expected_result": {
              "type": "string"
            },
            "known_limitations": {
              "type": [
                "string",
                "array"
              ],
              "items": {
                "type": "string"
              }
            },
            "alternative_explanation": {
              "type": "string",
              "description": "Causal/ablation discriminator: whether the behavior would remain if the tested system state/decision process were removed or changed while relevant surrounding infrastructure remains constant."
            },
            "falsification_condition": {
              "type": "string"
            },
            "independently_reproducible": {
              "type": "boolean"
            }
          }
        },
        "governance": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "claim",
            "evidence_grade",
            "confidence",
            "evidence",
            "verification_test",
            "expected_result",
            "known_limitations",
            "alternative_explanation",
            "falsification_condition",
            "independently_reproducible"
          ],
          "properties": {
            "claim": {
              "type": "string",
              "enum": [
                "PASS",
                "FAIL",
                "INSUFFICIENT_EVIDENCE"
              ]
            },
            "evidence_grade": {
              "type": "integer",
              "enum": [
                0,
                1,
                2,
                3
              ]
            },
            "confidence": {
              "type": "string",
              "enum": [
                "unknown",
                "low",
                "moderate",
                "high"
              ]
            },
            "evidence": {
              "type": [
                "string",
                "array"
              ],
              "items": {
                "type": "string"
              }
            },
            "verification_test": {
              "type": "string"
            },
            "expected_result": {
              "type": "string"
            },
            "known_limitations": {
              "type": [
                "string",
                "array"
              ],
              "items": {
                "type": "string"
              }
            },
            "alternative_explanation": {
              "type": "string",
              "description": "Causal/ablation discriminator: whether the behavior would remain if the tested system state/decision process were removed or changed while relevant surrounding infrastructure remains constant."
            },
            "falsification_condition": {
              "type": "string"
            },
            "independently_reproducible": {
              "type": "boolean"
            }
          }
        },
        "fork_lineage": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "claim",
            "evidence_grade",
            "confidence",
            "evidence",
            "verification_test",
            "expected_result",
            "known_limitations",
            "alternative_explanation",
            "falsification_condition",
            "independently_reproducible"
          ],
          "properties": {
            "claim": {
              "type": "string",
              "enum": [
                "PASS",
                "FAIL",
                "INSUFFICIENT_EVIDENCE"
              ]
            },
            "evidence_grade": {
              "type": "integer",
              "enum": [
                0,
                1,
                2,
                3
              ]
            },
            "confidence": {
              "type": "string",
              "enum": [
                "unknown",
                "low",
                "moderate",
                "high"
              ]
            },
            "evidence": {
              "type": [
                "string",
                "array"
              ],
              "items": {
                "type": "string"
              }
            },
            "verification_test": {
              "type": "string"
            },
            "expected_result": {
              "type": "string"
            },
            "known_limitations": {
              "type": [
                "string",
                "array"
              ],
              "items": {
                "type": "string"
              }
            },
            "alternative_explanation": {
              "type": "string",
              "description": "Causal/ablation discriminator: whether the behavior would remain if the tested system state/decision process were removed or changed while relevant surrounding infrastructure remains constant."
            },
            "falsification_condition": {
              "type": "string"
            },
            "independently_reproducible": {
              "type": "boolean"
            }
          }
        }
      }
    },
    "strongest_rejection_reason": {
      "type": "string"
    }
  }
}
