@codyswann/lisa 2.178.4 → 2.178.6

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.
Files changed (92) hide show
  1. package/package.json +1 -1
  2. package/plugins/lisa/.claude-plugin/plugin.json +1 -1
  3. package/plugins/lisa/.codex-plugin/plugin.json +1 -1
  4. package/plugins/lisa/skills/analyze-claude-remote/SKILL.md +72 -2
  5. package/plugins/lisa/skills/generate-claude-remote-build-script/SKILL.md +30 -1
  6. package/plugins/lisa-agy/plugin.json +1 -1
  7. package/plugins/lisa-agy/skills/analyze-claude-remote/SKILL.md +72 -2
  8. package/plugins/lisa-agy/skills/generate-claude-remote-build-script/SKILL.md +30 -1
  9. package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
  10. package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
  11. package/plugins/lisa-cdk-agy/plugin.json +1 -1
  12. package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
  13. package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
  14. package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
  15. package/plugins/lisa-copilot/skills/analyze-claude-remote/SKILL.md +72 -2
  16. package/plugins/lisa-copilot/skills/generate-claude-remote-build-script/SKILL.md +30 -1
  17. package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
  18. package/plugins/lisa-cursor/skills/analyze-claude-remote/SKILL.md +72 -2
  19. package/plugins/lisa-cursor/skills/generate-claude-remote-build-script/SKILL.md +30 -1
  20. package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
  21. package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
  22. package/plugins/lisa-expo/agents/ops-specialist.md +2 -2
  23. package/plugins/lisa-expo/skills/ops-check-logs/SKILL.md +8 -2
  24. package/plugins/lisa-expo/skills/ops-db-ops/SKILL.md +7 -3
  25. package/plugins/lisa-expo/skills/ops-deploy/SKILL.md +6 -2
  26. package/plugins/lisa-expo/skills/ops-run-local/SKILL.md +5 -2
  27. package/plugins/lisa-expo-agy/agents/ops-specialist.md +2 -2
  28. package/plugins/lisa-expo-agy/plugin.json +1 -1
  29. package/plugins/lisa-expo-agy/skills/ops-check-logs/SKILL.md +8 -2
  30. package/plugins/lisa-expo-agy/skills/ops-db-ops/SKILL.md +7 -3
  31. package/plugins/lisa-expo-agy/skills/ops-deploy/SKILL.md +6 -2
  32. package/plugins/lisa-expo-agy/skills/ops-run-local/SKILL.md +5 -2
  33. package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
  34. package/plugins/lisa-expo-copilot/agents/ops-specialist.agent.md +2 -2
  35. package/plugins/lisa-expo-copilot/skills/ops-check-logs/SKILL.md +8 -2
  36. package/plugins/lisa-expo-copilot/skills/ops-db-ops/SKILL.md +7 -3
  37. package/plugins/lisa-expo-copilot/skills/ops-deploy/SKILL.md +6 -2
  38. package/plugins/lisa-expo-copilot/skills/ops-run-local/SKILL.md +5 -2
  39. package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
  40. package/plugins/lisa-expo-cursor/agents/ops-specialist.md +2 -2
  41. package/plugins/lisa-expo-cursor/skills/ops-check-logs/SKILL.md +8 -2
  42. package/plugins/lisa-expo-cursor/skills/ops-db-ops/SKILL.md +7 -3
  43. package/plugins/lisa-expo-cursor/skills/ops-deploy/SKILL.md +6 -2
  44. package/plugins/lisa-expo-cursor/skills/ops-run-local/SKILL.md +5 -2
  45. package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
  46. package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
  47. package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
  48. package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
  49. package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
  50. package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
  51. package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
  52. package/plugins/lisa-nestjs-agy/plugin.json +1 -1
  53. package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
  54. package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
  55. package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
  56. package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
  57. package/plugins/lisa-openclaw-agy/plugin.json +1 -1
  58. package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
  59. package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
  60. package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
  61. package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
  62. package/plugins/lisa-phaser-agy/plugin.json +1 -1
  63. package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
  64. package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
  65. package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
  66. package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
  67. package/plugins/lisa-rails/agents/ops-specialist.md +1 -1
  68. package/plugins/lisa-rails-agy/agents/ops-specialist.md +1 -1
  69. package/plugins/lisa-rails-agy/plugin.json +1 -1
  70. package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
  71. package/plugins/lisa-rails-copilot/agents/ops-specialist.agent.md +1 -1
  72. package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
  73. package/plugins/lisa-rails-cursor/agents/ops-specialist.md +1 -1
  74. package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
  75. package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
  76. package/plugins/lisa-typescript-agy/plugin.json +1 -1
  77. package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
  78. package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
  79. package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
  80. package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
  81. package/plugins/lisa-wiki-agy/plugin.json +1 -1
  82. package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
  83. package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
  84. package/plugins/src/base/skills/analyze-claude-remote/SKILL.md +72 -2
  85. package/plugins/src/base/skills/generate-claude-remote-build-script/SKILL.md +30 -1
  86. package/plugins/src/expo/agents/ops-specialist.md +2 -2
  87. package/plugins/src/expo/skills/ops-check-logs/SKILL.md +8 -2
  88. package/plugins/src/expo/skills/ops-db-ops/SKILL.md +7 -3
  89. package/plugins/src/expo/skills/ops-deploy/SKILL.md +6 -2
  90. package/plugins/src/expo/skills/ops-run-local/SKILL.md +5 -2
  91. package/plugins/src/rails/agents/ops-specialist.md +1 -1
  92. package/typescript/copy-contents/.husky/pre-push +1 -8
package/package.json CHANGED
@@ -91,7 +91,7 @@
91
91
  "ws": ">=8.20.1"
92
92
  },
