62 lines
1.7 KiB
JSON
62 lines
1.7 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "https://docforge.local/schema/policy-v1.json",
|
|
"title": "DocForge effective process policy",
|
|
"type": "object",
|
|
"required": [
|
|
"schema_version",
|
|
"capability_mode",
|
|
"capability_source",
|
|
"adapter_evolution",
|
|
"ast_analysis",
|
|
"logic_indexing",
|
|
"synchronization",
|
|
"integrity",
|
|
"manual_render",
|
|
"graph_render",
|
|
"live_viewer",
|
|
"profiling",
|
|
"blocked_tools",
|
|
"prohibitions",
|
|
"precedence"
|
|
],
|
|
"properties": {
|
|
"schema_version": { "const": 1 },
|
|
"capability_mode": {
|
|
"enum": ["read", "proposal", "application", "operator"]
|
|
},
|
|
"capability_source": {
|
|
"enum": ["factory_default", "explicit"]
|
|
},
|
|
"adapter_evolution": { "enum": ["allowed", "preserve"] },
|
|
"ast_analysis": { "enum": ["allowed", "forbidden"] },
|
|
"logic_indexing": { "enum": ["full", "off"] },
|
|
"synchronization": { "const": "automatic" },
|
|
"integrity": { "const": "validated" },
|
|
"manual_render": { "enum": ["auto", "explicit", "disabled"] },
|
|
"graph_render": { "const": "disabled" },
|
|
"live_viewer": { "const": "on-demand" },
|
|
"profiling": { "enum": ["enabled", "disabled"] },
|
|
"blocked_tools": {
|
|
"type": "array",
|
|
"maxItems": 64,
|
|
"items": { "type": "string", "minLength": 1 },
|
|
"uniqueItems": true
|
|
},
|
|
"prohibitions": {
|
|
"type": "array",
|
|
"maxItems": 64,
|
|
"items": { "type": "string", "minLength": 1 },
|
|
"uniqueItems": true
|
|
},
|
|
"precedence": {
|
|
"const": [
|
|
"core_safety",
|
|
"explicit_binding",
|
|
"no_ast_shorthand",
|
|
"resource_availability"
|
|
]
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|