108 lines
2.2 KiB
JSON
108 lines
2.2 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"title": "Auto-Coder Gate",
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"required": [
|
|
"schema_version",
|
|
"allowed",
|
|
"mode",
|
|
"issue_codes",
|
|
"root_layers",
|
|
"allowed_patch_targets",
|
|
"forbidden_patch_targets",
|
|
"rerun_matrix",
|
|
"allowlisted_issue_codes",
|
|
"issue_catalog_contracts",
|
|
"blocking_reasons",
|
|
"reason",
|
|
"policy"
|
|
],
|
|
"properties": {
|
|
"schema_version": {
|
|
"const": "auto_coder_gate_v1"
|
|
},
|
|
"allowed": {
|
|
"type": "boolean"
|
|
},
|
|
"mode": {
|
|
"const": "auto-coder"
|
|
},
|
|
"focus_id": {
|
|
"type": ["string", "null"]
|
|
},
|
|
"issue_codes": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"root_layers": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"allowed_patch_targets": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"forbidden_patch_targets": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"rerun_matrix": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"allowlisted_issue_codes": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"issue_catalog_contracts": {
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"required": [
|
|
"root_layers",
|
|
"expected_answer_contract",
|
|
"allowed_patch_targets",
|
|
"forbidden_patch_targets",
|
|
"rerun_matrix"
|
|
]
|
|
}
|
|
},
|
|
"blocking_reasons": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"reason": {
|
|
"type": "string"
|
|
},
|
|
"policy": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"required": [
|
|
"auto_coder_default",
|
|
"requires_issue_catalog_contract",
|
|
"requires_expected_answer_contract",
|
|
"requires_target_evidence_paths",
|
|
"requires_accepted_smoke_pack",
|
|
"requires_catalog_limited_patch_scope",
|
|
"lead_owns_merge_and_acceptance"
|
|
]
|
|
}
|
|
}
|
|
}
|