😏
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"title": "Bounded isolated engineering patch",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"summary": {"type": "string", "minLength": 1},
|
||||
"changes": {"type": "array", "items": {"type": "string"}, "maxItems": 50},
|
||||
"files": {"type": "array", "items": {"type": "string"}, "maxItems": 50, "uniqueItems": true},
|
||||
"commands": {
|
||||
"type": "array",
|
||||
"maxItems": 30,
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"command": {"type": "string", "minLength": 1},
|
||||
"exit_code": {"type": "integer"},
|
||||
"observation": {"type": "string", "minLength": 1}
|
||||
},
|
||||
"required": ["command", "exit_code", "observation"]
|
||||
}
|
||||
},
|
||||
"risks": {"type": "array", "items": {"type": "string"}, "maxItems": 30},
|
||||
"blockers": {"type": "array", "items": {"type": "string"}, "maxItems": 30}
|
||||
},
|
||||
"required": ["summary", "changes", "files", "commands", "risks", "blockers"]
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"status": {"enum": ["ok", "conflict", "blocked"], "type": "string"},
|
||||
"evidence": {
|
||||
"items": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"claim": {"minLength": 1, "type": "string"},
|
||||
"source": {"minLength": 1, "type": "string"},
|
||||
"location": {"type": "string"},
|
||||
"observation": {"minLength": 1, "type": "string"}
|
||||
},
|
||||
"required": ["claim", "source", "observation"],
|
||||
"type": "object"
|
||||
},
|
||||
"maxItems": 100,
|
||||
"type": "array"
|
||||
},
|
||||
"conflicts": {"items": {"type": "string"}, "maxItems": 30, "type": "array"},
|
||||
"limitations": {"items": {"type": "string"}, "maxItems": 30, "type": "array"}
|
||||
},
|
||||
"required": ["status", "evidence", "conflicts", "limitations"],
|
||||
"title": "Repository evidence report",
|
||||
"type": "object"
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"title": "Independent architecture or diff review",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"verdict": {"type": "string", "enum": ["pass", "concerns", "fail", "blocked"]},
|
||||
"review_mode": {"type": "string", "enum": ["architecture", "post_change"]},
|
||||
"findings": {
|
||||
"type": "array",
|
||||
"maxItems": 50,
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"severity": {"type": "string", "enum": ["critical", "high", "medium", "low", "note"]},
|
||||
"claim": {"type": "string", "minLength": 1},
|
||||
"evidence": {"type": "string", "minLength": 1},
|
||||
"location": {"type": "string"},
|
||||
"falsification": {"type": "string", "minLength": 1}
|
||||
},
|
||||
"required": ["severity", "claim", "evidence", "falsification"]
|
||||
}
|
||||
},
|
||||
"alternatives": {"type": "array", "items": {"type": "string"}, "maxItems": 20},
|
||||
"blockers": {"type": "array", "items": {"type": "string"}, "maxItems": 20}
|
||||
},
|
||||
"required": ["verdict", "review_mode", "findings", "alternatives", "blockers"],
|
||||
"allOf": [
|
||||
{
|
||||
"if": {"properties": {"verdict": {"const": "pass"}}, "required": ["verdict"]},
|
||||
"then": {"properties": {"findings": {"maxItems": 0}, "blockers": {"maxItems": 0}}}
|
||||
},
|
||||
{
|
||||
"if": {"properties": {"verdict": {"const": "blocked"}}, "required": ["verdict"]},
|
||||
"then": {"properties": {"blockers": {"minItems": 1}}}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user