@codyswann/lisa 4.99.4 → 4.99.6
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/all/copy-overwrite/scripts/lib/completion-proof-github.mjs +155 -3
- package/all/copy-overwrite/scripts/lib/completion-proof-publisher.mjs +153 -18
- package/all/copy-overwrite/scripts/lisa-work-item.mjs +46 -2
- package/all/copy-overwrite/scripts/npm-updater-helper-graph.json +4 -3
- package/dist/core/lisa-owned-hash-ledger.d.ts.map +1 -1
- package/dist/core/lisa-owned-hash-ledger.js +20 -0
- package/dist/core/lisa-owned-hash-ledger.js.map +1 -1
- 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 +41 -24
- package/dist/core/upstream-evidence-manifest.js.map +1 -1
- package/dist/opencode/relative-imports.d.ts +59 -0
- package/dist/opencode/relative-imports.d.ts.map +1 -0
- package/dist/opencode/relative-imports.js +119 -0
- package/dist/opencode/relative-imports.js.map +1 -0
- package/dist/opencode/shared-scripts-cleanup.d.ts +43 -0
- package/dist/opencode/shared-scripts-cleanup.d.ts.map +1 -0
- package/dist/opencode/shared-scripts-cleanup.js +94 -0
- package/dist/opencode/shared-scripts-cleanup.js.map +1 -0
- package/dist/opencode/shared-scripts-emitter.d.ts +18 -0
- package/dist/opencode/shared-scripts-emitter.d.ts.map +1 -0
- package/dist/opencode/shared-scripts-emitter.js +173 -0
- package/dist/opencode/shared-scripts-emitter.js.map +1 -0
- package/dist/opencode/skills-installer.d.ts +4 -1
- package/dist/opencode/skills-installer.d.ts.map +1 -1
- package/dist/opencode/skills-installer.js +19 -3
- package/dist/opencode/skills-installer.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-github-evidence/SKILL.md +19 -9
- package/plugins/lisa/.codex-plugin/skills/lisa-github-journey/SKILL.md +1 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-implement/SKILL.md +1 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-jira-evidence/SKILL.md +18 -5
- package/plugins/lisa/.codex-plugin/skills/lisa-jira-evidence/agents/openai.yaml +2 -2
- package/plugins/lisa/.codex-plugin/skills/lisa-jira-evidence/scripts/post-evidence.sh +22 -3
- package/plugins/lisa/.codex-plugin/skills/lisa-jira-journey/SKILL.md +8 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-jira-journey/scripts/generate-templates.py +32 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-linear-evidence/SKILL.md +3 -3
- package/plugins/lisa/.codex-plugin/skills/lisa-linear-journey/SKILL.md +1 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-tracker-evidence/SKILL.md +4 -4
- package/plugins/lisa/.codex-plugin/skills/lisa-tracker-evidence/references/completion-authorization.md +32 -4
- package/plugins/lisa/.codex-plugin/skills/lisa-verify/SKILL.md +1 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-verify-prd/SKILL.md +3 -3
- package/plugins/lisa/agents/github-agent.md +1 -1
- package/plugins/lisa/skills/lisa-github-evidence/SKILL.md +19 -9
- package/plugins/lisa/skills/lisa-github-evidence/agents/openai.yaml +2 -2
- package/plugins/lisa/skills/lisa-github-journey/SKILL.md +1 -1
- package/plugins/lisa/skills/lisa-implement/SKILL.md +1 -1
- package/plugins/lisa/skills/lisa-jira-evidence/SKILL.md +17 -4
- package/plugins/lisa/skills/lisa-jira-evidence/agents/openai.yaml +2 -2
- package/plugins/lisa/skills/lisa-jira-evidence/scripts/post-evidence.sh +22 -3
- package/plugins/lisa/skills/lisa-jira-journey/SKILL.md +8 -0
- package/plugins/lisa/skills/lisa-jira-journey/scripts/generate-templates.py +32 -1
- package/plugins/lisa/skills/lisa-linear-evidence/SKILL.md +3 -3
- package/plugins/lisa/skills/lisa-linear-evidence/agents/openai.yaml +2 -2
- package/plugins/lisa/skills/lisa-linear-journey/SKILL.md +1 -1
- package/plugins/lisa/skills/lisa-tracker-evidence/SKILL.md +4 -4
- package/plugins/lisa/skills/lisa-tracker-evidence/references/completion-authorization.md +32 -4
- package/plugins/lisa/skills/lisa-verify/SKILL.md +1 -1
- package/plugins/lisa/skills/lisa-verify-prd/SKILL.md +3 -3
- package/plugins/lisa-agy/agents/github-agent.md +1 -1
- package/plugins/lisa-agy/plugin.json +1 -1
- package/plugins/lisa-agy/skills/lisa-github-evidence/SKILL.md +19 -9
- package/plugins/lisa-agy/skills/lisa-github-journey/SKILL.md +1 -1
- package/plugins/lisa-agy/skills/lisa-implement/SKILL.md +1 -1
- package/plugins/lisa-agy/skills/lisa-jira-evidence/SKILL.md +17 -4
- package/plugins/lisa-agy/skills/lisa-jira-evidence/scripts/post-evidence.sh +22 -3
- package/plugins/lisa-agy/skills/lisa-jira-journey/SKILL.md +8 -0
- package/plugins/lisa-agy/skills/lisa-jira-journey/scripts/generate-templates.py +32 -1
- package/plugins/lisa-agy/skills/lisa-linear-evidence/SKILL.md +3 -3
- package/plugins/lisa-agy/skills/lisa-linear-journey/SKILL.md +1 -1
- package/plugins/lisa-agy/skills/lisa-tracker-evidence/SKILL.md +4 -4
- package/plugins/lisa-agy/skills/lisa-tracker-evidence/references/completion-authorization.md +32 -4
- package/plugins/lisa-agy/skills/lisa-verify/SKILL.md +1 -1
- package/plugins/lisa-agy/skills/lisa-verify-prd/SKILL.md +3 -3
- package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-agy/plugin.json +1 -1
- package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/agents/github-agent.agent.md +1 -1
- package/plugins/lisa-copilot/skills/lisa-github-evidence/SKILL.md +19 -9
- package/plugins/lisa-copilot/skills/lisa-github-journey/SKILL.md +1 -1
- package/plugins/lisa-copilot/skills/lisa-implement/SKILL.md +1 -1
- package/plugins/lisa-copilot/skills/lisa-jira-evidence/SKILL.md +17 -4
- package/plugins/lisa-copilot/skills/lisa-jira-evidence/scripts/post-evidence.sh +22 -3
- package/plugins/lisa-copilot/skills/lisa-jira-journey/SKILL.md +8 -0
- package/plugins/lisa-copilot/skills/lisa-jira-journey/scripts/generate-templates.py +32 -1
- package/plugins/lisa-copilot/skills/lisa-linear-evidence/SKILL.md +3 -3
- package/plugins/lisa-copilot/skills/lisa-linear-journey/SKILL.md +1 -1
- package/plugins/lisa-copilot/skills/lisa-tracker-evidence/SKILL.md +4 -4
- package/plugins/lisa-copilot/skills/lisa-tracker-evidence/references/completion-authorization.md +32 -4
- package/plugins/lisa-copilot/skills/lisa-verify/SKILL.md +1 -1
- package/plugins/lisa-copilot/skills/lisa-verify-prd/SKILL.md +3 -3
- package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cursor/agents/github-agent.md +1 -1
- package/plugins/lisa-cursor/skills/lisa-github-evidence/SKILL.md +19 -9
- package/plugins/lisa-cursor/skills/lisa-github-journey/SKILL.md +1 -1
- package/plugins/lisa-cursor/skills/lisa-implement/SKILL.md +1 -1
- package/plugins/lisa-cursor/skills/lisa-jira-evidence/SKILL.md +17 -4
- package/plugins/lisa-cursor/skills/lisa-jira-evidence/scripts/post-evidence.sh +22 -3
- package/plugins/lisa-cursor/skills/lisa-jira-journey/SKILL.md +8 -0
- package/plugins/lisa-cursor/skills/lisa-jira-journey/scripts/generate-templates.py +32 -1
- package/plugins/lisa-cursor/skills/lisa-linear-evidence/SKILL.md +3 -3
- package/plugins/lisa-cursor/skills/lisa-linear-journey/SKILL.md +1 -1
- package/plugins/lisa-cursor/skills/lisa-tracker-evidence/SKILL.md +4 -4
- package/plugins/lisa-cursor/skills/lisa-tracker-evidence/references/completion-authorization.md +32 -4
- package/plugins/lisa-cursor/skills/lisa-verify/SKILL.md +1 -1
- package/plugins/lisa-cursor/skills/lisa-verify-prd/SKILL.md +3 -3
- package/plugins/lisa-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-devin/agents/github-agent.md +1 -1
- package/plugins/lisa-devin/skills/lisa-github-evidence/SKILL.md +19 -9
- package/plugins/lisa-devin/skills/lisa-github-journey/SKILL.md +1 -1
- package/plugins/lisa-devin/skills/lisa-implement/SKILL.md +1 -1
- package/plugins/lisa-devin/skills/lisa-jira-evidence/SKILL.md +17 -4
- package/plugins/lisa-devin/skills/lisa-jira-evidence/scripts/post-evidence.sh +22 -3
- package/plugins/lisa-devin/skills/lisa-jira-journey/SKILL.md +8 -0
- package/plugins/lisa-devin/skills/lisa-jira-journey/scripts/generate-templates.py +32 -1
- package/plugins/lisa-devin/skills/lisa-linear-evidence/SKILL.md +3 -3
- package/plugins/lisa-devin/skills/lisa-linear-journey/SKILL.md +1 -1
- package/plugins/lisa-devin/skills/lisa-tracker-evidence/SKILL.md +4 -4
- package/plugins/lisa-devin/skills/lisa-tracker-evidence/references/completion-authorization.md +32 -4
- package/plugins/lisa-devin/skills/lisa-verify/SKILL.md +1 -1
- package/plugins/lisa-devin/skills/lisa-verify-prd/SKILL.md +3 -3
- package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-expo/.codex-plugin/skills/jira-evidence/SKILL.md +18 -5
- package/plugins/lisa-expo/.codex-plugin/skills/jira-evidence/agents/openai.yaml +2 -2
- package/plugins/lisa-expo/.codex-plugin/skills/jira-evidence/scripts/post-evidence.sh +22 -3
- package/plugins/lisa-expo/.codex-plugin/skills/jira-journey/SKILL.md +8 -0
- package/plugins/lisa-expo/.codex-plugin/skills/jira-journey/scripts/generate-templates.py +32 -1
- package/plugins/lisa-expo/skills/jira-evidence/SKILL.md +17 -4
- package/plugins/lisa-expo/skills/jira-evidence/agents/openai.yaml +2 -2
- package/plugins/lisa-expo/skills/jira-evidence/scripts/post-evidence.sh +22 -3
- package/plugins/lisa-expo/skills/jira-journey/SKILL.md +8 -0
- package/plugins/lisa-expo/skills/jira-journey/scripts/generate-templates.py +32 -1
- package/plugins/lisa-expo-agy/plugin.json +1 -1
- package/plugins/lisa-expo-agy/skills/jira-evidence/SKILL.md +17 -4
- package/plugins/lisa-expo-agy/skills/jira-evidence/scripts/post-evidence.sh +22 -3
- package/plugins/lisa-expo-agy/skills/jira-journey/SKILL.md +8 -0
- package/plugins/lisa-expo-agy/skills/jira-journey/scripts/generate-templates.py +32 -1
- package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-copilot/skills/jira-evidence/SKILL.md +17 -4
- package/plugins/lisa-expo-copilot/skills/jira-evidence/scripts/post-evidence.sh +22 -3
- package/plugins/lisa-expo-copilot/skills/jira-journey/SKILL.md +8 -0
- package/plugins/lisa-expo-copilot/skills/jira-journey/scripts/generate-templates.py +32 -1
- package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-cursor/skills/jira-evidence/SKILL.md +17 -4
- package/plugins/lisa-expo-cursor/skills/jira-evidence/scripts/post-evidence.sh +22 -3
- package/plugins/lisa-expo-cursor/skills/jira-journey/SKILL.md +8 -0
- package/plugins/lisa-expo-cursor/skills/jira-journey/scripts/generate-templates.py +32 -1
- 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/jira-evidence/SKILL.md +17 -4
- package/plugins/lisa-expo-devin/skills/jira-evidence/scripts/post-evidence.sh +22 -3
- package/plugins/lisa-expo-devin/skills/jira-journey/SKILL.md +8 -0
- package/plugins/lisa-expo-devin/skills/jira-journey/scripts/generate-templates.py +32 -1
- 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-openclaw/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-agy/plugin.json +1 -1
- package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-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/jira-evidence/SKILL.md +18 -5
- package/plugins/lisa-rails/.codex-plugin/skills/jira-evidence/agents/openai.yaml +2 -2
- package/plugins/lisa-rails/.codex-plugin/skills/jira-evidence/scripts/post-evidence.sh +22 -3
- package/plugins/lisa-rails/skills/jira-evidence/SKILL.md +17 -4
- package/plugins/lisa-rails/skills/jira-evidence/agents/openai.yaml +2 -2
- package/plugins/lisa-rails/skills/jira-evidence/scripts/post-evidence.sh +22 -3
- package/plugins/lisa-rails-agy/plugin.json +1 -1
- package/plugins/lisa-rails-agy/skills/jira-evidence/SKILL.md +17 -4
- package/plugins/lisa-rails-agy/skills/jira-evidence/scripts/post-evidence.sh +22 -3
- package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-copilot/skills/jira-evidence/SKILL.md +17 -4
- package/plugins/lisa-rails-copilot/skills/jira-evidence/scripts/post-evidence.sh +22 -3
- package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-cursor/skills/jira-evidence/SKILL.md +17 -4
- package/plugins/lisa-rails-cursor/skills/jira-evidence/scripts/post-evidence.sh +22 -3
- 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/jira-evidence/SKILL.md +17 -4
- package/plugins/lisa-rails-devin/skills/jira-evidence/scripts/post-evidence.sh +22 -3
- package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-agy/plugin.json +1 -1
- package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-agy/plugin.json +1 -1
- package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/src/base/agents/github-agent.md +1 -1
- package/plugins/src/base/skills/lisa-github-evidence/SKILL.md +19 -9
- package/plugins/src/base/skills/lisa-github-journey/SKILL.md +1 -1
- package/plugins/src/base/skills/lisa-implement/SKILL.md +1 -1
- package/plugins/src/base/skills/lisa-jira-evidence/SKILL.md +17 -4
- package/plugins/src/base/skills/lisa-jira-evidence/scripts/post-evidence.sh +22 -3
- package/plugins/src/base/skills/lisa-jira-journey/SKILL.md +8 -0
- package/plugins/src/base/skills/lisa-jira-journey/scripts/generate-templates.py +32 -1
- package/plugins/src/base/skills/lisa-linear-evidence/SKILL.md +3 -3
- package/plugins/src/base/skills/lisa-linear-journey/SKILL.md +1 -1
- package/plugins/src/base/skills/lisa-tracker-evidence/SKILL.md +4 -4
- package/plugins/src/base/skills/lisa-tracker-evidence/references/completion-authorization.md +32 -4
- package/plugins/src/base/skills/lisa-verify/SKILL.md +1 -1
- package/plugins/src/base/skills/lisa-verify-prd/SKILL.md +3 -3
- package/plugins/src/expo/skills/jira-evidence/SKILL.md +17 -4
- package/plugins/src/expo/skills/jira-evidence/scripts/post-evidence.sh +22 -3
- package/plugins/src/expo/skills/jira-journey/SKILL.md +8 -0
- package/plugins/src/expo/skills/jira-journey/scripts/generate-templates.py +32 -1
- package/plugins/src/rails/skills/jira-evidence/SKILL.md +17 -4
- package/plugins/src/rails/skills/jira-evidence/scripts/post-evidence.sh +22 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "4.99.
|
|
3
|
+
"version": "4.99.6",
|
|
4
4
|
"description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, for Claude Code and Codex",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Cody Swann"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "4.99.
|
|
3
|
+
"version": "4.99.6",
|
|
4
4
|
"description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, for Claude Code and Codex",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Cody Swann"
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: jira-evidence
|
|
3
|
-
description: "Upload evidence to
|
|
3
|
+
description: "Upload evidence to the…"
|
|
4
4
|
---
|
|
5
|
-
Upload evidence to GitHub pr-assets
|
|
5
|
+
Upload evidence to the configured GitHub evidence release (default pr-assets), update PR description, upload attachments to JIRA, post comment, and move ticket to the configured review status only when `jira.workflow.review` is set (otherwise leave it in `claimed`). Reusable by any skill that captures evidence and generates evidence/comment.txt + evidence/comment.md.
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
# JIRA Evidence Posting
|
|
@@ -45,10 +45,18 @@ bash .claude/skills/jira-evidence/scripts/post-evidence.sh <TICKET_ID> <EVIDENCE
|
|
|
45
45
|
bash .claude/skills/jira-evidence/scripts/post-evidence.sh PROJ-123 ./evidence 42
|
|
46
46
|
```
|
|
47
47
|
|
|
48
|
+
When `generate-templates.py` wrote the evidence links, run both with the same exported release so the links match the uploads:
|
|
49
|
+
|
|
50
|
+
```bash
|
|
51
|
+
export LISA_EVIDENCE_RELEASE=$(node scripts/lisa-work-item.mjs evidence-release --ensure)
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
`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.
|
|
55
|
+
|
|
48
56
|
## What It Does
|
|
49
57
|
|
|
50
58
|
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.
|
|
51
|
-
2. **Upload to
|
|
59
|
+
2. **Upload to the configured evidence release (`node scripts/lisa-work-item.mjs evidence-release --ensure` prints it; default `pr-assets`)** — Uploads evidence files via `gh release upload --clobber`, creating CDN URLs
|
|
52
60
|
3. **Update PR description** — Replaces or appends the `## Evidence` section in the PR body using `gh pr edit`
|
|
53
61
|
4. **Upload JIRA attachments** — Uploads image evidence via REST API v3 so `!filename.png!` wiki markup renders inline
|
|
54
62
|
5. **Post JIRA comment** — Posts `comment.txt` as a new comment via REST API v2 (wiki markup)
|
|
@@ -63,12 +71,17 @@ bash .claude/skills/jira-evidence/scripts/post-evidence.sh PROJ-123 ./evidence 4
|
|
|
63
71
|
|
|
64
72
|
### Images not rendering in GitHub PR
|
|
65
73
|
|
|
66
|
-
Images must be in the `pr-assets`
|
|
74
|
+
Images 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
|
|
75
|
+
check it is not at GitHub's 1000-file limit, with:
|
|
67
76
|
|
|
68
77
|
```bash
|
|
69
|
-
|
|
78
|
+
node scripts/lisa-work-item.mjs evidence-release --ensure
|
|
70
79
|
```
|
|
71
80
|
|
|
81
|
+
If it reports the release is nearly full, set
|
|
82
|
+
`verification.completion.evidenceRelease` in `.lisa.config.json` to a rotating
|
|
83
|
+
name such as `pr-assets-{YYYY-MM}`; older evidence keeps validating.
|
|
84
|
+
|
|
72
85
|
### JIRA comment shows `!filename.png!` as text (not image)
|
|
73
86
|
|
|
74
87
|
The screenshot must be uploaded as a JIRA attachment before posting the comment. The script uploads attachments first then posts the comment.
|
|
@@ -14,7 +14,8 @@
|
|
|
14
14
|
# - gh CLI authenticated
|
|
15
15
|
#
|
|
16
16
|
# What it does:
|
|
17
|
-
# 1. Uploads evidence files to the
|
|
17
|
+
# 1. Uploads evidence files to the configured GitHub evidence release
|
|
18
|
+
# (default 'pr-assets'; see verification.completion.evidenceRelease)
|
|
18
19
|
# 2. Updates the GitHub PR description with evidence/comment.md
|
|
19
20
|
# 3. Uploads image evidence as JIRA attachments
|
|
20
21
|
# 4. Posts/updates the JIRA comment with evidence/comment.txt
|
|
@@ -106,7 +107,25 @@ PY_ORIGIN
|
|
|
106
107
|
)
|
|
107
108
|
|
|
108
109
|
GH_REPO=$(gh repo view --json nameWithOwner --jq '.nameWithOwner')
|
|
109
|
-
|
|
110
|
+
# The evidence release comes from the one resolver every writer shares, so a
|
|
111
|
+
# project's `verification.completion.evidenceRelease` (for example the rotating
|
|
112
|
+
# `pr-assets-{YYYY-MM}`) moves this upload too. GitHub caps a release at 1000
|
|
113
|
+
# assets; a hardcoded `pr-assets` filled up and every upload then failed with a
|
|
114
|
+
# raw HTTP 422 (CodySwannGT/lisa#4692). `--ensure` creates the release when it
|
|
115
|
+
# is absent and refuses, in plain words, when it is nearly full. A host whose
|
|
116
|
+
# Lisa predates the resolver keeps the legacy release.
|
|
117
|
+
#
|
|
118
|
+
# LISA_EVIDENCE_RELEASE, when set, pins the release for this run so the links
|
|
119
|
+
# generate-templates.py wrote match these uploads. The resolver still checks
|
|
120
|
+
# that name and the release's capacity; it reads the variable itself.
|
|
121
|
+
RELEASE_TAG="${LISA_EVIDENCE_RELEASE:-pr-assets}"
|
|
122
|
+
WORK_ITEM_CLI="${PROJECT_DIR}/scripts/lisa-work-item.mjs"
|
|
123
|
+
if [[ -f "$WORK_ITEM_CLI" ]]; then
|
|
124
|
+
if ! RELEASE_TAG=$(cd "$PROJECT_DIR" && node "$WORK_ITEM_CLI" evidence-release --ensure); then
|
|
125
|
+
echo "ERROR: the GitHub evidence release is not usable (see the message above); no evidence was uploaded." >&2
|
|
126
|
+
exit 1
|
|
127
|
+
fi
|
|
128
|
+
fi
|
|
110
129
|
|
|
111
130
|
if [[ -z "${JIRA_API_TOKEN:-}" ]]; then
|
|
112
131
|
echo "ERROR: JIRA_API_TOKEN environment variable is not set" >&2
|
|
@@ -137,7 +156,7 @@ echo "Found ${#SCREENSHOTS[@]} screenshots and ${#TEXT_EVIDENCE[@]} text evidenc
|
|
|
137
156
|
# Compute JIRA auth early (used in steps 3 and 4)
|
|
138
157
|
JIRA_AUTH=$(printf '%s' "$JIRA_USER:$JIRA_API_TOKEN" | base64 | tr -d '\n')
|
|
139
158
|
|
|
140
|
-
# ── Step 1: Upload to GitHub
|
|
159
|
+
# ── Step 1: Upload to the GitHub evidence release ───────────────────────────
|
|
141
160
|
echo ""
|
|
142
161
|
echo "==> Uploading to GitHub release '$RELEASE_TAG'..."
|
|
143
162
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: jira-evidence
|
|
3
|
-
description: "Upload evidence to GitHub pr-assets
|
|
3
|
+
description: "Upload evidence to the configured GitHub evidence release (default pr-assets), update PR description, upload attachments to JIRA, post comment, and move ticket to the configured review status only when `jira.workflow.review` is set (otherwise leave it in `claimed`). Reusable by any skill that captures evidence and generates evidence/comment.txt + evidence/comment.md."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# JIRA Evidence Posting
|
|
@@ -43,10 +43,18 @@ bash .claude/skills/jira-evidence/scripts/post-evidence.sh <TICKET_ID> <EVIDENCE
|
|
|
43
43
|
bash .claude/skills/jira-evidence/scripts/post-evidence.sh PROJ-123 ./evidence 42
|
|
44
44
|
```
|
|
45
45
|
|
|
46
|
+
When `generate-templates.py` wrote the evidence links, run both with the same exported release so the links match the uploads:
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
export LISA_EVIDENCE_RELEASE=$(node scripts/lisa-work-item.mjs evidence-release --ensure)
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
`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.
|
|
53
|
+
|
|
46
54
|
## What It Does
|
|
47
55
|
|
|
48
56
|
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.
|
|
49
|
-
2. **Upload to
|
|
57
|
+
2. **Upload to the configured evidence release (`node scripts/lisa-work-item.mjs evidence-release --ensure` prints it; default `pr-assets`)** — Uploads evidence files via `gh release upload --clobber`, creating CDN URLs
|
|
50
58
|
3. **Update PR description** — Replaces or appends the `## Evidence` section in the PR body using `gh pr edit`
|
|
51
59
|
4. **Upload JIRA attachments** — Uploads image evidence via REST API v3 so `!filename.png!` wiki markup renders inline
|
|
52
60
|
5. **Post JIRA comment** — Posts `comment.txt` as a new comment via REST API v2 (wiki markup)
|
|
@@ -61,12 +69,17 @@ bash .claude/skills/jira-evidence/scripts/post-evidence.sh PROJ-123 ./evidence 4
|
|
|
61
69
|
|
|
62
70
|
### Images not rendering in GitHub PR
|
|
63
71
|
|
|
64
|
-
Images must be in the `pr-assets`
|
|
72
|
+
Images 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
|
|
73
|
+
check it is not at GitHub's 1000-file limit, with:
|
|
65
74
|
|
|
66
75
|
```bash
|
|
67
|
-
|
|
76
|
+
node scripts/lisa-work-item.mjs evidence-release --ensure
|
|
68
77
|
```
|
|
69
78
|
|
|
79
|
+
If it reports the release is nearly full, set
|
|
80
|
+
`verification.completion.evidenceRelease` in `.lisa.config.json` to a rotating
|
|
81
|
+
name such as `pr-assets-{YYYY-MM}`; older evidence keeps validating.
|
|
82
|
+
|
|
70
83
|
### JIRA comment shows `!filename.png!` as text (not image)
|
|
71
84
|
|
|
72
85
|
The screenshot must be uploaded as a JIRA attachment before posting the comment. The script uploads attachments first then posts the comment.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
display_name: "Jira Evidence"
|
|
2
|
-
short_description: "Upload evidence to GitHub pr-assets
|
|
2
|
+
short_description: "Upload evidence to the configured GitHub evidence release (default pr-assets), update PR description, upload attachments to JIRA, post…"
|
|
3
3
|
default_prompt:
|
|
4
|
-
- "Use $jira-evidence: Upload evidence to GitHub pr-assets
|
|
4
|
+
- "Use $jira-evidence: Upload evidence to the configured GitHub evidence release (default pr-assets), update PR description, upload attachments to JIRA, post…."
|
|
@@ -14,7 +14,8 @@
|
|
|
14
14
|
# - gh CLI authenticated
|
|
15
15
|
#
|
|
16
16
|
# What it does:
|
|
17
|
-
# 1. Uploads evidence files to the
|
|
17
|
+
# 1. Uploads evidence files to the configured GitHub evidence release
|
|
18
|
+
# (default 'pr-assets'; see verification.completion.evidenceRelease)
|
|
18
19
|
# 2. Updates the GitHub PR description with evidence/comment.md
|
|
19
20
|
# 3. Uploads image evidence as JIRA attachments
|
|
20
21
|
# 4. Posts/updates the JIRA comment with evidence/comment.txt
|
|
@@ -106,7 +107,25 @@ PY_ORIGIN
|
|
|
106
107
|
)
|
|
107
108
|
|
|
108
109
|
GH_REPO=$(gh repo view --json nameWithOwner --jq '.nameWithOwner')
|
|
109
|
-
|
|
110
|
+
# The evidence release comes from the one resolver every writer shares, so a
|
|
111
|
+
# project's `verification.completion.evidenceRelease` (for example the rotating
|
|
112
|
+
# `pr-assets-{YYYY-MM}`) moves this upload too. GitHub caps a release at 1000
|
|
113
|
+
# assets; a hardcoded `pr-assets` filled up and every upload then failed with a
|
|
114
|
+
# raw HTTP 422 (CodySwannGT/lisa#4692). `--ensure` creates the release when it
|
|
115
|
+
# is absent and refuses, in plain words, when it is nearly full. A host whose
|
|
116
|
+
# Lisa predates the resolver keeps the legacy release.
|
|
117
|
+
#
|
|
118
|
+
# LISA_EVIDENCE_RELEASE, when set, pins the release for this run so the links
|
|
119
|
+
# generate-templates.py wrote match these uploads. The resolver still checks
|
|
120
|
+
# that name and the release's capacity; it reads the variable itself.
|
|
121
|
+
RELEASE_TAG="${LISA_EVIDENCE_RELEASE:-pr-assets}"
|
|
122
|
+
WORK_ITEM_CLI="${PROJECT_DIR}/scripts/lisa-work-item.mjs"
|
|
123
|
+
if [[ -f "$WORK_ITEM_CLI" ]]; then
|
|
124
|
+
if ! RELEASE_TAG=$(cd "$PROJECT_DIR" && node "$WORK_ITEM_CLI" evidence-release --ensure); then
|
|
125
|
+
echo "ERROR: the GitHub evidence release is not usable (see the message above); no evidence was uploaded." >&2
|
|
126
|
+
exit 1
|
|
127
|
+
fi
|
|
128
|
+
fi
|
|
110
129
|
|
|
111
130
|
if [[ -z "${JIRA_API_TOKEN:-}" ]]; then
|
|
112
131
|
echo "ERROR: JIRA_API_TOKEN environment variable is not set" >&2
|
|
@@ -137,7 +156,7 @@ echo "Found ${#SCREENSHOTS[@]} screenshots and ${#TEXT_EVIDENCE[@]} text evidenc
|
|
|
137
156
|
# Compute JIRA auth early (used in steps 3 and 4)
|
|
138
157
|
JIRA_AUTH=$(printf '%s' "$JIRA_USER:$JIRA_API_TOKEN" | base64 | tr -d '\n')
|
|
139
158
|
|
|
140
|
-
# ── Step 1: Upload to GitHub
|
|
159
|
+
# ── Step 1: Upload to the GitHub evidence release ───────────────────────────
|
|
141
160
|
echo ""
|
|
142
161
|
echo "==> Uploading to GitHub release '$RELEASE_TAG'..."
|
|
143
162
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: jira-evidence
|
|
3
|
-
description: "Upload evidence to GitHub pr-assets
|
|
3
|
+
description: "Upload evidence to the configured GitHub evidence release (default pr-assets), update PR description, upload attachments to JIRA, post comment, and move ticket to the configured review status only when `jira.workflow.review` is set (otherwise leave it in `claimed`). Reusable by any skill that captures evidence and generates evidence/comment.txt + evidence/comment.md."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# JIRA Evidence Posting
|
|
@@ -43,10 +43,18 @@ bash .claude/skills/jira-evidence/scripts/post-evidence.sh <TICKET_ID> <EVIDENCE
|
|
|
43
43
|
bash .claude/skills/jira-evidence/scripts/post-evidence.sh PROJ-123 ./evidence 42
|
|
44
44
|
```
|
|
45
45
|
|
|
46
|
+
When `generate-templates.py` wrote the evidence links, run both with the same exported release so the links match the uploads:
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
export LISA_EVIDENCE_RELEASE=$(node scripts/lisa-work-item.mjs evidence-release --ensure)
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
`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.
|
|
53
|
+
|
|
46
54
|
## What It Does
|
|
47
55
|
|
|
48
56
|
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.
|
|
49
|
-
2. **Upload to
|
|
57
|
+
2. **Upload to the configured evidence release (`node scripts/lisa-work-item.mjs evidence-release --ensure` prints it; default `pr-assets`)** — Uploads evidence files via `gh release upload --clobber`, creating CDN URLs
|
|
50
58
|
3. **Update PR description** — Replaces or appends the `## Evidence` section in the PR body using `gh pr edit`
|
|
51
59
|
4. **Upload JIRA attachments** — Uploads image evidence via REST API v3 so `!filename.png!` wiki markup renders inline
|
|
52
60
|
5. **Post JIRA comment** — Posts `comment.txt` as a new comment via REST API v2 (wiki markup)
|
|
@@ -61,12 +69,17 @@ bash .claude/skills/jira-evidence/scripts/post-evidence.sh PROJ-123 ./evidence 4
|
|
|
61
69
|
|
|
62
70
|
### Images not rendering in GitHub PR
|
|
63
71
|
|
|
64
|
-
Images must be in the `pr-assets`
|
|
72
|
+
Images 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
|
|
73
|
+
check it is not at GitHub's 1000-file limit, with:
|
|
65
74
|
|
|
66
75
|
```bash
|
|
67
|
-
|
|
76
|
+
node scripts/lisa-work-item.mjs evidence-release --ensure
|
|
68
77
|
```
|
|
69
78
|
|
|
79
|
+
If it reports the release is nearly full, set
|
|
80
|
+
`verification.completion.evidenceRelease` in `.lisa.config.json` to a rotating
|
|
81
|
+
name such as `pr-assets-{YYYY-MM}`; older evidence keeps validating.
|
|
82
|
+
|
|
70
83
|
### JIRA comment shows `!filename.png!` as text (not image)
|
|
71
84
|
|
|
72
85
|
The screenshot must be uploaded as a JIRA attachment before posting the comment. The script uploads attachments first then posts the comment.
|
|
@@ -14,7 +14,8 @@
|
|
|
14
14
|
# - gh CLI authenticated
|
|
15
15
|
#
|
|
16
16
|
# What it does:
|
|
17
|
-
# 1. Uploads evidence files to the
|
|
17
|
+
# 1. Uploads evidence files to the configured GitHub evidence release
|
|
18
|
+
# (default 'pr-assets'; see verification.completion.evidenceRelease)
|
|
18
19
|
# 2. Updates the GitHub PR description with evidence/comment.md
|
|
19
20
|
# 3. Uploads image evidence as JIRA attachments
|
|
20
21
|
# 4. Posts/updates the JIRA comment with evidence/comment.txt
|
|
@@ -106,7 +107,25 @@ PY_ORIGIN
|
|
|
106
107
|
)
|
|
107
108
|
|
|
108
109
|
GH_REPO=$(gh repo view --json nameWithOwner --jq '.nameWithOwner')
|
|
109
|
-
|
|
110
|
+
# The evidence release comes from the one resolver every writer shares, so a
|
|
111
|
+
# project's `verification.completion.evidenceRelease` (for example the rotating
|
|
112
|
+
# `pr-assets-{YYYY-MM}`) moves this upload too. GitHub caps a release at 1000
|
|
113
|
+
# assets; a hardcoded `pr-assets` filled up and every upload then failed with a
|
|
114
|
+
# raw HTTP 422 (CodySwannGT/lisa#4692). `--ensure` creates the release when it
|
|
115
|
+
# is absent and refuses, in plain words, when it is nearly full. A host whose
|
|
116
|
+
# Lisa predates the resolver keeps the legacy release.
|
|
117
|
+
#
|
|
118
|
+
# LISA_EVIDENCE_RELEASE, when set, pins the release for this run so the links
|
|
119
|
+
# generate-templates.py wrote match these uploads. The resolver still checks
|
|
120
|
+
# that name and the release's capacity; it reads the variable itself.
|
|
121
|
+
RELEASE_TAG="${LISA_EVIDENCE_RELEASE:-pr-assets}"
|
|
122
|
+
WORK_ITEM_CLI="${PROJECT_DIR}/scripts/lisa-work-item.mjs"
|
|
123
|
+
if [[ -f "$WORK_ITEM_CLI" ]]; then
|
|
124
|
+
if ! RELEASE_TAG=$(cd "$PROJECT_DIR" && node "$WORK_ITEM_CLI" evidence-release --ensure); then
|
|
125
|
+
echo "ERROR: the GitHub evidence release is not usable (see the message above); no evidence was uploaded." >&2
|
|
126
|
+
exit 1
|
|
127
|
+
fi
|
|
128
|
+
fi
|
|
110
129
|
|
|
111
130
|
if [[ -z "${JIRA_API_TOKEN:-}" ]]; then
|
|
112
131
|
echo "ERROR: JIRA_API_TOKEN environment variable is not set" >&2
|
|
@@ -137,7 +156,7 @@ echo "Found ${#SCREENSHOTS[@]} screenshots and ${#TEXT_EVIDENCE[@]} text evidenc
|
|
|
137
156
|
# Compute JIRA auth early (used in steps 3 and 4)
|
|
138
157
|
JIRA_AUTH=$(printf '%s' "$JIRA_USER:$JIRA_API_TOKEN" | base64 | tr -d '\n')
|
|
139
158
|
|
|
140
|
-
# ── Step 1: Upload to GitHub
|
|
159
|
+
# ── Step 1: Upload to the GitHub evidence release ───────────────────────────
|
|
141
160
|
echo ""
|
|
142
161
|
echo "==> Uploading to GitHub release '$RELEASE_TAG'..."
|
|
143
162
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: jira-evidence
|
|
3
|
-
description: "Upload evidence to GitHub pr-assets
|
|
3
|
+
description: "Upload evidence to the configured GitHub evidence release (default pr-assets), update PR description, upload attachments to JIRA, post comment, and move ticket to the configured review status only when `jira.workflow.review` is set (otherwise leave it in `claimed`). Reusable by any skill that captures evidence and generates evidence/comment.txt + evidence/comment.md."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# JIRA Evidence Posting
|
|
@@ -43,10 +43,18 @@ bash .claude/skills/jira-evidence/scripts/post-evidence.sh <TICKET_ID> <EVIDENCE
|
|
|
43
43
|
bash .claude/skills/jira-evidence/scripts/post-evidence.sh PROJ-123 ./evidence 42
|
|
44
44
|
```
|
|
45
45
|
|
|
46
|
+
When `generate-templates.py` wrote the evidence links, run both with the same exported release so the links match the uploads:
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
export LISA_EVIDENCE_RELEASE=$(node scripts/lisa-work-item.mjs evidence-release --ensure)
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
`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.
|
|
53
|
+
|
|
46
54
|
## What It Does
|
|
47
55
|
|
|
48
56
|
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.
|
|
49
|
-
2. **Upload to
|
|
57
|
+
2. **Upload to the configured evidence release (`node scripts/lisa-work-item.mjs evidence-release --ensure` prints it; default `pr-assets`)** — Uploads evidence files via `gh release upload --clobber`, creating CDN URLs
|
|
50
58
|
3. **Update PR description** — Replaces or appends the `## Evidence` section in the PR body using `gh pr edit`
|
|
51
59
|
4. **Upload JIRA attachments** — Uploads image evidence via REST API v3 so `!filename.png!` wiki markup renders inline
|
|
52
60
|
5. **Post JIRA comment** — Posts `comment.txt` as a new comment via REST API v2 (wiki markup)
|
|
@@ -61,12 +69,17 @@ bash .claude/skills/jira-evidence/scripts/post-evidence.sh PROJ-123 ./evidence 4
|
|
|
61
69
|
|
|
62
70
|
### Images not rendering in GitHub PR
|
|
63
71
|
|
|
64
|
-
Images must be in the `pr-assets`
|
|
72
|
+
Images 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
|
|
73
|
+
check it is not at GitHub's 1000-file limit, with:
|
|
65
74
|
|
|
66
75
|
```bash
|
|
67
|
-
|
|
76
|
+
node scripts/lisa-work-item.mjs evidence-release --ensure
|
|
68
77
|
```
|
|
69
78
|
|
|
79
|
+
If it reports the release is nearly full, set
|
|
80
|
+
`verification.completion.evidenceRelease` in `.lisa.config.json` to a rotating
|
|
81
|
+
name such as `pr-assets-{YYYY-MM}`; older evidence keeps validating.
|
|
82
|
+
|
|
70
83
|
### JIRA comment shows `!filename.png!` as text (not image)
|
|
71
84
|
|
|
72
85
|
The screenshot must be uploaded as a JIRA attachment before posting the comment. The script uploads attachments first then posts the comment.
|
|
@@ -14,7 +14,8 @@
|
|
|
14
14
|
# - gh CLI authenticated
|
|
15
15
|
#
|
|
16
16
|
# What it does:
|
|
17
|
-
# 1. Uploads evidence files to the
|
|
17
|
+
# 1. Uploads evidence files to the configured GitHub evidence release
|
|
18
|
+
# (default 'pr-assets'; see verification.completion.evidenceRelease)
|
|
18
19
|
# 2. Updates the GitHub PR description with evidence/comment.md
|
|
19
20
|
# 3. Uploads image evidence as JIRA attachments
|
|
20
21
|
# 4. Posts/updates the JIRA comment with evidence/comment.txt
|
|
@@ -106,7 +107,25 @@ PY_ORIGIN
|
|
|
106
107
|
)
|
|
107
108
|
|
|
108
109
|
GH_REPO=$(gh repo view --json nameWithOwner --jq '.nameWithOwner')
|
|
109
|
-
|
|
110
|
+
# The evidence release comes from the one resolver every writer shares, so a
|
|
111
|
+
# project's `verification.completion.evidenceRelease` (for example the rotating
|
|
112
|
+
# `pr-assets-{YYYY-MM}`) moves this upload too. GitHub caps a release at 1000
|
|
113
|
+
# assets; a hardcoded `pr-assets` filled up and every upload then failed with a
|
|
114
|
+
# raw HTTP 422 (CodySwannGT/lisa#4692). `--ensure` creates the release when it
|
|
115
|
+
# is absent and refuses, in plain words, when it is nearly full. A host whose
|
|
116
|
+
# Lisa predates the resolver keeps the legacy release.
|
|
117
|
+
#
|
|
118
|
+
# LISA_EVIDENCE_RELEASE, when set, pins the release for this run so the links
|
|
119
|
+
# generate-templates.py wrote match these uploads. The resolver still checks
|
|
120
|
+
# that name and the release's capacity; it reads the variable itself.
|
|
121
|
+
RELEASE_TAG="${LISA_EVIDENCE_RELEASE:-pr-assets}"
|
|
122
|
+
WORK_ITEM_CLI="${PROJECT_DIR}/scripts/lisa-work-item.mjs"
|
|
123
|
+
if [[ -f "$WORK_ITEM_CLI" ]]; then
|
|
124
|
+
if ! RELEASE_TAG=$(cd "$PROJECT_DIR" && node "$WORK_ITEM_CLI" evidence-release --ensure); then
|
|
125
|
+
echo "ERROR: the GitHub evidence release is not usable (see the message above); no evidence was uploaded." >&2
|
|
126
|
+
exit 1
|
|
127
|
+
fi
|
|
128
|
+
fi
|
|
110
129
|
|
|
111
130
|
if [[ -z "${JIRA_API_TOKEN:-}" ]]; then
|
|
112
131
|
echo "ERROR: JIRA_API_TOKEN environment variable is not set" >&2
|
|
@@ -137,7 +156,7 @@ echo "Found ${#SCREENSHOTS[@]} screenshots and ${#TEXT_EVIDENCE[@]} text evidenc
|
|
|
137
156
|
# Compute JIRA auth early (used in steps 3 and 4)
|
|
138
157
|
JIRA_AUTH=$(printf '%s' "$JIRA_USER:$JIRA_API_TOKEN" | base64 | tr -d '\n')
|
|
139
158
|
|
|
140
|
-
# ── Step 1: Upload to GitHub
|
|
159
|
+
# ── Step 1: Upload to the GitHub evidence release ───────────────────────────
|
|
141
160
|
echo ""
|
|
142
161
|
echo "==> Uploading to GitHub release '$RELEASE_TAG'..."
|
|
143
162
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: jira-evidence
|
|
3
|
-
description: "Upload evidence to GitHub pr-assets
|
|
3
|
+
description: "Upload evidence to the configured GitHub evidence release (default pr-assets), update PR description, upload attachments to JIRA, post comment, and move ticket to the configured review status only when `jira.workflow.review` is set (otherwise leave it in `claimed`). Reusable by any skill that captures evidence and generates evidence/comment.txt + evidence/comment.md."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# JIRA Evidence Posting
|
|
@@ -43,10 +43,18 @@ bash .claude/skills/jira-evidence/scripts/post-evidence.sh <TICKET_ID> <EVIDENCE
|
|
|
43
43
|
bash .claude/skills/jira-evidence/scripts/post-evidence.sh PROJ-123 ./evidence 42
|
|
44
44
|
```
|
|
45
45
|
|
|
46
|
+
When `generate-templates.py` wrote the evidence links, run both with the same exported release so the links match the uploads:
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
export LISA_EVIDENCE_RELEASE=$(node scripts/lisa-work-item.mjs evidence-release --ensure)
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
`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.
|
|
53
|
+
|
|
46
54
|
## What It Does
|
|
47
55
|
|
|
48
56
|
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.
|
|
49
|
-
2. **Upload to
|
|
57
|
+
2. **Upload to the configured evidence release (`node scripts/lisa-work-item.mjs evidence-release --ensure` prints it; default `pr-assets`)** — Uploads evidence files via `gh release upload --clobber`, creating CDN URLs
|
|
50
58
|
3. **Update PR description** — Replaces or appends the `## Evidence` section in the PR body using `gh pr edit`
|
|
51
59
|
4. **Upload JIRA attachments** — Uploads image evidence via REST API v3 so `!filename.png!` wiki markup renders inline
|
|
52
60
|
5. **Post JIRA comment** — Posts `comment.txt` as a new comment via REST API v2 (wiki markup)
|
|
@@ -61,12 +69,17 @@ bash .claude/skills/jira-evidence/scripts/post-evidence.sh PROJ-123 ./evidence 4
|
|
|
61
69
|
|
|
62
70
|
### Images not rendering in GitHub PR
|
|
63
71
|
|
|
64
|
-
Images must be in the `pr-assets`
|
|
72
|
+
Images 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
|
|
73
|
+
check it is not at GitHub's 1000-file limit, with:
|
|
65
74
|
|
|
66
75
|
```bash
|
|
67
|
-
|
|
76
|
+
node scripts/lisa-work-item.mjs evidence-release --ensure
|
|
68
77
|
```
|
|
69
78
|
|
|
79
|
+
If it reports the release is nearly full, set
|
|
80
|
+
`verification.completion.evidenceRelease` in `.lisa.config.json` to a rotating
|
|
81
|
+
name such as `pr-assets-{YYYY-MM}`; older evidence keeps validating.
|
|
82
|
+
|
|
70
83
|
### JIRA comment shows `!filename.png!` as text (not image)
|
|
71
84
|
|
|
72
85
|
The screenshot must be uploaded as a JIRA attachment before posting the comment. The script uploads attachments first then posts the comment.
|
|
@@ -14,7 +14,8 @@
|
|
|
14
14
|
# - gh CLI authenticated
|
|
15
15
|
#
|
|
16
16
|
# What it does:
|
|
17
|
-
# 1. Uploads evidence files to the
|
|
17
|
+
# 1. Uploads evidence files to the configured GitHub evidence release
|
|
18
|
+
# (default 'pr-assets'; see verification.completion.evidenceRelease)
|
|
18
19
|
# 2. Updates the GitHub PR description with evidence/comment.md
|
|
19
20
|
# 3. Uploads image evidence as JIRA attachments
|
|
20
21
|
# 4. Posts/updates the JIRA comment with evidence/comment.txt
|
|
@@ -106,7 +107,25 @@ PY_ORIGIN
|
|
|
106
107
|
)
|
|
107
108
|
|
|
108
109
|
GH_REPO=$(gh repo view --json nameWithOwner --jq '.nameWithOwner')
|
|
109
|
-
|
|
110
|
+
# The evidence release comes from the one resolver every writer shares, so a
|
|
111
|
+
# project's `verification.completion.evidenceRelease` (for example the rotating
|
|
112
|
+
# `pr-assets-{YYYY-MM}`) moves this upload too. GitHub caps a release at 1000
|
|
113
|
+
# assets; a hardcoded `pr-assets` filled up and every upload then failed with a
|
|
114
|
+
# raw HTTP 422 (CodySwannGT/lisa#4692). `--ensure` creates the release when it
|
|
115
|
+
# is absent and refuses, in plain words, when it is nearly full. A host whose
|
|
116
|
+
# Lisa predates the resolver keeps the legacy release.
|
|
117
|
+
#
|
|
118
|
+
# LISA_EVIDENCE_RELEASE, when set, pins the release for this run so the links
|
|
119
|
+
# generate-templates.py wrote match these uploads. The resolver still checks
|
|
120
|
+
# that name and the release's capacity; it reads the variable itself.
|
|
121
|
+
RELEASE_TAG="${LISA_EVIDENCE_RELEASE:-pr-assets}"
|
|
122
|
+
WORK_ITEM_CLI="${PROJECT_DIR}/scripts/lisa-work-item.mjs"
|
|
123
|
+
if [[ -f "$WORK_ITEM_CLI" ]]; then
|
|
124
|
+
if ! RELEASE_TAG=$(cd "$PROJECT_DIR" && node "$WORK_ITEM_CLI" evidence-release --ensure); then
|
|
125
|
+
echo "ERROR: the GitHub evidence release is not usable (see the message above); no evidence was uploaded." >&2
|
|
126
|
+
exit 1
|
|
127
|
+
fi
|
|
128
|
+
fi
|
|
110
129
|
|
|
111
130
|
if [[ -z "${JIRA_API_TOKEN:-}" ]]; then
|
|
112
131
|
echo "ERROR: JIRA_API_TOKEN environment variable is not set" >&2
|
|
@@ -137,7 +156,7 @@ echo "Found ${#SCREENSHOTS[@]} screenshots and ${#TEXT_EVIDENCE[@]} text evidenc
|
|
|
137
156
|
# Compute JIRA auth early (used in steps 3 and 4)
|
|
138
157
|
JIRA_AUTH=$(printf '%s' "$JIRA_USER:$JIRA_API_TOKEN" | base64 | tr -d '\n')
|
|
139
158
|
|
|
140
|
-
# ── Step 1: Upload to GitHub
|
|
159
|
+
# ── Step 1: Upload to the GitHub evidence release ───────────────────────────
|
|
141
160
|
echo ""
|
|
142
161
|
echo "==> Uploading to GitHub release '$RELEASE_TAG'..."
|
|
143
162
|
|