@codyswann/lisa 2.296.1 → 2.297.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/doctor-sonar.d.ts +15 -0
- package/dist/cli/doctor-sonar.d.ts.map +1 -0
- package/dist/cli/doctor-sonar.js +28 -0
- package/dist/cli/doctor-sonar.js.map +1 -0
- package/dist/cli/doctor.d.ts +2 -0
- package/dist/cli/doctor.d.ts.map +1 -1
- package/dist/cli/doctor.js +4 -0
- package/dist/cli/doctor.js.map +1 -1
- package/dist/core/lisa.d.ts +13 -0
- package/dist/core/lisa.d.ts.map +1 -1
- package/dist/core/lisa.js +44 -0
- package/dist/core/lisa.js.map +1 -1
- package/dist/core/project-config-kane.d.ts +9 -0
- package/dist/core/project-config-kane.d.ts.map +1 -1
- package/dist/core/project-config-kane.js +35 -3
- package/dist/core/project-config-kane.js.map +1 -1
- package/dist/core/sonar-integration.d.ts +30 -0
- package/dist/core/sonar-integration.d.ts.map +1 -0
- package/dist/core/sonar-integration.js +55 -0
- package/dist/core/sonar-integration.js.map +1 -0
- package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
- package/dist/core/upstream-evidence-manifest.js +25 -4
- package/dist/core/upstream-evidence-manifest.js.map +1 -1
- package/dist/sonar/sonar-installer.d.ts +19 -0
- package/dist/sonar/sonar-installer.d.ts.map +1 -0
- package/dist/sonar/sonar-installer.js +69 -0
- package/dist/sonar/sonar-installer.js.map +1 -0
- package/package.json +1 -1
- package/plugins/lisa/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-analyze-claude-remote/SKILL.md +6 -6
- package/plugins/lisa/.codex-plugin/skills/lisa-generate-claude-remote-build-script/SKILL.md +14 -6
- package/plugins/lisa/.codex-plugin/skills/lisa-setup-sonar/SKILL.md +108 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-setup-sonar/agents/openai.yaml +4 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-sonarcloud-access/SKILL.md +51 -46
- package/plugins/lisa/commands/setup/sonar.md +7 -0
- package/plugins/lisa/rules/reference/integration-access-layer.md +10 -2
- package/plugins/lisa/skills/lisa-analyze-claude-remote/SKILL.md +6 -6
- package/plugins/lisa/skills/lisa-generate-claude-remote-build-script/SKILL.md +14 -6
- package/plugins/lisa/skills/lisa-setup-sonar/SKILL.md +108 -0
- package/plugins/lisa/skills/lisa-setup-sonar/agents/openai.yaml +4 -0
- package/plugins/lisa/skills/lisa-sonarcloud-access/SKILL.md +52 -47
- package/plugins/lisa/skills/lisa-sonarcloud-access/agents/openai.yaml +2 -2
- package/plugins/lisa-agy/commands/lisa/setup/sonar.md +7 -0
- package/plugins/lisa-agy/plugin.json +1 -1
- package/plugins/lisa-agy/skills/lisa-analyze-claude-remote/SKILL.md +6 -6
- package/plugins/lisa-agy/skills/lisa-generate-claude-remote-build-script/SKILL.md +14 -6
- package/plugins/lisa-agy/skills/lisa-setup-sonar/SKILL.md +108 -0
- package/plugins/lisa-agy/skills/lisa-sonarcloud-access/SKILL.md +52 -47
- package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-agy/plugin.json +1 -1
- package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/commands/lisa/setup/sonar.md +7 -0
- package/plugins/lisa-copilot/rules/reference/integration-access-layer.md +10 -2
- package/plugins/lisa-copilot/skills/lisa-analyze-claude-remote/SKILL.md +6 -6
- package/plugins/lisa-copilot/skills/lisa-generate-claude-remote-build-script/SKILL.md +14 -6
- package/plugins/lisa-copilot/skills/lisa-setup-sonar/SKILL.md +108 -0
- package/plugins/lisa-copilot/skills/lisa-sonarcloud-access/SKILL.md +52 -47
- package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cursor/commands/lisa/setup/sonar.md +7 -0
- package/plugins/lisa-cursor/rules/integration-access-layer-reference.mdc +10 -2
- package/plugins/lisa-cursor/skills/lisa-analyze-claude-remote/SKILL.md +6 -6
- package/plugins/lisa-cursor/skills/lisa-generate-claude-remote-build-script/SKILL.md +14 -6
- package/plugins/lisa-cursor/skills/lisa-setup-sonar/SKILL.md +108 -0
- package/plugins/lisa-cursor/skills/lisa-sonarcloud-access/SKILL.md +52 -47
- package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-agy/plugin.json +1 -1
- package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-agy/plugin.json +1 -1
- package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-agy/plugin.json +1 -1
- package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-agy/plugin.json +1 -1
- package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-agy/plugin.json +1 -1
- package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-agy/plugin.json +1 -1
- package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-agy/plugin.json +1 -1
- package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/src/base/commands/setup/sonar.md +7 -0
- package/plugins/src/base/rules/reference/integration-access-layer.md +10 -2
- package/plugins/src/base/skills/lisa-analyze-claude-remote/SKILL.md +6 -6
- package/plugins/src/base/skills/lisa-generate-claude-remote-build-script/SKILL.md +14 -6
- package/plugins/src/base/skills/lisa-setup-sonar/SKILL.md +108 -0
- package/plugins/src/base/skills/lisa-sonarcloud-access/SKILL.md +52 -47
|
@@ -1,71 +1,76 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: lisa-sonarcloud-access
|
|
3
|
-
description: "Vendor-neutral access layer for
|
|
3
|
+
description: "Vendor-neutral access layer for SonarQube Cloud/Server. Sonar triage skills MUST delegate through this skill rather than calling the SonarQube MCP tools directly. Single substrate: the official SonarQube MCP server (mcp__sonarqube__*), authenticated headlessly from SONARQUBE_TOKEN (+ SONARQUBE_ORG for Cloud, SONARQUBE_URL for Server)."
|
|
4
4
|
allowed-tools: ["Bash", "Read", "Skill"]
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# SonarCloud Access: $ARGUMENTS
|
|
8
8
|
|
|
9
|
-
Single chokepoint for
|
|
10
|
-
`mcp__sonarqube__*` tools directly
|
|
11
|
-
|
|
9
|
+
Single chokepoint for Sonar quality and security data. Caller skills MUST NOT
|
|
10
|
+
invoke `mcp__sonarqube__*` tools directly; they ask for data by operation name and
|
|
11
|
+
this skill owns the tool selection.
|
|
12
12
|
|
|
13
|
-
##
|
|
13
|
+
## Substrate
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
operation: rule-detail key:<RULE_KEY>
|
|
20
|
-
operation: source-snippet component:<COMPONENT_KEY> from:<N> to:<N>
|
|
21
|
-
```
|
|
15
|
+
There is exactly one substrate: the **official SonarQube MCP server**, provided by
|
|
16
|
+
the `sonarqube` plugin and launched by the `sonar` CLI (`sonar run mcp`). It
|
|
17
|
+
authenticates headlessly from environment variables — no browser, no OS keychain —
|
|
18
|
+
so it is the same substrate on a developer machine and in a headless cloud routine:
|
|
22
19
|
|
|
23
|
-
|
|
20
|
+
- `SONARQUBE_TOKEN` — required (Sonar user/analysis token).
|
|
21
|
+
- `SONARQUBE_ORG` — required for SonarQube Cloud.
|
|
22
|
+
- `SONARQUBE_URL` — required for a self-hosted SonarQube Server.
|
|
24
23
|
|
|
25
|
-
|
|
24
|
+
Wiring is performed once by `/lisa:setup:sonar` (which drives `sonar integrate
|
|
25
|
+
<agent>`); this access layer assumes the MCP is already wired. This is distinct
|
|
26
|
+
from the CI `SONAR_TOKEN` secret that authenticates the SonarCloud scan job in
|
|
27
|
+
`quality.yml` — that gate is separate and unchanged.
|
|
26
28
|
|
|
27
|
-
Probe
|
|
29
|
+
## Probe (tool-access-gate)
|
|
28
30
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
+
Prove access with a cheap read-only MCP call before relying on it — the `sonar` CLI
|
|
32
|
+
being on PATH is not access. Probe by searching projects (the `projects` toolset is
|
|
33
|
+
always enabled):
|
|
31
34
|
|
|
32
|
-
|
|
35
|
+
- If a `mcp__sonarqube__*` project-search tool returns, access is proven.
|
|
36
|
+
- If no `mcp__sonarqube__*` tool is present, or the call fails authentication, fail
|
|
37
|
+
loudly and do not improvise a substitute:
|
|
33
38
|
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
local path="$1"
|
|
37
|
-
[ -n "$SONAR_TOKEN" ] || {
|
|
38
|
-
echo "Error: SONAR_TOKEN is not set." >&2
|
|
39
|
-
return 1
|
|
40
|
-
}
|
|
41
|
-
curl -sS "https://sonarcloud.io/api${path}" \
|
|
42
|
-
-H "Authorization: Bearer $SONAR_TOKEN"
|
|
43
|
-
}
|
|
39
|
+
```text
|
|
40
|
+
Error: no SonarQube access. Run /lisa:setup:sonar (or `sonar integrate <agent>`), and set SONARQUBE_TOKEN (+ SONARQUBE_ORG for Cloud / SONARQUBE_URL for Server).
|
|
44
41
|
```
|
|
45
42
|
|
|
46
|
-
|
|
47
|
-
|
|
43
|
+
There is no hand-rolled REST fallback: the official MCP is headless-capable via the
|
|
44
|
+
token env vars, so it is the only sanctioned substrate. A missing MCP is a
|
|
45
|
+
tool-access-gate failure to surface, not a reason to curl the Web API.
|
|
48
46
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
```text
|
|
52
|
-
Error: no SonarCloud access substrate available. Authenticate the Sonar MCP or set SONAR_TOKEN.
|
|
53
|
-
```
|
|
47
|
+
## Operation → toolset map
|
|
54
48
|
|
|
55
|
-
|
|
49
|
+
Consumers pass a coarse, vendor-native operation; resolve it with the matching
|
|
50
|
+
`mcp__sonarqube__*` tool from the named toolset and return parsed JSON in a
|
|
51
|
+
`<result>` block.
|
|
56
52
|
|
|
57
|
-
| Operation |
|
|
53
|
+
| Operation | SonarQube MCP toolset |
|
|
58
54
|
|---|---|
|
|
59
|
-
| `gate-status` |
|
|
60
|
-
| `issues` |
|
|
61
|
-
| `hotspots` |
|
|
62
|
-
| `rule-detail` |
|
|
63
|
-
| `source-snippet` |
|
|
55
|
+
| `gate-status` | `quality-gates` |
|
|
56
|
+
| `issues` | `issues` |
|
|
57
|
+
| `hotspots` | `security-hotspots` |
|
|
58
|
+
| `rule-detail` | `rules` |
|
|
59
|
+
| `source-snippet` | `cag` (context augmentation) / component source |
|
|
60
|
+
| `coverage` | `coverage` |
|
|
61
|
+
| `duplication` | `duplications` |
|
|
62
|
+
| `dependency-risks` | `dependency-risks` |
|
|
63
|
+
| `projects` | `projects` |
|
|
64
|
+
|
|
65
|
+
Pass the project key through the tool's `projectKey` argument (or rely on a
|
|
66
|
+
server-configured `SONARQUBE_PROJECT_KEY`); pass `branch` / `pullRequest` where the
|
|
67
|
+
tool accepts them.
|
|
64
68
|
|
|
65
69
|
## Invariants
|
|
66
70
|
|
|
67
|
-
-
|
|
68
|
-
-
|
|
69
|
-
|
|
70
|
-
-
|
|
71
|
-
|
|
71
|
+
- The official SonarQube MCP is the only substrate; there is no REST fallback.
|
|
72
|
+
- Auth is env-var only (`SONARQUBE_TOKEN` [+ `SONARQUBE_ORG` | `SONARQUBE_URL`]);
|
|
73
|
+
never the interactive `sonar auth login` keychain flow inside a factory.
|
|
74
|
+
- Sonar host access requires the host (`sonarcloud.io`, `sonarqube.us`, or the
|
|
75
|
+
Server URL) in any custom remote-network allowlist.
|
|
76
|
+
- Consumers ask for data by operation name; this skill owns tool selection.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.297.0",
|
|
4
4
|
"description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, for Claude Code and Codex",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Cody Swann"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.297.0",
|
|
4
4
|
"description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, across Claude and Codex.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Cody Swann"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.297.0",
|
|
4
4
|
"description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, for Claude Code and Codex",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Cody Swann"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.297.0",
|
|
4
4
|
"description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, for Claude Code and Codex",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Cody Swann"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.297.0",
|
|
4
4
|
"description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, for Claude Code and Codex",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Cody Swann"
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Wire the official SonarQube plugin + MCP into this project across every supported coding agent. Installs/updates the SonarQube CLI, authenticates (browser login on a dev machine, or SONARQUBE_TOKEN headless), selects the Test Manager target, runs `sonar integrate <agent>` for each supported agent, and writes only non-secret policy to `.lisa.config.json`. Does not touch the separate CI SonarCloud scan gate."
|
|
3
|
+
allowed-tools: ["Skill"]
|
|
4
|
+
argument-hint: "[--org=<org-key>] [--server-url=<url>] [--global]"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
Use the /lisa-setup-sonar skill to wire the official SonarQube MCP for this project across every supported agent. $ARGUMENTS
|
|
@@ -15,6 +15,14 @@ Do not blind-retry a failed or absent MCP. Fall back only after checking the
|
|
|
15
15
|
documented env var for that vendor, and never silently no-op when neither tier is
|
|
16
16
|
available.
|
|
17
17
|
|
|
18
|
+
Some MCPs authenticate headlessly from an env token and need no separate REST
|
|
19
|
+
tier — the MCP **is** the headless substrate on both developer machines and cloud
|
|
20
|
+
routines. The official SonarQube MCP is one such case (`SONARQUBE_TOKEN`
|
|
21
|
+
[+ `SONARQUBE_ORG`/`SONARQUBE_URL`]): `lisa-sonarcloud-access` resolves it as a
|
|
22
|
+
single substrate with no hand-rolled REST fallback. Reserve the two-tier
|
|
23
|
+
MCP-then-REST shape for vendors whose MCP is browser-OAuth or keychain-bound and
|
|
24
|
+
therefore dead headless.
|
|
25
|
+
|
|
18
26
|
## Access Skills
|
|
19
27
|
|
|
20
28
|
| Vendor | Access skill | Headless env var | REST/token substrate |
|
|
@@ -23,7 +31,7 @@ available.
|
|
|
23
31
|
| Notion | `lisa-notion-access` | `NOTION_API_TOKEN` | Notion REST |
|
|
24
32
|
| Linear | `lisa-linear-access` | `LINEAR_API_KEY` | Linear GraphQL |
|
|
25
33
|
| Jam | `lisa-jam-access` | `JAM_PAT` | Jam CLI |
|
|
26
|
-
| SonarCloud | `lisa-sonarcloud-access` | `
|
|
34
|
+
| SonarCloud | `lisa-sonarcloud-access` | `SONARQUBE_TOKEN` (+ `SONARQUBE_ORG`/`SONARQUBE_URL`) | Official SonarQube MCP (headless via token) |
|
|
27
35
|
| Sentry | `lisa-sentry-access` | `SENTRY_AUTH_TOKEN` | Sentry REST API |
|
|
28
36
|
| PostHog | `lisa-posthog-access` | `POSTHOG_PERSONAL_API_KEY` | PostHog REST API |
|
|
29
37
|
| Google Play | `lisa-expo:play-store-access` | `GOOGLE_PLAY_SERVICE_ACCOUNT_JSON` or `GOOGLE_PLAY_SERVICE_ACCOUNT_KEY_BASE64` | Google Play Developer API |
|
|
@@ -39,7 +47,7 @@ Source audit date: 2026-06-23. Scope: `plugins/src/**/skills/**` and
|
|
|
39
47
|
| Notion | setup-only references | `notion-access` | Done. |
|
|
40
48
|
| Linear | Multiple base queue/read/write/verify skills | Raw Linear MCP | Access layer added; consumers still need migration to `linear-access`. |
|
|
41
49
|
| Jam | None in `plugins/src` at audit time | No access layer | Access layer added for host rules that include Jam triage. |
|
|
42
|
-
| SonarCloud |
|
|
50
|
+
| SonarCloud | Routed through `sonarcloud-access` | Official SonarQube MCP (single substrate) | Migrated to the official token-authed SonarQube MCP; bespoke REST dispatch removed. |
|
|
43
51
|
| Sentry | No Sentry MCP references in `plugins/src`; CLI/REST mentions only | CLI/REST scattered in observability docs | Access layer added for future MCP-backed consumers. |
|
|
44
52
|
| PostHog | No PostHog MCP references in `plugins/src`; observability docs mention PostHog detection | No access layer | Access layer added for future MCP-backed consumers. |
|
|
45
53
|
| Google Play | No MCP surface; EAS submit docs only | `play-store-access` for Expo post-submit release visibility | Done for Expo stack. |
|
|
@@ -195,7 +195,7 @@ Group the findings as:
|
|
|
195
195
|
| Match | Substrate | Env | Setup / wiring | Domains |
|
|
196
196
|
|---|---|---|---|---|
|
|
197
197
|
| `mcp.jam.dev`, `jam`, or Jam MCP entries | Jam CLI (`jam`) authenticated by PAT | `JAM_PAT` | install with `curl -fsSL https://native.jam.dev/install | bash`; export `~/.local/bin`; run `printf '%s' "$JAM_PAT" | jam auth login --token`; optionally `jam skills install` | `native.jam.dev`, `api.jam.dev` |
|
|
198
|
-
| `mcp/sonarqube`, `sonarqube`, or SonarCloud
|
|
198
|
+
| `mcp/sonarqube`, `sonarqube`, or SonarQube/SonarCloud MCP entries | Official SonarQube MCP (`sonar run mcp`), token-authed — runs headless as-is, no REST substitute | `SONARQUBE_TOKEN` (+ `SONARQUBE_ORG` for Cloud / `SONARQUBE_URL` for Server) | install the SonarQube CLI (`curl -o- https://raw.githubusercontent.com/SonarSource/sonarqube-cli/refs/heads/master/user-scripts/install.sh \| bash`) and `sonar integrate <agent>`; pre-pull the MCP container image in the setup script so it fits the cache budget; the MCP authenticates from the env token — never `sonar auth login` | `sonarcloud.io`, `sonarqube.us` (or the Server URL) |
|
|
199
199
|
|
|
200
200
|
For PAT-bearer MCP substrates that really use the same MCP transport, include `mcpHeaders` in
|
|
201
201
|
the inventory with a snippet such as `headers: { "Authorization": "Bearer ${VAR}" }` so the
|
|
@@ -353,17 +353,17 @@ so the generator can render acquisition comments into its template:
|
|
|
353
353
|
"setupSnippet": "curl -fsSL https://native.jam.dev/install | bash; export PATH=\"$HOME/.local/bin:$PATH\"; printf '%s' \"$JAM_PAT\" | jam auth login --token; jam skills install"
|
|
354
354
|
},
|
|
355
355
|
{
|
|
356
|
-
"name": "
|
|
357
|
-
"reason": "
|
|
358
|
-
"headlessSubstrate": "
|
|
356
|
+
"name": "SONARQUBE_TOKEN", "required": false, "secret": true, "integration": "sonarcloud",
|
|
357
|
+
"reason": "authenticates the official SonarQube MCP headlessly; the MCP runs as-is in a cloud routine (Docker is preinstalled), so no REST substitute is needed",
|
|
358
|
+
"headlessSubstrate": "Official SonarQube MCP (token-authed)",
|
|
359
359
|
"acquireUrl": "https://docs.sonarsource.com/sonarqube-cloud/managing-your-account/managing-tokens",
|
|
360
|
-
"accessScope": "token must be able to read the target
|
|
360
|
+
"accessScope": "token must be able to read the target Sonar organization/project quality gate, issues, hotspots, rules, coverage, duplications, and dependency risks; add SONARQUBE_ORG (Cloud) or SONARQUBE_URL (Server)"
|
|
361
361
|
}
|
|
362
362
|
],
|
|
363
363
|
"mcp": [
|
|
364
364
|
{ "name": "linear-server", "transport": "http", "auth": "oauth", "headlessUsable": false, "replacedBy": "LINEAR_API_KEY + Linear GraphQL", "dormant": true },
|
|
365
365
|
{ "name": "jam", "transport": "http", "auth": "oauth", "headlessUsable": true, "replacedBy": "jam CLI + JAM_PAT", "dormant": true },
|
|
366
|
-
{ "name": "sonarqube", "transport": "stdio", "auth": "
|
|
366
|
+
{ "name": "sonarqube", "transport": "stdio", "auth": "env-token", "headlessUsable": true, "replacedBy": null, "dormant": true }
|
|
367
367
|
],
|
|
368
368
|
"awsProfiles": [
|
|
369
369
|
{
|
|
@@ -69,9 +69,9 @@ tracker/source, plus the host project's own package manager and tooling — not
|
|
|
69
69
|
sibling repos reachable through the routine's GitHub proxy.
|
|
70
70
|
For OPTIONAL non-tracker MCP recovery entries discovered by
|
|
71
71
|
`/lisa:analyze-claude-remote`, preserve the same names-only behavior:
|
|
72
|
-
include `JAM_PAT`, `
|
|
73
|
-
only as optional secrets, with their
|
|
74
|
-
supplied them. Never invent values or promote dormant substrates to required.
|
|
72
|
+
include `JAM_PAT`, `SONARQUBE_TOKEN` (+ `SONARQUBE_ORG`/`SONARQUBE_URL`), or
|
|
73
|
+
similar documented substrate env vars only as optional secrets, with their
|
|
74
|
+
acquire/scope comments when the analysis supplied them. Never invent values or promote dormant substrates to required.
|
|
75
75
|
When AWS entries are present, list only `LISA_AWS_BOOTSTRAP_JSON` as the
|
|
76
76
|
required secret and `LISA_REMOTE_AGENT=claude` as plain configuration. Never
|
|
77
77
|
emit standard `AWS_ACCESS_KEY_ID` variables and never recommend `aws sso login`.
|
|
@@ -84,9 +84,17 @@ tracker/source, plus the host project's own package manager and tooling — not
|
|
|
84
84
|
`export PATH="$HOME/.local/bin:$PATH"`, `printf '%s' "$JAM_PAT" | jam auth login --token`,
|
|
85
85
|
and `jam skills install`, all inside `[ -n "${JAM_PAT:-}" ] && ...` guards so missing
|
|
86
86
|
optional secrets do not fail the environment build.
|
|
87
|
-
-
|
|
88
|
-
|
|
89
|
-
|
|
87
|
+
- Container-backed MCP substrates (e.g. the official SonarQube MCP): the MCP
|
|
88
|
+
runs headless as-is in a cloud routine — Docker is preinstalled — so wire the
|
|
89
|
+
real MCP rather than substituting REST. Emit, guarded on the optional env
|
|
90
|
+
token, the vendor CLI install (`curl -o- https://raw.githubusercontent.com/SonarSource/sonarqube-cli/refs/heads/master/user-scripts/install.sh | bash`),
|
|
91
|
+
`sonar integrate <agent>`, and a `sonar run mcp`-image pre-pull so the first
|
|
92
|
+
run fits the ~5-min cache budget. Provide `SONARQUBE_TOKEN`
|
|
93
|
+
(+ `SONARQUBE_ORG`/`SONARQUBE_URL`); never emit `sonar auth login` (keychain
|
|
94
|
+
does not exist headless).
|
|
95
|
+
- REST-only substitute substrates: for a vendor whose MCP genuinely cannot run
|
|
96
|
+
headless, do not install an MCP — emit comments naming the REST host and env
|
|
97
|
+
var, and rely on the access skill or generated consumer to call the API.
|
|
90
98
|
- PAT-bearer MCP substrates: print a commented `.mcp.json` `headers` snippet from the
|
|
91
99
|
inventory's `mcpHeaders`. Use this only when the analysis explicitly says the same MCP
|
|
92
100
|
transport supports static-token auth. Do not print a Jam `.mcp.json` header snippet because
|