@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
|
@@ -88,7 +88,12 @@ def get_github_repo():
|
|
|
88
88
|
|
|
89
89
|
|
|
90
90
|
def collect_evidence(evidence_dir):
|
|
91
|
-
"""Collect evidence files (text, JSON, and images) sorted by name.
|
|
91
|
+
"""Collect evidence files (text, JSON, and images) sorted by name.
|
|
92
|
+
|
|
93
|
+
Images are NN-*.png only: that is exactly what post-evidence.sh uploads
|
|
94
|
+
and attaches, and it refuses a description that links anything it did
|
|
95
|
+
not upload (CodySwannGT/lisa#4639). Linking a .jpg/.gif would fail it.
|
|
96
|
+
"""
|
|
92
97
|
evidence_path = Path(evidence_dir)
|
|
93
98
|
files = []
|
|
94
99
|
for pattern in ("[0-9][0-9]-*.txt", "[0-9][0-9]-*.json", "[0-9][0-9]-*.png"):
|
|
@@ -109,6 +114,48 @@ def detect_language(filename, content):
|
|
|
109
114
|
return "text"
|
|
110
115
|
|
|
111
116
|
|
|
117
|
+
def screenshot_viewport(stem, journey):
|
|
118
|
+
"""Return the journey viewport a screenshot was captured at, or None.
|
|
119
|
+
|
|
120
|
+
Screenshot journeys run once per viewport and name each capture
|
|
121
|
+
NN-<marker>-<viewport>.png. A viewport name may itself contain hyphens
|
|
122
|
+
("Mobile-Landscape"), so each name is matched, case-insensitively, as a
|
|
123
|
+
whole suffix at a hyphen boundary, and the longest matching name wins.
|
|
124
|
+
"""
|
|
125
|
+
lowered = stem.lower()
|
|
126
|
+
matches = [
|
|
127
|
+
viewport
|
|
128
|
+
for viewport in journey.get("viewports") or []
|
|
129
|
+
if str(viewport.get("name", ""))
|
|
130
|
+
and lowered.endswith("-" + str(viewport["name"]).lower())
|
|
131
|
+
]
|
|
132
|
+
return max(matches, key=lambda v: len(str(v["name"])), default=None)
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
def evidence_label(evidence_path, journey):
|
|
136
|
+
"""Readable label for one evidence file, and its viewport when it has one.
|
|
137
|
+
|
|
138
|
+
The NN- prefix is dropped. For a screenshot whose name ends in a journey
|
|
139
|
+
viewport, that suffix moves into the label as "(Name WxH)".
|
|
140
|
+
"""
|
|
141
|
+
stem = evidence_path.stem
|
|
142
|
+
viewport = screenshot_viewport(stem, journey) if evidence_path.suffix == ".png" else None
|
|
143
|
+
label_parts = stem.split("-")[1:]
|
|
144
|
+
if viewport is not None:
|
|
145
|
+
name_segments = len(str(viewport["name"]).split("-"))
|
|
146
|
+
label_parts = label_parts[:-name_segments]
|
|
147
|
+
label = " ".join(label_parts).title() if label_parts else stem
|
|
148
|
+
if viewport is not None:
|
|
149
|
+
label = f"{label} ({viewport['name']} {viewport['width']}x{viewport['height']})"
|
|
150
|
+
return label, viewport
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
def viewport_rows(journey):
|
|
154
|
+
"""Yield (name, "WxH") for each journey viewport."""
|
|
155
|
+
for viewport in journey.get("viewports") or []:
|
|
156
|
+
yield viewport["name"], f"{viewport['width']}x{viewport['height']}"
|
|
157
|
+
|
|
158
|
+
|
|
112
159
|
def generate_jira_wiki(ticket_id, pr_number, branch, evidence_files, journey, gh_repo):
|
|
113
160
|
"""Generate JIRA wiki markup comment with code block evidence."""
|
|
114
161
|
lines = []
|
|
@@ -132,13 +179,12 @@ def generate_jira_wiki(ticket_id, pr_number, branch, evidence_files, journey, gh
|
|
|
132
179
|
|
|
133
180
|
for evidence_path in evidence_files:
|
|
134
181
|
filename = evidence_path.name
|
|
135
|
-
|
|
136
|
-
# Extract readable label: remove NN- prefix
|
|
137
|
-
label_parts = stem.split("-")[1:]
|
|
138
|
-
label = " ".join(label_parts).title() if label_parts else stem
|
|
182
|
+
label, viewport = evidence_label(evidence_path, journey)
|
|
139
183
|
|
|
140
184
|
if filename.endswith(".png"):
|
|
141
|
-
|
|
185
|
+
# Show a screenshot at its viewport's width so a mobile capture is
|
|
186
|
+
# not upscaled, capped at 700 to fit the Jira comment column.
|
|
187
|
+
display_width = min(viewport["width"], 700) if viewport else 700
|
|
142
188
|
lines.append(f"*{label}:*")
|
|
143
189
|
lines.append(f"!{filename}|width={display_width}!")
|
|
144
190
|
lines.append("")
|
|
@@ -161,6 +207,14 @@ def generate_jira_wiki(ticket_id, pr_number, branch, evidence_files, journey, gh
|
|
|
161
207
|
lines.append(f"# {clean_text}")
|
|
162
208
|
lines.append("")
|
|
163
209
|
|
|
210
|
+
if journey.get("viewports"):
|
|
211
|
+
lines.append("h3. Key Viewports")
|
|
212
|
+
lines.append("")
|
|
213
|
+
lines.append("||Viewport||Resolution||")
|
|
214
|
+
for name, resolution in viewport_rows(journey):
|
|
215
|
+
lines.append(f"|{name}|{resolution}|")
|
|
216
|
+
lines.append("")
|
|
217
|
+
|
|
164
218
|
return "\n".join(lines)
|
|
165
219
|
|
|
166
220
|
|
|
@@ -192,9 +246,7 @@ def generate_github_md(ticket_id, pr_number, branch, evidence_files, journey, gh
|
|
|
192
246
|
|
|
193
247
|
for evidence_path in evidence_files:
|
|
194
248
|
filename = evidence_path.name
|
|
195
|
-
|
|
196
|
-
label_parts = stem.split("-")[1:]
|
|
197
|
-
label = " ".join(label_parts).title() if label_parts else stem
|
|
249
|
+
label, _viewport = evidence_label(evidence_path, journey)
|
|
198
250
|
|
|
199
251
|
if filename.endswith(".png"):
|
|
200
252
|
lines.append(f"**{label}:**")
|
|
@@ -224,6 +276,15 @@ def generate_github_md(ticket_id, pr_number, branch, evidence_files, journey, gh
|
|
|
224
276
|
lines.append(f"{step['number']}. {clean_text}")
|
|
225
277
|
lines.append("")
|
|
226
278
|
|
|
279
|
+
if journey.get("viewports"):
|
|
280
|
+
lines.append("### Key Viewports")
|
|
281
|
+
lines.append("")
|
|
282
|
+
lines.append("| Viewport | Resolution |")
|
|
283
|
+
lines.append("|----------|-----------|")
|
|
284
|
+
for name, resolution in viewport_rows(journey):
|
|
285
|
+
lines.append(f"| {name} | {resolution} |")
|
|
286
|
+
lines.append("")
|
|
287
|
+
|
|
227
288
|
return "\n".join(lines)
|
|
228
289
|
|
|
229
290
|
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
- **Immutability.** Create new values instead of mutating, and prefer `map`/`filter`/`reduce`. On a hot path where a stack rule forbids allocation, such as a game's `update()`, the stack rule wins.
|
|
6
6
|
- **TDD for behavior changes.** Write the failing test first, make it pass, then refactor. Learn real behavior by running code before you write expectations.
|
|
7
7
|
- **Delete replaced code completely**, with no `V2` copies or compatibility shims. Framework migrations, such as Rails migrations, are ordinary code. Simplify your diff before you finish.
|
|
8
|
+
- **No technical debt.** Fix failures in the change that surfaces them. Never add quarantine, baseline or exemption lists, silence a check, or defer part of the job as "follow-up". Split a large backlog across parallel changes; the check still turns on strict.
|
|
8
9
|
- **Comments preserve intent.** Explain why, not what: the requirement behind a non-obvious choice, the rejected alternative, the invariant a change must respect, and what breaks if someone simplifies it. Keep comments true when code changes, and do not invent a rationale. If you do not know why code exists, find out (`history-audit`). This overrides any default to match the surrounding comment density, because future agents keep no memory of today.
|
|
9
10
|
|
|
10
11
|
Examples, documentation guidelines, and anti-patterns: [reference/coding-philosophy.md](../reference/coding-philosophy.md).
|
|
@@ -129,6 +129,26 @@ const getPlayerScore = (player: Player): number => calculateScore(player);
|
|
|
129
129
|
- Never write migration code unless explicitly asked
|
|
130
130
|
- Trust git history for recovery if needed
|
|
131
131
|
|
|
132
|
+
### 6. No Technical Debt
|
|
133
|
+
|
|
134
|
+
**Fix failures in the change that surfaces them.** Turning on a lint rule, type check, coverage floor or any other check often reveals failures that already exist. Fix them. Do not exempt them.
|
|
135
|
+
|
|
136
|
+
An exemption list only grows. Once a quarantine file exists, every hard case gets added to it rather than fixed, and nobody remembers why each entry is there. It hides exactly the failures the check exists to catch, so the check reports green while the code it covers drifts. One repository's test type-check quarantine grew to 311 files hiding 1,403 errors before anyone looked.
|
|
137
|
+
|
|
138
|
+
```text
|
|
139
|
+
Wrong: turn the check on and record today's failures as allowed
|
|
140
|
+
typecheck-quarantine.json -> ["tests/a.test.ts", "tests/b.test.ts", ...]
|
|
141
|
+
|
|
142
|
+
Right: fix every failure, then turn the check on with nothing exempted
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
**No-technical-debt rules:**
|
|
146
|
+
- Never add quarantine, baseline, exemption, grandfather or "known failures" lists that let existing failures pass a check
|
|
147
|
+
- Never silence a check: no `@ts-ignore`, `eslint-disable`, `any`, loosened compiler or linter config, lowered coverage thresholds, or skipped tests to get green
|
|
148
|
+
- Never defer part of the requested job as "follow-up" or "known gap". Finish it, or say plainly that it is not done and why
|
|
149
|
+
- If the backlog is too large for one change, split the fix into parallel changes and land them together. The check still turns on strict, with nothing exempted
|
|
150
|
+
- An existing exemption list is debt to pay off: fix its entries and delete the list and the code that reads it
|
|
151
|
+
|
|
132
152
|
---
|
|
133
153
|
|
|
134
154
|
## Quick Reference
|
|
@@ -45,6 +45,7 @@ Upload captured evidence and generated templates to GitHub PR description and JI
|
|
|
45
45
|
- `gh` CLI authenticated
|
|
46
46
|
- Evidence directory containing:
|
|
47
47
|
- `NN-name.txt` or `NN-name.json` text evidence files (e.g., `01-health-check.json`)
|
|
48
|
+
- and/or `NN-name-viewport.png` screenshots (e.g., `01-search-step-desktop.png`) — the only image form uploaded
|
|
48
49
|
- `comment.txt` — JIRA wiki markup (generated by `generate-templates.py`)
|
|
49
50
|
- `comment.md` — GitHub markdown (generated by `generate-templates.py`)
|
|
50
51
|
|
|
@@ -88,12 +89,13 @@ LISA_EVIDENCE_RELEASE=pr-assets bash .claude/skills/jira-evidence/scripts/post-e
|
|
|
88
89
|
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.
|
|
89
90
|
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 evidence file as `pr-<PR_NUMBER>-<file>` via `gh release upload --clobber`, 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.
|
|
90
91
|
3. **Update PR description** — Replaces or appends the `## Evidence` section in the PR body
|
|
91
|
-
4. **
|
|
92
|
-
5. **
|
|
92
|
+
4. **Upload JIRA attachments** — Uploads each `NN-*.png` screenshot to the ticket via REST API v3 so the `!filename.png!` wiki markup in `comment.txt` renders inline (skipped when there are none)
|
|
93
|
+
5. **Post JIRA comment** — Posts `comment.txt` as a new comment (wiki markup with code blocks and embedded screenshots)
|
|
94
|
+
6. **Move ticket to the configured review status** — Transitions the JIRA ticket to `$REVIEW` (default: `Code Review`).
|
|
93
95
|
|
|
94
96
|
## Evidence Naming Convention
|
|
95
97
|
|
|
96
|
-
Text evidence files are named: `{NN}-{evidence-name}.txt` or `{NN}-{evidence-name}.json`
|
|
98
|
+
Text evidence files are named: `{NN}-{evidence-name}.txt` or `{NN}-{evidence-name}.json`. Screenshots are named `{NN}-{evidence-name}-{viewport}.png`; only `NN-*.png` images are uploaded, so a `.jpg` or `.gif` is ignored.
|
|
97
99
|
|
|
98
100
|
```text
|
|
99
101
|
evidence/
|
|
@@ -104,7 +106,7 @@ evidence/
|
|
|
104
106
|
comment.md used for PR description
|
|
105
107
|
```
|
|
106
108
|
|
|
107
|
-
Local evidence files keep their `NN-` names. In the shared evidence release each one is stored as `pr-<number>-<file>` (for PR 42, `01-health-check.json` becomes `pr-42-01-health-check.json`), so two pull requests with a same-named file never overwrite each other's evidence. `generate-templates.py` links that scoped name.
|
|
109
|
+
Local evidence files keep their `NN-` names. In the shared evidence release each one is stored as `pr-<number>-<file>` (for PR 42, `01-health-check.json` becomes `pr-42-01-health-check.json`), so two pull requests with a same-named file never overwrite each other's evidence. `generate-templates.py` links that scoped name; JIRA attachments keep the local name.
|
|
108
110
|
|
|
109
111
|
## Troubleshooting
|
|
110
112
|
|
|
@@ -124,6 +126,10 @@ does not rotate yet, set `verification.completion.evidenceRelease` in
|
|
|
124
126
|
release name is too long to take an overflow suffix (shorten it); older evidence
|
|
125
127
|
keeps validating.
|
|
126
128
|
|
|
129
|
+
### JIRA comment shows `!filename.png!` as text (not image)
|
|
130
|
+
|
|
131
|
+
The screenshot must be uploaded as a JIRA attachment before the comment is posted. The script uploads attachments first, then posts the comment — always in that order.
|
|
132
|
+
|
|
127
133
|
### JIRA API returns 403
|
|
128
134
|
|
|
129
135
|
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.
|
|
@@ -142,7 +142,7 @@ LISA_EVIDENCE_RELEASE=<name> python3 .claude/skills/jira-journey/scripts/generat
|
|
|
142
142
|
./evidence
|
|
143
143
|
```
|
|
144
144
|
|
|
145
|
-
This generates `evidence/comment.txt` (JIRA wiki markup) and `evidence/comment.md` (GitHub markdown) with evidence formatted as code blocks.
|
|
145
|
+
This generates `evidence/comment.txt` (JIRA wiki markup) and `evidence/comment.md` (GitHub markdown) with text evidence formatted as code blocks. `NN-<name>-<viewport>.png` screenshots are embedded as images, labelled and sized by the journey viewport their name ends in (capped at 700px in JIRA), and the journey's viewports are listed under Key Viewports. Stack-specific capture guidance — which markers, viewports and tools — comes from the stack's `journey-guidance` skill when one is installed.
|
|
146
146
|
|
|
147
147
|
Both `generate-templates.py` and `post-evidence.sh` read `LISA_EVIDENCE_RELEASE`; `post-evidence.sh` still validates and capacity-checks it. Without it they resolve the configured release themselves (default `pr-assets`).
|
|
148
148
|
|
|
@@ -156,7 +156,7 @@ LISA_EVIDENCE_RELEASE=<name> bash .claude/skills/jira-evidence/scripts/post-evid
|
|
|
156
156
|
|
|
157
157
|
### Step 6: Verify
|
|
158
158
|
|
|
159
|
-
Confirm evidence is posted to both the JIRA ticket and GitHub PR.
|
|
159
|
+
Confirm evidence is posted to both the JIRA ticket and GitHub PR, and that any screenshots render inline at both.
|
|
160
160
|
|
|
161
161
|
## Verification Patterns Reference
|
|
162
162
|
|
|
@@ -88,7 +88,12 @@ def get_github_repo():
|
|
|
88
88
|
|
|
89
89
|
|
|
90
90
|
def collect_evidence(evidence_dir):
|
|
91
|
-
"""Collect evidence files (text, JSON, and images) sorted by name.
|
|
91
|
+
"""Collect evidence files (text, JSON, and images) sorted by name.
|
|
92
|
+
|
|
93
|
+
Images are NN-*.png only: that is exactly what post-evidence.sh uploads
|
|
94
|
+
and attaches, and it refuses a description that links anything it did
|
|
95
|
+
not upload (CodySwannGT/lisa#4639). Linking a .jpg/.gif would fail it.
|
|
96
|
+
"""
|
|
92
97
|
evidence_path = Path(evidence_dir)
|
|
93
98
|
files = []
|
|
94
99
|
for pattern in ("[0-9][0-9]-*.txt", "[0-9][0-9]-*.json", "[0-9][0-9]-*.png"):
|
|
@@ -109,6 +114,48 @@ def detect_language(filename, content):
|
|
|
109
114
|
return "text"
|
|
110
115
|
|
|
111
116
|
|
|
117
|
+
def screenshot_viewport(stem, journey):
|
|
118
|
+
"""Return the journey viewport a screenshot was captured at, or None.
|
|
119
|
+
|
|
120
|
+
Screenshot journeys run once per viewport and name each capture
|
|
121
|
+
NN-<marker>-<viewport>.png. A viewport name may itself contain hyphens
|
|
122
|
+
("Mobile-Landscape"), so each name is matched, case-insensitively, as a
|
|
123
|
+
whole suffix at a hyphen boundary, and the longest matching name wins.
|
|
124
|
+
"""
|
|
125
|
+
lowered = stem.lower()
|
|
126
|
+
matches = [
|
|
127
|
+
viewport
|
|
128
|
+
for viewport in journey.get("viewports") or []
|
|
129
|
+
if str(viewport.get("name", ""))
|
|
130
|
+
and lowered.endswith("-" + str(viewport["name"]).lower())
|
|
131
|
+
]
|
|
132
|
+
return max(matches, key=lambda v: len(str(v["name"])), default=None)
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
def evidence_label(evidence_path, journey):
|
|
136
|
+
"""Readable label for one evidence file, and its viewport when it has one.
|
|
137
|
+
|
|
138
|
+
The NN- prefix is dropped. For a screenshot whose name ends in a journey
|
|
139
|
+
viewport, that suffix moves into the label as "(Name WxH)".
|
|
140
|
+
"""
|
|
141
|
+
stem = evidence_path.stem
|
|
142
|
+
viewport = screenshot_viewport(stem, journey) if evidence_path.suffix == ".png" else None
|
|
143
|
+
label_parts = stem.split("-")[1:]
|
|
144
|
+
if viewport is not None:
|
|
145
|
+
name_segments = len(str(viewport["name"]).split("-"))
|
|
146
|
+
label_parts = label_parts[:-name_segments]
|
|
147
|
+
label = " ".join(label_parts).title() if label_parts else stem
|
|
148
|
+
if viewport is not None:
|
|
149
|
+
label = f"{label} ({viewport['name']} {viewport['width']}x{viewport['height']})"
|
|
150
|
+
return label, viewport
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
def viewport_rows(journey):
|
|
154
|
+
"""Yield (name, "WxH") for each journey viewport."""
|
|
155
|
+
for viewport in journey.get("viewports") or []:
|
|
156
|
+
yield viewport["name"], f"{viewport['width']}x{viewport['height']}"
|
|
157
|
+
|
|
158
|
+
|
|
112
159
|
def generate_jira_wiki(ticket_id, pr_number, branch, evidence_files, journey, gh_repo):
|
|
113
160
|
"""Generate JIRA wiki markup comment with code block evidence."""
|
|
114
161
|
lines = []
|
|
@@ -132,13 +179,12 @@ def generate_jira_wiki(ticket_id, pr_number, branch, evidence_files, journey, gh
|
|
|
132
179
|
|
|
133
180
|
for evidence_path in evidence_files:
|
|
134
181
|
filename = evidence_path.name
|
|
135
|
-
|
|
136
|
-
# Extract readable label: remove NN- prefix
|
|
137
|
-
label_parts = stem.split("-")[1:]
|
|
138
|
-
label = " ".join(label_parts).title() if label_parts else stem
|
|
182
|
+
label, viewport = evidence_label(evidence_path, journey)
|
|
139
183
|
|
|
140
184
|
if filename.endswith(".png"):
|
|
141
|
-
|
|
185
|
+
# Show a screenshot at its viewport's width so a mobile capture is
|
|
186
|
+
# not upscaled, capped at 700 to fit the Jira comment column.
|
|
187
|
+
display_width = min(viewport["width"], 700) if viewport else 700
|
|
142
188
|
lines.append(f"*{label}:*")
|
|
143
189
|
lines.append(f"!{filename}|width={display_width}!")
|
|
144
190
|
lines.append("")
|
|
@@ -161,6 +207,14 @@ def generate_jira_wiki(ticket_id, pr_number, branch, evidence_files, journey, gh
|
|
|
161
207
|
lines.append(f"# {clean_text}")
|
|
162
208
|
lines.append("")
|
|
163
209
|
|
|
210
|
+
if journey.get("viewports"):
|
|
211
|
+
lines.append("h3. Key Viewports")
|
|
212
|
+
lines.append("")
|
|
213
|
+
lines.append("||Viewport||Resolution||")
|
|
214
|
+
for name, resolution in viewport_rows(journey):
|
|
215
|
+
lines.append(f"|{name}|{resolution}|")
|
|
216
|
+
lines.append("")
|
|
217
|
+
|
|
164
218
|
return "\n".join(lines)
|
|
165
219
|
|
|
166
220
|
|
|
@@ -192,9 +246,7 @@ def generate_github_md(ticket_id, pr_number, branch, evidence_files, journey, gh
|
|
|
192
246
|
|
|
193
247
|
for evidence_path in evidence_files:
|
|
194
248
|
filename = evidence_path.name
|
|
195
|
-
|
|
196
|
-
label_parts = stem.split("-")[1:]
|
|
197
|
-
label = " ".join(label_parts).title() if label_parts else stem
|
|
249
|
+
label, _viewport = evidence_label(evidence_path, journey)
|
|
198
250
|
|
|
199
251
|
if filename.endswith(".png"):
|
|
200
252
|
lines.append(f"**{label}:**")
|
|
@@ -224,6 +276,15 @@ def generate_github_md(ticket_id, pr_number, branch, evidence_files, journey, gh
|
|
|
224
276
|
lines.append(f"{step['number']}. {clean_text}")
|
|
225
277
|
lines.append("")
|
|
226
278
|
|
|
279
|
+
if journey.get("viewports"):
|
|
280
|
+
lines.append("### Key Viewports")
|
|
281
|
+
lines.append("")
|
|
282
|
+
lines.append("| Viewport | Resolution |")
|
|
283
|
+
lines.append("|----------|-----------|")
|
|
284
|
+
for name, resolution in viewport_rows(journey):
|
|
285
|
+
lines.append(f"| {name} | {resolution} |")
|
|
286
|
+
lines.append("")
|
|
287
|
+
|
|
227
288
|
return "\n".join(lines)
|
|
228
289
|
|
|
229
290
|
|
|
@@ -9,7 +9,7 @@ Expo stack guidance for Validation Journeys on any tracker: when a ticket needs
|
|
|
9
9
|
|
|
10
10
|
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`).
|
|
11
11
|
|
|
12
|
-
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
|
|
12
|
+
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 mechanics (parsing the journey, generating the evidence comment, uploading screenshots) live in the base `lisa-jira-*` skills, so this skill is the only stack guidance on every tracker.
|
|
13
13
|
|
|
14
14
|
## When a ticket needs a journey
|
|
15
15
|
|
|
@@ -25,6 +25,11 @@ Skip it only for pure backend/API changes with no UI surface, config-only change
|
|
|
25
25
|
|
|
26
26
|
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.
|
|
27
27
|
|
|
28
|
+
When drafting tickets:
|
|
29
|
+
|
|
30
|
+
- Prefer reusing the project's existing component library over pixel-matching a mock from scratch, and say which component in the ticket. In React Native, rebuilding instead of reusing is the most common way a ticket drifts from the product.
|
|
31
|
+
- Put every feature behind a feature flag with a lifecycle plan (when it turns on, and when the flag is removed), and name the flag in the journey's Prerequisites.
|
|
32
|
+
|
|
28
33
|
## Writing the journey
|
|
29
34
|
|
|
30
35
|
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):
|
|
@@ -69,9 +74,9 @@ To find the flow, read the code: the components involved (search by ticket id, f
|
|
|
69
74
|
Requires the Playwright MCP server and a running dev server.
|
|
70
75
|
|
|
71
76
|
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.
|
|
72
|
-
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.
|
|
77
|
+
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. If the app asks for sign-in again after a resize or navigation, the journey's steps must include it.
|
|
73
78
|
3. At each screenshot marker, `browser_take_screenshot`. For a conditional step, capture the state the step text describes.
|
|
74
79
|
|
|
75
80
|
## Naming the evidence
|
|
76
81
|
|
|
77
|
-
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
|
|
82
|
+
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`. Only `.png` is uploaded, so do not save screenshots as `.jpg` or `.gif`. What happens to them next depends on the tracker. On Jira, `lisa-jira-journey`'s template generator labels and sizes each screenshot by the viewport its name ends in, and `lisa-jira-evidence` attaches it to the ticket and uploads it 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.
|
|
@@ -7,7 +7,7 @@ description: "Expo stack guidance for Validation Journeys on any tracker: when a
|
|
|
7
7
|
|
|
8
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
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
|
|
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 mechanics (parsing the journey, generating the evidence comment, uploading screenshots) live in the base `lisa-jira-*` skills, so this skill is the only stack guidance on every tracker.
|
|
11
11
|
|
|
12
12
|
## When a ticket needs a journey
|
|
13
13
|
|
|
@@ -23,6 +23,11 @@ Skip it only for pure backend/API changes with no UI surface, config-only change
|
|
|
23
23
|
|
|
24
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
25
|
|
|
26
|
+
When drafting tickets:
|
|
27
|
+
|
|
28
|
+
- Prefer reusing the project's existing component library over pixel-matching a mock from scratch, and say which component in the ticket. In React Native, rebuilding instead of reusing is the most common way a ticket drifts from the product.
|
|
29
|
+
- Put every feature behind a feature flag with a lifecycle plan (when it turns on, and when the flag is removed), and name the flag in the journey's Prerequisites.
|
|
30
|
+
|
|
26
31
|
## Writing the journey
|
|
27
32
|
|
|
28
33
|
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):
|
|
@@ -67,9 +72,9 @@ To find the flow, read the code: the components involved (search by ticket id, f
|
|
|
67
72
|
Requires the Playwright MCP server and a running dev server.
|
|
68
73
|
|
|
69
74
|
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.
|
|
75
|
+
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. If the app asks for sign-in again after a resize or navigation, the journey's steps must include it.
|
|
71
76
|
3. At each screenshot marker, `browser_take_screenshot`. For a conditional step, capture the state the step text describes.
|
|
72
77
|
|
|
73
78
|
## Naming the evidence
|
|
74
79
|
|
|
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
|
|
80
|
+
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`. Only `.png` is uploaded, so do not save screenshots as `.jpg` or `.gif`. What happens to them next depends on the tracker. On Jira, `lisa-jira-journey`'s template generator labels and sizes each screenshot by the viewport its name ends in, and `lisa-jira-evidence` attaches it to the ticket and uploads it 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.
|
|
@@ -7,7 +7,7 @@ description: "Expo stack guidance for Validation Journeys on any tracker: when a
|
|
|
7
7
|
|
|
8
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
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
|
|
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 mechanics (parsing the journey, generating the evidence comment, uploading screenshots) live in the base `lisa-jira-*` skills, so this skill is the only stack guidance on every tracker.
|
|
11
11
|
|
|
12
12
|
## When a ticket needs a journey
|
|
13
13
|
|
|
@@ -23,6 +23,11 @@ Skip it only for pure backend/API changes with no UI surface, config-only change
|
|
|
23
23
|
|
|
24
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
25
|
|
|
26
|
+
When drafting tickets:
|
|
27
|
+
|
|
28
|
+
- Prefer reusing the project's existing component library over pixel-matching a mock from scratch, and say which component in the ticket. In React Native, rebuilding instead of reusing is the most common way a ticket drifts from the product.
|
|
29
|
+
- Put every feature behind a feature flag with a lifecycle plan (when it turns on, and when the flag is removed), and name the flag in the journey's Prerequisites.
|
|
30
|
+
|
|
26
31
|
## Writing the journey
|
|
27
32
|
|
|
28
33
|
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):
|
|
@@ -67,9 +72,9 @@ To find the flow, read the code: the components involved (search by ticket id, f
|
|
|
67
72
|
Requires the Playwright MCP server and a running dev server.
|
|
68
73
|
|
|
69
74
|
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.
|
|
75
|
+
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. If the app asks for sign-in again after a resize or navigation, the journey's steps must include it.
|
|
71
76
|
3. At each screenshot marker, `browser_take_screenshot`. For a conditional step, capture the state the step text describes.
|
|
72
77
|
|
|
73
78
|
## Naming the evidence
|
|
74
79
|
|
|
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
|
|
80
|
+
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`. Only `.png` is uploaded, so do not save screenshots as `.jpg` or `.gif`. What happens to them next depends on the tracker. On Jira, `lisa-jira-journey`'s template generator labels and sizes each screenshot by the viewport its name ends in, and `lisa-jira-evidence` attaches it to the ticket and uploads it 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.
|
|
@@ -7,7 +7,7 @@ description: "Expo stack guidance for Validation Journeys on any tracker: when a
|
|
|
7
7
|
|
|
8
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
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
|
|
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 mechanics (parsing the journey, generating the evidence comment, uploading screenshots) live in the base `lisa-jira-*` skills, so this skill is the only stack guidance on every tracker.
|
|
11
11
|
|
|
12
12
|
## When a ticket needs a journey
|
|
13
13
|
|
|
@@ -23,6 +23,11 @@ Skip it only for pure backend/API changes with no UI surface, config-only change
|
|
|
23
23
|
|
|
24
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
25
|
|
|
26
|
+
When drafting tickets:
|
|
27
|
+
|
|
28
|
+
- Prefer reusing the project's existing component library over pixel-matching a mock from scratch, and say which component in the ticket. In React Native, rebuilding instead of reusing is the most common way a ticket drifts from the product.
|
|
29
|
+
- Put every feature behind a feature flag with a lifecycle plan (when it turns on, and when the flag is removed), and name the flag in the journey's Prerequisites.
|
|
30
|
+
|
|
26
31
|
## Writing the journey
|
|
27
32
|
|
|
28
33
|
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):
|
|
@@ -67,9 +72,9 @@ To find the flow, read the code: the components involved (search by ticket id, f
|
|
|
67
72
|
Requires the Playwright MCP server and a running dev server.
|
|
68
73
|
|
|
69
74
|
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.
|
|
75
|
+
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. If the app asks for sign-in again after a resize or navigation, the journey's steps must include it.
|
|
71
76
|
3. At each screenshot marker, `browser_take_screenshot`. For a conditional step, capture the state the step text describes.
|
|
72
77
|
|
|
73
78
|
## Naming the evidence
|
|
74
79
|
|
|
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
|
|
80
|
+
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`. Only `.png` is uploaded, so do not save screenshots as `.jpg` or `.gif`. What happens to them next depends on the tracker. On Jira, `lisa-jira-journey`'s template generator labels and sizes each screenshot by the viewport its name ends in, and `lisa-jira-evidence` attaches it to the ticket and uploads it 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.
|
|
@@ -7,7 +7,7 @@ description: "Expo stack guidance for Validation Journeys on any tracker: when a
|
|
|
7
7
|
|
|
8
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
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
|
|
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 mechanics (parsing the journey, generating the evidence comment, uploading screenshots) live in the base `lisa-jira-*` skills, so this skill is the only stack guidance on every tracker.
|
|
11
11
|
|
|
12
12
|
## When a ticket needs a journey
|
|
13
13
|
|
|
@@ -23,6 +23,11 @@ Skip it only for pure backend/API changes with no UI surface, config-only change
|
|
|
23
23
|
|
|
24
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
25
|
|
|
26
|
+
When drafting tickets:
|
|
27
|
+
|
|
28
|
+
- Prefer reusing the project's existing component library over pixel-matching a mock from scratch, and say which component in the ticket. In React Native, rebuilding instead of reusing is the most common way a ticket drifts from the product.
|
|
29
|
+
- Put every feature behind a feature flag with a lifecycle plan (when it turns on, and when the flag is removed), and name the flag in the journey's Prerequisites.
|
|
30
|
+
|
|
26
31
|
## Writing the journey
|
|
27
32
|
|
|
28
33
|
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):
|
|
@@ -67,9 +72,9 @@ To find the flow, read the code: the components involved (search by ticket id, f
|
|
|
67
72
|
Requires the Playwright MCP server and a running dev server.
|
|
68
73
|
|
|
69
74
|
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.
|
|
75
|
+
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. If the app asks for sign-in again after a resize or navigation, the journey's steps must include it.
|
|
71
76
|
3. At each screenshot marker, `browser_take_screenshot`. For a conditional step, capture the state the step text describes.
|
|
72
77
|
|
|
73
78
|
## Naming the evidence
|
|
74
79
|
|
|
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
|
|
80
|
+
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`. Only `.png` is uploaded, so do not save screenshots as `.jpg` or `.gif`. What happens to them next depends on the tracker. On Jira, `lisa-jira-journey`'s template generator labels and sizes each screenshot by the viewport its name ends in, and `lisa-jira-evidence` attaches it to the ticket and uploads it 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.
|