@codyswann/lisa 5.12.0 → 5.14.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/core/nightly-e2e-guard-behavior-certificate.js +2 -2
- package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
- package/dist/core/upstream-evidence-manifest.js +48 -22
- package/dist/core/upstream-evidence-manifest.js.map +1 -1
- package/dist/strategies/merge.d.ts +1 -1
- package/dist/strategies/merge.d.ts.map +1 -1
- package/dist/strategies/merge.js +18 -8
- package/dist/strategies/merge.js.map +1 -1
- package/package.json +4 -4
- 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-monitor/SKILL.md +1 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-posthog-access/SKILL.md +2 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/validate-config.mjs +65 -11
- package/plugins/lisa/.codex-plugin/skills/lisa-setup-remote-env/SKILL.md +2 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-setup-remote-env/scripts/setup-remote-env.mjs +248 -18
- package/plugins/lisa/.codex-plugin/skills/lisa-ticket-triage/SKILL.md +6 -6
- package/plugins/lisa/.codex-plugin/skills/lisa-tracker-add-journey/SKILL.md +1 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-tracker-create/SKILL.md +1 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-tracker-evidence/SKILL.md +1 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-tracker-journey/SKILL.md +1 -0
- package/plugins/lisa/agents/spec-conformance-specialist.md +1 -1
- package/plugins/lisa/agents/verification-specialist.md +1 -1
- package/plugins/lisa/hooks/inject-resolved-config.mjs +1 -0
- package/plugins/lisa/rules/reference/base-rules.md +10 -8
- package/plugins/lisa/rules/reference/config-resolution.md +28 -0
- package/plugins/lisa/skills/lisa-monitor/SKILL.md +1 -1
- package/plugins/lisa/skills/lisa-posthog-access/SKILL.md +2 -0
- package/plugins/lisa/skills/lisa-secrets-access/scripts/validate-config.mjs +65 -11
- package/plugins/lisa/skills/lisa-setup-remote-env/SKILL.md +2 -0
- package/plugins/lisa/skills/lisa-setup-remote-env/scripts/setup-remote-env.mjs +248 -18
- package/plugins/lisa/skills/lisa-ticket-triage/SKILL.md +6 -6
- package/plugins/lisa/skills/lisa-tracker-add-journey/SKILL.md +1 -0
- package/plugins/lisa/skills/lisa-tracker-create/SKILL.md +1 -0
- package/plugins/lisa/skills/lisa-tracker-evidence/SKILL.md +1 -0
- package/plugins/lisa/skills/lisa-tracker-journey/SKILL.md +1 -0
- package/plugins/lisa-agy/agents/spec-conformance-specialist.md +1 -1
- package/plugins/lisa-agy/agents/verification-specialist.md +1 -1
- package/plugins/lisa-agy/plugin.json +1 -1
- package/plugins/lisa-agy/skills/lisa-monitor/SKILL.md +1 -1
- package/plugins/lisa-agy/skills/lisa-posthog-access/SKILL.md +2 -0
- package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/validate-config.mjs +65 -11
- package/plugins/lisa-agy/skills/lisa-setup-remote-env/SKILL.md +2 -0
- package/plugins/lisa-agy/skills/lisa-setup-remote-env/scripts/setup-remote-env.mjs +248 -18
- package/plugins/lisa-agy/skills/lisa-ticket-triage/SKILL.md +6 -6
- package/plugins/lisa-agy/skills/lisa-tracker-add-journey/SKILL.md +1 -0
- package/plugins/lisa-agy/skills/lisa-tracker-create/SKILL.md +1 -0
- package/plugins/lisa-agy/skills/lisa-tracker-evidence/SKILL.md +1 -0
- package/plugins/lisa-agy/skills/lisa-tracker-journey/SKILL.md +1 -0
- 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-cdk-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/agents/spec-conformance-specialist.agent.md +1 -1
- package/plugins/lisa-copilot/agents/verification-specialist.agent.md +1 -1
- package/plugins/lisa-copilot/hooks/inject-resolved-config.mjs +1 -0
- package/plugins/lisa-copilot/rules/reference/base-rules.md +10 -8
- package/plugins/lisa-copilot/rules/reference/config-resolution.md +28 -0
- package/plugins/lisa-copilot/skills/lisa-monitor/SKILL.md +1 -1
- package/plugins/lisa-copilot/skills/lisa-posthog-access/SKILL.md +2 -0
- package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/validate-config.mjs +65 -11
- package/plugins/lisa-copilot/skills/lisa-setup-remote-env/SKILL.md +2 -0
- package/plugins/lisa-copilot/skills/lisa-setup-remote-env/scripts/setup-remote-env.mjs +248 -18
- package/plugins/lisa-copilot/skills/lisa-ticket-triage/SKILL.md +6 -6
- package/plugins/lisa-copilot/skills/lisa-tracker-add-journey/SKILL.md +1 -0
- package/plugins/lisa-copilot/skills/lisa-tracker-create/SKILL.md +1 -0
- package/plugins/lisa-copilot/skills/lisa-tracker-evidence/SKILL.md +1 -0
- package/plugins/lisa-copilot/skills/lisa-tracker-journey/SKILL.md +1 -0
- package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cursor/agents/spec-conformance-specialist.md +1 -1
- package/plugins/lisa-cursor/agents/verification-specialist.md +1 -1
- package/plugins/lisa-cursor/hooks/inject-resolved-config.mjs +1 -0
- package/plugins/lisa-cursor/rules/base-rules-reference.mdc +10 -8
- package/plugins/lisa-cursor/rules/config-resolution-reference.mdc +28 -0
- package/plugins/lisa-cursor/skills/lisa-monitor/SKILL.md +1 -1
- package/plugins/lisa-cursor/skills/lisa-posthog-access/SKILL.md +2 -0
- package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/validate-config.mjs +65 -11
- package/plugins/lisa-cursor/skills/lisa-setup-remote-env/SKILL.md +2 -0
- package/plugins/lisa-cursor/skills/lisa-setup-remote-env/scripts/setup-remote-env.mjs +248 -18
- package/plugins/lisa-cursor/skills/lisa-ticket-triage/SKILL.md +6 -6
- package/plugins/lisa-cursor/skills/lisa-tracker-add-journey/SKILL.md +1 -0
- package/plugins/lisa-cursor/skills/lisa-tracker-create/SKILL.md +1 -0
- package/plugins/lisa-cursor/skills/lisa-tracker-evidence/SKILL.md +1 -0
- package/plugins/lisa-cursor/skills/lisa-tracker-journey/SKILL.md +1 -0
- package/plugins/lisa-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-devin/agents/spec-conformance-specialist.md +1 -1
- package/plugins/lisa-devin/agents/verification-specialist.md +1 -1
- package/plugins/lisa-devin/hooks/inject-resolved-config.mjs +1 -0
- package/plugins/lisa-devin/rules/reference/base-rules.md +10 -8
- package/plugins/lisa-devin/rules/reference/config-resolution.md +28 -0
- package/plugins/lisa-devin/skills/lisa-monitor/SKILL.md +1 -1
- package/plugins/lisa-devin/skills/lisa-posthog-access/SKILL.md +2 -0
- package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/validate-config.mjs +65 -11
- package/plugins/lisa-devin/skills/lisa-setup-remote-env/SKILL.md +2 -0
- package/plugins/lisa-devin/skills/lisa-setup-remote-env/scripts/setup-remote-env.mjs +248 -18
- package/plugins/lisa-devin/skills/lisa-ticket-triage/SKILL.md +6 -6
- package/plugins/lisa-devin/skills/lisa-tracker-add-journey/SKILL.md +1 -0
- package/plugins/lisa-devin/skills/lisa-tracker-create/SKILL.md +1 -0
- package/plugins/lisa-devin/skills/lisa-tracker-evidence/SKILL.md +1 -0
- package/plugins/lisa-devin/skills/lisa-tracker-journey/SKILL.md +1 -0
- package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-expo/.codex-plugin/skills/jira-add-journey/SKILL.md +1 -1
- package/plugins/lisa-expo/.codex-plugin/skills/jira-create/SKILL.md +1 -1
- package/plugins/lisa-expo/.codex-plugin/skills/journey-guidance/SKILL.md +77 -0
- package/plugins/lisa-expo/.codex-plugin/skills/journey-guidance/agents/openai.yaml +4 -0
- package/plugins/lisa-expo/.codex-plugin/skills/ops-check-logs/SKILL.md +1 -1
- package/plugins/lisa-expo/.codex-plugin/skills/ops-deploy/SKILL.md +1 -1
- package/plugins/lisa-expo/.codex-plugin/skills/ops-monitor-errors/SKILL.md +16 -4
- package/plugins/lisa-expo/.codex-plugin/skills/ops-monitor-errors/agents/openai.yaml +2 -2
- package/plugins/lisa-expo/.codex-plugin/skills/play-store-access/SKILL.md +42 -7
- package/plugins/lisa-expo/agents/ops-specialist.md +3 -3
- package/plugins/lisa-expo/skills/jira-add-journey/SKILL.md +1 -1
- package/plugins/lisa-expo/skills/jira-create/SKILL.md +1 -1
- package/plugins/lisa-expo/skills/journey-guidance/SKILL.md +75 -0
- package/plugins/lisa-expo/skills/journey-guidance/agents/openai.yaml +4 -0
- package/plugins/lisa-expo/skills/ops-check-logs/SKILL.md +1 -1
- package/plugins/lisa-expo/skills/ops-deploy/SKILL.md +1 -1
- package/plugins/lisa-expo/skills/ops-monitor-errors/SKILL.md +15 -3
- package/plugins/lisa-expo/skills/ops-monitor-errors/agents/openai.yaml +2 -2
- package/plugins/lisa-expo/skills/play-store-access/SKILL.md +42 -7
- package/plugins/lisa-expo-agy/agents/ops-specialist.md +3 -3
- package/plugins/lisa-expo-agy/plugin.json +1 -1
- package/plugins/lisa-expo-agy/skills/jira-add-journey/SKILL.md +1 -1
- package/plugins/lisa-expo-agy/skills/jira-create/SKILL.md +1 -1
- package/plugins/lisa-expo-agy/skills/journey-guidance/SKILL.md +75 -0
- package/plugins/lisa-expo-agy/skills/ops-check-logs/SKILL.md +1 -1
- package/plugins/lisa-expo-agy/skills/ops-deploy/SKILL.md +1 -1
- package/plugins/lisa-expo-agy/skills/ops-monitor-errors/SKILL.md +15 -3
- package/plugins/lisa-expo-agy/skills/play-store-access/SKILL.md +42 -7
- package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-copilot/agents/ops-specialist.agent.md +3 -3
- package/plugins/lisa-expo-copilot/skills/jira-add-journey/SKILL.md +1 -1
- package/plugins/lisa-expo-copilot/skills/jira-create/SKILL.md +1 -1
- package/plugins/lisa-expo-copilot/skills/journey-guidance/SKILL.md +75 -0
- package/plugins/lisa-expo-copilot/skills/ops-check-logs/SKILL.md +1 -1
- package/plugins/lisa-expo-copilot/skills/ops-deploy/SKILL.md +1 -1
- package/plugins/lisa-expo-copilot/skills/ops-monitor-errors/SKILL.md +15 -3
- package/plugins/lisa-expo-copilot/skills/play-store-access/SKILL.md +42 -7
- package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-cursor/agents/ops-specialist.md +3 -3
- package/plugins/lisa-expo-cursor/skills/jira-add-journey/SKILL.md +1 -1
- package/plugins/lisa-expo-cursor/skills/jira-create/SKILL.md +1 -1
- package/plugins/lisa-expo-cursor/skills/journey-guidance/SKILL.md +75 -0
- package/plugins/lisa-expo-cursor/skills/ops-check-logs/SKILL.md +1 -1
- package/plugins/lisa-expo-cursor/skills/ops-deploy/SKILL.md +1 -1
- package/plugins/lisa-expo-cursor/skills/ops-monitor-errors/SKILL.md +15 -3
- package/plugins/lisa-expo-cursor/skills/play-store-access/SKILL.md +42 -7
- package/plugins/lisa-expo-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-devin/agents/ops-specialist.md +3 -3
- package/plugins/lisa-expo-devin/skills/jira-add-journey/SKILL.md +1 -1
- package/plugins/lisa-expo-devin/skills/jira-create/SKILL.md +1 -1
- package/plugins/lisa-expo-devin/skills/journey-guidance/SKILL.md +75 -0
- package/plugins/lisa-expo-devin/skills/ops-check-logs/SKILL.md +1 -1
- package/plugins/lisa-expo-devin/skills/ops-deploy/SKILL.md +1 -1
- package/plugins/lisa-expo-devin/skills/ops-monitor-errors/SKILL.md +15 -3
- package/plugins/lisa-expo-devin/skills/play-store-access/SKILL.md +42 -7
- 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-harper-fabric-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-devin/.devin-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-nestjs-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-devin/.devin-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-phaser-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-devin/.devin-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/.codex-plugin/skills/journey-guidance/SKILL.md +39 -0
- package/plugins/lisa-rails/.codex-plugin/skills/journey-guidance/agents/openai.yaml +4 -0
- package/plugins/lisa-rails/skills/journey-guidance/SKILL.md +37 -0
- package/plugins/lisa-rails/skills/journey-guidance/agents/openai.yaml +4 -0
- package/plugins/lisa-rails-agy/plugin.json +1 -1
- package/plugins/lisa-rails-agy/skills/journey-guidance/SKILL.md +37 -0
- package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-copilot/skills/journey-guidance/SKILL.md +37 -0
- package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-cursor/skills/journey-guidance/SKILL.md +37 -0
- package/plugins/lisa-rails-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-devin/skills/journey-guidance/SKILL.md +37 -0
- 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-typescript-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-devin/.devin-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/lisa-wiki-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/src/base/agents/spec-conformance-specialist.md +1 -1
- package/plugins/src/base/agents/verification-specialist.md +1 -1
- package/plugins/src/base/hooks/inject-resolved-config.mjs +1 -0
- package/plugins/src/base/rules/reference/base-rules.md +10 -8
- package/plugins/src/base/rules/reference/config-resolution.md +28 -0
- package/plugins/src/base/skills/lisa-monitor/SKILL.md +1 -1
- package/plugins/src/base/skills/lisa-posthog-access/SKILL.md +2 -0
- package/plugins/src/base/skills/lisa-secrets-access/scripts/validate-config.mjs +65 -11
- package/plugins/src/base/skills/lisa-setup-remote-env/SKILL.md +2 -0
- package/plugins/src/base/skills/lisa-setup-remote-env/scripts/setup-remote-env.mjs +248 -18
- package/plugins/src/base/skills/lisa-ticket-triage/SKILL.md +6 -6
- package/plugins/src/base/skills/lisa-tracker-add-journey/SKILL.md +1 -0
- package/plugins/src/base/skills/lisa-tracker-create/SKILL.md +1 -0
- package/plugins/src/base/skills/lisa-tracker-evidence/SKILL.md +1 -0
- package/plugins/src/base/skills/lisa-tracker-journey/SKILL.md +1 -0
- package/plugins/src/expo/agents/ops-specialist.md +3 -3
- package/plugins/src/expo/skills/jira-add-journey/SKILL.md +1 -1
- package/plugins/src/expo/skills/jira-create/SKILL.md +1 -1
- package/plugins/src/expo/skills/journey-guidance/SKILL.md +75 -0
- package/plugins/src/expo/skills/ops-check-logs/SKILL.md +1 -1
- package/plugins/src/expo/skills/ops-deploy/SKILL.md +1 -1
- package/plugins/src/expo/skills/ops-monitor-errors/SKILL.md +15 -3
- package/plugins/src/expo/skills/play-store-access/SKILL.md +42 -7
- package/plugins/src/rails/skills/journey-guidance/SKILL.md +37 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: journey-guidance
|
|
3
|
+
description: "Rails stack guidance for Validation Journeys on any tracker: picking the check for UI, API and background-job changes, reusing partials and ViewComponents, and naming evidence. Read by the tracker journey, add-journey, create and evidence skills."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Rails Validation Journey Guidance
|
|
7
|
+
|
|
8
|
+
Stack-specific guidance for Validation Journeys in a Rails project. It applies the same way whichever tracker the project uses (`tracker` in `.lisa.config.json`: `jira`, `github`, or `linear`).
|
|
9
|
+
|
|
10
|
+
This skill adds the Rails parts only. The vendor skills still read the ticket, append the journey, and post the evidence; the tracker dispatchers (`lisa-tracker-journey`, `lisa-tracker-add-journey`, `lisa-tracker-create`, `lisa-tracker-evidence`) consult this skill before they dispatch. The Jira-only overlays in this plugin (`jira-journey`, `jira-add-journey`, `jira-create`, `jira-evidence`) carry the same guidance plus Jira mechanics; this skill is what a GitHub or Linear project reaches.
|
|
11
|
+
|
|
12
|
+
## Writing the journey
|
|
13
|
+
|
|
14
|
+
Compose Prerequisites, Steps with typed evidence markers (`[EVIDENCE: <artifact-type>: <name>]` per the `verification` rule), and Assertions. Pick the marker type from what the change touches:
|
|
15
|
+
|
|
16
|
+
| Change touches | Verify with | Marker type |
|
|
17
|
+
|----------------|-------------|-------------|
|
|
18
|
+
| Views, partials, ViewComponents, Hotwire | Playwright MCP browser tools at each viewport | `screenshot` |
|
|
19
|
+
| Controllers / JSON API | `curl` (or a request spec) against the running app | `http-transcript` |
|
|
20
|
+
| Background jobs (Solid Queue) | `ops-verify-jobs` — worker health, queue depth, failed and retried jobs | `state-dump` or `cli-output` |
|
|
21
|
+
| Tracing, metrics, logs | `ops-verify-telemetry`, `ops-check-logs` | `log-snippet` |
|
|
22
|
+
| Model / library code with no runtime surface | the test suite | `test-run-log` |
|
|
23
|
+
|
|
24
|
+
Start the app with `ops-run-local` when a step needs it.
|
|
25
|
+
|
|
26
|
+
When drafting tickets for UI work, prefer reusing the closest existing partial or ViewComponent over pixel-matching a mock from scratch, and say which one in the ticket.
|
|
27
|
+
|
|
28
|
+
## Running the journey
|
|
29
|
+
|
|
30
|
+
Run each step in order and capture an artifact of the declared type at every marker. For UI steps, run the full journey once per viewport. For API and job steps, keep the raw request/response or command output — a prose summary satisfies no marker.
|
|
31
|
+
|
|
32
|
+
## Naming the evidence
|
|
33
|
+
|
|
34
|
+
- Image evidence: `NN-name-viewport.png` (for example `01-search-step-desktop.png`).
|
|
35
|
+
- Text evidence: `NN-name.txt` or `NN-name.json` (for example `01-health-check.json`).
|
|
36
|
+
|
|
37
|
+
What happens to them next depends on the tracker. On Jira, `lisa-jira-evidence` uploads them to the configured evidence release under a PR-scoped name, so same-named files on two pull requests never overwrite each other. The GitHub and Linear evidence skills upload text evidence only (`lisa-github-evidence` takes `NN-*.txt`/`.json`; `lisa-linear-evidence` takes text files from `evidence/files/`), so on those trackers attach image evidence to the pull request yourself, and record the text form of each check (for example the command output) under the same `NN-` name so the vendor skill carries it.
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: journey-guidance
|
|
3
|
+
description: "Rails stack guidance for Validation Journeys on any tracker: picking the check for UI, API and background-job changes, reusing partials and ViewComponents, and naming evidence. Read by the tracker journey, add-journey, create and evidence skills."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Rails Validation Journey Guidance
|
|
7
|
+
|
|
8
|
+
Stack-specific guidance for Validation Journeys in a Rails project. It applies the same way whichever tracker the project uses (`tracker` in `.lisa.config.json`: `jira`, `github`, or `linear`).
|
|
9
|
+
|
|
10
|
+
This skill adds the Rails parts only. The vendor skills still read the ticket, append the journey, and post the evidence; the tracker dispatchers (`lisa-tracker-journey`, `lisa-tracker-add-journey`, `lisa-tracker-create`, `lisa-tracker-evidence`) consult this skill before they dispatch. The Jira-only overlays in this plugin (`jira-journey`, `jira-add-journey`, `jira-create`, `jira-evidence`) carry the same guidance plus Jira mechanics; this skill is what a GitHub or Linear project reaches.
|
|
11
|
+
|
|
12
|
+
## Writing the journey
|
|
13
|
+
|
|
14
|
+
Compose Prerequisites, Steps with typed evidence markers (`[EVIDENCE: <artifact-type>: <name>]` per the `verification` rule), and Assertions. Pick the marker type from what the change touches:
|
|
15
|
+
|
|
16
|
+
| Change touches | Verify with | Marker type |
|
|
17
|
+
|----------------|-------------|-------------|
|
|
18
|
+
| Views, partials, ViewComponents, Hotwire | Playwright MCP browser tools at each viewport | `screenshot` |
|
|
19
|
+
| Controllers / JSON API | `curl` (or a request spec) against the running app | `http-transcript` |
|
|
20
|
+
| Background jobs (Solid Queue) | `ops-verify-jobs` — worker health, queue depth, failed and retried jobs | `state-dump` or `cli-output` |
|
|
21
|
+
| Tracing, metrics, logs | `ops-verify-telemetry`, `ops-check-logs` | `log-snippet` |
|
|
22
|
+
| Model / library code with no runtime surface | the test suite | `test-run-log` |
|
|
23
|
+
|
|
24
|
+
Start the app with `ops-run-local` when a step needs it.
|
|
25
|
+
|
|
26
|
+
When drafting tickets for UI work, prefer reusing the closest existing partial or ViewComponent over pixel-matching a mock from scratch, and say which one in the ticket.
|
|
27
|
+
|
|
28
|
+
## Running the journey
|
|
29
|
+
|
|
30
|
+
Run each step in order and capture an artifact of the declared type at every marker. For UI steps, run the full journey once per viewport. For API and job steps, keep the raw request/response or command output — a prose summary satisfies no marker.
|
|
31
|
+
|
|
32
|
+
## Naming the evidence
|
|
33
|
+
|
|
34
|
+
- Image evidence: `NN-name-viewport.png` (for example `01-search-step-desktop.png`).
|
|
35
|
+
- Text evidence: `NN-name.txt` or `NN-name.json` (for example `01-health-check.json`).
|
|
36
|
+
|
|
37
|
+
What happens to them next depends on the tracker. On Jira, `lisa-jira-evidence` uploads them to the configured evidence release under a PR-scoped name, so same-named files on two pull requests never overwrite each other. The GitHub and Linear evidence skills upload text evidence only (`lisa-github-evidence` takes `NN-*.txt`/`.json`; `lisa-linear-evidence` takes text files from `evidence/files/`), so on those trackers attach image evidence to the pull request yourself, and record the text form of each check (for example the command output) under the same `NN-` name so the vendor skill carries it.
|
|
@@ -3,7 +3,7 @@ name: spec-conformance-specialist
|
|
|
3
3
|
description: "Checks that shipped work matches its spec — acceptance criteria, Out of Scope, technical approach, journey, deliverables — with a coverage matrix, scope creep flagged separately, and a CONFORMS / PARTIAL / DIVERGES verdict."
|
|
4
4
|
skills:
|
|
5
5
|
- spec-conformance
|
|
6
|
-
-
|
|
6
|
+
- tracker-read
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
# Spec Conformance Specialist Agent
|
|
@@ -46,21 +46,23 @@ Testing Discipline:
|
|
|
46
46
|
- Never lower thresholds to pass a pre-push hook. Increase test coverage to make it pass.
|
|
47
47
|
- Never duplicate test helper functions without appropriate lint suppression when duplication is intentional for test isolation.
|
|
48
48
|
|
|
49
|
-
|
|
50
|
-
-
|
|
51
|
-
- If working on a
|
|
52
|
-
-
|
|
53
|
-
- When
|
|
54
|
-
-
|
|
49
|
+
Tracker Discipline:
|
|
50
|
+
These rules apply whichever tracker the project uses — the `tracker` in `.lisa.config.json` (`jira`, `github`, or `linear`). Route the vendor mechanics through the tracker dispatch skills — `lisa-tracker-read` to read, `lisa-tracker-write` to create or edit, `lisa-tracker-sync` to post progress — rather than calling one vendor's tools from generic work. The Jira-specific commands below are the Jira case only.
|
|
51
|
+
- If working on a ticket, make sure the branch you're working on references it and is attached to it (`lisa-tracker-sync` posts the branch and PR links).
|
|
52
|
+
- If working on a ticket, update it as you work through it. For example, if working on a Bug Triage, update the ticket with your questions/feedback/suggestions.
|
|
53
|
+
- When reading a ticket, always read ALL comments — not just the description. Comments contain critical context: stakeholder decisions, scope changes, blockers, triage findings from other repos, and implementation notes. `lisa-tracker-read` fetches the complete comment collection for every tracker (GitHub through the paginated comments endpoint, Linear by paging `list-comments` to exhaustion) and reports when it could not read them all.
|
|
54
|
+
- Jira case: use the Atlassian MCP, or first resolve the project root from `$CLAUDE_PROJECT_DIR` or `git rev-parse --show-toplevel`. When `$PROJECT_ROOT/.lisa/jira-cli/.config.yml` exists, run both `jira --config "$PROJECT_ROOT/.lisa/jira-cli/.config.yml" issue view <TICKET_ID>` and `jira --config "$PROJECT_ROOT/.lisa/jira-cli/.config.yml" issue comment list <TICKET_ID>`; the dedicated comment-list command returns the complete comment collection instead of a fixed recent-comment window. If that project config is absent, omit `--config` from both commands to use the machine's own `~/.config/.jira/.config.yml`.
|
|
55
|
+
- When requesting clarification on a ticket, post the question as a comment and @mention the reporter (the GitHub issue author, the Linear creator, the Jira Reporter) so they receive a notification. Jira case: write the comment in ADF (Atlassian Document Format) so the mention resolves.
|
|
56
|
+
- When creating tickets, establish relationship links (e.g. "is blocked by", "blocks", "relates to", "is duplicated by") between tickets that have dependencies or logical connections, using the tracker's native relations — Jira issue links, GitHub sub-issues and issue references, Linear relations. Do not leave related tickets unlinked. Relationship discovery is mandatory on every create and update — search BOTH the local git history (`git log --all --grep=<keyword>`, `git log -- <path>`) AND the tracker (Jira: JQL by component, keyword, label, epic siblings; GitHub: `gh issue list --search`; Linear: issue search by keyword, label, project) before declaring "no related work." Record the searches you ran and their outcomes in the description (or a comment) so a reviewer can see the search was real.
|
|
55
57
|
- Ticket scope by type: Bug, Task, and Sub-task tickets MUST be single-repo (one work unit, one repo). Epic, Spike, and Story tickets MAY span multiple repos. If a Bug/Task/Sub-task crosses repos, split it per the `repo-scope-split` rule — at PRD-decomposition time via `task-decomposition` step 1.5 (parent Story + per-repo children); at work-time (an existing ticket an agent is about to implement) via the work-time split procedure (narrow the original to one repo, spin off a sibling per additional repo cloning its metadata, link the producer→consumer dependency, then proceed). A cross-repo work unit is a decomposition error the agent fixes by splitting, not a reason to bounce the ticket to the reporter.
|
|
56
58
|
- Ticket descriptions MUST contain everything an implementer needs to start work without asking the reporter. In particular:
|
|
57
59
|
- **Target backend environment** (`dev` / `staging` / `prod`) when the ticket has runtime behavior. QA/product report against a deployed env; the implementer verifies locally first against that backend before CI/CD. Skip only for doc-only, config-only, type-only, test-only, or Epic tickets (the closed no-runtime reason set shared with `NO_RUNTIME_REASONS` in `scripts/lib/completion-proof-shape.mjs`).
|
|
58
60
|
- **Sign-in account / credentials** when the work requires being signed in. Name the account (or the source — 1Password item, env var, seeded fixture) and the role. Omit entirely when sign-in is not required.
|
|
59
61
|
- **Gherkin acceptance criteria** (Given/When/Then) so the implementer can verify behavior without guessing.
|
|
60
|
-
- **Relationship discovery evidence** — either an issue link to a related ticket, or a documented search showing none was found (see Relationship Discovery in
|
|
62
|
+
- **Relationship discovery evidence** — either an issue link to a related ticket, or a documented search showing none was found (see Relationship Discovery in the vendor write skill `lisa-tracker-write` dispatches to).
|
|
61
63
|
- Ticket metadata MUST include an **epic parent** for non-bug, non-epic tickets so every Story/Task/Sub-task is traceable to a strategic goal.
|
|
62
64
|
- Pre-flight gate before starting work on any ticket: if the description is missing target backend environment (when applicable), sign-in credentials (when applicable), Gherkin acceptance criteria, epic parent (non-bug/non-epic), or relationship discovery evidence, first **draft** the authorable missing sections into the ticket as clearly-labeled assumptions (the `pre-flight-autofill` draft-then-block procedure — the agent writes spec, never code, here), then transition the ticket to Blocked, reassign to the **Reporter**, and post a **confirmation** comment asking them to confirm the drafted assumptions (not a bare "go write all this" checklist). Do not start work. This is the one place where auto-transitioning status is allowed.
|
|
63
|
-
- When checking for associated pull requests on a
|
|
65
|
+
- When checking for associated pull requests on a ticket, check the tracker's own record of linked development work — not just comments or description text. `lisa-tracker-read` returns the linked PRs for every tracker (GitHub: PRs referenced from the issue and its `Resolves`/`Closes`/`Fixes` links; Linear: PR attachments on the issue). Jira case: check the **Development panel**, which shows PRs, commits, branches, and builds linked via the GitHub-Jira integration. Query it via the dev-status API:
|
|
64
66
|
```bash
|
|
65
67
|
ISSUE_ID=$(curl -s -u "${JIRA_LOGIN}:${JIRA_API_TOKEN}" \
|
|
66
68
|
"${JIRA_SERVER}/rest/api/2/issue/${TICKET_ID}?fields=id" | jq -r '.id')
|
|
@@ -265,6 +265,11 @@ fi
|
|
|
265
265
|
"p95LatencyMs": 1000,
|
|
266
266
|
"faultRatePct": 5
|
|
267
267
|
}
|
|
268
|
+
},
|
|
269
|
+
|
|
270
|
+
"observability": {
|
|
271
|
+
"errorTracking": { "provider": "sentry" },
|
|
272
|
+
"analytics": { "provider": "posthog" }
|
|
268
273
|
}
|
|
269
274
|
}
|
|
270
275
|
```
|
|
@@ -647,6 +652,29 @@ Resolution order matches every other key: `$ARGUMENTS` override → `.lisa.confi
|
|
|
647
652
|
rubric + `repo:<name>` single-repo leaves); it never fixes — the `intake` cron implements what it
|
|
648
653
|
files.
|
|
649
654
|
|
|
655
|
+
### Observability providers (`observability`)
|
|
656
|
+
|
|
657
|
+
Names the project's error tracker and product-analytics provider, so stack guidance follows the
|
|
658
|
+
project instead of assuming one. Both keys are **optional** and default to what Lisa assumed
|
|
659
|
+
before they existed, so existing projects need no config change. `lisa-secrets-access`'s
|
|
660
|
+
`validate-config.mjs` rejects any other value (local file merged over committed, as at runtime).
|
|
661
|
+
|
|
662
|
+
| Key | Required | Default | Notes |
|
|
663
|
+
|-----|----------|---------|-------|
|
|
664
|
+
| `observability.errorTracking.provider` | no | `sentry` | `sentry` \| `none` \| `other`. `sentry`: the Sentry path (`lisa-sentry-access`, the Expo `ops-monitor-errors` Sentry commands). `none`: no error tracker — error-monitoring steps report "no error tracker configured" and skip; nothing calls Sentry. `other`: a tracker Lisa has no dedicated path for — guidance discovers what the project wires and queries that, never Sentry. |
|
|
665
|
+
| `observability.analytics.provider` | no | `posthog` | `posthog` \| `none` \| `other`. `posthog`: product-analytics work goes through `lisa-posthog-access`. `none` / `other`: do not reach for PostHog; `other` discovers what the project wires. |
|
|
666
|
+
|
|
667
|
+
**Known gap — tool enablement is not conditional.** These keys steer guidance, not installation.
|
|
668
|
+
The base plugin still declares the Sentry MCP server (`plugins/src/base/.mcp.json`), and the Expo
|
|
669
|
+
settings template still enables the `posthog@claude-plugins-official` plugin. Plugin MCP servers
|
|
670
|
+
are static per plugin and the settings template is a static merge, and Lisa has no per-project
|
|
671
|
+
conditional for either; building one would be new apply machinery for little gain. Both are inert
|
|
672
|
+
when the configured provider is not theirs: guidance never calls them. To turn the Claude plugin
|
|
673
|
+
off, set `sentry@claude-plugins-official` or `posthog@claude-plugins-official` to `false` under
|
|
674
|
+
`enabledPlugins` in the project's `.claude/settings.json`; the merge keeps an explicit boolean
|
|
675
|
+
for these two plugins instead of re-applying the template default.
|
|
676
|
+
Tracked by CodySwannGT/lisa#4912.
|
|
677
|
+
|
|
650
678
|
### Intake assignee filter (`intake.assignee`)
|
|
651
679
|
|
|
652
680
|
The optional intake assignee filter narrows **ready-item selection only**. It never assigns or
|
|
@@ -96,7 +96,7 @@ Execute the **Monitor** sub-flow as defined in the `intent-routing` reference ru
|
|
|
96
96
|
|
|
97
97
|
- `ops-verify-health` — health endpoints
|
|
98
98
|
- `ops-check-logs` — CloudWatch / browser console / device / Serverless logs
|
|
99
|
-
- `ops-monitor-errors` — Sentry
|
|
99
|
+
- `ops-monitor-errors` — issues in the configured error tracker (`observability.errorTracking.provider`, default Sentry), error-rate spikes, regressions
|
|
100
100
|
- `ops-performance` — slow queries, p99 latency, hotspots
|
|
101
101
|
- `ops-browser-uat` — Playwright smoke flows against the deployed env
|
|
102
102
|
- `ops-db-ops` — pending migrations, replication lag
|
|
@@ -6,6 +6,8 @@ allowed-tools: ["Bash", "Read", "Skill"]
|
|
|
6
6
|
|
|
7
7
|
# PostHog Access: $ARGUMENTS
|
|
8
8
|
|
|
9
|
+
First read `observability.analytics.provider` from the `<lisa-resolved-config>` block (absent means `posthog`). When it is `none` or `other`, the project does not use PostHog: stop and say so instead of resolving a PostHog key.
|
|
10
|
+
|
|
9
11
|
Single chokepoint for PostHog operations. Caller skills and rules MUST NOT call
|
|
10
12
|
`mcp__posthog__*` tools or PostHog REST directly.
|
|
11
13
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
/**
|
|
3
|
-
* Validate the `secrets`, `remoteEnv`, `automations`,
|
|
4
|
-
* blocks.
|
|
3
|
+
* Validate the `secrets`, `remoteEnv`, `automations`, `sessionManager`, and
|
|
4
|
+
* `observability` blocks.
|
|
5
5
|
*
|
|
6
6
|
* These blocks are read by shell, by Node, and by generated workflows, so a
|
|
7
7
|
* malformed one surfaces late and somewhere unhelpful — a container that fails
|
|
@@ -29,6 +29,15 @@ const IMPLEMENTED_PROVIDERS = new Set(["bitwarden", "doppler", "env"]);
|
|
|
29
29
|
/** Providers named in the dispatch table but not yet implemented. */
|
|
30
30
|
const DECLARED_PROVIDERS = new Set(["1password", "aws", "vault"]);
|
|
31
31
|
|
|
32
|
+
/**
|
|
33
|
+
* Every provider name the secrets contract recognises, implemented or declared.
|
|
34
|
+
* Exported so a caller that prints the name into shell can refuse anything else.
|
|
35
|
+
*/
|
|
36
|
+
export const KNOWN_SECRETS_PROVIDERS = Object.freeze([
|
|
37
|
+
...IMPLEMENTED_PROVIDERS,
|
|
38
|
+
...DECLARED_PROVIDERS,
|
|
39
|
+
]);
|
|
40
|
+
|
|
32
41
|
/**
|
|
33
42
|
* Surfaces the resolver knows.
|
|
34
43
|
*
|
|
@@ -1113,6 +1122,44 @@ function validateBacklogPickup(value, operatorIds) {
|
|
|
1113
1122
|
: [];
|
|
1114
1123
|
}
|
|
1115
1124
|
|
|
1125
|
+
/**
|
|
1126
|
+
* Providers each `observability` role may name. The first entry is the
|
|
1127
|
+
* built-in default an absent key resolves to, which is what Lisa assumed
|
|
1128
|
+
* before the key existed, so an existing project changes nothing. `other`
|
|
1129
|
+
* means "a provider Lisa has no dedicated path for": guidance discovers what
|
|
1130
|
+
* the project wires instead of reaching for Sentry or PostHog.
|
|
1131
|
+
*/
|
|
1132
|
+
export const OBSERVABILITY_PROVIDERS = {
|
|
1133
|
+
errorTracking: ["sentry", "none", "other"],
|
|
1134
|
+
analytics: ["posthog", "none", "other"],
|
|
1135
|
+
};
|
|
1136
|
+
|
|
1137
|
+
/**
|
|
1138
|
+
* Validate the `observability` block.
|
|
1139
|
+
*
|
|
1140
|
+
* A closed vocabulary because a typo must not silently resolve to the default
|
|
1141
|
+
* and send an agent to a tool the project does not have.
|
|
1142
|
+
* @param {unknown} block The `observability` block, possibly absent.
|
|
1143
|
+
* @returns {string[]} Problems found.
|
|
1144
|
+
*/
|
|
1145
|
+
export function validateObservability(block) {
|
|
1146
|
+
if (block === undefined) return [];
|
|
1147
|
+
if (!isPlainObject(block)) return ["observability must be an object"];
|
|
1148
|
+
return Object.entries(OBSERVABILITY_PROVIDERS).flatMap(([role, allowed]) => {
|
|
1149
|
+
const entry = block[role];
|
|
1150
|
+
if (entry === undefined) return [];
|
|
1151
|
+
if (!isPlainObject(entry)) {
|
|
1152
|
+
return [`observability.${role} must be an object`];
|
|
1153
|
+
}
|
|
1154
|
+
const provider = entry.provider;
|
|
1155
|
+
if (provider === undefined || allowed.includes(provider)) return [];
|
|
1156
|
+
return [
|
|
1157
|
+
`observability.${role}.provider is ${JSON.stringify(provider)}; ` +
|
|
1158
|
+
`expected one of ${allowed.map(v => `"${v}"`).join(" | ")}`,
|
|
1159
|
+
];
|
|
1160
|
+
});
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1116
1163
|
/**
|
|
1117
1164
|
* Validate every block this plan introduced.
|
|
1118
1165
|
* @param {object} cfg Parsed `.lisa.config.json`.
|
|
@@ -1124,6 +1171,7 @@ export function validateConfig(cfg) {
|
|
|
1124
1171
|
...validateRemoteEnv(cfg.remoteEnv),
|
|
1125
1172
|
...validateAutomations(cfg.automations, cfg.remoteEnv),
|
|
1126
1173
|
...validateSessionManager(cfg.sessionManager),
|
|
1174
|
+
...validateObservability(cfg.observability),
|
|
1127
1175
|
];
|
|
1128
1176
|
}
|
|
1129
1177
|
|
|
@@ -1173,13 +1221,17 @@ function readJsonIfPresent(file) {
|
|
|
1173
1221
|
return existsSync(file) ? JSON.parse(readFileSync(file, "utf8")) : undefined;
|
|
1174
1222
|
}
|
|
1175
1223
|
|
|
1224
|
+
/** Blocks the runtime reads local over committed, so validation must too. */
|
|
1225
|
+
const LOCAL_MERGED_BLOCKS = ["sessionManager", "observability"];
|
|
1226
|
+
|
|
1176
1227
|
/**
|
|
1177
1228
|
* Read the config this CLI validates from a project root.
|
|
1178
1229
|
*
|
|
1179
|
-
* `sessionManager`
|
|
1180
|
-
* that is how the runtime resolves
|
|
1181
|
-
* not at runtime. Every other block is read from
|
|
1182
|
-
* exactly as before, so their validation is
|
|
1230
|
+
* `sessionManager` and `observability` are merged local over committed (deep,
|
|
1231
|
+
* per key), because that is how the runtime resolves them and a bad local
|
|
1232
|
+
* override must fail here, not at runtime. Every other block is read from
|
|
1233
|
+
* `.lisa.config.json` alone, exactly as before, so their validation is
|
|
1234
|
+
* unchanged.
|
|
1183
1235
|
* @param {string} root Project root.
|
|
1184
1236
|
* @returns {Record<string, unknown> | null} Config to validate, or null when
|
|
1185
1237
|
* neither file exists.
|
|
@@ -1189,11 +1241,13 @@ export function readValidationConfig(root) {
|
|
|
1189
1241
|
const local = readJsonIfPresent(join(root, ".lisa.config.local.json"));
|
|
1190
1242
|
if (committed === undefined && local === undefined) return null;
|
|
1191
1243
|
const base = isPlainObject(committed) ? committed : {};
|
|
1192
|
-
const
|
|
1193
|
-
|
|
1244
|
+
const merged = Object.fromEntries(
|
|
1245
|
+
LOCAL_MERGED_BLOCKS.flatMap(name => {
|
|
1246
|
+
const blocks = [base[name], local?.[name]].filter(isPlainObject);
|
|
1247
|
+
return blocks.length === 0 ? [] : [[name, mergeConfigLayers(...blocks)]];
|
|
1248
|
+
})
|
|
1194
1249
|
);
|
|
1195
|
-
|
|
1196
|
-
return { ...base, sessionManager: mergeConfigLayers(...blocks) };
|
|
1250
|
+
return { ...base, ...merged };
|
|
1197
1251
|
}
|
|
1198
1252
|
|
|
1199
1253
|
function main() {
|
|
@@ -1209,7 +1263,7 @@ function main() {
|
|
|
1209
1263
|
}
|
|
1210
1264
|
if (!problems.length) {
|
|
1211
1265
|
console.log(
|
|
1212
|
-
"config: secrets, remoteEnv, automations and
|
|
1266
|
+
"config: secrets, remoteEnv, automations, sessionManager and observability blocks are well-formed"
|
|
1213
1267
|
);
|
|
1214
1268
|
return;
|
|
1215
1269
|
}
|
|
@@ -92,6 +92,8 @@ A project with no lockfile is not fatal on its own — a checkout may carry the
|
|
|
92
92
|
|
|
93
93
|
Order matters. The toolchain comes first because the secrets step needs the provider CLI it installs. The hook comes last because it is the only part that may assume everything else is ready.
|
|
94
94
|
|
|
95
|
+
**Which provider CLI the toolchain verifies.** Setup picks the same provider the `lisa-secrets-access` runtime will use, so it never installs a CLI the runtime ignores. An explicit `--provider=<name>` wins (operator intent); otherwise the runtime's own resolution applies: `secrets.provider` from the committed `.lisa.config.json` when a config exists (`.lisa.config.local.json` and `LISA_PROVIDER` are ignored then, as the runtime ignores them), `env` — no CLI — for a config that names none, and `LISA_PROVIDER` / `LISA_SECRETS_PROVIDER` only for a repo-less tenant with no config. Every source is checked against the known provider list (`bitwarden`, `doppler`, `env`, `1password`, `aws`, `vault`) and anything else is refused, because the name is printed into shell you paste. The repo-less setup field translates `env` to the workstation catalogue's `none`. After the `remoteEnv.tools` manifest is applied, that provider's CLI is probed and, with consent, installed through the workstation catalogue; a remote container that still lacks it fails the toolchain phase with the provider named. The emitted guidance (`--emit=…`) uses the same resolution, so it exports the configured provider rather than assuming one.
|
|
96
|
+
|
|
95
97
|
#### Which phases run depends on the surface
|
|
96
98
|
|
|
97
99
|
Not every surface runs all three here, and the reason is worth understanding before changing it.
|