@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,75 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: journey-guidance
|
|
3
|
+
description: "Expo stack guidance for Validation Journeys on any tracker: when a ticket needs one, writing it with screenshot markers and viewports, running it in the browser, and naming screenshots. Read by the tracker journey, add-journey, create and evidence skills."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Expo Validation Journey Guidance
|
|
7
|
+
|
|
8
|
+
Stack-specific guidance for Validation Journeys in an Expo / React Native 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 Expo 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
|
+
## When a ticket needs a journey
|
|
13
|
+
|
|
14
|
+
Every ticket that changes, adds, or fixes UI includes a `Validation Journey` section:
|
|
15
|
+
|
|
16
|
+
- New UI components or screens
|
|
17
|
+
- Layout or styling changes (responsive, spacing, colors)
|
|
18
|
+
- Modal, drawer, or popover behavior
|
|
19
|
+
- Form validation or user input flows
|
|
20
|
+
- Bug fixes that can be checked by looking at the screen
|
|
21
|
+
|
|
22
|
+
Skip it only for pure backend/API changes with no UI surface, config-only changes (env vars, feature flags), and test-only or documentation-only changes.
|
|
23
|
+
|
|
24
|
+
When the work touches an existing screen, walk the live product first (`lisa-product-walkthrough`) and carry the findings under `## Current Product`. A UI ticket without a current-product walkthrough is missing context the implementer needs.
|
|
25
|
+
|
|
26
|
+
## Writing the journey
|
|
27
|
+
|
|
28
|
+
Write it from the end user's point of view, in the tracker's own markup (Markdown for GitHub and Linear, wiki markup for Jira):
|
|
29
|
+
|
|
30
|
+
```markdown
|
|
31
|
+
## Validation Journey
|
|
32
|
+
|
|
33
|
+
### Prerequisites
|
|
34
|
+
- App running locally or on dev
|
|
35
|
+
- Authenticated as test user
|
|
36
|
+
- Required feature flags enabled (name each flag; in PostHog when `observability.analytics.provider` is `posthog`, the default)
|
|
37
|
+
|
|
38
|
+
### Steps
|
|
39
|
+
1. Navigate to the relevant page
|
|
40
|
+
2. Perform the first action
|
|
41
|
+
3. Verify the expected state [SCREENSHOT: state-name]
|
|
42
|
+
4. Perform the next action
|
|
43
|
+
5. Verify the final state [SCREENSHOT: final-state]
|
|
44
|
+
|
|
45
|
+
### Viewports
|
|
46
|
+
| Name | Width | Height |
|
|
47
|
+
|------|-------|--------|
|
|
48
|
+
| Desktop | 1512 | 768 |
|
|
49
|
+
| Mobile | 375 | 812 |
|
|
50
|
+
|
|
51
|
+
### Assertions
|
|
52
|
+
- What must be true on screen at each viewport
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
Rules:
|
|
56
|
+
|
|
57
|
+
1. **Concrete steps** — "Click the 'Add action' button", not "Interact with the controls".
|
|
58
|
+
2. **3–7 screenshot markers** at the states that prove the change works. `[SCREENSHOT: name]` is shorthand for the typed `[EVIDENCE: screenshot: name]` marker in the `verification` rule. Names are kebab-case (`modal-open`, `button-disabled`, `form-error`).
|
|
59
|
+
3. **Viewports match the change** — always Desktop (1512×768); add Mobile (375×812) for responsive changes; add Tablet (768×1024) only when relevant.
|
|
60
|
+
4. **Assertions are testable** — "Buttons stacked vertically on mobile", not "Layout looks good".
|
|
61
|
+
5. **Include sign-in** in Prerequisites when the journey needs it.
|
|
62
|
+
|
|
63
|
+
To find the flow, read the code: the components involved (search by ticket id, feature name, or paths named in the ticket), the `testID`s Playwright can target, and the Container/View structure, navigation, and modals.
|
|
64
|
+
|
|
65
|
+
## Running the journey
|
|
66
|
+
|
|
67
|
+
Requires the Playwright MCP server and a running dev server.
|
|
68
|
+
|
|
69
|
+
1. Satisfy prerequisites: check the dev server responds (`browser_navigate` to the app URL), sign in with test credentials from `.env.localhost` or `.env.local`, and go to the starting point.
|
|
70
|
+
2. Run the **full journey once per viewport**. Between viewports, `browser_resize` to the next size, navigate back to the start, and repeat every step — some modals close on resize, and each screenshot must reflect that viewport's state.
|
|
71
|
+
3. At each screenshot marker, `browser_take_screenshot`. For a conditional step, capture the state the step text describes.
|
|
72
|
+
|
|
73
|
+
## Naming the evidence
|
|
74
|
+
|
|
75
|
+
Screenshots are `NN-<marker-name>-<viewport>.png`: a zero-padded sequence number, the marker name, and the lowercase viewport name. Three markers over two viewports give `01-…-desktop.png` through `06-…-mobile.png`. 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.
|
|
@@ -21,7 +21,7 @@ View and search logs across all platforms and environments.
|
|
|
21
21
|
|
|
22
22
|
1. Read backend `package.json` to discover `logs:*`, `logs:watch:*`, and `aws:signin:*` scripts
|
|
23
23
|
2. Extract function names from `logs:{env}` scripts (typically set via `FUNCTION_NAME` env var)
|
|
24
|
-
3.
|
|
24
|
+
3. When `observability.errorTracking.provider` is `sentry` (the default), read `.env.{environment}` to find the Sentry DSN for error correlation. With `other`, look for the tracker the project wires instead; with `none`, skip error correlation
|
|
25
25
|
|
|
26
26
|
## Local Process Logs
|
|
27
27
|
|
|
@@ -112,7 +112,7 @@ After any deployment:
|
|
|
112
112
|
|
|
113
113
|
1. **Health check** the deployed environment (use `ops-verify-health` skill)
|
|
114
114
|
2. **Check logs** for errors in the first 5 minutes (use `ops-check-logs` skill)
|
|
115
|
-
3. **Monitor
|
|
115
|
+
3. **Monitor the configured error tracker** for new issues (use `ops-monitor-errors` skill; when `observability.errorTracking.provider` is `none`, record "no error tracker configured" for this step instead)
|
|
116
116
|
4. **Run browser UAT smoke test** against the deployed environment (use `ops-browser-uat` skill)
|
|
117
117
|
|
|
118
118
|
Report deployment result as a table:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: ops-monitor-errors
|
|
3
|
-
description: Monitor Sentry for unresolved errors in frontend and backend projects. Supports filtering by project, environment, and time range.
|
|
3
|
+
description: Monitor the project's configured error tracker (Sentry by default) for unresolved errors in frontend and backend projects. Supports filtering by project, environment, and time range. Follows observability.errorTracking.provider — reports "no error tracker configured" when it is none.
|
|
4
4
|
allowed-tools:
|
|
5
5
|
- Bash
|
|
6
6
|
- Read
|
|
@@ -8,10 +8,22 @@ allowed-tools:
|
|
|
8
8
|
|
|
9
9
|
# Ops: Monitor Errors
|
|
10
10
|
|
|
11
|
-
Monitor
|
|
11
|
+
Monitor the project's error tracker for errors in the application.
|
|
12
12
|
|
|
13
13
|
**Argument**: `$ARGUMENTS` — project (`frontend`, `backend`, `all`; default: `all`) and optional time range (default: `1h`)
|
|
14
14
|
|
|
15
|
+
## Resolve the configured error tracker
|
|
16
|
+
|
|
17
|
+
Read `observability.errorTracking.provider` from the `<lisa-resolved-config>` block (the `config-resolution` rule documents the key). Absent means `sentry`, which is what this skill assumed before the key existed.
|
|
18
|
+
|
|
19
|
+
| Provider | What to do |
|
|
20
|
+
|----------|------------|
|
|
21
|
+
| `sentry` | Use the Sentry path below. |
|
|
22
|
+
| `none` | Do not query anything. Report `No error tracker is configured for this project (observability.errorTracking.provider: none), so error monitoring was skipped.` and stop. Never call the Sentry CLI, API, or MCP. |
|
|
23
|
+
| `other` | Do not use Sentry. Discover the tracker the project actually wires (read `package.json` dependencies, `.env.*` keys, and app bootstrap code), then query it through its own CLI or API with credentials from `lisa-secrets-access`. If nothing reachable is wired, report what is missing and stop. Produce the same output table and severity classification below. |
|
|
24
|
+
|
|
25
|
+
Everything from here to **Post-Deploy Workflow** is the `sentry` path.
|
|
26
|
+
|
|
15
27
|
## Discovery
|
|
16
28
|
|
|
17
29
|
Discover Sentry configuration from:
|
|
@@ -74,7 +86,7 @@ curl -sf "https://sentry.io/api/0/projects/{org}/{project}/issues/?query=is:unre
|
|
|
74
86
|
After any deployment:
|
|
75
87
|
|
|
76
88
|
1. Wait 5 minutes for errors to surface
|
|
77
|
-
2. Check for new unresolved issues in the deployed environment
|
|
89
|
+
2. Check for new unresolved issues in the deployed environment, using the configured provider (skip with the `none` message when no tracker is configured)
|
|
78
90
|
3. Assess severity: are these new regressions or pre-existing?
|
|
79
91
|
4. Report findings with severity assessment
|
|
80
92
|
|
|
@@ -59,7 +59,10 @@ Supported credential locations, in resolution order:
|
|
|
59
59
|
1. `GOOGLE_PLAY_SERVICE_ACCOUNT_JSON` containing the raw service-account JSON.
|
|
60
60
|
2. `GOOGLE_PLAY_SERVICE_ACCOUNT_KEY_BASE64` containing base64 JSON.
|
|
61
61
|
3. `.lisa.config.local.json` `playStore.serviceAccountKeyPath`.
|
|
62
|
-
4.
|
|
62
|
+
4. `GOOGLE_PLAY_SERVICE_ACCOUNT_JSON` resolved through `lisa-secrets-access`
|
|
63
|
+
from the project's configured secrets provider (`.lisa.config.json`
|
|
64
|
+
`secrets.provider`), by exact key name. Do not read the OS keychain or a
|
|
65
|
+
provider CLI directly.
|
|
63
66
|
|
|
64
67
|
Fail closed if no credential is available. Never prompt indefinitely and never
|
|
65
68
|
fall back to Play Console UI scraping.
|
|
@@ -78,9 +81,11 @@ For `operation: setup`:
|
|
|
78
81
|
4. In Play Console, open **Setup -> API access**, link the Google Cloud project if
|
|
79
82
|
needed, then grant the service-account email app access with read-level
|
|
80
83
|
release visibility. Do not grant release-management write permissions for v1.
|
|
81
|
-
5. Store the key
|
|
82
|
-
|
|
83
|
-
|
|
84
|
+
5. Store the key using one of the credential locations above. Prefer the
|
|
85
|
+
project's secrets provider under the exact name
|
|
86
|
+
`GOOGLE_PLAY_SERVICE_ACCOUNT_JSON`, so every surface resolves it the same
|
|
87
|
+
way. If using a path, add the path to `.gitignore` and record only the path
|
|
88
|
+
in `.lisa.config.local.json`.
|
|
84
89
|
6. Record non-secret defaults in `.lisa.config.json`:
|
|
85
90
|
|
|
86
91
|
```bash
|
|
@@ -133,10 +138,40 @@ read_service_account_json() {
|
|
|
133
138
|
cat "$KEY_PATH"
|
|
134
139
|
return
|
|
135
140
|
fi
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
141
|
+
# Last rung: the project's configured secrets provider, through the
|
|
142
|
+
# `lisa-secrets-access` chokepoint (environment, then the materialized file,
|
|
143
|
+
# then the provider by exact key name). It replaced a direct macOS keychain
|
|
144
|
+
# read, which only worked on one vendor-specific machine store and left a
|
|
145
|
+
# Doppler, AWS, 1Password or Bitwarden project with no path at all.
|
|
146
|
+
# This LADDER is identical in every skill that resolves a credential.
|
|
147
|
+
# Execute only machine-managed plugin/package resolvers. Checkout-local
|
|
148
|
+
# candidates are repository-controlled code, not trusted merely by path.
|
|
149
|
+
local candidates=()
|
|
150
|
+
if [ -n "${CLAUDE_PLUGIN_ROOT:-}" ]; then
|
|
151
|
+
candidates+=("$CLAUDE_PLUGIN_ROOT/skills/lisa-secrets-access/scripts/resolve-secret.mjs")
|
|
152
|
+
fi
|
|
153
|
+
if [ -n "${PLUGIN_ROOT:-}" ]; then
|
|
154
|
+
candidates+=("$PLUGIN_ROOT/skills/lisa-secrets-access/scripts/resolve-secret.mjs")
|
|
139
155
|
fi
|
|
156
|
+
# Needs no environment variable: the installed package is always reachable.
|
|
157
|
+
candidates+=(node_modules/@codyswann/lisa/plugins/lisa/skills/lisa-secrets-access/scripts/resolve-secret.mjs)
|
|
158
|
+
|
|
159
|
+
local resolver
|
|
160
|
+
local tried=()
|
|
161
|
+
for resolver in "${candidates[@]}"; do
|
|
162
|
+
tried+=("$resolver")
|
|
163
|
+
if [ -f "$resolver" ]; then
|
|
164
|
+
local via_lisa
|
|
165
|
+
via_lisa=$(node "$resolver" get GOOGLE_PLAY_SERVICE_ACCOUNT_JSON 2>/dev/null) \
|
|
166
|
+
&& [ -n "$via_lisa" ] && { printf '%s' "$via_lisa"; return; }
|
|
167
|
+
# Empty/error means this substrate had no answer; try the next one.
|
|
168
|
+
fi
|
|
169
|
+
done
|
|
170
|
+
# Paths only — never any resolved value.
|
|
171
|
+
echo "Could not resolve GOOGLE_PLAY_SERVICE_ACCOUNT_JSON through lisa-secrets-access." >&2
|
|
172
|
+
echo "Tried, in order (relative paths are from $PWD):" >&2
|
|
173
|
+
printf ' %s\n' "${tried[@]}" >&2
|
|
174
|
+
return 1
|
|
140
175
|
}
|
|
141
176
|
|
|
142
177
|
SERVICE_ACCOUNT_JSON="$(read_service_account_json)"
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: journey-guidance
|
|
3
|
+
description: "Rails stack guidance for…"
|
|
4
|
+
---
|
|
5
|
+
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.
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
# Rails Validation Journey Guidance
|
|
9
|
+
|
|
10
|
+
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`).
|
|
11
|
+
|
|
12
|
+
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.
|
|
13
|
+
|
|
14
|
+
## Writing the journey
|
|
15
|
+
|
|
16
|
+
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:
|
|
17
|
+
|
|
18
|
+
| Change touches | Verify with | Marker type |
|
|
19
|
+
|----------------|-------------|-------------|
|
|
20
|
+
| Views, partials, ViewComponents, Hotwire | Playwright MCP browser tools at each viewport | `screenshot` |
|
|
21
|
+
| Controllers / JSON API | `curl` (or a request spec) against the running app | `http-transcript` |
|
|
22
|
+
| Background jobs (Solid Queue) | `ops-verify-jobs` — worker health, queue depth, failed and retried jobs | `state-dump` or `cli-output` |
|
|
23
|
+
| Tracing, metrics, logs | `ops-verify-telemetry`, `ops-check-logs` | `log-snippet` |
|
|
24
|
+
| Model / library code with no runtime surface | the test suite | `test-run-log` |
|
|
25
|
+
|
|
26
|
+
Start the app with `ops-run-local` when a step needs it.
|
|
27
|
+
|
|
28
|
+
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.
|
|
29
|
+
|
|
30
|
+
## Running the journey
|
|
31
|
+
|
|
32
|
+
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.
|
|
33
|
+
|
|
34
|
+
## Naming the evidence
|
|
35
|
+
|
|
36
|
+
- Image evidence: `NN-name-viewport.png` (for example `01-search-step-desktop.png`).
|
|
37
|
+
- Text evidence: `NN-name.txt` or `NN-name.json` (for example `01-health-check.json`).
|
|
38
|
+
|
|
39
|
+
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.
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
display_name: "Journey Guidance"
|
|
2
|
+
short_description: "Rails stack guidance for Validation Journeys on any tracker: picking the check for UI, API and background-job changes, reusing partials and…"
|
|
3
|
+
default_prompt:
|
|
4
|
+
- "Use $journey-guidance: Rails stack guidance for Validation Journeys on any tracker: picking the check for UI, API and background-job changes, reusing partials and…."
|
|
@@ -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.
|