93
93
  "name": "@codyswann/lisa",
94
- "version": "2.178.4",
94
+ "version": "2.178.6",
95
95
  "description": "Claude Code governance framework that applies guardrails, guidance, and automated enforcement to projects",
96
96
  "main": "dist/index.js",
97
97
  "exports": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa",
3
- "version": "2.178.4",
3
+ "version": "2.178.6",
4
4
  "description": "Universal governance — agents, skills, commands, hooks, and rules for all projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa",
3
- "version": "2.178.4",
3
+ "version": "2.178.6",
4
4
  "description": "Universal governance: agents, skills, commands, hooks, and rules for all projects.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -78,13 +78,18 @@ Group the findings as:
78
78
  git, and coreutils are present; `gh` is available but should be installed explicitly if scripts
79
79
  call it. Classify each `REQUIRED` (core path uses it) vs `OPTIONAL` (only a dormant stack/skill
80
80
  uses it). Typical finds: `gh`, `jq`, `docker` (ZAP), `aws`, `acli`, `ruby`/`rubocop`,
81
- `python3`, `playwright`/chromium, secret scanners.
81
+ `python3`, `playwright`/chromium, secret scanners. Treat AWS as more than a
82
+ binary install: if the repo invokes `aws`, imports AWS SDK packages, uses CDK/Serverless/SST,
83
+ references `AWS_*` env vars, or documents `aws sso login` / `sso_*` profile setup, add the AWS
84
+ credential findings in group 4b as well as the `aws` CLI tool finding.
82
85
 
83
86
  4. **Environment variables & secrets** — scan for `process.env.*`, `${VAR}`/`$VAR` in shell,
84
87
  `secrets.*`/`env:` in CI, and config-referenced tokens. Group by integration (GitHub, AWS,
85
88
  Atlassian/JIRA/Confluence, Notion, Linear, Anthropic, notifications, feature flags, other).
86
89
  Cross-reference `.lisa.config.json` `tracker`/`source` to mark which credentials are **active**
87
- for this repo vs **dormant** (`OPTIONAL`). Distinguish *where* each var must be set, because the
90
+ for this repo vs **dormant** (`OPTIONAL`). Separately classify host-project AWS usage in group 4b:
91
+ AWS can be required even when it is not the tracker or PRD source. Distinguish *where* each var
92
+ must be set, because the
88
93
  answer differs and getting it wrong sends the user to do redundant work:
89
94
 
