Files
Agent-System/configs/schemas/change-report-v1.json
T
weichenandCursor 268a9bdb56 feat(service): implement docrevision Version/Revision kernel
Add canonicalize, stable block map, diff, risk floor, memory ledger
service, contract fixtures, concurrency tests, and backfill CLI.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-13 06:15:20 +00:00

65 lines
1.9 KiB
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://agent-system.local/schemas/change-report-v1.json",
"title": "change-report-v1",
"type": "object",
"required": ["schema_version", "summary", "risk"],
"additionalProperties": true,
"properties": {
"schema_version": { "const": 1 },
"summary": {
"type": "array",
"minItems": 0,
"maxItems": 8,
"items": { "type": "string", "minLength": 1 }
},
"changes": {
"type": "array",
"items": {
"type": "object",
"required": ["section_locator", "change_type", "rationale"],
"properties": {
"section_locator": { "type": "string" },
"change_type": { "type": "string" },
"rationale": { "type": "string" },
"evidence_refs": { "type": "array", "items": { "type": "string" } }
}
}
},
"risk": {
"type": "object",
"required": ["level"],
"properties": {
"level": { "enum": ["low", "medium", "high", "critical"] },
"items": {
"type": "array",
"items": {
"type": "object",
"required": ["category", "description"],
"properties": {
"category": { "type": "string" },
"description": { "type": "string" },
"mitigation": { "type": "string" }
}
}
}
}
},
"project_impact": { "type": "object" },
"document_impacts": {
"type": "array",
"items": {
"type": "object",
"required": ["doc_id", "impact_type", "reason"],
"properties": {
"doc_id": { "type": "string" },
"impact_type": { "type": "string" },
"reason": { "type": "string" },
"recommended_action": { "type": "string" }
}
}
},
"open_questions": { "type": "array", "items": { "type": "string" } }
}
}