Files
msd-core/capabilities/live-dom-uat/capability.json
2026-08-30 03:07:03 +00:00

53 lines
2.3 KiB
JSON

{
"id": "live-dom-uat",
"role": "feature",
"version": "1.12.0",
"title": "Live-DOM UAT",
"description": "Default-off live-DOM verification (#2856). Confines browser MCP reach to one purpose-built agent (gsd-dom-verifier) that carries the browser globs in its own tools: line, registered as an additive step hook at execute:wave:post. agents/gsd-executor.md is deliberately NOT widened: for a first-party agent the static tool list is the only control that exists, no capability can grant tools to one (ADR-1244 D2), no hook kind grants tool permissions (ADR-857 D4), and there is no per-dispatch tool override. Gated by activationKey workflow.live_dom_uat (default false), so with the key off the capability resolves inactive and the hook does not render at all. NOTE on the browser profile lock: chrome-devtools-mcp holds an exclusive lock on $HOME/.cache/chrome-devtools-mcp/chrome-profile, and --isolated is a flag on the user's own MCP-server registration that GSD cannot pass. Concurrent execution waves sharing one profile will therefore collide; the step tolerates and reports that (onError: skip, never blocking) rather than pretending to coordinate a resource it does not own.",
"tier": "full",
"requires": [],
"engines": {
"gsd": ">=1.11.0"
},
"runtimeCompat": {
"supported": [
"*"
],
"unsupported": []
},
"skills": [],
"agents": [
"gsd-dom-verifier"
],
"activationKey": "workflow.live_dom_uat",
"config": {
"workflow.live_dom_uat": {
"type": "boolean",
"default": false,
"description": "Enable live-DOM verification. Default-off: browser MCP reach is opt-in per project. When on, the orchestrator's automated UI verification may additionally use mcp__chrome-devtools__* / mcp__claude-in-chrome__* when present, and a gsd-dom-verifier step runs after each execution wave. When off, neither surface reaches a browser and the pre-existing mcp__playwright__* path is unchanged."
}
},
"hooks": [],
"steps": [
{
"point": "execute:wave:post",
"ref": {
"agent": "gsd-dom-verifier"
},
"fragment": {
"path": "fragments/execute-wave-post.md"
},
"produces": [
"DOM-VERIFY.md"
],
"consumes": [
"PLAN.md"
],
"when": "workflow.live_dom_uat",
"onError": "skip"
}
],
"contributions": [],
"gates": []
}