Add an optional activationKey to the feature role of capability.json — the dotted config key that gates the whole capability (e.g. graphify.enabled). gen-capability-registry validates it (non-empty string, reserved-name guard, must be declared in the capability's own config slice, feature-only) and emits it per-capability in the generated registry. Declared on graphify + intel. No runtime consumption yet (resolver wiring lands in #1305). Part of #1302. Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
40 lines
1.1 KiB
JSON
40 lines
1.1 KiB
JSON
{
|
|
"id": "intel",
|
|
"role": "feature",
|
|
"title": "Codebase intelligence",
|
|
"description": "Code-intelligence store for codebase querying, diff, snapshot, and API-surface extraction; exposes `gsd-tools intel` subcommands (query, status, update, diff, snapshot, patch-meta, validate, extract-exports, api-surface) and backs `/gsd-map-codebase` and `gsd-intel-updater`.",
|
|
"tier": "full",
|
|
"requires": [],
|
|
"runtimeCompat": { "supported": ["*"], "unsupported": [] },
|
|
"skills": [],
|
|
"agents": [],
|
|
"activationKey": "intel.enabled",
|
|
"config": {
|
|
"intel.enabled": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "Enable the intel code-intelligence command."
|
|
}
|
|
},
|
|
"commands": [
|
|
{
|
|
"family": "intel",
|
|
"module": "intel-command-router.cjs",
|
|
"router": "routeIntelCommand"
|
|
}
|
|
],
|
|
"hooks": [],
|
|
"steps": [
|
|
{
|
|
"point": "plan:pre",
|
|
"ref": { "command": "intel api-surface" },
|
|
"produces": [".planning/intel/API-SURFACE.md"],
|
|
"consumes": [],
|
|
"when": "intel.enabled",
|
|
"onError": "skip"
|
|
}
|
|
],
|
|
"contributions": [],
|
|
"gates": []
|
|
}
|