46 lines
1.2 KiB
JSON
46 lines
1.2 KiB
JSON
{
|
|
"id": "schema-gate",
|
|
"role": "feature",
|
|
"version": "1.7.0-rc.2",
|
|
"title": "Schema push detection gate",
|
|
"description": "Detects ORM schema-relevant files in the phase scope during planning and injects a mandatory [BLOCKING] schema push task into the plan. Prevents false-positive verification where build/types pass because TypeScript types come from config, not the live database.",
|
|
"tier": "full",
|
|
"requires": [],
|
|
"engines": {
|
|
"gsd": ">=1.6.0"
|
|
},
|
|
"runtimeCompat": {
|
|
"supported": [
|
|
"*"
|
|
],
|
|
"unsupported": []
|
|
},
|
|
"skills": [],
|
|
"agents": [],
|
|
"hooks": [],
|
|
"config": {
|
|
"workflow.schema_push_detection": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"description": "Enable ORM schema push detection during planning. When schema-relevant files are detected in the phase scope, a [BLOCKING] push task is injected into the plan."
|
|
}
|
|
},
|
|
"steps": [],
|
|
"contributions": [
|
|
{
|
|
"point": "plan:pre",
|
|
"into": "planner",
|
|
"fragment": {
|
|
"path": "fragments/plan-pre.md"
|
|
},
|
|
"produces": [],
|
|
"consumes": [
|
|
"CONTEXT.md"
|
|
],
|
|
"when": "workflow.schema_push_detection",
|
|
"onError": "skip"
|
|
}
|
|
],
|
|
"gates": []
|
|
}
|