90
95
  - **Committed `.claude/settings.json` `env` flags** (e.g. `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS`,
@@ -128,6 +133,34 @@ Group the findings as:
128
133
  guessed. If a value the table needs (server URL, project key, workspace id, email, team key) is
129
134
  missing from `.lisa.config.json`, flag it as a `GAP`/`Action:` to set it, rather than inventing one.
130
135
 
136
+ 4b. **AWS operations credentials** — scan the host project for AWS usage independent of Lisa's
137
+ tracker/source config:
138
+
139
+ - `aws` CLI invocations in `scripts/`, package scripts, committed skills/agents, or
140
+ `.github/workflows/`.
141
+ - AWS SDK imports/packages (`@aws-sdk/*`, `aws-sdk`, `boto3`, CDK, Serverless, SST, Amplify,
142
+ Terraform providers).
143
+ - `aws sso login`, `aws:signin:*`, `sso_start_url`, `sso_account_id`, `sso_role_name`, or
144
+ `sso_session` in docs or config.
145
+ - `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`, `AWS_SESSION_TOKEN`, `AWS_DEFAULT_REGION`,
146
+ `AWS_PROFILE`, role ARN, external ID, account, or CloudWatch/STS references.
147
+
148
+ If AWS is present, emit an AWS credential finding and inventory entry. If the repo's current
149
+ local path is `aws sso login` or an `aws:signin:*` script, classify that local path as a `GAP`
150
+ for headless remote routines: it is an interactive browser/device-authorization flow and cannot
151
+ complete in the cloud. Route to the AWS row in the Credential reference instead of suggesting
152
+ SSO auth. The finding must name the headless substrate: a dedicated IAM principal (user or role)
153
+ with only permission to `sts:AssumeRole`, environment credentials in the routine UI, and
154
+ `~/.aws/config` profiles using `role_arn`, `credential_source = Environment`, optional
155
+ `external_id`, and `region`.
156
+
157
+ When the repository contains concrete non-secret AWS metadata (role ARNs, account aliases,
158
+ profile names, regions, or ExternalId values), include it in an `awsProfiles` inventory array so
159
+ `/lisa:generate-claude-remote-build-script` can write matching `~/.aws/config` profiles. Never
160
+ invent account IDs, ExternalIds, role names, or regions. If AWS is detected but profile metadata
161
+ is absent, emit the required AWS secret names plus an action to add project-specific profile
162
+ metadata to the generated artifact or environment notes.
163
+
131
164
  5. **MCP servers** — read every committed `.mcp.json`. For each server report transport and auth.
132
165
  Project-scoped HTTP/SSE servers with no interactive auth are `OK`. Flag stdio servers as
133
166
  `RISK`/`GAP` (need a local process — only viable if the cloud session can spawn them from the
@@ -234,6 +267,31 @@ unsuffixed `…_TOKEN`/`…_KEY` is the simplest to set in a single-account rout
234
267
  - Acquire: `https://linear.app/<workspace>/settings/account/security` → Personal API keys → New API key.
235
268
  - Access: the personal API key inherits the user's workspace permissions — the user must be able to read/create/update Issues in the destination team.
236
269
 
270
+ ### AWS — host-project operations, logs, deploys, CDK/Serverless/SST, or AWS SDK usage
271
+ - Headless substrate: a dedicated IAM principal (user or role) with long-lived bootstrap credentials
272
+ stored in the routine environment, used only to call `sts:AssumeRole` into per-account operational
273
+ roles. The routine writes `~/.aws/config` profiles with `role_arn`, `credential_source =
274
+ Environment`, optional `external_id`, and `region`; agents use `aws --profile <profile> ...`.
275
+ - Env: `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`; optional `AWS_SESSION_TOKEN` for temporary
276
+ bootstrap credentials; `AWS_DEFAULT_REGION` when no profile region is provided. Role ARNs,
277
+ ExternalIds, profile names, and regions are non-secret project metadata and belong in generated
278
+ artifacts or project docs, not in the skill's global guidance.
279
+ - Allowlist: `*.amazonaws.com`, or narrower service hosts such as `sts.amazonaws.com`,
280
+ `logs.<region>.amazonaws.com`, `cloudwatch.<region>.amazonaws.com`,
281
+ `xray.<region>.amazonaws.com`, `ssm.<region>.amazonaws.com`, and service-specific endpoints the
282
+ repo uses.
283
+ - Access: the bootstrap principal should have only `sts:AssumeRole` on the scoped operational role
284
+ ARNs, preferably guarded by an `ExternalId` condition. The assumed roles carry the real
285
+ permissions needed by the repo (CloudWatch Logs, deploy, SSM, etc.) as short-lived STS
286
+ credentials.
287
+ - IAM Identity Center caveat: an IAM Identity Center permission set provisions an `AWSReservedSSO_*`
288
+ role whose trust allows the SSO service, not an arbitrary IAM principal. A headless IAM principal
289
+ cannot directly assume that reserved role. Use a separate assumable role that attaches the same
290
+ policy as the permission set, with the delegated Identity Center admin keeping that policy as the
291
+ source of truth.
292
+ - Alternative: IAM Roles Anywhere (X.509 to STS) when long-lived bootstrap access keys are
293
+ unacceptable.
294
+
237
295
  ## Output
238
296
 
239
297
  Render the report grouped exactly as above. Start with one `Summary:` line, then a `Counts:` line
@@ -296,6 +354,15 @@ so the generator can render acquisition comments into its template:
296
354
  { "name": "jam", "transport": "http", "auth": "oauth", "headlessUsable": true, "replacedBy": "jam CLI + JAM_PAT", "dormant": true },
297
355
  { "name": "sonarqube", "transport": "stdio", "auth": "local-wrapper", "headlessUsable": true, "replacedBy": "SONAR_TOKEN + SonarCloud Web API", "dormant": true }
298
356
  ],
357
+ "awsProfiles": [
358
+ {
359
+ "name": "dev",
360
+ "roleArn": "arn:aws:iam::<account-id>:role/<role-name>",
361
+ "credentialSource": "Environment",
362
+ "externalId": "<project-external-id>",
363
+ "region": "us-east-1"
364
+ }
365
+ ],
299
366
  "gaps": [ "auto-memory not synced to cloud", "bun package fetch behind proxy", "OS keychain absent — env-var token form only" ],
300
367
  "platform": {
301
368
  "githubProxy": {
@@ -346,6 +413,9 @@ so the generator can render acquisition comments into its template:
346
413
  to environment editors; never imply the generated script can hide them.
347
414
  - A browser-OAuth MCP (or interactively-authed CLI) backing an active integration is a `GAP`; the
348
415
  remediation is its token substrate from the table, not "authenticate the MCP".
416
+ - `aws sso login`, `sso_*` profile configuration, and project scripts that wrap AWS SSO are
417
+ interactive-auth paths. In a headless routine they are a `GAP`, not a setup step. Route AWS access
418
+ to env-var bootstrap credentials plus assume-role profiles.
349
419
  - For non-tracker MCPs, a documented CLI, PAT/API-key, or REST substrate converts the finding from
350
420
  a flat `GAP` into an `OPTIONAL` headless recovery path; unknown vendors remain gaps with a
351
421
  vendor-substrate follow-up, not invented credentials.
@@ -31,7 +31,7 @@ tracker/source, plus the host project's own package manager and tooling — not
31
31
 
32
32
  1. **Inventory.** Invoke `/lisa:analyze-claude-remote --json` and parse its machine-readable
33
33
  inventory block (`packageManager`, `tools`, `env`, `mcp`, `gaps`, `platform`,
34
- `networkAccess`, `allowlistDomains`). If the analysis cannot run, stop and report why — never
34
+ `networkAccess`, `allowlistDomains`, `awsProfiles`). If the analysis cannot run, stop and report why — never
35
35
  emit a script from guesses.
36
36
 
37
37
  2. **Compose the setup script** from the inventory. The script must be:
@@ -71,6 +71,9 @@ tracker/source, plus the host project's own package manager and tooling — not
71
71
  include `JAM_PAT`, `SONAR_TOKEN`, or similar documented substrate env vars
72
72
  only as optional secrets, with their acquire/scope comments when the analysis
73
73
  supplied them. Never invent values or promote dormant substrates to required.
74
+ When AWS entries are present, list `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`, optional
75
+ `AWS_SESSION_TOKEN`, and `AWS_DEFAULT_REGION` exactly as the analysis reported. State that these
76
+ bootstrap credentials are for STS assume-role only; do not emit or recommend `aws sso login`.
74
77
 
75
78
  3a. **Emit substrate setup snippets.** When the inventory marks an MCP
76
79
  `headlessUsable: true` through a documented substrate, render the matching
@@ -88,6 +91,19 @@ tracker/source, plus the host project's own package manager and tooling — not
88
91
  transport supports static-token auth. Do not print a Jam `.mcp.json` header snippet because
89
92
  Jam's preferred headless substrate is its PAT-authenticated CLI.
90
93
 
94
+ 3b. **Emit AWS assume-role profile setup.** When the inventory includes `awsProfiles`, write an
95
+ idempotent `~/.aws/config` block gated on `[ -n "${AWS_ACCESS_KEY_ID:-}" ]`. The generated block
96
+ must:
97
+ - `mkdir -p "$HOME/.aws"` and create or append profile stanzas without writing secrets.
98
+ - Emit one `[profile <name>]` stanza per inventory profile with `role_arn`,
99
+ `credential_source = Environment`, `region` when present, and `external_id` when present.
100
+ - Keep regions and ExternalIds as non-secret project metadata from the inventory; never invent
101
+ account IDs, role names, profile names, regions, or ExternalIds.
102
+ - Warn and skip profile writing when AWS profile metadata is absent, while still listing the
103
+ required `AWS_*` env var names in the secret template.
104
+ - Include a comment that agents should use `aws --profile <name> ...` and must not run
105
+ `aws sso login` in headless routines.
106
+
91
107
  4. **Emit the allowlist + gaps notice.** List any custom domains the setup or runtime reaches
92
108
  (from `networkAccess.allowlistDomains`, falling back to legacy `allowlistDomains`) that the user
93
109
  must add when the environment needs Custom network access. Do not include default Trusted domains
@@ -123,6 +139,9 @@ shape, not a fixed payload):
123
139
  # # Note: GH_TOKEN is for gh CLI only. Raw git uses Claude's connected-GitHub proxy/identity;
124
140
  # # sibling repos reached only by raw git do not need to be in this token scope.
125
141
  # - GH_TOKEN=<token> # REQUIRED, github is the active tracker+source
142
+ # - AWS_ACCESS_KEY_ID=<access-key-id> # REQUIRED when AWS inventory is active
143
+ # - AWS_SECRET_ACCESS_KEY=<secret-access-key> # REQUIRED when AWS inventory is active
144
+ # - AWS_SESSION_TOKEN=<session-token> # OPTIONAL for temporary bootstrap creds
126
145
  # NETWORK: set the environment to Custom and allowlist these non-default domains if not on Full:
127
146
  # - <networkAccess.allowlistDomains, if any>
128
147
  set -uo pipefail
@@ -165,6 +184,14 @@ need gh || (sudo apt-get update -y && sudo apt-get install -y gh)
165
184
  need jq || sudo apt-get install -y jq
166
185
  require gh; require jq
167
186
 
187
+ # --- AWS assume-role profiles, when inventory includes awsProfiles ---
188
+ if [ -n "${AWS_ACCESS_KEY_ID:-}" ]; then
189
+ mkdir -p "$HOME/.aws"
190
+ # Generated stanzas use credential_source=Environment and contain no secrets.
191
+ # Agents should run: aws --profile <profile> ...
192
+ # Do not run aws sso login in headless routines; SSO requires an interactive browser/device flow.
193
+ fi
194
+
168
195
  # --- optional, only with --include-optional ---
169
196
  # (docker / ruby / chromium / etc., guarded)
170
197
  ```
@@ -186,6 +213,8 @@ to stop are: the analysis could not run, or the `--out` path is not writable.
186
213
  raw git/cross-repo clone guidance must not expand the token scope to sibling repositories.
187
214
  - Never emit an install for a tool the analysis did not surface, and never install `OPTIONAL` tools
188
215
  unless `--include-optional` is set.
216
+ - When AWS is in the inventory, generate environment-backed assume-role profile stanzas from
217
+ `awsProfiles`; never emit `aws sso login` as a remote setup step.
189
218
  - Prefer `networkAccess.allowlistDomains` over legacy top-level `allowlistDomains`; never emit
190
219
  domains already covered by the routine environment's default Trusted list.
191
220
  - Keep the script idempotent and detect-before-install so it is safe to re-run and cache.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa",
3
- "version": "2.178.4",
3
+ "version": "2.178.6",
4
4
  "description": "Universal governance — agents, skills, commands, hooks, and rules for all projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -78,13 +78,18 @@ Group the findings as:
78
78
  git, and coreutils are present; `gh` is available but should be installed explicitly if scripts
79
79
  call it. Classify each `REQUIRED` (core path uses it) vs `OPTIONAL` (only a dormant stack/skill
80
80
  uses it). Typical finds: `gh`, `jq`, `docker` (ZAP), `aws`, `acli`, `ruby`/`rubocop`,
81
- `python3`, `playwright`/chromium, secret scanners.
81
+ `python3`, `playwright`/chromium, secret scanners. Treat AWS as more than a
82
+ binary install: if the repo invokes `aws`, imports AWS SDK packages, uses CDK/Serverless/SST,
83
+ references `AWS_*` env vars, or documents `aws sso login` / `sso_*` profile setup, add the AWS
84
+ credential findings in group 4b as well as the `aws` CLI tool finding.
82
85
 
83
86
  4. **Environment variables & secrets** — scan for `process.env.*`, `${VAR}`/`$VAR` in shell,
84
87
  `secrets.*`/`env:` in CI, and config-referenced tokens. Group by integration (GitHub, AWS,
85
88
  Atlassian/JIRA/Confluence, Notion, Linear, Anthropic, notifications, feature flags, other).
86
89
  Cross-reference `.lisa.config.json` `tracker`/`source` to mark which credentials are **active**
87
- for this repo vs **dormant** (`OPTIONAL`). Distinguish *where* each var must be set, because the
90
+ for this repo vs **dormant** (`OPTIONAL`). Separately classify host-project AWS usage in group 4b:
91
+ AWS can be required even when it is not the tracker or PRD source. Distinguish *where* each var
92
+ must be set, because the
88
93
  answer differs and getting it wrong sends the user to do redundant work:
89
94
 
90
95
  - **Committed `.claude/settings.json` `env` flags** (e.g. `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS`,
@@ -128,6 +133,34 @@ Group the findings as:
128
133
  guessed. If a value the table needs (server URL, project key, workspace id, email, team key) is
129
134
  missing from `.lisa.config.json`, flag it as a `GAP`/`Action:` to set it, rather than inventing one.
130
135
 
136
+ 4b. **AWS operations credentials** — scan the host project for AWS usage independent of Lisa's
137
+ tracker/source config:
138
+
139
+ - `aws` CLI invocations in `scripts/`, package scripts, committed skills/agents, or
140
+ `.github/workflows/`.
141
+ - AWS SDK imports/packages (`@aws-sdk/*`, `aws-sdk`, `boto3`, CDK, Serverless, SST, Amplify,
142
+ Terraform providers).
143
+ - `aws sso login`, `aws:signin:*`, `sso_start_url`, `sso_account_id`, `sso_role_name`, or
144
+ `sso_session` in docs or config.
145
+ - `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`, `AWS_SESSION_TOKEN`, `AWS_DEFAULT_REGION`,
146
+ `AWS_PROFILE`, role ARN, external ID, account, or CloudWatch/STS references.
147
+
148
+ If AWS is present, emit an AWS credential finding and inventory entry. If the repo's current
149
+ local path is `aws sso login` or an `aws:signin:*` script, classify that local path as a `GAP`
150
+ for headless remote routines: it is an interactive browser/device-authorization flow and cannot
151
+ complete in the cloud. Route to the AWS row in the Credential reference instead of suggesting
152
+ SSO auth. The finding must name the headless substrate: a dedicated IAM principal (user or role)
153
+ with only permission to `sts:AssumeRole`, environment credentials in the routine UI, and
154
+ `~/.aws/config` profiles using `role_arn`, `credential_source = Environment`, optional
155
+ `external_id`, and `region`.
156
+
157
+ When the repository contains concrete non-secret AWS metadata (role ARNs, account aliases,
158
+ profile names, regions, or ExternalId values), include it in an `awsProfiles` inventory array so
159
+ `/lisa:generate-claude-remote-build-script` can write matching `~/.aws/config` profiles. Never
160
+ invent account IDs, ExternalIds, role names, or regions. If AWS is detected but profile metadata
161
+ is absent, emit the required AWS secret names plus an action to add project-specific profile
162
+ metadata to the generated artifact or environment notes.
163
+
131
164
  5. **MCP servers** — read every committed `.mcp.json`. For each server report transport and auth.
132
165
  Project-scoped HTTP/SSE servers with no interactive auth are `OK`. Flag stdio servers as
133
166
  `RISK`/`GAP` (need a local process — only viable if the cloud session can spawn them from the
@@ -234,6 +267,31 @@ unsuffixed `…_TOKEN`/`…_KEY` is the simplest to set in a single-account rout
234
267
  - Acquire: `https://linear.app/<workspace>/settings/account/security` → Personal API keys → New API key.
235
268
  - Access: the personal API key inherits the user's workspace permissions — the user must be able to read/create/update Issues in the destination team.
236
269
 
270
+ ### AWS — host-project operations, logs, deploys, CDK/Serverless/SST, or AWS SDK usage
271
+ - Headless substrate: a dedicated IAM principal (user or role) with long-lived bootstrap credentials
272
+ stored in the routine environment, used only to call `sts:AssumeRole` into per-account operational
273
+ roles. The routine writes `~/.aws/config` profiles with `role_arn`, `credential_source =
274
+ Environment`, optional `external_id`, and `region`; agents use `aws --profile <profile> ...`.
275
+ - Env: `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`; optional `AWS_SESSION_TOKEN` for temporary
276
+ bootstrap credentials; `AWS_DEFAULT_REGION` when no profile region is provided. Role ARNs,
277
+ ExternalIds, profile names, and regions are non-secret project metadata and belong in generated
278
+ artifacts or project docs, not in the skill's global guidance.
279
+ - Allowlist: `*.amazonaws.com`, or narrower service hosts such as `sts.amazonaws.com`,
280
+ `logs.<region>.amazonaws.com`, `cloudwatch.<region>.amazonaws.com`,
281
+ `xray.<region>.amazonaws.com`, `ssm.<region>.amazonaws.com`, and service-specific endpoints the
282
+ repo uses.
283
+ - Access: the bootstrap principal should have only `sts:AssumeRole` on the scoped operational role
284
+ ARNs, preferably guarded by an `ExternalId` condition. The assumed roles carry the real
285
+ permissions needed by the repo (CloudWatch Logs, deploy, SSM, etc.) as short-lived STS
286
+ credentials.
287
+ - IAM Identity Center caveat: an IAM Identity Center permission set provisions an `AWSReservedSSO_*`
288
+ role whose trust allows the SSO service, not an arbitrary IAM principal. A headless IAM principal
289
+ cannot directly assume that reserved role. Use a separate assumable role that attaches the same
290
+ policy as the permission set, with the delegated Identity Center admin keeping that policy as the
291
+ source of truth.
292
+ - Alternative: IAM Roles Anywhere (X.509 to STS) when long-lived bootstrap access keys are
293
+ unacceptable.
294
+
237
295
  ## Output
238
296
 
239
297
  Render the report grouped exactly as above. Start with one `Summary:` line, then a `Counts:` line
@@ -296,6 +354,15 @@ so the generator can render acquisition comments into its template:
296
354
  { "name": "jam", "transport": "http", "auth": "oauth", "headlessUsable": true, "replacedBy": "jam CLI + JAM_PAT", "dormant": true },
297
355
  { "name": "sonarqube", "transport": "stdio", "auth": "local-wrapper", "headlessUsable": true, "replacedBy": "SONAR_TOKEN + SonarCloud Web API", "dormant": true }
298
356
  ],
357
+ "awsProfiles": [
358
+ {
359
+ "name": "dev",
360
+ "roleArn": "arn:aws:iam::<account-id>:role/<role-name>",
361
+ "credentialSource": "Environment",
362
+ "externalId": "<project-external-id>",
363
+ "region": "us-east-1"
364
+ }
365
+ ],
299
366
  "gaps": [ "auto-memory not synced to cloud", "bun package fetch behind proxy", "OS keychain absent — env-var token form only" ],
300
367
  "platform": {
301
368
  "githubProxy": {
@@ -346,6 +413,9 @@ so the generator can render acquisition comments into its template:
346
413
  to environment editors; never imply the generated script can hide them.
347
414
  - A browser-OAuth MCP (or interactively-authed CLI) backing an active integration is a `GAP`; the
348
415
  remediation is its token substrate from the table, not "authenticate the MCP".
416
+ - `aws sso login`, `sso_*` profile configuration, and project scripts that wrap AWS SSO are
417
+ interactive-auth paths. In a headless routine they are a `GAP`, not a setup step. Route AWS access
418
+ to env-var bootstrap credentials plus assume-role profiles.
349
419
  - For non-tracker MCPs, a documented CLI, PAT/API-key, or REST substrate converts the finding from
350
420
  a flat `GAP` into an `OPTIONAL` headless recovery path; unknown vendors remain gaps with a
351
421
  vendor-substrate follow-up, not invented credentials.
@@ -31,7 +31,7 @@ tracker/source, plus the host project's own package manager and tooling — not
31
31
 
32
32
  1. **Inventory.** Invoke `/lisa:analyze-claude-remote --json` and parse its machine-readable
33
33
  inventory block (`packageManager`, `tools`, `env`, `mcp`, `gaps`, `platform`,
34
- `networkAccess`, `allowlistDomains`). If the analysis cannot run, stop and report why — never
34
+ `networkAccess`, `allowlistDomains`, `awsProfiles`). If the analysis cannot run, stop and report why — never
35
35
  emit a script from guesses.
36
36
 
37
37
  2. **Compose the setup script** from the inventory. The script must be:
@@ -71,6 +71,9 @@ tracker/source, plus the host project's own package manager and tooling — not
71
71
  include `JAM_PAT`, `SONAR_TOKEN`, or similar documented substrate env vars
72
72
  only as optional secrets, with their acquire/scope comments when the analysis
73
73
  supplied them. Never invent values or promote dormant substrates to required.
74
+ When AWS entries are present, list `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`, optional
75
+ `AWS_SESSION_TOKEN`, and `AWS_DEFAULT_REGION` exactly as the analysis reported. State that these
76
+ bootstrap credentials are for STS assume-role only; do not emit or recommend `aws sso login`.
74
77
 
75
78
  3a. **Emit substrate setup snippets.** When the inventory marks an MCP
76
79
  `headlessUsable: true` through a documented substrate, render the matching
@@ -88,6 +91,19 @@ tracker/source, plus the host project's own package manager and tooling — not
88
91
  transport supports static-token auth. Do not print a Jam `.mcp.json` header snippet because
89
92
  Jam's preferred headless substrate is its PAT-authenticated CLI.
90
93
 
94
+ 3b. **Emit AWS assume-role profile setup.** When the inventory includes `awsProfiles`, write an
95
+ idempotent `~/.aws/config` block gated on `[ -n "${AWS_ACCESS_KEY_ID:-}" ]`. The generated block
96
+ must:
97
+ - `mkdir -p "$HOME/.aws"` and create or append profile stanzas without writing secrets.
98
+ - Emit one `[profile <name>]` stanza per inventory profile with `role_arn`,
99
+ `credential_source = Environment`, `region` when present, and `external_id` when present.
100
+ - Keep regions and ExternalIds as non-secret project metadata from the inventory; never invent
101
+ account IDs, role names, profile names, regions, or ExternalIds.
102
+ - Warn and skip profile writing when AWS profile metadata is absent, while still listing the
103
+ required `AWS_*` env var names in the secret template.
104
+ - Include a comment that agents should use `aws --profile <name> ...` and must not run
105
+ `aws sso login` in headless routines.
106
+
91
107
  4. **Emit the allowlist + gaps notice.** List any custom domains the setup or runtime reaches
92
108
  (from `networkAccess.allowlistDomains`, falling back to legacy `allowlistDomains`) that the user
93
109
  must add when the environment needs Custom network access. Do not include default Trusted domains
@@ -123,6 +139,9 @@ shape, not a fixed payload):
123
139
  # # Note: GH_TOKEN is for gh CLI only. Raw git uses Claude's connected-GitHub proxy/identity;
124
140
  # # sibling repos reached only by raw git do not need to be in this token scope.
125
141
  # - GH_TOKEN=<token> # REQUIRED, github is the active tracker+source
142
+ # - AWS_ACCESS_KEY_ID=<access-key-id> # REQUIRED when AWS inventory is active
143
+ # - AWS_SECRET_ACCESS_KEY=<secret-access-key> # REQUIRED when AWS inventory is active
144
+ # - AWS_SESSION_TOKEN=<session-token> # OPTIONAL for temporary bootstrap creds
126
145
  # NETWORK: set the environment to Custom and allowlist these non-default domains if not on Full:
127
146
  # - <networkAccess.allowlistDomains, if any>
128
147
  set -uo pipefail
@@ -165,6 +184,14 @@ need gh || (sudo apt-get update -y && sudo apt-get install -y gh)
165
184
  need jq || sudo apt-get install -y jq
166
185
  require gh; require jq
167
186
 
187
+ # --- AWS assume-role profiles, when inventory includes awsProfiles ---
188
+ if [ -n "${AWS_ACCESS_KEY_ID:-}" ]; then
189
+ mkdir -p "$HOME/.aws"
190
+ # Generated stanzas use credential_source=Environment and contain no secrets.
191
+ # Agents should run: aws --profile <profile> ...
192
+ # Do not run aws sso login in headless routines; SSO requires an interactive browser/device flow.
193
+ fi
194
+
168
195
  # --- optional, only with --include-optional ---
169
196
  # (docker / ruby / chromium / etc., guarded)
170
197
  ```
@@ -186,6 +213,8 @@ to stop are: the analysis could not run, or the `--out` path is not writable.
186
213
  raw git/cross-repo clone guidance must not expand the token scope to sibling repositories.
187
214
  - Never emit an install for a tool the analysis did not surface, and never install `OPTIONAL` tools
188
215
  unless `--include-optional` is set.
216
+ - When AWS is in the inventory, generate environment-backed assume-role profile stanzas from
217
+ `awsProfiles`; never emit `aws sso login` as a remote setup step.
189
218
  - Prefer `networkAccess.allowlistDomains` over legacy top-level `allowlistDomains`; never emit
190
219
  domains already covered by the routine environment's default Trusted list.
191
220
  - Keep the script idempotent and detect-before-install so it is safe to re-run and cache.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-cdk",
3
- "version": "2.178.4",
3
+ "version": "2.178.6",
4
4
  "description": "AWS CDK-specific plugin",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-cdk",
3
- "version": "2.178.4",
3
+ "version": "2.178.6",
4
4
  "description": "AWS CDK-specific Lisa plugin.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-cdk",
3
- "version": "2.178.4",
3
+ "version": "2.178.6",
4
4
  "description": "AWS CDK-specific plugin",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-cdk",
3
- "version": "2.178.4",
3
+ "version": "2.178.6",
4
4
  "description": "AWS CDK-specific plugin",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-cdk",
3
- "version": "2.178.4",
3
+ "version": "2.178.6",
4
4
  "description": "AWS CDK-specific plugin",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa",
3
- "version": "2.178.4",
3
+ "version": "2.178.6",
4
4
  "description": "Universal governance — agents, skills, commands, hooks, and rules for all projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -78,13 +78,18 @@ Group the findings as:
78
78
  git, and coreutils are present; `gh` is available but should be installed explicitly if scripts
79
79
  call it. Classify each `REQUIRED` (core path uses it) vs `OPTIONAL` (only a dormant stack/skill
80
80
  uses it). Typical finds: `gh`, `jq`, `docker` (ZAP), `aws`, `acli`, `ruby`/`rubocop`,
81
- `python3`, `playwright`/chromium, secret scanners.
81
+ `python3`, `playwright`/chromium, secret scanners. Treat AWS as more than a
82
+ binary install: if the repo invokes `aws`, imports AWS SDK packages, uses CDK/Serverless/SST,
83
+ references `AWS_*` env vars, or documents `aws sso login` / `sso_*` profile setup, add the AWS
84
+ credential findings in group 4b as well as the `aws` CLI tool finding.
82
85
 
83
86
  4. **Environment variables & secrets** — scan for `process.env.*`, `${VAR}`/`$VAR` in shell,
84
87
  `secrets.*`/`env:` in CI, and config-referenced tokens. Group by integration (GitHub, AWS,
85
88
  Atlassian/JIRA/Confluence, Notion, Linear, Anthropic, notifications, feature flags, other).
86
89
  Cross-reference `.lisa.config.json` `tracker`/`source` to mark which credentials are **active**
87
- for this repo vs **dormant** (`OPTIONAL`). Distinguish *where* each var must be set, because the
90
+ for this repo vs **dormant** (`OPTIONAL`). Separately classify host-project AWS usage in group 4b:
91
+ AWS can be required even when it is not the tracker or PRD source. Distinguish *where* each var
92
+ must be set, because the
88
93
  answer differs and getting it wrong sends the user to do redundant work:
89
94
 
90
95
  - **Committed `.claude/settings.json` `env` flags** (e.g. `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS`,
@@ -128,6 +133,34 @@ Group the findings as:
128
133
  guessed. If a value the table needs (server URL, project key, workspace id, email, team key) is
129
134
  missing from `.lisa.config.json`, flag it as a `GAP`/`Action:` to set it, rather than inventing one.
130
135
 
136
+ 4b. **AWS operations credentials** — scan the host project for AWS usage independent of Lisa's
137
+ tracker/source config:
138
+
139
+ - `aws` CLI invocations in `scripts/`, package scripts, committed skills/agents, or
140
+ `.github/workflows/`.
141
+ - AWS SDK imports/packages (`@aws-sdk/*`, `aws-sdk`, `boto3`, CDK, Serverless, SST, Amplify,
142
+ Terraform providers).
143
+ - `aws sso login`, `aws:signin:*`, `sso_start_url`, `sso_account_id`, `sso_role_name`, or
144
+ `sso_session` in docs or config.
145
+ - `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`, `AWS_SESSION_TOKEN`, `AWS_DEFAULT_REGION`,
146
+ `AWS_PROFILE`, role ARN, external ID, account, or CloudWatch/STS references.
147
+
148
+ If AWS is present, emit an AWS credential finding and inventory entry. If the repo's current
149
+ local path is `aws sso login` or an `aws:signin:*` script, classify that local path as a `GAP`
150
+ for headless remote routines: it is an interactive browser/device-authorization flow and cannot
151
+ complete in the cloud. Route to the AWS row in the Credential reference instead of suggesting
152
+ SSO auth. The finding must name the headless substrate: a dedicated IAM principal (user or role)
153
+ with only permission to `sts:AssumeRole`, environment credentials in the routine UI, and
154
+ `~/.aws/config` profiles using `role_arn`, `credential_source = Environment`, optional
155
+ `external_id`, and `region`.
156
+
157
+ When the repository contains concrete non-secret AWS metadata (role ARNs, account aliases,
158
+ profile names, regions, or ExternalId values), include it in an `awsProfiles` inventory array so
159
+ `/lisa:generate-claude-remote-build-script` can write matching `~/.aws/config` profiles. Never
160
+ invent account IDs, ExternalIds, role names, or regions. If AWS is detected but profile metadata
161
+ is absent, emit the required AWS secret names plus an action to add project-specific profile
162
+ metadata to the generated artifact or environment notes.
163
+
131
164
  5. **MCP servers** — read every committed `.mcp.json`. For each server report transport and auth.
132
165
  Project-scoped HTTP/SSE servers with no interactive auth are `OK`. Flag stdio servers as
133
166
  `RISK`/`GAP` (need a local process — only viable if the cloud session can spawn them from the
@@ -234,6 +267,31 @@ unsuffixed `…_TOKEN`/`…_KEY` is the simplest to set in a single-account rout
234
267
  - Acquire: `https://linear.app/<workspace>/settings/account/security` → Personal API keys → New API key.
235
268
  - Access: the personal API key inherits the user's workspace permissions — the user must be able to read/create/update Issues in the destination team.
236
269
 
270
+ ### AWS — host-project operations, logs, deploys, CDK/Serverless/SST, or AWS SDK usage
271
+ - Headless substrate: a dedicated IAM principal (user or role) with long-lived bootstrap credentials
272
+ stored in the routine environment, used only to call `sts:AssumeRole` into per-account operational
273
+ roles. The routine writes `~/.aws/config` profiles with `role_arn`, `credential_source =
274
+ Environment`, optional `external_id`, and `region`; agents use `aws --profile <profile> ...`.
275
+ - Env: `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`; optional `AWS_SESSION_TOKEN` for temporary
276
+ bootstrap credentials; `AWS_DEFAULT_REGION` when no profile region is provided. Role ARNs,
277
+ ExternalIds, profile names, and regions are non-secret project metadata and belong in generated
278
+ artifacts or project docs, not in the skill's global guidance.
279
+ - Allowlist: `*.amazonaws.com`, or narrower service hosts such as `sts.amazonaws.com`,
280
+ `logs.<region>.amazonaws.com`, `cloudwatch.<region>.amazonaws.com`,
281
+ `xray.<region>.amazonaws.com`, `ssm.<region>.amazonaws.com`, and service-specific endpoints the
282
+ repo uses.
283
+ - Access: the bootstrap principal should have only `sts:AssumeRole` on the scoped operational role
284
+ ARNs, preferably guarded by an `ExternalId` condition. The assumed roles carry the real
285
+ permissions needed by the repo (CloudWatch Logs, deploy, SSM, etc.) as short-lived STS
286
+ credentials.
287
+ - IAM Identity Center caveat: an IAM Identity Center permission set provisions an `AWSReservedSSO_*`
288
+ role whose trust allows the SSO service, not an arbitrary IAM principal. A headless IAM principal
289
+ cannot directly assume that reserved role. Use a separate assumable role that attaches the same
290
+ policy as the permission set, with the delegated Identity Center admin keeping that policy as the
291
+ source of truth.
292
+ - Alternative: IAM Roles Anywhere (X.509 to STS) when long-lived bootstrap access keys are
293
+ unacceptable.
294
+
237
295
  ## Output
238
296
 
239
297
  Render the report grouped exactly as above. Start with one `Summary:` line, then a `Counts:` line
@@ -296,6 +354,15 @@ so the generator can render acquisition comments into its template:
296
354
  { "name": "jam", "transport": "http", "auth": "oauth", "headlessUsable": true, "replacedBy": "jam CLI + JAM_PAT", "dormant": true },
297
355
  { "name": "sonarqube", "transport": "stdio", "auth": "local-wrapper", "headlessUsable": true, "replacedBy": "SONAR_TOKEN + SonarCloud Web API", "dormant": true }
298
356
  ],
357
+ "awsProfiles": [
358
+ {
359
+ "name": "dev",
360
+ "roleArn": "arn:aws:iam::<account-id>:role/<role-name>",
361
+ "credentialSource": "Environment",
362
+ "externalId": "<project-external-id>",
363
+ "region": "us-east-1"
364
+ }
365
+ ],
299
366
  "gaps": [ "auto-memory not synced to cloud", "bun package fetch behind proxy", "OS keychain absent — env-var token form only" ],
300
367
  "platform": {
301
368
  "githubProxy": {
@@ -346,6 +413,9 @@ so the generator can render acquisition comments into its template:
346
413
  to environment editors; never imply the generated script can hide them.
347
414
  - A browser-OAuth MCP (or interactively-authed CLI) backing an active integration is a `GAP`; the
348
415
  remediation is its token substrate from the table, not "authenticate the MCP".
416
+ - `aws sso login`, `sso_*` profile configuration, and project scripts that wrap AWS SSO are
417
+ interactive-auth paths. In a headless routine they are a `GAP`, not a setup step. Route AWS access
418
+ to env-var bootstrap credentials plus assume-role profiles.
349
419
  - For non-tracker MCPs, a documented CLI, PAT/API-key, or REST substrate converts the finding from
350
420
  a flat `GAP` into an `OPTIONAL` headless recovery path; unknown vendors remain gaps with a
351
421
  vendor-substrate follow-up, not invented credentials.