@codyswann/lisa 5.12.0 → 5.13.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.
Files changed (138) hide show
  1. package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
  2. package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
  3. package/dist/core/upstream-evidence-manifest.js +29 -8
  4. package/dist/core/upstream-evidence-manifest.js.map +1 -1
  5. package/package.json +4 -4
  6. package/plugins/lisa/.claude-plugin/plugin.json +1 -1
  7. package/plugins/lisa/.codex-plugin/plugin.json +1 -1
  8. package/plugins/lisa/.codex-plugin/skills/lisa-ticket-triage/SKILL.md +6 -6
  9. package/plugins/lisa/.codex-plugin/skills/lisa-tracker-add-journey/SKILL.md +1 -0
  10. package/plugins/lisa/.codex-plugin/skills/lisa-tracker-create/SKILL.md +1 -0
  11. package/plugins/lisa/.codex-plugin/skills/lisa-tracker-evidence/SKILL.md +1 -0
  12. package/plugins/lisa/.codex-plugin/skills/lisa-tracker-journey/SKILL.md +1 -0
  13. package/plugins/lisa/agents/spec-conformance-specialist.md +1 -1
  14. package/plugins/lisa/agents/verification-specialist.md +1 -1
  15. package/plugins/lisa/rules/reference/base-rules.md +10 -8
  16. package/plugins/lisa/skills/lisa-ticket-triage/SKILL.md +6 -6
  17. package/plugins/lisa/skills/lisa-tracker-add-journey/SKILL.md +1 -0
  18. package/plugins/lisa/skills/lisa-tracker-create/SKILL.md +1 -0
  19. package/plugins/lisa/skills/lisa-tracker-evidence/SKILL.md +1 -0
  20. package/plugins/lisa/skills/lisa-tracker-journey/SKILL.md +1 -0
  21. package/plugins/lisa-agy/agents/spec-conformance-specialist.md +1 -1
  22. package/plugins/lisa-agy/agents/verification-specialist.md +1 -1
  23. package/plugins/lisa-agy/plugin.json +1 -1
  24. package/plugins/lisa-agy/skills/lisa-ticket-triage/SKILL.md +6 -6
  25. package/plugins/lisa-agy/skills/lisa-tracker-add-journey/SKILL.md +1 -0
  26. package/plugins/lisa-agy/skills/lisa-tracker-create/SKILL.md +1 -0
  27. package/plugins/lisa-agy/skills/lisa-tracker-evidence/SKILL.md +1 -0
  28. package/plugins/lisa-agy/skills/lisa-tracker-journey/SKILL.md +1 -0
  29. package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
  30. package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
  31. package/plugins/lisa-cdk-agy/plugin.json +1 -1
  32. package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
  33. package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
  34. package/plugins/lisa-cdk-devin/.claude-plugin/plugin.json +1 -1
  35. package/plugins/lisa-cdk-devin/.devin-plugin/plugin.json +1 -1
  36. package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
  37. package/plugins/lisa-copilot/agents/spec-conformance-specialist.agent.md +1 -1
  38. package/plugins/lisa-copilot/agents/verification-specialist.agent.md +1 -1
  39. package/plugins/lisa-copilot/rules/reference/base-rules.md +10 -8
  40. package/plugins/lisa-copilot/skills/lisa-ticket-triage/SKILL.md +6 -6
  41. package/plugins/lisa-copilot/skills/lisa-tracker-add-journey/SKILL.md +1 -0
  42. package/plugins/lisa-copilot/skills/lisa-tracker-create/SKILL.md +1 -0
  43. package/plugins/lisa-copilot/skills/lisa-tracker-evidence/SKILL.md +1 -0
  44. package/plugins/lisa-copilot/skills/lisa-tracker-journey/SKILL.md +1 -0
  45. package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
  46. package/plugins/lisa-cursor/agents/spec-conformance-specialist.md +1 -1
  47. package/plugins/lisa-cursor/agents/verification-specialist.md +1 -1
  48. package/plugins/lisa-cursor/rules/base-rules-reference.mdc +10 -8
  49. package/plugins/lisa-cursor/skills/lisa-ticket-triage/SKILL.md +6 -6
  50. package/plugins/lisa-cursor/skills/lisa-tracker-add-journey/SKILL.md +1 -0
  51. package/plugins/lisa-cursor/skills/lisa-tracker-create/SKILL.md +1 -0
  52. package/plugins/lisa-cursor/skills/lisa-tracker-evidence/SKILL.md +1 -0
  53. package/plugins/lisa-cursor/skills/lisa-tracker-journey/SKILL.md +1 -0
  54. package/plugins/lisa-devin/.claude-plugin/plugin.json +1 -1
  55. package/plugins/lisa-devin/.devin-plugin/plugin.json +1 -1
  56. package/plugins/lisa-devin/agents/spec-conformance-specialist.md +1 -1
  57. package/plugins/lisa-devin/agents/verification-specialist.md +1 -1
  58. package/plugins/lisa-devin/rules/reference/base-rules.md +10 -8
  59. package/plugins/lisa-devin/skills/lisa-ticket-triage/SKILL.md +6 -6
  60. package/plugins/lisa-devin/skills/lisa-tracker-add-journey/SKILL.md +1 -0
  61. package/plugins/lisa-devin/skills/lisa-tracker-create/SKILL.md +1 -0
  62. package/plugins/lisa-devin/skills/lisa-tracker-evidence/SKILL.md +1 -0
  63. package/plugins/lisa-devin/skills/lisa-tracker-journey/SKILL.md +1 -0
  64. package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
  65. package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
  66. package/plugins/lisa-expo/.codex-plugin/skills/journey-guidance/SKILL.md +77 -0
  67. package/plugins/lisa-expo/.codex-plugin/skills/journey-guidance/agents/openai.yaml +4 -0
  68. package/plugins/lisa-expo/skills/journey-guidance/SKILL.md +75 -0
  69. package/plugins/lisa-expo/skills/journey-guidance/agents/openai.yaml +4 -0
  70. package/plugins/lisa-expo-agy/plugin.json +1 -1
  71. package/plugins/lisa-expo-agy/skills/journey-guidance/SKILL.md +75 -0
  72. package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
  73. package/plugins/lisa-expo-copilot/skills/journey-guidance/SKILL.md +75 -0
  74. package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
  75. package/plugins/lisa-expo-cursor/skills/journey-guidance/SKILL.md +75 -0
  76. package/plugins/lisa-expo-devin/.claude-plugin/plugin.json +1 -1
  77. package/plugins/lisa-expo-devin/.devin-plugin/plugin.json +1 -1
  78. package/plugins/lisa-expo-devin/skills/journey-guidance/SKILL.md +75 -0
  79. package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
  80. package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
  81. package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
  82. package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
  83. package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
  84. package/plugins/lisa-harper-fabric-devin/.claude-plugin/plugin.json +1 -1
  85. package/plugins/lisa-harper-fabric-devin/.devin-plugin/plugin.json +1 -1
  86. package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
  87. package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
  88. package/plugins/lisa-nestjs-agy/plugin.json +1 -1
  89. package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
  90. package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
  91. package/plugins/lisa-nestjs-devin/.claude-plugin/plugin.json +1 -1
  92. package/plugins/lisa-nestjs-devin/.devin-plugin/plugin.json +1 -1
  93. package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
  94. package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
  95. package/plugins/lisa-phaser-agy/plugin.json +1 -1
  96. package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
  97. package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
  98. package/plugins/lisa-phaser-devin/.claude-plugin/plugin.json +1 -1
  99. package/plugins/lisa-phaser-devin/.devin-plugin/plugin.json +1 -1
  100. package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
  101. package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
  102. package/plugins/lisa-rails/.codex-plugin/skills/journey-guidance/SKILL.md +39 -0
  103. package/plugins/lisa-rails/.codex-plugin/skills/journey-guidance/agents/openai.yaml +4 -0
  104. package/plugins/lisa-rails/skills/journey-guidance/SKILL.md +37 -0
  105. package/plugins/lisa-rails/skills/journey-guidance/agents/openai.yaml +4 -0
  106. package/plugins/lisa-rails-agy/plugin.json +1 -1
  107. package/plugins/lisa-rails-agy/skills/journey-guidance/SKILL.md +37 -0
  108. package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
  109. package/plugins/lisa-rails-copilot/skills/journey-guidance/SKILL.md +37 -0
  110. package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
  111. package/plugins/lisa-rails-cursor/skills/journey-guidance/SKILL.md +37 -0
  112. package/plugins/lisa-rails-devin/.claude-plugin/plugin.json +1 -1
  113. package/plugins/lisa-rails-devin/.devin-plugin/plugin.json +1 -1
  114. package/plugins/lisa-rails-devin/skills/journey-guidance/SKILL.md +37 -0
  115. package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
  116. package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
  117. package/plugins/lisa-typescript-agy/plugin.json +1 -1
  118. package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
  119. package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
  120. package/plugins/lisa-typescript-devin/.claude-plugin/plugin.json +1 -1
  121. package/plugins/lisa-typescript-devin/.devin-plugin/plugin.json +1 -1
  122. package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
  123. package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
  124. package/plugins/lisa-wiki-agy/plugin.json +1 -1
  125. package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
  126. package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
  127. package/plugins/lisa-wiki-devin/.claude-plugin/plugin.json +1 -1
  128. package/plugins/lisa-wiki-devin/.devin-plugin/plugin.json +1 -1
  129. package/plugins/src/base/agents/spec-conformance-specialist.md +1 -1
  130. package/plugins/src/base/agents/verification-specialist.md +1 -1
  131. package/plugins/src/base/rules/reference/base-rules.md +10 -8
  132. package/plugins/src/base/skills/lisa-ticket-triage/SKILL.md +6 -6
  133. package/plugins/src/base/skills/lisa-tracker-add-journey/SKILL.md +1 -0
  134. package/plugins/src/base/skills/lisa-tracker-create/SKILL.md +1 -0
  135. package/plugins/src/base/skills/lisa-tracker-evidence/SKILL.md +1 -0
  136. package/plugins/src/base/skills/lisa-tracker-journey/SKILL.md +1 -0
  137. package/plugins/src/expo/skills/journey-guidance/SKILL.md +75 -0
  138. 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 PostHog flag)
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.
@@ -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.