@codyswann/lisa 2.297.0 → 2.297.2
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/core/sonar-integration.d.ts +1 -1
- package/dist/core/sonar-integration.js +2 -2
- package/dist/core/sonar-integration.js.map +1 -1
- package/dist/core/upstream-evidence-manifest.js +6 -6
- 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 +3 -3
- package/plugins/lisa/.codex-plugin/skills/lisa-generate-claude-remote-build-script/SKILL.md +3 -3
- package/plugins/lisa/.codex-plugin/skills/lisa-setup-sonar/SKILL.md +4 -4
- package/plugins/lisa/.codex-plugin/skills/lisa-sonarcloud-access/SKILL.md +12 -5
- package/plugins/lisa/commands/setup/sonar.md +1 -1
- package/plugins/lisa/rules/reference/integration-access-layer.md +3 -3
- package/plugins/lisa/skills/lisa-analyze-claude-remote/SKILL.md +3 -3
- package/plugins/lisa/skills/lisa-generate-claude-remote-build-script/SKILL.md +3 -3
- package/plugins/lisa/skills/lisa-setup-sonar/SKILL.md +5 -5
- package/plugins/lisa/skills/lisa-sonarcloud-access/SKILL.md +13 -6
- package/plugins/lisa-agy/commands/lisa/setup/sonar.md +1 -1
- package/plugins/lisa-agy/plugin.json +1 -1
- package/plugins/lisa-agy/skills/lisa-analyze-claude-remote/SKILL.md +3 -3
- package/plugins/lisa-agy/skills/lisa-generate-claude-remote-build-script/SKILL.md +3 -3
- package/plugins/lisa-agy/skills/lisa-setup-sonar/SKILL.md +5 -5
- package/plugins/lisa-agy/skills/lisa-sonarcloud-access/SKILL.md +13 -6
- 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 +1 -1
- package/plugins/lisa-copilot/rules/reference/integration-access-layer.md +3 -3
- package/plugins/lisa-copilot/skills/lisa-analyze-claude-remote/SKILL.md +3 -3
- package/plugins/lisa-copilot/skills/lisa-generate-claude-remote-build-script/SKILL.md +3 -3
- package/plugins/lisa-copilot/skills/lisa-setup-sonar/SKILL.md +5 -5
- package/plugins/lisa-copilot/skills/lisa-sonarcloud-access/SKILL.md +13 -6
- package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cursor/commands/lisa/setup/sonar.md +1 -1
- package/plugins/lisa-cursor/rules/integration-access-layer-reference.mdc +3 -3
- package/plugins/lisa-cursor/skills/lisa-analyze-claude-remote/SKILL.md +3 -3
- package/plugins/lisa-cursor/skills/lisa-generate-claude-remote-build-script/SKILL.md +3 -3
- package/plugins/lisa-cursor/skills/lisa-setup-sonar/SKILL.md +5 -5
- package/plugins/lisa-cursor/skills/lisa-sonarcloud-access/SKILL.md +13 -6
- 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 +1 -1
- package/plugins/src/base/rules/reference/integration-access-layer.md +3 -3
- package/plugins/src/base/skills/lisa-analyze-claude-remote/SKILL.md +3 -3
- package/plugins/src/base/skills/lisa-generate-claude-remote-build-script/SKILL.md +3 -3
- package/plugins/src/base/skills/lisa-setup-sonar/SKILL.md +5 -5
- package/plugins/src/base/skills/lisa-sonarcloud-access/SKILL.md +13 -6
|
@@ -17,8 +17,8 @@ available.
|
|
|
17
17
|
|
|
18
18
|
Some MCPs authenticate headlessly from an env token and need no separate REST
|
|
19
19
|
tier — the MCP **is** the headless substrate on both developer machines and cloud
|
|
20
|
-
routines. The official SonarQube MCP is one such case (`
|
|
21
|
-
[+ `
|
|
20
|
+
routines. The official SonarQube MCP is one such case (`SONARQUBE_CLI_TOKEN`
|
|
21
|
+
[+ `SONARQUBE_CLI_ORG`/`SONARQUBE_CLI_SERVER`]): `lisa-sonarcloud-access` resolves it as a
|
|
22
22
|
single substrate with no hand-rolled REST fallback. Reserve the two-tier
|
|
23
23
|
MCP-then-REST shape for vendors whose MCP is browser-OAuth or keychain-bound and
|
|
24
24
|
therefore dead headless.
|
|
@@ -31,7 +31,7 @@ therefore dead headless.
|
|
|
31
31
|
| Notion | `lisa-notion-access` | `NOTION_API_TOKEN` | Notion REST |
|
|
32
32
|
| Linear | `lisa-linear-access` | `LINEAR_API_KEY` | Linear GraphQL |
|
|
33
33
|
| Jam | `lisa-jam-access` | `JAM_PAT` | Jam CLI |
|
|
34
|
-
| SonarCloud | `lisa-sonarcloud-access` | `
|
|
34
|
+
| SonarCloud | `lisa-sonarcloud-access` | `SONARQUBE_CLI_TOKEN` (+ `SONARQUBE_CLI_ORG`/`SONARQUBE_CLI_SERVER`) | Official SonarQube MCP (headless via token) |
|
|
35
35
|
| Sentry | `lisa-sentry-access` | `SENTRY_AUTH_TOKEN` | Sentry REST API |
|
|
36
36
|
| PostHog | `lisa-posthog-access` | `POSTHOG_PERSONAL_API_KEY` | PostHog REST API |
|
|
37
37
|
| Google Play | `lisa-expo:play-store-access` | `GOOGLE_PLAY_SERVICE_ACCOUNT_JSON` or `GOOGLE_PLAY_SERVICE_ACCOUNT_KEY_BASE64` | Google Play Developer API |
|
|
@@ -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 SonarQube/SonarCloud MCP entries | Official SonarQube MCP (`sonar run mcp`), token-authed — runs headless as-is, no REST substitute | `
|
|
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_CLI_TOKEN` (+ `SONARQUBE_CLI_ORG` for Cloud / `SONARQUBE_CLI_SERVER` 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,11 +353,11 @@ 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": "
|
|
356
|
+
"name": "SONARQUBE_CLI_TOKEN", "required": false, "secret": true, "integration": "sonarcloud",
|
|
357
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
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 Sonar organization/project quality gate, issues, hotspots, rules, coverage, duplications, and dependency risks; add
|
|
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_CLI_ORG (Cloud) or SONARQUBE_CLI_SERVER (Server)"
|
|
361
361
|
}
|
|
362
362
|
],
|
|
363
363
|
"mcp": [
|
|
@@ -69,7 +69,7 @@ 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`, `
|
|
72
|
+
include `JAM_PAT`, `SONARQUBE_CLI_TOKEN` (+ `SONARQUBE_CLI_ORG`/`SONARQUBE_CLI_SERVER`), or
|
|
73
73
|
similar documented substrate env vars only as optional secrets, with their
|
|
74
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
|
|
@@ -89,8 +89,8 @@ tracker/source, plus the host project's own package manager and tooling — not
|
|
|
89
89
|
real MCP rather than substituting REST. Emit, guarded on the optional env
|
|
90
90
|
token, the vendor CLI install (`curl -o- https://raw.githubusercontent.com/SonarSource/sonarqube-cli/refs/heads/master/user-scripts/install.sh | bash`),
|
|
91
91
|
`sonar integrate <agent>`, and a `sonar run mcp`-image pre-pull so the first
|
|
92
|
-
run fits the ~5-min cache budget. Provide `
|
|
93
|
-
(+ `
|
|
92
|
+
run fits the ~5-min cache budget. Provide `SONARQUBE_CLI_TOKEN`
|
|
93
|
+
(+ `SONARQUBE_CLI_ORG`/`SONARQUBE_CLI_SERVER`); never emit `sonar auth login` (keychain
|
|
94
94
|
does not exist headless).
|
|
95
95
|
- REST-only substitute substrates: for a vendor whose MCP genuinely cannot run
|
|
96
96
|
headless, do not install an MCP — emit comments naming the REST host and env
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: lisa-setup-sonar
|
|
3
|
-
description: "Configure the official SonarQube plugin + MCP as Lisa's single Sonar substrate across every supported coding agent. Installs/updates the SonarQube CLI, authenticates (browser login on a dev machine, or
|
|
3
|
+
description: "Configure the official SonarQube plugin + MCP as Lisa's single Sonar substrate across every supported coding agent. Installs/updates the SonarQube CLI, authenticates (browser login on a dev machine, or SONARQUBE_CLI_TOKEN headless), selects the Test Manager target, runs `sonar integrate <agent>` for each supported agent (Claude, Codex, Cursor, Copilot, Antigravity) and wires the MCP for OpenCode, then writes only non-secret policy to .lisa.config.json. Separate from the CI SonarCloud scan gate, which is unchanged."
|
|
4
4
|
allowed-tools: ["Bash", "Read", "Write", "Edit", "AskUserQuestion", "Skill"]
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -46,15 +46,15 @@ The MCP authenticates from environment variables — this is the headless path a
|
|
|
46
46
|
the one factories use. **Never** write credentials to `.lisa.config.json` or
|
|
47
47
|
`.lisa.config.local.json`; provide them as environment variables / CI secrets:
|
|
48
48
|
|
|
49
|
-
- `
|
|
50
|
-
- `
|
|
51
|
-
- `
|
|
49
|
+
- `SONARQUBE_CLI_TOKEN` — required.
|
|
50
|
+
- `SONARQUBE_CLI_ORG` — for SonarQube Cloud.
|
|
51
|
+
- `SONARQUBE_CLI_SERVER` — for a self-hosted SonarQube Server.
|
|
52
52
|
|
|
53
53
|
On an interactive developer machine you may instead run `sonar auth login`
|
|
54
54
|
(browser flow; token stored in the OS keychain). Do **not** use the keychain flow
|
|
55
55
|
for headless/cloud-routine environments — provision the env token there instead
|
|
56
56
|
(see `/lisa:generate-claude-remote-build-script`, which now installs the CLI,
|
|
57
|
-
pre-pulls the MCP image, and sets `
|
|
57
|
+
pre-pulls the MCP image, and sets `SONARQUBE_CLI_TOKEN`). Verify with `sonar auth
|
|
58
58
|
status`; record the identity label only, never token material.
|
|
59
59
|
|
|
60
60
|
## 3. Select the Test Manager target
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: lisa-sonarcloud-access
|
|
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
|
|
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_CLI_TOKEN (+ SONARQUBE_CLI_ORG for Cloud, SONARQUBE_CLI_SERVER for Server)."
|
|
4
4
|
allowed-tools: ["Bash", "Read", "Skill"]
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -17,9 +17,16 @@ the `sonarqube` plugin and launched by the `sonar` CLI (`sonar run mcp`). It
|
|
|
17
17
|
authenticates headlessly from environment variables — no browser, no OS keychain —
|
|
18
18
|
so it is the same substrate on a developer machine and in a headless cloud routine:
|
|
19
19
|
|
|
20
|
-
- `
|
|
21
|
-
- `
|
|
22
|
-
- `
|
|
20
|
+
- `SONARQUBE_CLI_TOKEN` — required (Sonar user/analysis token).
|
|
21
|
+
- `SONARQUBE_CLI_ORG` — required for SonarQube Cloud.
|
|
22
|
+
- `SONARQUBE_CLI_SERVER` — required for a self-hosted SonarQube Server.
|
|
23
|
+
|
|
24
|
+
These are the **SonarQube CLI** variable names (`SONARQUBE_CLI_*`), which the
|
|
25
|
+
`sonar run mcp` wrapper forwards into the MCP container — verified against a live
|
|
26
|
+
SonarQube Cloud org. Do **not** substitute the raw MCP-image names
|
|
27
|
+
(`SONARQUBE_TOKEN`/`SONARQUBE_ORG`/`SONARQUBE_URL`): those are read only when
|
|
28
|
+
running the Docker image directly, and the `sonar` CLI ignores them (auth exits
|
|
29
|
+
non-zero). The CI scan gate's `SONAR_TOKEN` is a third, separate name.
|
|
23
30
|
|
|
24
31
|
Wiring is performed once by `/lisa:setup:sonar` (which drives `sonar integrate
|
|
25
32
|
<agent>`); this access layer assumes the MCP is already wired. This is distinct
|
|
@@ -37,7 +44,7 @@ always enabled):
|
|
|
37
44
|
loudly and do not improvise a substitute:
|
|
38
45
|
|
|
39
46
|
```text
|
|
40
|
-
Error: no SonarQube access. Run /lisa:setup:sonar (or `sonar integrate <agent>`), and set
|
|
47
|
+
Error: no SonarQube access. Run /lisa:setup:sonar (or `sonar integrate <agent>`), and set SONARQUBE_CLI_TOKEN (+ SONARQUBE_CLI_ORG for Cloud / SONARQUBE_CLI_SERVER for Server).
|
|
41
48
|
```
|
|
42
49
|
|
|
43
50
|
There is no hand-rolled REST fallback: the official MCP is headless-capable via the
|
|
@@ -69,7 +76,7 @@ tool accepts them.
|
|
|
69
76
|
## Invariants
|
|
70
77
|
|
|
71
78
|
- The official SonarQube MCP is the only substrate; there is no REST fallback.
|
|
72
|
-
- Auth is env-var only (`
|
|
79
|
+
- Auth is env-var only (`SONARQUBE_CLI_TOKEN` [+ `SONARQUBE_CLI_ORG` | `SONARQUBE_CLI_SERVER`]);
|
|
73
80
|
never the interactive `sonar auth login` keychain flow inside a factory.
|
|
74
81
|
- Sonar host access requires the host (`sonarcloud.io`, `sonarqube.us`, or the
|
|
75
82
|
Server URL) in any custom remote-network allowlist.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
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
|
|
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_CLI_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
3
|
allowed-tools: ["Skill"]
|
|
4
4
|
argument-hint: "[--org=<org-key>] [--server-url=<url>] [--global]"
|
|
5
5
|
---
|
|
@@ -22,8 +22,8 @@ available.
|
|
|
22
22
|
|
|
23
23
|
Some MCPs authenticate headlessly from an env token and need no separate REST
|
|
24
24
|
tier — the MCP **is** the headless substrate on both developer machines and cloud
|
|
25
|
-
routines. The official SonarQube MCP is one such case (`
|
|
26
|
-
[+ `
|
|
25
|
+
routines. The official SonarQube MCP is one such case (`SONARQUBE_CLI_TOKEN`
|
|
26
|
+
[+ `SONARQUBE_CLI_ORG`/`SONARQUBE_CLI_SERVER`]): `lisa-sonarcloud-access` resolves it as a
|
|
27
27
|
single substrate with no hand-rolled REST fallback. Reserve the two-tier
|
|
28
28
|
MCP-then-REST shape for vendors whose MCP is browser-OAuth or keychain-bound and
|
|
29
29
|
therefore dead headless.
|
|
@@ -36,7 +36,7 @@ therefore dead headless.
|
|
|
36
36
|
| Notion | `lisa-notion-access` | `NOTION_API_TOKEN` | Notion REST |
|
|
37
37
|
| Linear | `lisa-linear-access` | `LINEAR_API_KEY` | Linear GraphQL |
|
|
38
38
|
| Jam | `lisa-jam-access` | `JAM_PAT` | Jam CLI |
|
|
39
|
-
| SonarCloud | `lisa-sonarcloud-access` | `
|
|
39
|
+
| SonarCloud | `lisa-sonarcloud-access` | `SONARQUBE_CLI_TOKEN` (+ `SONARQUBE_CLI_ORG`/`SONARQUBE_CLI_SERVER`) | Official SonarQube MCP (headless via token) |
|
|
40
40
|
| Sentry | `lisa-sentry-access` | `SENTRY_AUTH_TOKEN` | Sentry REST API |
|
|
41
41
|
| PostHog | `lisa-posthog-access` | `POSTHOG_PERSONAL_API_KEY` | PostHog REST API |
|
|
42
42
|
| Google Play | `lisa-expo:play-store-access` | `GOOGLE_PLAY_SERVICE_ACCOUNT_JSON` or `GOOGLE_PLAY_SERVICE_ACCOUNT_KEY_BASE64` | Google Play Developer API |
|
|
@@ -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 SonarQube/SonarCloud MCP entries | Official SonarQube MCP (`sonar run mcp`), token-authed — runs headless as-is, no REST substitute | `
|
|
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_CLI_TOKEN` (+ `SONARQUBE_CLI_ORG` for Cloud / `SONARQUBE_CLI_SERVER` 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,11 +353,11 @@ 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": "
|
|
356
|
+
"name": "SONARQUBE_CLI_TOKEN", "required": false, "secret": true, "integration": "sonarcloud",
|
|
357
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
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 Sonar organization/project quality gate, issues, hotspots, rules, coverage, duplications, and dependency risks; add
|
|
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_CLI_ORG (Cloud) or SONARQUBE_CLI_SERVER (Server)"
|
|
361
361
|
}
|
|
362
362
|
],
|
|
363
363
|
"mcp": [
|
|
@@ -69,7 +69,7 @@ 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`, `
|
|
72
|
+
include `JAM_PAT`, `SONARQUBE_CLI_TOKEN` (+ `SONARQUBE_CLI_ORG`/`SONARQUBE_CLI_SERVER`), or
|
|
73
73
|
similar documented substrate env vars only as optional secrets, with their
|
|
74
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
|
|
@@ -89,8 +89,8 @@ tracker/source, plus the host project's own package manager and tooling — not
|
|
|
89
89
|
real MCP rather than substituting REST. Emit, guarded on the optional env
|
|
90
90
|
token, the vendor CLI install (`curl -o- https://raw.githubusercontent.com/SonarSource/sonarqube-cli/refs/heads/master/user-scripts/install.sh | bash`),
|
|
91
91
|
`sonar integrate <agent>`, and a `sonar run mcp`-image pre-pull so the first
|
|
92
|
-
run fits the ~5-min cache budget. Provide `
|
|
93
|
-
(+ `
|
|
92
|
+
run fits the ~5-min cache budget. Provide `SONARQUBE_CLI_TOKEN`
|
|
93
|
+
(+ `SONARQUBE_CLI_ORG`/`SONARQUBE_CLI_SERVER`); never emit `sonar auth login` (keychain
|
|
94
94
|
does not exist headless).
|
|
95
95
|
- REST-only substitute substrates: for a vendor whose MCP genuinely cannot run
|
|
96
96
|
headless, do not install an MCP — emit comments naming the REST host and env
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: lisa-setup-sonar
|
|
3
|
-
description: "Configure the official SonarQube plugin + MCP as Lisa's single Sonar substrate across every supported coding agent. Installs/updates the SonarQube CLI, authenticates (browser login on a dev machine, or
|
|
3
|
+
description: "Configure the official SonarQube plugin + MCP as Lisa's single Sonar substrate across every supported coding agent. Installs/updates the SonarQube CLI, authenticates (browser login on a dev machine, or SONARQUBE_CLI_TOKEN headless), selects the Test Manager target, runs `sonar integrate <agent>` for each supported agent (Claude, Codex, Cursor, Copilot, Antigravity) and wires the MCP for OpenCode, then writes only non-secret policy to .lisa.config.json. Separate from the CI SonarCloud scan gate, which is unchanged."
|
|
4
4
|
allowed-tools: ["Bash", "Read", "Write", "Edit", "AskUserQuestion", "Skill"]
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -46,15 +46,15 @@ The MCP authenticates from environment variables — this is the headless path a
|
|
|
46
46
|
the one factories use. **Never** write credentials to `.lisa.config.json` or
|
|
47
47
|
`.lisa.config.local.json`; provide them as environment variables / CI secrets:
|
|
48
48
|
|
|
49
|
-
- `
|
|
50
|
-
- `
|
|
51
|
-
- `
|
|
49
|
+
- `SONARQUBE_CLI_TOKEN` — required.
|
|
50
|
+
- `SONARQUBE_CLI_ORG` — for SonarQube Cloud.
|
|
51
|
+
- `SONARQUBE_CLI_SERVER` — for a self-hosted SonarQube Server.
|
|
52
52
|
|
|
53
53
|
On an interactive developer machine you may instead run `sonar auth login`
|
|
54
54
|
(browser flow; token stored in the OS keychain). Do **not** use the keychain flow
|
|
55
55
|
for headless/cloud-routine environments — provision the env token there instead
|
|
56
56
|
(see `/lisa:generate-claude-remote-build-script`, which now installs the CLI,
|
|
57
|
-
pre-pulls the MCP image, and sets `
|
|
57
|
+
pre-pulls the MCP image, and sets `SONARQUBE_CLI_TOKEN`). Verify with `sonar auth
|
|
58
58
|
status`; record the identity label only, never token material.
|
|
59
59
|
|
|
60
60
|
## 3. Select the Test Manager target
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: lisa-sonarcloud-access
|
|
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
|
|
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_CLI_TOKEN (+ SONARQUBE_CLI_ORG for Cloud, SONARQUBE_CLI_SERVER for Server)."
|
|
4
4
|
allowed-tools: ["Bash", "Read", "Skill"]
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -17,9 +17,16 @@ the `sonarqube` plugin and launched by the `sonar` CLI (`sonar run mcp`). It
|
|
|
17
17
|
authenticates headlessly from environment variables — no browser, no OS keychain —
|
|
18
18
|
so it is the same substrate on a developer machine and in a headless cloud routine:
|
|
19
19
|
|
|
20
|
-
- `
|
|
21
|
-
- `
|
|
22
|
-
- `
|
|
20
|
+
- `SONARQUBE_CLI_TOKEN` — required (Sonar user/analysis token).
|
|
21
|
+
- `SONARQUBE_CLI_ORG` — required for SonarQube Cloud.
|
|
22
|
+
- `SONARQUBE_CLI_SERVER` — required for a self-hosted SonarQube Server.
|
|
23
|
+
|
|
24
|
+
These are the **SonarQube CLI** variable names (`SONARQUBE_CLI_*`), which the
|
|
25
|
+
`sonar run mcp` wrapper forwards into the MCP container — verified against a live
|
|
26
|
+
SonarQube Cloud org. Do **not** substitute the raw MCP-image names
|
|
27
|
+
(`SONARQUBE_TOKEN`/`SONARQUBE_ORG`/`SONARQUBE_URL`): those are read only when
|
|
28
|
+
running the Docker image directly, and the `sonar` CLI ignores them (auth exits
|
|
29
|
+
non-zero). The CI scan gate's `SONAR_TOKEN` is a third, separate name.
|
|
23
30
|
|
|
24
31
|
Wiring is performed once by `/lisa:setup:sonar` (which drives `sonar integrate
|
|
25
32
|
<agent>`); this access layer assumes the MCP is already wired. This is distinct
|
|
@@ -37,7 +44,7 @@ always enabled):
|
|
|
37
44
|
loudly and do not improvise a substitute:
|
|
38
45
|
|
|
39
46
|
```text
|
|
40
|
-
Error: no SonarQube access. Run /lisa:setup:sonar (or `sonar integrate <agent>`), and set
|
|
47
|
+
Error: no SonarQube access. Run /lisa:setup:sonar (or `sonar integrate <agent>`), and set SONARQUBE_CLI_TOKEN (+ SONARQUBE_CLI_ORG for Cloud / SONARQUBE_CLI_SERVER for Server).
|
|
41
48
|
```
|
|
42
49
|
|
|
43
50
|
There is no hand-rolled REST fallback: the official MCP is headless-capable via the
|
|
@@ -69,7 +76,7 @@ tool accepts them.
|
|
|
69
76
|
## Invariants
|
|
70
77
|
|
|
71
78
|
- The official SonarQube MCP is the only substrate; there is no REST fallback.
|
|
72
|
-
- Auth is env-var only (`
|
|
79
|
+
- Auth is env-var only (`SONARQUBE_CLI_TOKEN` [+ `SONARQUBE_CLI_ORG` | `SONARQUBE_CLI_SERVER`]);
|
|
73
80
|
never the interactive `sonar auth login` keychain flow inside a factory.
|
|
74
81
|
- Sonar host access requires the host (`sonarcloud.io`, `sonarqube.us`, or the
|
|
75
82
|
Server URL) in any custom remote-network allowlist.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "2.297.
|
|
3
|
+
"version": "2.297.2",
|
|
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.297.
|
|
3
|
+
"version": "2.297.2",
|
|
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.297.
|
|
3
|
+
"version": "2.297.2",
|
|
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.297.
|
|
3
|
+
"version": "2.297.2",
|
|
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.297.
|
|
3
|
+
"version": "2.297.2",
|
|
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"
|