@codyswann/lisa 5.14.0 → 5.14.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core/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 +7 -140
- package/dist/core/upstream-evidence-manifest.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-jira-evidence/SKILL.md +10 -4
- package/plugins/lisa/.codex-plugin/skills/lisa-jira-journey/SKILL.md +2 -2
- package/plugins/lisa/.codex-plugin/skills/lisa-jira-journey/scripts/generate-templates.py +70 -9
- package/plugins/lisa/rules/eager/coding-philosophy.md +1 -0
- package/plugins/lisa/rules/reference/coding-philosophy.md +20 -0
- package/plugins/lisa/skills/lisa-jira-evidence/SKILL.md +10 -4
- package/plugins/lisa/skills/lisa-jira-journey/SKILL.md +2 -2
- package/plugins/lisa/skills/lisa-jira-journey/scripts/generate-templates.py +70 -9
- package/plugins/lisa-agy/plugin.json +1 -1
- package/plugins/lisa-agy/skills/lisa-jira-evidence/SKILL.md +10 -4
- package/plugins/lisa-agy/skills/lisa-jira-journey/SKILL.md +2 -2
- package/plugins/lisa-agy/skills/lisa-jira-journey/scripts/generate-templates.py +70 -9
- 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/rules/eager/coding-philosophy.md +1 -0
- package/plugins/lisa-copilot/rules/reference/coding-philosophy.md +20 -0
- package/plugins/lisa-copilot/skills/lisa-jira-evidence/SKILL.md +10 -4
- package/plugins/lisa-copilot/skills/lisa-jira-journey/SKILL.md +2 -2
- package/plugins/lisa-copilot/skills/lisa-jira-journey/scripts/generate-templates.py +70 -9
- package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cursor/rules/coding-philosophy-reference.mdc +20 -0
- package/plugins/lisa-cursor/rules/coding-philosophy.mdc +1 -0
- package/plugins/lisa-cursor/skills/lisa-jira-evidence/SKILL.md +10 -4
- package/plugins/lisa-cursor/skills/lisa-jira-journey/SKILL.md +2 -2
- package/plugins/lisa-cursor/skills/lisa-jira-journey/scripts/generate-templates.py +70 -9
- package/plugins/lisa-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-devin/rules/eager/coding-philosophy.md +1 -0
- package/plugins/lisa-devin/rules/reference/coding-philosophy.md +20 -0
- package/plugins/lisa-devin/skills/lisa-jira-evidence/SKILL.md +10 -4
- package/plugins/lisa-devin/skills/lisa-jira-journey/SKILL.md +2 -2
- package/plugins/lisa-devin/skills/lisa-jira-journey/scripts/generate-templates.py +70 -9
- 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/journey-guidance/SKILL.md +8 -3
- package/plugins/lisa-expo/skills/journey-guidance/SKILL.md +8 -3
- package/plugins/lisa-expo-agy/plugin.json +1 -1
- package/plugins/lisa-expo-agy/skills/journey-guidance/SKILL.md +8 -3
- package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-copilot/skills/journey-guidance/SKILL.md +8 -3
- package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-cursor/skills/journey-guidance/SKILL.md +8 -3
- 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/skills/journey-guidance/SKILL.md +8 -3
- 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 +3 -1
- package/plugins/lisa-rails/skills/journey-guidance/SKILL.md +3 -1
- package/plugins/lisa-rails-agy/plugin.json +1 -1
- package/plugins/lisa-rails-agy/skills/journey-guidance/SKILL.md +3 -1
- package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-copilot/skills/journey-guidance/SKILL.md +3 -1
- package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-cursor/skills/journey-guidance/SKILL.md +3 -1
- 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 +3 -1
- package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-agy/plugin.json +1 -1
- package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-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/rules/eager/coding-philosophy.md +1 -0
- package/plugins/src/base/rules/reference/coding-philosophy.md +20 -0
- package/plugins/src/base/skills/lisa-jira-evidence/SKILL.md +10 -4
- package/plugins/src/base/skills/lisa-jira-journey/SKILL.md +2 -2
- package/plugins/src/base/skills/lisa-jira-journey/scripts/generate-templates.py +70 -9
- package/plugins/src/expo/skills/journey-guidance/SKILL.md +8 -3
- package/plugins/src/rails/skills/journey-guidance/SKILL.md +3 -1
- package/plugins/lisa-expo/.codex-plugin/skills/jira-add-journey/SKILL.md +0 -142
- package/plugins/lisa-expo/.codex-plugin/skills/jira-add-journey/agents/openai.yaml +0 -4
- package/plugins/lisa-expo/.codex-plugin/skills/jira-create/SKILL.md +0 -163
- package/plugins/lisa-expo/.codex-plugin/skills/jira-create/agents/openai.yaml +0 -4
- package/plugins/lisa-expo/.codex-plugin/skills/jira-evidence/SKILL.md +0 -112
- package/plugins/lisa-expo/.codex-plugin/skills/jira-evidence/agents/openai.yaml +0 -4
- package/plugins/lisa-expo/.codex-plugin/skills/jira-evidence/scripts/post-evidence.sh +0 -397
- package/plugins/lisa-expo/.codex-plugin/skills/jira-journey/SKILL.md +0 -209
- package/plugins/lisa-expo/.codex-plugin/skills/jira-journey/agents/openai.yaml +0 -4
- package/plugins/lisa-expo/.codex-plugin/skills/jira-journey/scripts/generate-templates.py +0 -323
- package/plugins/lisa-expo/.codex-plugin/skills/jira-journey/scripts/parse-plan.py +0 -400
- package/plugins/lisa-expo/.codex-plugin/skills/jira-verify/SKILL.md +0 -29
- package/plugins/lisa-expo/.codex-plugin/skills/jira-verify/agents/openai.yaml +0 -4
- package/plugins/lisa-expo/skills/jira-add-journey/SKILL.md +0 -140
- package/plugins/lisa-expo/skills/jira-add-journey/agents/openai.yaml +0 -4
- package/plugins/lisa-expo/skills/jira-create/SKILL.md +0 -161
- package/plugins/lisa-expo/skills/jira-create/agents/openai.yaml +0 -4
- package/plugins/lisa-expo/skills/jira-evidence/SKILL.md +0 -110
- package/plugins/lisa-expo/skills/jira-evidence/agents/openai.yaml +0 -4
- package/plugins/lisa-expo/skills/jira-evidence/scripts/post-evidence.sh +0 -397
- package/plugins/lisa-expo/skills/jira-journey/SKILL.md +0 -207
- package/plugins/lisa-expo/skills/jira-journey/agents/openai.yaml +0 -4
- package/plugins/lisa-expo/skills/jira-journey/scripts/generate-templates.py +0 -323
- package/plugins/lisa-expo/skills/jira-journey/scripts/parse-plan.py +0 -400
- package/plugins/lisa-expo/skills/jira-verify/SKILL.md +0 -27
- package/plugins/lisa-expo/skills/jira-verify/agents/openai.yaml +0 -4
- package/plugins/lisa-expo-agy/skills/jira-add-journey/SKILL.md +0 -140
- package/plugins/lisa-expo-agy/skills/jira-create/SKILL.md +0 -161
- package/plugins/lisa-expo-agy/skills/jira-evidence/SKILL.md +0 -110
- package/plugins/lisa-expo-agy/skills/jira-evidence/scripts/post-evidence.sh +0 -397
- package/plugins/lisa-expo-agy/skills/jira-journey/SKILL.md +0 -207
- package/plugins/lisa-expo-agy/skills/jira-journey/scripts/generate-templates.py +0 -323
- package/plugins/lisa-expo-agy/skills/jira-journey/scripts/parse-plan.py +0 -400
- package/plugins/lisa-expo-agy/skills/jira-verify/SKILL.md +0 -27
- package/plugins/lisa-expo-copilot/skills/jira-add-journey/SKILL.md +0 -140
- package/plugins/lisa-expo-copilot/skills/jira-create/SKILL.md +0 -161
- package/plugins/lisa-expo-copilot/skills/jira-evidence/SKILL.md +0 -110
- package/plugins/lisa-expo-copilot/skills/jira-evidence/scripts/post-evidence.sh +0 -397
- package/plugins/lisa-expo-copilot/skills/jira-journey/SKILL.md +0 -207
- package/plugins/lisa-expo-copilot/skills/jira-journey/scripts/generate-templates.py +0 -323
- package/plugins/lisa-expo-copilot/skills/jira-journey/scripts/parse-plan.py +0 -400
- package/plugins/lisa-expo-copilot/skills/jira-verify/SKILL.md +0 -27
- package/plugins/lisa-expo-cursor/skills/jira-add-journey/SKILL.md +0 -140
- package/plugins/lisa-expo-cursor/skills/jira-create/SKILL.md +0 -161
- package/plugins/lisa-expo-cursor/skills/jira-evidence/SKILL.md +0 -110
- package/plugins/lisa-expo-cursor/skills/jira-evidence/scripts/post-evidence.sh +0 -397
- package/plugins/lisa-expo-cursor/skills/jira-journey/SKILL.md +0 -207
- package/plugins/lisa-expo-cursor/skills/jira-journey/scripts/generate-templates.py +0 -323
- package/plugins/lisa-expo-cursor/skills/jira-journey/scripts/parse-plan.py +0 -400
- package/plugins/lisa-expo-cursor/skills/jira-verify/SKILL.md +0 -27
- package/plugins/lisa-expo-devin/skills/jira-add-journey/SKILL.md +0 -140
- package/plugins/lisa-expo-devin/skills/jira-create/SKILL.md +0 -161
- package/plugins/lisa-expo-devin/skills/jira-evidence/SKILL.md +0 -110
- package/plugins/lisa-expo-devin/skills/jira-evidence/scripts/post-evidence.sh +0 -397
- package/plugins/lisa-expo-devin/skills/jira-journey/SKILL.md +0 -207
- package/plugins/lisa-expo-devin/skills/jira-journey/scripts/generate-templates.py +0 -323
- package/plugins/lisa-expo-devin/skills/jira-journey/scripts/parse-plan.py +0 -400
- package/plugins/lisa-expo-devin/skills/jira-verify/SKILL.md +0 -27
- package/plugins/lisa-rails/.codex-plugin/skills/jira-add-journey/SKILL.md +0 -81
- package/plugins/lisa-rails/.codex-plugin/skills/jira-add-journey/agents/openai.yaml +0 -4
- package/plugins/lisa-rails/.codex-plugin/skills/jira-create/SKILL.md +0 -102
- package/plugins/lisa-rails/.codex-plugin/skills/jira-create/agents/openai.yaml +0 -4
- package/plugins/lisa-rails/.codex-plugin/skills/jira-evidence/SKILL.md +0 -103
- package/plugins/lisa-rails/.codex-plugin/skills/jira-evidence/agents/openai.yaml +0 -4
- package/plugins/lisa-rails/.codex-plugin/skills/jira-evidence/scripts/post-evidence.sh +0 -397
- package/plugins/lisa-rails/.codex-plugin/skills/jira-journey/SKILL.md +0 -67
- package/plugins/lisa-rails/.codex-plugin/skills/jira-journey/agents/openai.yaml +0 -4
- package/plugins/lisa-rails/.codex-plugin/skills/jira-verify/SKILL.md +0 -28
- package/plugins/lisa-rails/.codex-plugin/skills/jira-verify/agents/openai.yaml +0 -4
- package/plugins/lisa-rails/skills/jira-add-journey/SKILL.md +0 -79
- package/plugins/lisa-rails/skills/jira-add-journey/agents/openai.yaml +0 -4
- package/plugins/lisa-rails/skills/jira-create/SKILL.md +0 -100
- package/plugins/lisa-rails/skills/jira-create/agents/openai.yaml +0 -4
- package/plugins/lisa-rails/skills/jira-evidence/SKILL.md +0 -101
- package/plugins/lisa-rails/skills/jira-evidence/agents/openai.yaml +0 -4
- package/plugins/lisa-rails/skills/jira-evidence/scripts/post-evidence.sh +0 -397
- package/plugins/lisa-rails/skills/jira-journey/SKILL.md +0 -65
- package/plugins/lisa-rails/skills/jira-journey/agents/openai.yaml +0 -4
- package/plugins/lisa-rails/skills/jira-verify/SKILL.md +0 -26
- package/plugins/lisa-rails/skills/jira-verify/agents/openai.yaml +0 -4
- package/plugins/lisa-rails-agy/skills/jira-add-journey/SKILL.md +0 -79
- package/plugins/lisa-rails-agy/skills/jira-create/SKILL.md +0 -100
- package/plugins/lisa-rails-agy/skills/jira-evidence/SKILL.md +0 -101
- package/plugins/lisa-rails-agy/skills/jira-evidence/scripts/post-evidence.sh +0 -397
- package/plugins/lisa-rails-agy/skills/jira-journey/SKILL.md +0 -65
- package/plugins/lisa-rails-agy/skills/jira-verify/SKILL.md +0 -26
- package/plugins/lisa-rails-copilot/skills/jira-add-journey/SKILL.md +0 -79
- package/plugins/lisa-rails-copilot/skills/jira-create/SKILL.md +0 -100
- package/plugins/lisa-rails-copilot/skills/jira-evidence/SKILL.md +0 -101
- package/plugins/lisa-rails-copilot/skills/jira-evidence/scripts/post-evidence.sh +0 -397
- package/plugins/lisa-rails-copilot/skills/jira-journey/SKILL.md +0 -65
- package/plugins/lisa-rails-copilot/skills/jira-verify/SKILL.md +0 -26
- package/plugins/lisa-rails-cursor/skills/jira-add-journey/SKILL.md +0 -79
- package/plugins/lisa-rails-cursor/skills/jira-create/SKILL.md +0 -100
- package/plugins/lisa-rails-cursor/skills/jira-evidence/SKILL.md +0 -101
- package/plugins/lisa-rails-cursor/skills/jira-evidence/scripts/post-evidence.sh +0 -397
- package/plugins/lisa-rails-cursor/skills/jira-journey/SKILL.md +0 -65
- package/plugins/lisa-rails-cursor/skills/jira-verify/SKILL.md +0 -26
- package/plugins/lisa-rails-devin/skills/jira-add-journey/SKILL.md +0 -79
- package/plugins/lisa-rails-devin/skills/jira-create/SKILL.md +0 -100
- package/plugins/lisa-rails-devin/skills/jira-evidence/SKILL.md +0 -101
- package/plugins/lisa-rails-devin/skills/jira-evidence/scripts/post-evidence.sh +0 -397
- package/plugins/lisa-rails-devin/skills/jira-journey/SKILL.md +0 -65
- package/plugins/lisa-rails-devin/skills/jira-verify/SKILL.md +0 -26
- package/plugins/src/expo/skills/jira-add-journey/SKILL.md +0 -140
- package/plugins/src/expo/skills/jira-create/SKILL.md +0 -161
- package/plugins/src/expo/skills/jira-evidence/SKILL.md +0 -110
- package/plugins/src/expo/skills/jira-evidence/scripts/post-evidence.sh +0 -397
- package/plugins/src/expo/skills/jira-journey/SKILL.md +0 -207
- package/plugins/src/expo/skills/jira-journey/scripts/generate-templates.py +0 -323
- package/plugins/src/expo/skills/jira-journey/scripts/parse-plan.py +0 -400
- package/plugins/src/expo/skills/jira-verify/SKILL.md +0 -27
- package/plugins/src/rails/skills/jira-add-journey/SKILL.md +0 -79
- package/plugins/src/rails/skills/jira-create/SKILL.md +0 -100
- package/plugins/src/rails/skills/jira-evidence/SKILL.md +0 -101
- package/plugins/src/rails/skills/jira-evidence/scripts/post-evidence.sh +0 -397
- package/plugins/src/rails/skills/jira-journey/SKILL.md +0 -65
- package/plugins/src/rails/skills/jira-verify/SKILL.md +0 -26
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: jira-verify
|
|
3
|
-
description: This skill should be used when verifying that a JIRA ticket meets organizational standards for epic relationships and description quality. It fetches the live ticket and delegates the gate checks to jira-validate-ticket so the bar matches what jira-write-ticket enforces pre-write.
|
|
4
|
-
allowed-tools: ["Skill", "mcp__atlassian__getJiraIssue", "mcp__atlassian__getAccessibleAtlassianResources"]
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# Verify JIRA Ticket: $ARGUMENTS
|
|
8
|
-
|
|
9
|
-
Verify that the existing JIRA ticket `$ARGUMENTS` meets organizational standards. This skill is a thin post-write wrapper around `lisa:jira-validate-ticket`: it fetches the live ticket and asks `lisa:jira-validate-ticket` to run the gates against the fetched state.
|
|
10
|
-
|
|
11
|
-
This indirection exists so the gate definitions live in exactly one place (`lisa:jira-validate-ticket`). When the bar changes, change it there — `lisa:jira-verify`, `lisa:jira-write-ticket` (Phase 5.5 pre-write), and `lisa:notion-to-tracker` (PRD dry-run) all pick it up.
|
|
12
|
-
|
|
13
|
-
## Process
|
|
14
|
-
|
|
15
|
-
1. Resolve cloud ID via `mcp__atlassian__getAccessibleAtlassianResources`.
|
|
16
|
-
2. Fetch the ticket via `mcp__atlassian__getJiraIssue` for `$ARGUMENTS`.
|
|
17
|
-
3. Invoke `lisa:jira-validate-ticket` and pass the ticket key. The validator runs every gate (Specification + Feasibility) against the live state.
|
|
18
|
-
4. Surface the validator's report verbatim.
|
|
19
|
-
|
|
20
|
-
## Output
|
|
21
|
-
|
|
22
|
-
Pass through `lisa:jira-validate-ticket`'s structured output unchanged. Downstream callers parse the gate lines.
|
|
23
|
-
|
|
24
|
-
## Notes
|
|
25
|
-
|
|
26
|
-
- This skill is read-only. It never edits the ticket, posts comments, or changes status.
|
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: jira-add-journey
|
|
3
|
-
description: "Add a Validation Journey section to an existing JIRA ticket by reading the ticket description, understanding the feature, and generating the journey steps, viewports, and assertions."
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Add Validation Journey to Existing JIRA Ticket
|
|
7
|
-
|
|
8
|
-
Read an existing JIRA ticket, understand the feature or fix it describes, analyze the codebase to determine the user flow, and append a Validation Journey section to the ticket description.
|
|
9
|
-
|
|
10
|
-
## Arguments
|
|
11
|
-
|
|
12
|
-
`$ARGUMENTS`: `<TICKET_ID>`
|
|
13
|
-
|
|
14
|
-
- `TICKET_ID` (required): JIRA ticket key (e.g., `PROJ-123`)
|
|
15
|
-
|
|
16
|
-
## Prerequisites
|
|
17
|
-
|
|
18
|
-
- `JIRA_API_TOKEN` environment variable set
|
|
19
|
-
- `jira-cli` configured. Prefer the config Lisa writes at
|
|
20
|
-
`.lisa/jira-cli/.config.yml` (the `setup-jira-cli` SessionStart hook writes it
|
|
21
|
-
from `JIRA_SERVER` / `JIRA_LOGIN` / `JIRA_PROJECT` on a project whose
|
|
22
|
-
`tracker` is `jira`), and pass it explicitly with `--config`. A developer's
|
|
23
|
-
own `~/.config/.jira/.config.yml` still works as jira-cli's default when no
|
|
24
|
-
`--config` is given.
|
|
25
|
-
|
|
26
|
-
## Workflow
|
|
27
|
-
|
|
28
|
-
### Step 1: Read the Ticket
|
|
29
|
-
|
|
30
|
-
Use the Atlassian MCP or jira-cli to read the full ticket details:
|
|
31
|
-
|
|
32
|
-
```bash
|
|
33
|
-
# Run from the project root. --config pins jira-cli to the file Lisa's
|
|
34
|
-
# setup-jira-cli hook wrote, instead of the machine's own ~/.config/.jira.
|
|
35
|
-
# jira-cli resolves --config > JIRA_CONFIG_FILE > ~/.config/.jira/.config.yml,
|
|
36
|
-
# and a --config path that does not exist fails closed with "Missing
|
|
37
|
-
# configuration file." rather than silently using the default.
|
|
38
|
-
jira --config .lisa/jira-cli/.config.yml issue view <TICKET_ID>
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
If `.lisa/jira-cli/.config.yml` does not exist, drop `--config` to fall back to
|
|
42
|
-
the machine's own jira-cli config — but say so in your report rather than
|
|
43
|
-
letting the Lisa-written config go quietly unused.
|
|
44
|
-
|
|
45
|
-
Extract:
|
|
46
|
-
- Title and description (what the feature/fix is)
|
|
47
|
-
- Acceptance criteria (what needs to be verified)
|
|
48
|
-
- Components or labels (frontend, mobile, responsive, etc.)
|
|
49
|
-
- Any linked tickets or parent epic context
|
|
50
|
-
|
|
51
|
-
### Step 2: Check for Existing Journey
|
|
52
|
-
|
|
53
|
-
Run the parser to see if a Validation Journey already exists:
|
|
54
|
-
|
|
55
|
-
```bash
|
|
56
|
-
python3 .claude/skills/jira-journey/scripts/parse-plan.py <TICKET_ID> 2>&1
|
|
57
|
-
```
|
|
58
|
-
|
|
59
|
-
If the parser succeeds and returns steps, the ticket already has a journey. Report this to the user and stop.
|
|
60
|
-
|
|
61
|
-
### Step 3: Analyze the Feature
|
|
62
|
-
|
|
63
|
-
Based on the ticket description and acceptance criteria:
|
|
64
|
-
|
|
65
|
-
1. **Identify the UI surface** — Which pages, modals, or components are affected?
|
|
66
|
-
2. **Identify the user flow** — What steps does a user take to exercise the feature?
|
|
67
|
-
3. **Identify visual checkpoints** — At which states should screenshots be captured?
|
|
68
|
-
4. **Identify viewports** — Does this feature have responsive behavior? Always include Desktop. Add Mobile for responsive changes.
|
|
69
|
-
5. **Identify assertions** — What must be visually true for the feature to be correct?
|
|
70
|
-
|
|
71
|
-
Use the Explore agent or read the codebase directly to understand:
|
|
72
|
-
- Which components are involved (search by ticket ID, feature name, or file paths mentioned in the ticket)
|
|
73
|
-
- What testIDs exist (for Playwright interaction)
|
|
74
|
-
- What the user flow looks like (Container/View structure, navigation, modals)
|
|
75
|
-
|
|
76
|
-
### Step 4: Draft the Validation Journey
|
|
77
|
-
|
|
78
|
-
Compose the journey following the format:
|
|
79
|
-
|
|
80
|
-
```text
|
|
81
|
-
h2. Validation Journey
|
|
82
|
-
|
|
83
|
-
h3. Prerequisites
|
|
84
|
-
- List what must be true before starting (backend, auth, feature flags)
|
|
85
|
-
|
|
86
|
-
h3. Steps
|
|
87
|
-
1. First action the user takes
|
|
88
|
-
2. Second action [SCREENSHOT: descriptive-name]
|
|
89
|
-
3. Continue the flow
|
|
90
|
-
4. Final verification [SCREENSHOT: final-state]
|
|
91
|
-
|
|
92
|
-
h3. Viewports
|
|
93
|
-
||Name||Width||Height||
|
|
94
|
-
|Desktop|1512|768|
|
|
95
|
-
|Mobile|375|812|
|
|
96
|
-
|
|
97
|
-
h3. Assertions
|
|
98
|
-
- Testable visual statement about the expected behavior
|
|
99
|
-
- Another assertion about responsive layout
|
|
100
|
-
```
|
|
101
|
-
|
|
102
|
-
### Guidelines for Drafting
|
|
103
|
-
|
|
104
|
-
1. **3-7 screenshot markers** — Enough to prove the feature, not so many that execution is slow
|
|
105
|
-
2. **Concrete steps** — "Click the 'Add action' button" not "Interact with the controls"
|
|
106
|
-
3. **Include auth if needed** — If the journey requires login, include credentials in Prerequisites
|
|
107
|
-
4. **Name feature flags explicitly** — If the feature is behind a feature flag (in PostHog when `observability.analytics.provider` is `posthog`, the default), name it
|
|
108
|
-
5. **Assertions must be testable** — "Buttons stacked vertically on mobile" not "Layout looks good"
|
|
109
|
-
6. **Screenshot names in kebab-case** — `confirm-step-disabled`, `modal-open`, `form-error`
|
|
110
|
-
|
|
111
|
-
### Step 5: Present to User for Approval
|
|
112
|
-
|
|
113
|
-
Display the drafted Validation Journey to the user and ask for confirmation before appending it to the ticket. The user may want to:
|
|
114
|
-
- Add or remove steps
|
|
115
|
-
- Change screenshot markers
|
|
116
|
-
- Adjust viewports or assertions
|
|
117
|
-
- Modify prerequisites
|
|
118
|
-
|
|
119
|
-
### Step 6: Append to Ticket Description
|
|
120
|
-
|
|
121
|
-
After user approval, use the JIRA REST API to append the Validation Journey to the existing ticket description.
|
|
122
|
-
|
|
123
|
-
Use the Atlassian MCP `updateJiraIssue` to update the description field. The journey section must be appended **after** the existing description content, not replace it.
|
|
124
|
-
|
|
125
|
-
### Step 7: Verify
|
|
126
|
-
|
|
127
|
-
Run the parser again to confirm the journey was added correctly:
|
|
128
|
-
|
|
129
|
-
```bash
|
|
130
|
-
python3 .claude/skills/jira-journey/scripts/parse-plan.py <TICKET_ID>
|
|
131
|
-
```
|
|
132
|
-
|
|
133
|
-
The parser should now return the steps, viewports, and assertions from the newly added section.
|
|
134
|
-
|
|
135
|
-
## When to Use This Skill
|
|
136
|
-
|
|
137
|
-
- Ticket was created before the Validation Journey convention was established
|
|
138
|
-
- Ticket was created manually without following `lisa:jira-create` guidelines
|
|
139
|
-
- Ticket needs a journey added or updated based on implementation progress
|
|
140
|
-
- During sprint planning, to ensure all frontend tickets have journeys before work starts
|
|
@@ -1,161 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: jira-create
|
|
3
|
-
description: This skill should be used when creating JIRA epics, stories, and tasks from code files or descriptions. It analyzes the provided input, determines the appropriate issue hierarchy, and creates issues with comprehensive quality requirements including test-first development and documentation.
|
|
4
|
-
allowed-tools: ["Read", "Glob", "LS", "Skill", "mcp__atlassian__getVisibleJiraProjects", "mcp__atlassian__getJiraProjectIssueTypesMetadata", "mcp__atlassian__getAccessibleAtlassianResources"]
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# Create JIRA Issues from $ARGUMENTS
|
|
8
|
-
|
|
9
|
-
Analyze the provided file(s) and plan a JIRA hierarchy. **This skill plans structure only — every individual ticket write is delegated to `lisa:jira-write-ticket`.** Do not call `mcp__atlassian__createJiraIssue` from this skill; the necessary write tools are intentionally not in `allowed-tools`.
|
|
10
|
-
|
|
11
|
-
## Process
|
|
12
|
-
|
|
13
|
-
1. **Analyze**: Read $ARGUMENTS to understand scope.
|
|
14
|
-
2. **Extract source artifacts**: invoke the `lisa:tracker-source-artifacts` skill, then enumerate every external URL, embed, attachment, or example payload and classify each by domain per its rules. Build the `artifacts` map. See "Source Artifacts" below.
|
|
15
|
-
3. **Walk the live product** (when applicable): if the work touches existing user-facing surfaces, invoke the `lisa:product-walkthrough` skill to capture current behavior, design-vs-product divergence, and reuse candidates. Especially load-bearing for Expo/React Native — a UI ticket without a current-product walkthrough is missing context the implementer needs. Skip only when the work is purely backend or affects a screen that does not yet exist. See "Live Product Walkthrough" below.
|
|
16
|
-
4. **Determine structure**:
|
|
17
|
-
- Epic needed if: multiple features, major changes, >3 related files
|
|
18
|
-
- Direct tasks if: bug fix, single file, minor change
|
|
19
|
-
5. **Plan hierarchy**:
|
|
20
|
-
```text
|
|
21
|
-
Epic → User Story → Tasks (test, implement, document, cleanup)
|
|
22
|
-
```
|
|
23
|
-
6. **Delegate every write to `lisa:jira-write-ticket`** in dependency order (epic first, then stories with the epic as parent, then sub-tasks with their story as parent). Pass the artifacts (filtered by domain per `lisa:tracker-source-artifacts` inheritance rules), the walkthrough findings (under `## Current Product`), and — for UI tickets — the Validation Journey draft with `[SCREENSHOT: ...]` markers. See "Delegation to jira-write-ticket" below.
|
|
24
|
-
7. **Run the artifact preservation gate** (`lisa:tracker-source-artifacts` §8): after all writes complete, build the preservation matrix and verify every extracted artifact is reachable from the created tickets. Fail loudly if anything was dropped.
|
|
25
|
-
|
|
26
|
-
## Mandatory for Every Code Issue
|
|
27
|
-
|
|
28
|
-
**Test-First**: Write tests before implementation
|
|
29
|
-
**Quality Gates**: All tests/checks must pass, no SonarCloud violations
|
|
30
|
-
**Documentation**: Check existing, update/create new, remove obsolete
|
|
31
|
-
**Feature Flags**: All features behind flags with lifecycle plan
|
|
32
|
-
**Cleanup**: Remove temporary code, scripts, dev configs
|
|
33
|
-
**Validation Journey**: Every ticket that touches UI must include a Validation Journey section (see below)
|
|
34
|
-
|
|
35
|
-
## Validation Journey (Frontend Tickets)
|
|
36
|
-
|
|
37
|
-
Every ticket that changes, adds, or fixes UI must include a `Validation Journey` section in the description. This section is consumed by the `lisa:jira-journey` skill to automate visual verification via Playwright.
|
|
38
|
-
|
|
39
|
-
### When to Include
|
|
40
|
-
|
|
41
|
-
Include a Validation Journey when the ticket involves:
|
|
42
|
-
- New UI components or screens
|
|
43
|
-
- Layout or styling changes (responsive, spacing, colors)
|
|
44
|
-
- Modal, drawer, or popover behavior
|
|
45
|
-
- Form validation or user input flows
|
|
46
|
-
- Bug fixes that are visually verifiable
|
|
47
|
-
|
|
48
|
-
Skip the Validation Journey only for:
|
|
49
|
-
- Pure backend/API changes with no UI surface
|
|
50
|
-
- Config-only changes (env vars, feature flags)
|
|
51
|
-
- Test-only or documentation-only changes
|
|
52
|
-
|
|
53
|
-
### How to Write
|
|
54
|
-
|
|
55
|
-
Design the journey from the **end user's perspective**. Walk through the exact steps a human would take to verify the change. Place `[SCREENSHOT: name]` markers at the key visual checkpoints.
|
|
56
|
-
|
|
57
|
-
Add this section to the ticket description:
|
|
58
|
-
|
|
59
|
-
```text
|
|
60
|
-
h2. Validation Journey
|
|
61
|
-
|
|
62
|
-
h3. Prerequisites
|
|
63
|
-
- App running locally or on dev
|
|
64
|
-
- Authenticated as test user
|
|
65
|
-
- Any required feature flags enabled
|
|
66
|
-
|
|
67
|
-
h3. Steps
|
|
68
|
-
1. Navigate to the relevant page
|
|
69
|
-
2. Perform the first action
|
|
70
|
-
3. Verify the expected state [SCREENSHOT: state-name]
|
|
71
|
-
4. Perform the next action
|
|
72
|
-
5. Verify the final state [SCREENSHOT: final-state]
|
|
73
|
-
|
|
74
|
-
h3. Viewports
|
|
75
|
-
||Name||Width||Height||
|
|
76
|
-
|Desktop|1512|768|
|
|
77
|
-
|Mobile|375|812|
|
|
78
|
-
|
|
79
|
-
h3. Assertions
|
|
80
|
-
- Describe what must be visually true at each viewport
|
|
81
|
-
- Each assertion is verified against the captured screenshots
|
|
82
|
-
```
|
|
83
|
-
|
|
84
|
-
### Guidelines
|
|
85
|
-
|
|
86
|
-
1. **Steps must be concrete and executable** — "Navigate to Players page" not "Go to the relevant section"
|
|
87
|
-
2. **Screenshot markers at visual checkpoints** — Place `[SCREENSHOT: name]` at states that prove the change works. Use descriptive kebab-case names (e.g., `modal-open`, `button-disabled`, `form-error`)
|
|
88
|
-
3. **Include 3-7 screenshot markers** — Enough to prove the feature works, not so many that execution is slow
|
|
89
|
-
4. **Viewports match the change scope** — Always include Desktop (1512x768). Add Mobile (375x812) for responsive changes. Add Tablet (768x1024) only if relevant.
|
|
90
|
-
5. **Assertions are testable statements** — "Buttons stacked vertically on mobile" not "Layout looks good"
|
|
91
|
-
6. **Prerequisites include feature flags** — If the feature is behind a feature flag (in PostHog when `observability.analytics.provider` is `posthog`, the default), name it explicitly
|
|
92
|
-
7. **Auth steps included when needed** — If the journey requires login, include the test credentials in Prerequisites
|
|
93
|
-
|
|
94
|
-
## Source Artifacts
|
|
95
|
-
|
|
96
|
-
If $ARGUMENTS includes (or references) any external artifact — PRD, design doc, Figma URL, Lovable prototype, Loom walkthrough, screenshot, example payload — those references MUST be preserved as remote links on the created tickets. Silent artifact loss is the single most common quality failure in this pipeline.
|
|
97
|
-
|
|
98
|
-
**Invoke the `lisa:tracker-source-artifacts` skill** for the canonical rules: domains, per-tool classification (Figma `/proto/` vs design, Lovable, Loom, screenshots), source precedence, conflict handling under `## Open Questions`, inheritance from epic → story → sub-task, and the existing-component reuse expectation. Do not restate the rules here.
|
|
99
|
-
|
|
100
|
-
Expo-specific note: the existing-component reuse rule is especially load-bearing for React Native — the project has an established component library; pixel-matching a mock instead of reusing components is the most common drift mode.
|
|
101
|
-
|
|
102
|
-
When delegating writes to `lisa:jira-write-ticket`, pass the extracted artifact list so its Phase 4c step can attach them.
|
|
103
|
-
|
|
104
|
-
## Live Product Walkthrough
|
|
105
|
-
|
|
106
|
-
When the work touches existing user-facing surfaces, invoke the `lisa:product-walkthrough` skill before drafting tickets. Findings (current behavior, design-vs-product divergence, reuse candidates, behavioral surprises) become inputs to the ticket plan and surface under `## Current Product` on the resulting tickets, complementing the Validation Journey (which describes how to verify the *new* behavior, not what exists today). Skip only when the work is purely backend or affects a screen that does not yet exist.
|
|
107
|
-
|
|
108
|
-
## Issue Requirements
|
|
109
|
-
|
|
110
|
-
Each issue must clearly communicate to:
|
|
111
|
-
|
|
112
|
-
- **Coding Assistants**: Implementation requirements
|
|
113
|
-
- **Developers**: Technical approach
|
|
114
|
-
- **Stakeholders**: Business value
|
|
115
|
-
|
|
116
|
-
Default project: from jira-cli config (override via arguments)
|
|
117
|
-
Exclude unless requested: migration plans, performance tests
|
|
118
|
-
|
|
119
|
-
## Delegation to jira-write-ticket
|
|
120
|
-
|
|
121
|
-
**Mandatory.** Every ticket created by this skill MUST go through `lisa:jira-write-ticket`. This skill never calls `mcp__atlassian__createJiraIssue` itself — that tool is intentionally excluded from `allowed-tools` so the gate cannot be bypassed.
|
|
122
|
-
|
|
123
|
-
`lisa:jira-write-ticket` enforces things this skill does not, and which determine ticket quality:
|
|
124
|
-
- 3-audience description (Context / Technical Approach / Acceptance Criteria)
|
|
125
|
-
- Gherkin acceptance criteria
|
|
126
|
-
- Epic parent validation (non-bug, non-epic types)
|
|
127
|
-
- Explicit link discovery (`blocks` / `is blocked by` / `relates to` / `duplicates` / `clones`)
|
|
128
|
-
- Remote links (PRs, Confluence, dashboards)
|
|
129
|
-
- Single-repo scope check for Bug / Task / Sub-task
|
|
130
|
-
- Sign-in account and target environment recorded in description
|
|
131
|
-
- Post-create verification
|
|
132
|
-
|
|
133
|
-
### Invocation order
|
|
134
|
-
|
|
135
|
-
Tickets must be created in parent-before-child order so each child can be passed its parent key:
|
|
136
|
-
|
|
137
|
-
1. Invoke `lisa:jira-write-ticket` for the epic. Capture the returned key.
|
|
138
|
-
2. For each story, invoke `lisa:jira-write-ticket` with the epic key as the epic parent. Capture each story key.
|
|
139
|
-
3. For each sub-task, invoke `lisa:jira-write-ticket` with the parent story key.
|
|
140
|
-
|
|
141
|
-
### What to pass to each invocation
|
|
142
|
-
|
|
143
|
-
For every delegated write, pass:
|
|
144
|
-
- The summary, issue type, project key, and priority you decided
|
|
145
|
-
- The 3-section description body you drafted (Context / Technical Approach / Acceptance Criteria)
|
|
146
|
-
- Gherkin acceptance criteria
|
|
147
|
-
- Parent key (epic key for stories; story key for sub-tasks)
|
|
148
|
-
- The artifact list extracted in "Source Artifacts", filtered by domain per the inheritance rules — `lisa:jira-write-ticket` Phase 4c attaches them as remote links
|
|
149
|
-
- For UI-touching tickets: the Validation Journey draft (with `[SCREENSHOT: ...]` markers, viewports, and feature-flag prerequisites). If the journey is missing, instruct it to call `lisa:jira-add-journey` after create.
|
|
150
|
-
|
|
151
|
-
### What this skill is responsible for
|
|
152
|
-
|
|
153
|
-
This skill owns:
|
|
154
|
-
- Deciding the *shape* of the hierarchy (what's an epic vs. story vs. sub-task)
|
|
155
|
-
- Drafting the description body and acceptance criteria from the input
|
|
156
|
-
- Extracting and classifying source artifacts
|
|
157
|
-
- Threading parent keys through subsequent writes
|
|
158
|
-
- Drafting the Validation Journey for UI tickets (this is Expo-specific guidance the base skill doesn't have)
|
|
159
|
-
- Running the artifact preservation check after all writes complete
|
|
160
|
-
|
|
161
|
-
It does not own the actual JIRA write — that's `lisa:jira-write-ticket`'s job.
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: jira-evidence
|
|
3
|
-
description: "Post screenshot evidence: upload it to the GitHub evidence release, update the PR description, attach it to the JIRA ticket with a comment, and move the ticket to review only when a review status is configured."
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# JIRA Evidence Posting
|
|
7
|
-
|
|
8
|
-
Upload captured screenshots and generated templates to GitHub PR description and JIRA ticket. This skill is the posting step — it assumes screenshots and comment templates already exist in the evidence directory.
|
|
9
|
-
|
|
10
|
-
## Arguments
|
|
11
|
-
|
|
12
|
-
`$ARGUMENTS`: `<TICKET_ID> <EVIDENCE_DIR> <PR_NUMBER>`
|
|
13
|
-
|
|
14
|
-
- `TICKET_ID` (required): JIRA ticket key (e.g., `PROJ-123`)
|
|
15
|
-
- `EVIDENCE_DIR` (required): Directory containing screenshots and templates (e.g., `./evidence`)
|
|
16
|
-
- `PR_NUMBER` (required): GitHub PR number to update description
|
|
17
|
-
|
|
18
|
-
## Prerequisites
|
|
19
|
-
|
|
20
|
-
- `python3` for destination validation. Configure `server` as a bare HTTPS origin:
|
|
21
|
-
no userinfo, path prefix, query, or fragment. Invalid destinations are rejected
|
|
22
|
-
before Basic authorization is constructed.
|
|
23
|
-
- `JIRA_API_TOKEN` environment variable set
|
|
24
|
-
- a jira-cli config — `.lisa/jira-cli/.config.yml` if the `setup-jira-cli`
|
|
25
|
-
SessionStart hook wrote one, otherwise `~/.config/.jira/.config.yml`. `server`
|
|
26
|
-
and `login` are read from whichever is used, and the fallback is announced on
|
|
27
|
-
stderr rather than taken silently.
|
|
28
|
-
- `gh` CLI authenticated
|
|
29
|
-
- Evidence directory containing:
|
|
30
|
-
- `NN-name-viewport.png` screenshots (numbered, e.g., `01-search-step-desktop.png`)
|
|
31
|
-
- `comment.txt` — JIRA wiki markup (generated by `generate-templates.py`)
|
|
32
|
-
- `comment.md` — GitHub markdown (generated by `generate-templates.py`)
|
|
33
|
-
|
|
34
|
-
## Usage
|
|
35
|
-
|
|
36
|
-
Resolve the evidence release once, before posting. When `generate-templates.py` wrote the evidence links, use the same release it used so the links match the uploads. If the release cannot be used (for example, a pinned release is full, every overflow release is full, the release name is too long to roll over, or the publisher cannot create releases), the step prints `Evidence release not usable; stop.` and fails: stop there and report it instead of posting.
|
|
37
|
-
|
|
38
|
-
If you came here from jira-journey, `generate-templates.py` already wrote the links: skip the block below and reuse the release name jira-journey printed in its Step 4, because resolving again can pick a different month's release.
|
|
39
|
-
|
|
40
|
-
```bash
|
|
41
|
-
unset LISA_EVIDENCE_RELEASE; LISA_EVIDENCE_RELEASE=$(node scripts/lisa-work-item.mjs evidence-release --ensure) || { echo "Evidence release not usable; stop."; false; } &&
|
|
42
|
-
export LISA_EVIDENCE_RELEASE && echo "Evidence release: $LISA_EVIDENCE_RELEASE"
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
Some agent runtimes start a new shell for every command, and a new shell forgets an exported value. So put the printed release name in front of every later command that reads it, as `LISA_EVIDENCE_RELEASE=<name>`; the commands below show where.
|
|
46
|
-
|
|
47
|
-
```bash
|
|
48
|
-
LISA_EVIDENCE_RELEASE=<name> bash .claude/skills/jira-evidence/scripts/post-evidence.sh <TICKET_ID> <EVIDENCE_DIR> <PR_NUMBER>
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
### Example
|
|
52
|
-
|
|
53
|
-
```bash
|
|
54
|
-
LISA_EVIDENCE_RELEASE=pr-assets bash .claude/skills/jira-evidence/scripts/post-evidence.sh PROJ-123 ./evidence 42
|
|
55
|
-
```
|
|
56
|
-
|
|
57
|
-
`post-evidence.sh` uses `LISA_EVIDENCE_RELEASE` when it is set, after the resolver confirms it is one of the project's evidence releases and is not nearly full. A pinned release is an exact choice and never rolls over; without a pin, a nearly full release rolls over to its next overflow release (`<release>-2`, `-3`, …).
|
|
58
|
-
|
|
59
|
-
## What It Does
|
|
60
|
-
|
|
61
|
-
1. **Read JIRA config** — Resolves the jira-cli config (`$PROJECT_DIR/.lisa/jira-cli/.config.yml` first, then `~/.config/.jira/.config.yml`, announcing the fallback) and reads `server` and `login` from it dynamically — no hardcoded values. Exits 1 naming both paths when neither exists. The same resolved path is then passed to `jira issue move` as `--config`, so the CLI cannot end up on a different config than the one this script parsed.
|
|
62
|
-
2. **Upload to the configured evidence release (`node scripts/lisa-work-item.mjs evidence-release --ensure` prints it; default `pr-assets`)** — Validates `PR_NUMBER` as a positive integer, uploads each `NN-name-viewport.png` screenshot as `pr-<PR_NUMBER>-<file>` via `gh release upload --clobber`, creating CDN URLs that render in GitHub markdown, then lists the release and exits 1 naming any uploaded asset that is missing. Before uploading it refuses an evidence name outside `NN-name.(png|txt|json)` with letters, digits, `.`, `_` and `-` only (GitHub rewrites other characters in asset names), and before editing the description it exits 1 naming any Markdown link or image target in `comment.md` (inline, titled, `<url>`-bracketed or a reference definition such as `[ref]: url`) that points into that release but is not `pr-<PR_NUMBER>-…` or was not uploaded by this run (a stale asset from an earlier run does not count; release URLs quoted as plain text in inlined evidence are ignored). `--clobber` therefore only ever replaces this pull request's own earlier upload.
|
|
63
|
-
3. **Update PR description** — Replaces or appends the `## Evidence` section in the PR body using `gh pr edit`
|
|
64
|
-
4. **Upload JIRA attachments** — Uploads screenshots via REST API v3 so `!filename.png!` wiki markup renders inline
|
|
65
|
-
5. **Post JIRA comment** — Posts `comment.txt` as a new comment via REST API v2 (wiki markup with embedded images)
|
|
66
|
-
6. **Move ticket to the configured review status** — Resolves `jira.workflow.review` (or the `jira.workflow.code_review` alias) from `.lisa.config.json` / `.lisa.config.local.json` and transitions via `jira issue move`. `review` is optional; when unset, the ticket stays in `claimed` and this step is skipped. Never transition to a status not named in `config.jira.workflow`. If the configured status is not a valid transition from the current state, log a warning and skip.
|
|
67
|
-
|
|
68
|
-
## Screenshot Naming Convention
|
|
69
|
-
|
|
70
|
-
Only files matching `NN-*.png` (two-digit prefix) are uploaded. Other files in the evidence directory are ignored.
|
|
71
|
-
|
|
72
|
-
```text
|
|
73
|
-
evidence/
|
|
74
|
-
01-search-step-desktop.png ✓ uploaded
|
|
75
|
-
02-confirm-step-desktop.png ✓ uploaded
|
|
76
|
-
03-search-step-mobile.png ✓ uploaded
|
|
77
|
-
comment.txt used for JIRA comment
|
|
78
|
-
comment.md used for PR description
|
|
79
|
-
```
|
|
80
|
-
|
|
81
|
-
Local screenshots keep their `NN-` names. In the shared evidence release each one is stored as `pr-<number>-<file>` (for PR 42, `01-search-step-desktop.png` becomes `pr-42-01-search-step-desktop.png`), so two pull requests with a same-named screenshot never overwrite each other's evidence. `generate-templates.py` links that scoped name; JIRA attachments keep the local name.
|
|
82
|
-
|
|
83
|
-
## Troubleshooting
|
|
84
|
-
|
|
85
|
-
### Images not rendering in GitHub PR
|
|
86
|
-
|
|
87
|
-
Images (never committed to git) must be in the configured evidence release (`node scripts/lisa-work-item.mjs evidence-release --ensure` prints it; default `pr-assets`). Create it when it is missing, and
|
|
88
|
-
check it is not at GitHub's 1000-file limit, with:
|
|
89
|
-
|
|
90
|
-
```bash
|
|
91
|
-
node scripts/lisa-work-item.mjs evidence-release --ensure
|
|
92
|
-
```
|
|
93
|
-
|
|
94
|
-
A nearly full release rolls over to the next overflow release (`<release>-2`,
|
|
95
|
-
`-3`, …), which it prints. It refuses only when a pinned `LISA_EVIDENCE_RELEASE`
|
|
96
|
-
is full (unset it, or pin a release with room), every overflow release of the
|
|
97
|
-
period is full (prune old evidence with
|
|
98
|
-
`node scripts/lisa-evidence-prune.mjs --release <release>`, or, if the release
|
|
99
|
-
does not rotate yet, set `verification.completion.evidenceRelease` in
|
|
100
|
-
`.lisa.config.json` to a rotating name such as `pr-assets-{YYYY-MM}`), or the
|
|
101
|
-
release name is too long to take an overflow suffix (shorten it); older evidence
|
|
102
|
-
keeps validating.
|
|
103
|
-
|
|
104
|
-
### JIRA comment shows `!filename.png!` as text (not image)
|
|
105
|
-
|
|
106
|
-
The screenshot must be uploaded as a JIRA attachment before posting the comment. The script uploads attachments first then posts the comment — always in that order.
|
|
107
|
-
|
|
108
|
-
### JIRA API returns 403 on attachment upload
|
|
109
|
-
|
|
110
|
-
Ensure `JIRA_API_TOKEN` is set and `login` in the resolved jira-cli config (`.lisa/jira-cli/.config.yml`, else `~/.config/.jira/.config.yml`) matches your Atlassian account email.
|