feat(automation): enforce assessment scope and document activation blockers
This commit is contained in:
@@ -11,6 +11,17 @@
|
||||
"baselineBranch": {"$ref": "#/$defs/branch"},
|
||||
"remote": {"type": "string", "pattern": "^[A-Za-z0-9_-]+$"},
|
||||
"integrationBranch": {"$ref": "#/$defs/branch"},
|
||||
"executionScope": {
|
||||
"type": "object", "additionalProperties": false,
|
||||
"required": ["stage", "checkpoint", "mode", "reportDirectory", "handoffCommit", "handoffBranch"],
|
||||
"properties": {
|
||||
"stage": {"const": "PHASE-10"}, "checkpoint": {"const": "P10-00"},
|
||||
"mode": {"const": "assessment-only"},
|
||||
"reportDirectory": {"const": "docs/automation/stages/PHASE-10"},
|
||||
"handoffCommit": {"type": "string", "pattern": "^[0-9a-f]{40}$"},
|
||||
"handoffBranch": {"$ref": "#/$defs/branch"}
|
||||
}
|
||||
},
|
||||
"stages": {"type": "array", "minItems": 1, "items": {"$ref": "#/$defs/stage"}}
|
||||
},
|
||||
"$defs": {
|
||||
@@ -56,11 +67,16 @@
|
||||
"check": {
|
||||
"type": "object",
|
||||
"required": ["id", "argv", "cwd", "report"],
|
||||
"if": {"required": ["adapter"], "properties": {"adapter": {"const": "assessment-evidence-inspection"}}},
|
||||
"then": {"required": ["configured"], "properties": {"configured": {"const": false}}},
|
||||
"properties": {
|
||||
"id": {"type": "string", "pattern": "^[A-Za-z0-9-]+$"},
|
||||
"argv": {"type": "array", "minItems": 1, "items": {"type": "string"}},
|
||||
"cwd": {"type": "string"},
|
||||
"configured": {"type": "boolean"},
|
||||
"adapter": {"enum": ["assessment-evidence-inspection"]},
|
||||
"receipt": {"type": "string"},
|
||||
"receiptSha256": {"type": "string", "pattern": "^[0-9a-f]{64}$"},
|
||||
"report": {"type": ["object", "null"], "properties": {
|
||||
"format": {"enum": ["trx", "jest", "playwright", "junit"]},
|
||||
"path": {"type": "string"},
|
||||
|
||||
Reference in New Issue
Block a user