mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-11-10 16:21:22 +00:00
Claude Code Ajv does not load that dialect, so every triage died before the model ran: no issue reply and no diagnosis. Strip $schema/$id before --json-schema.
68 lines
1.2 KiB
JSON
68 lines
1.2 KiB
JSON
{
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"category",
|
|
"confidence",
|
|
"summary",
|
|
"reasoning",
|
|
"reply",
|
|
"code_paths",
|
|
"code_findings"
|
|
],
|
|
"properties": {
|
|
"category": {
|
|
"type": "string",
|
|
"enum": [
|
|
"bug_ready",
|
|
"bug_needs_info",
|
|
"feature_quick_win",
|
|
"feature_defer",
|
|
"already_available",
|
|
"unclear",
|
|
"other"
|
|
]
|
|
},
|
|
"confidence": {
|
|
"type": "number",
|
|
"minimum": 0,
|
|
"maximum": 1
|
|
},
|
|
"summary": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"maxLength": 1000
|
|
},
|
|
"reasoning": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"maxLength": 2000
|
|
},
|
|
"reply": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"maxLength": 3000
|
|
},
|
|
"code_paths": {
|
|
"type": "array",
|
|
"minItems": 1,
|
|
"items": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
}
|
|
},
|
|
"code_findings": {
|
|
"type": "string",
|
|
"minLength": 40,
|
|
"maxLength": 4000
|
|
},
|
|
"label_corrections": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"maxItems": 10
|
|
}
|
|
}
|
|
}
|