Add Wave contract schemas for pipeline validation
JSON Schema definitions for all pipeline handover contracts including issue analysis, research, enhancement, and sync flows. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
50
.wave/contracts/validated-findings.schema.json
Normal file
50
.wave/contracts/validated-findings.schema.json
Normal file
@@ -0,0 +1,50 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"title": "Validated Findings",
|
||||
"description": "Convergent validation results from the recinq converge step",
|
||||
"type": "object",
|
||||
"required": ["target", "total_findings", "confirmed", "rejected", "findings"],
|
||||
"properties": {
|
||||
"target": {
|
||||
"type": "string",
|
||||
"description": "What was analyzed (path, module, or 'whole-project')"
|
||||
},
|
||||
"total_findings": {
|
||||
"type": "integer",
|
||||
"description": "Total number of divergent findings reviewed"
|
||||
},
|
||||
"confirmed": {
|
||||
"type": "integer",
|
||||
"description": "Number of findings classified as CONFIRMED or PARTIALLY_CONFIRMED"
|
||||
},
|
||||
"rejected": {
|
||||
"type": "integer",
|
||||
"description": "Number of findings classified as REJECTED"
|
||||
},
|
||||
"findings": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": ["id", "status", "rationale"],
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string",
|
||||
"description": "Original finding ID (e.g. DVG-001)"
|
||||
},
|
||||
"status": {
|
||||
"type": "string",
|
||||
"enum": ["CONFIRMED", "PARTIALLY_CONFIRMED", "REJECTED"],
|
||||
"description": "Validation classification"
|
||||
},
|
||||
"rationale": {
|
||||
"type": "string",
|
||||
"description": "Explanation of why the finding was classified this way"
|
||||
}
|
||||
},
|
||||
"additionalProperties": true
|
||||
},
|
||||
"description": "Per-finding validation results"
|
||||
}
|
||||
},
|
||||
"additionalProperties": true
|
||||
}
|
||||
Reference in New Issue
Block a user