* feat(#1137): migrate review verification hooks to capabilities * chore(#1147): add changeset
This commit is contained in:
36
capabilities/code-review/capability.json
Normal file
36
capabilities/code-review/capability.json
Normal file
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"id": "code-review",
|
||||
"role": "feature",
|
||||
"title": "Code review",
|
||||
"description": "Source-file code review and review-fix workflow support for completed execution work.",
|
||||
"tier": "full",
|
||||
"requires": [],
|
||||
"skills": ["code-review"],
|
||||
"agents": ["gsd-code-reviewer", "gsd-code-fixer"],
|
||||
"hooks": [],
|
||||
"config": {
|
||||
"workflow.code_review": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "Enable code-review participation in post-execution review flows."
|
||||
},
|
||||
"workflow.code_review_depth": {
|
||||
"type": "enum",
|
||||
"values": ["quick", "standard", "deep"],
|
||||
"default": "standard",
|
||||
"description": "Default depth for code review when no --depth override is supplied."
|
||||
}
|
||||
},
|
||||
"steps": [
|
||||
{
|
||||
"point": "execute:post",
|
||||
"ref": { "skill": "code-review" },
|
||||
"produces": ["REVIEW.md"],
|
||||
"consumes": ["SUMMARY.md"],
|
||||
"when": "workflow.code_review",
|
||||
"onError": "skip"
|
||||
}
|
||||
],
|
||||
"contributions": [],
|
||||
"gates": []
|
||||
}
|
||||
Reference in New Issue
Block a user