@codyswann/lisa 5.13.0 → 5.14.1
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 +22 -150
- package/dist/core/upstream-evidence-manifest.js.map +1 -1
- package/dist/strategies/merge.d.ts +1 -1
- package/dist/strategies/merge.d.ts.map +1 -1
- package/dist/strategies/merge.js +18 -8
- package/dist/strategies/merge.js.map +1 -1
- package/package.json +4 -4
- package/plugins/lisa/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-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/.codex-plugin/skills/lisa-monitor/SKILL.md +1 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-posthog-access/SKILL.md +2 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/validate-config.mjs +65 -11
- package/plugins/lisa/.codex-plugin/skills/lisa-setup-remote-env/SKILL.md +2 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-setup-remote-env/scripts/setup-remote-env.mjs +248 -18
- package/plugins/lisa/hooks/inject-resolved-config.mjs +1 -0
- package/plugins/lisa/rules/reference/config-resolution.md +28 -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/skills/lisa-monitor/SKILL.md +1 -1
- package/plugins/lisa/skills/lisa-posthog-access/SKILL.md +2 -0
- package/plugins/lisa/skills/lisa-secrets-access/scripts/validate-config.mjs +65 -11
- package/plugins/lisa/skills/lisa-setup-remote-env/SKILL.md +2 -0
- package/plugins/lisa/skills/lisa-setup-remote-env/scripts/setup-remote-env.mjs +248 -18
- package/plugins/lisa-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-agy/skills/lisa-monitor/SKILL.md +1 -1
- package/plugins/lisa-agy/skills/lisa-posthog-access/SKILL.md +2 -0
- package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/validate-config.mjs +65 -11
- package/plugins/lisa-agy/skills/lisa-setup-remote-env/SKILL.md +2 -0
- package/plugins/lisa-agy/skills/lisa-setup-remote-env/scripts/setup-remote-env.mjs +248 -18
- package/plugins/lisa-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/hooks/inject-resolved-config.mjs +1 -0
- package/plugins/lisa-copilot/rules/reference/config-resolution.md +28 -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-copilot/skills/lisa-monitor/SKILL.md +1 -1
- package/plugins/lisa-copilot/skills/lisa-posthog-access/SKILL.md +2 -0
- package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/validate-config.mjs +65 -11
- package/plugins/lisa-copilot/skills/lisa-setup-remote-env/SKILL.md +2 -0
- package/plugins/lisa-copilot/skills/lisa-setup-remote-env/scripts/setup-remote-env.mjs +248 -18
- package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cursor/hooks/inject-resolved-config.mjs +1 -0
- package/plugins/lisa-cursor/rules/config-resolution-reference.mdc +28 -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-cursor/skills/lisa-monitor/SKILL.md +1 -1
- package/plugins/lisa-cursor/skills/lisa-posthog-access/SKILL.md +2 -0
- package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/validate-config.mjs +65 -11
- package/plugins/lisa-cursor/skills/lisa-setup-remote-env/SKILL.md +2 -0
- package/plugins/lisa-cursor/skills/lisa-setup-remote-env/scripts/setup-remote-env.mjs +248 -18
- package/plugins/lisa-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-devin/hooks/inject-resolved-config.mjs +1 -0
- package/plugins/lisa-devin/rules/reference/config-resolution.md +28 -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-devin/skills/lisa-monitor/SKILL.md +1 -1
- package/plugins/lisa-devin/skills/lisa-posthog-access/SKILL.md +2 -0
- package/plugins/lisa-devin/skills/lisa-secrets-access/scripts/validate-config.mjs +65 -11
- package/plugins/lisa-devin/skills/lisa-setup-remote-env/SKILL.md +2 -0
- package/plugins/lisa-devin/skills/lisa-setup-remote-env/scripts/setup-remote-env.mjs +248 -18
- package/plugins/lisa-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 +9 -4
- package/plugins/lisa-expo/.codex-plugin/skills/ops-check-logs/SKILL.md +1 -1
- package/plugins/lisa-expo/.codex-plugin/skills/ops-deploy/SKILL.md +1 -1
- package/plugins/lisa-expo/.codex-plugin/skills/ops-monitor-errors/SKILL.md +16 -4
- package/plugins/lisa-expo/.codex-plugin/skills/ops-monitor-errors/agents/openai.yaml +2 -2
- package/plugins/lisa-expo/.codex-plugin/skills/play-store-access/SKILL.md +42 -7
- package/plugins/lisa-expo/agents/ops-specialist.md +3 -3
- package/plugins/lisa-expo/skills/journey-guidance/SKILL.md +9 -4
- package/plugins/lisa-expo/skills/ops-check-logs/SKILL.md +1 -1
- package/plugins/lisa-expo/skills/ops-deploy/SKILL.md +1 -1
- package/plugins/lisa-expo/skills/ops-monitor-errors/SKILL.md +15 -3
- package/plugins/lisa-expo/skills/ops-monitor-errors/agents/openai.yaml +2 -2
- package/plugins/lisa-expo/skills/play-store-access/SKILL.md +42 -7
- package/plugins/lisa-expo-agy/agents/ops-specialist.md +3 -3
- package/plugins/lisa-expo-agy/plugin.json +1 -1
- package/plugins/lisa-expo-agy/skills/journey-guidance/SKILL.md +9 -4
- package/plugins/lisa-expo-agy/skills/ops-check-logs/SKILL.md +1 -1
- package/plugins/lisa-expo-agy/skills/ops-deploy/SKILL.md +1 -1
- package/plugins/lisa-expo-agy/skills/ops-monitor-errors/SKILL.md +15 -3
- package/plugins/lisa-expo-agy/skills/play-store-access/SKILL.md +42 -7
- package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-copilot/agents/ops-specialist.agent.md +3 -3
- package/plugins/lisa-expo-copilot/skills/journey-guidance/SKILL.md +9 -4
- package/plugins/lisa-expo-copilot/skills/ops-check-logs/SKILL.md +1 -1
- package/plugins/lisa-expo-copilot/skills/ops-deploy/SKILL.md +1 -1
- package/plugins/lisa-expo-copilot/skills/ops-monitor-errors/SKILL.md +15 -3
- package/plugins/lisa-expo-copilot/skills/play-store-access/SKILL.md +42 -7
- package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-cursor/agents/ops-specialist.md +3 -3
- package/plugins/lisa-expo-cursor/skills/journey-guidance/SKILL.md +9 -4
- package/plugins/lisa-expo-cursor/skills/ops-check-logs/SKILL.md +1 -1
- package/plugins/lisa-expo-cursor/skills/ops-deploy/SKILL.md +1 -1
- package/plugins/lisa-expo-cursor/skills/ops-monitor-errors/SKILL.md +15 -3
- package/plugins/lisa-expo-cursor/skills/play-store-access/SKILL.md +42 -7
- package/plugins/lisa-expo-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-devin/agents/ops-specialist.md +3 -3
- package/plugins/lisa-expo-devin/skills/journey-guidance/SKILL.md +9 -4
- package/plugins/lisa-expo-devin/skills/ops-check-logs/SKILL.md +1 -1
- package/plugins/lisa-expo-devin/skills/ops-deploy/SKILL.md +1 -1
- package/plugins/lisa-expo-devin/skills/ops-monitor-errors/SKILL.md +15 -3
- package/plugins/lisa-expo-devin/skills/play-store-access/SKILL.md +42 -7
- package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-agy/plugin.json +1 -1
- package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-agy/plugin.json +1 -1
- package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.codex-plugin/skills/journey-guidance/SKILL.md +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/hooks/inject-resolved-config.mjs +1 -0
- package/plugins/src/base/rules/reference/config-resolution.md +28 -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/base/skills/lisa-monitor/SKILL.md +1 -1
- package/plugins/src/base/skills/lisa-posthog-access/SKILL.md +2 -0
- package/plugins/src/base/skills/lisa-secrets-access/scripts/validate-config.mjs +65 -11
- package/plugins/src/base/skills/lisa-setup-remote-env/SKILL.md +2 -0
- package/plugins/src/base/skills/lisa-setup-remote-env/scripts/setup-remote-env.mjs +248 -18
- package/plugins/src/expo/agents/ops-specialist.md +3 -3
- package/plugins/src/expo/skills/journey-guidance/SKILL.md +9 -4
- package/plugins/src/expo/skills/ops-check-logs/SKILL.md +1 -1
- package/plugins/src/expo/skills/ops-deploy/SKILL.md +1 -1
- package/plugins/src/expo/skills/ops-monitor-errors/SKILL.md +15 -3
- package/plugins/src/expo/skills/play-store-access/SKILL.md +42 -7
- package/plugins/src/rails/skills/journey-guidance/SKILL.md +3 -1
- package/plugins/lisa-expo/.codex-plugin/skills/jira-add-journey/SKILL.md +0 -142
- package/plugins/lisa-expo/.codex-plugin/skills/jira-add-journey/agents/openai.yaml +0 -4
- package/plugins/lisa-expo/.codex-plugin/skills/jira-create/SKILL.md +0 -163
- package/plugins/lisa-expo/.codex-plugin/skills/jira-create/agents/openai.yaml +0 -4
- package/plugins/lisa-expo/.codex-plugin/skills/jira-evidence/SKILL.md +0 -112
- package/plugins/lisa-expo/.codex-plugin/skills/jira-evidence/agents/openai.yaml +0 -4
- package/plugins/lisa-expo/.codex-plugin/skills/jira-evidence/scripts/post-evidence.sh +0 -397
- package/plugins/lisa-expo/.codex-plugin/skills/jira-journey/SKILL.md +0 -209
- package/plugins/lisa-expo/.codex-plugin/skills/jira-journey/agents/openai.yaml +0 -4
- package/plugins/lisa-expo/.codex-plugin/skills/jira-journey/scripts/generate-templates.py +0 -323
- package/plugins/lisa-expo/.codex-plugin/skills/jira-journey/scripts/parse-plan.py +0 -400
- package/plugins/lisa-expo/.codex-plugin/skills/jira-verify/SKILL.md +0 -29
- package/plugins/lisa-expo/.codex-plugin/skills/jira-verify/agents/openai.yaml +0 -4
- package/plugins/lisa-expo/skills/jira-add-journey/SKILL.md +0 -140
- package/plugins/lisa-expo/skills/jira-add-journey/agents/openai.yaml +0 -4
- package/plugins/lisa-expo/skills/jira-create/SKILL.md +0 -161
- package/plugins/lisa-expo/skills/jira-create/agents/openai.yaml +0 -4
- package/plugins/lisa-expo/skills/jira-evidence/SKILL.md +0 -110
- package/plugins/lisa-expo/skills/jira-evidence/agents/openai.yaml +0 -4
- package/plugins/lisa-expo/skills/jira-evidence/scripts/post-evidence.sh +0 -397
- package/plugins/lisa-expo/skills/jira-journey/SKILL.md +0 -207
- package/plugins/lisa-expo/skills/jira-journey/agents/openai.yaml +0 -4
- package/plugins/lisa-expo/skills/jira-journey/scripts/generate-templates.py +0 -323
- package/plugins/lisa-expo/skills/jira-journey/scripts/parse-plan.py +0 -400
- package/plugins/lisa-expo/skills/jira-verify/SKILL.md +0 -27
- package/plugins/lisa-expo/skills/jira-verify/agents/openai.yaml +0 -4
- package/plugins/lisa-expo-agy/skills/jira-add-journey/SKILL.md +0 -140
- package/plugins/lisa-expo-agy/skills/jira-create/SKILL.md +0 -161
- package/plugins/lisa-expo-agy/skills/jira-evidence/SKILL.md +0 -110
- package/plugins/lisa-expo-agy/skills/jira-evidence/scripts/post-evidence.sh +0 -397
- package/plugins/lisa-expo-agy/skills/jira-journey/SKILL.md +0 -207
- package/plugins/lisa-expo-agy/skills/jira-journey/scripts/generate-templates.py +0 -323
- package/plugins/lisa-expo-agy/skills/jira-journey/scripts/parse-plan.py +0 -400
- package/plugins/lisa-expo-agy/skills/jira-verify/SKILL.md +0 -27
- package/plugins/lisa-expo-copilot/skills/jira-add-journey/SKILL.md +0 -140
- package/plugins/lisa-expo-copilot/skills/jira-create/SKILL.md +0 -161
- package/plugins/lisa-expo-copilot/skills/jira-evidence/SKILL.md +0 -110
- package/plugins/lisa-expo-copilot/skills/jira-evidence/scripts/post-evidence.sh +0 -397
- package/plugins/lisa-expo-copilot/skills/jira-journey/SKILL.md +0 -207
- package/plugins/lisa-expo-copilot/skills/jira-journey/scripts/generate-templates.py +0 -323
- package/plugins/lisa-expo-copilot/skills/jira-journey/scripts/parse-plan.py +0 -400
- package/plugins/lisa-expo-copilot/skills/jira-verify/SKILL.md +0 -27
- package/plugins/lisa-expo-cursor/skills/jira-add-journey/SKILL.md +0 -140
- package/plugins/lisa-expo-cursor/skills/jira-create/SKILL.md +0 -161
- package/plugins/lisa-expo-cursor/skills/jira-evidence/SKILL.md +0 -110
- package/plugins/lisa-expo-cursor/skills/jira-evidence/scripts/post-evidence.sh +0 -397
- package/plugins/lisa-expo-cursor/skills/jira-journey/SKILL.md +0 -207
- package/plugins/lisa-expo-cursor/skills/jira-journey/scripts/generate-templates.py +0 -323
- package/plugins/lisa-expo-cursor/skills/jira-journey/scripts/parse-plan.py +0 -400
- package/plugins/lisa-expo-cursor/skills/jira-verify/SKILL.md +0 -27
- package/plugins/lisa-expo-devin/skills/jira-add-journey/SKILL.md +0 -140
- package/plugins/lisa-expo-devin/skills/jira-create/SKILL.md +0 -161
- package/plugins/lisa-expo-devin/skills/jira-evidence/SKILL.md +0 -110
- package/plugins/lisa-expo-devin/skills/jira-evidence/scripts/post-evidence.sh +0 -397
- package/plugins/lisa-expo-devin/skills/jira-journey/SKILL.md +0 -207
- package/plugins/lisa-expo-devin/skills/jira-journey/scripts/generate-templates.py +0 -323
- package/plugins/lisa-expo-devin/skills/jira-journey/scripts/parse-plan.py +0 -400
- package/plugins/lisa-expo-devin/skills/jira-verify/SKILL.md +0 -27
- package/plugins/lisa-rails/.codex-plugin/skills/jira-add-journey/SKILL.md +0 -81
- package/plugins/lisa-rails/.codex-plugin/skills/jira-add-journey/agents/openai.yaml +0 -4
- package/plugins/lisa-rails/.codex-plugin/skills/jira-create/SKILL.md +0 -102
- package/plugins/lisa-rails/.codex-plugin/skills/jira-create/agents/openai.yaml +0 -4
- package/plugins/lisa-rails/.codex-plugin/skills/jira-evidence/SKILL.md +0 -103
- package/plugins/lisa-rails/.codex-plugin/skills/jira-evidence/agents/openai.yaml +0 -4
- package/plugins/lisa-rails/.codex-plugin/skills/jira-evidence/scripts/post-evidence.sh +0 -397
- package/plugins/lisa-rails/.codex-plugin/skills/jira-journey/SKILL.md +0 -67
- package/plugins/lisa-rails/.codex-plugin/skills/jira-journey/agents/openai.yaml +0 -4
- package/plugins/lisa-rails/.codex-plugin/skills/jira-verify/SKILL.md +0 -28
- package/plugins/lisa-rails/.codex-plugin/skills/jira-verify/agents/openai.yaml +0 -4
- package/plugins/lisa-rails/skills/jira-add-journey/SKILL.md +0 -79
- package/plugins/lisa-rails/skills/jira-add-journey/agents/openai.yaml +0 -4
- package/plugins/lisa-rails/skills/jira-create/SKILL.md +0 -100
- package/plugins/lisa-rails/skills/jira-create/agents/openai.yaml +0 -4
- package/plugins/lisa-rails/skills/jira-evidence/SKILL.md +0 -101
- package/plugins/lisa-rails/skills/jira-evidence/agents/openai.yaml +0 -4
- package/plugins/lisa-rails/skills/jira-evidence/scripts/post-evidence.sh +0 -397
- package/plugins/lisa-rails/skills/jira-journey/SKILL.md +0 -65
- package/plugins/lisa-rails/skills/jira-journey/agents/openai.yaml +0 -4
- package/plugins/lisa-rails/skills/jira-verify/SKILL.md +0 -26
- package/plugins/lisa-rails/skills/jira-verify/agents/openai.yaml +0 -4
- package/plugins/lisa-rails-agy/skills/jira-add-journey/SKILL.md +0 -79
- package/plugins/lisa-rails-agy/skills/jira-create/SKILL.md +0 -100
- package/plugins/lisa-rails-agy/skills/jira-evidence/SKILL.md +0 -101
- package/plugins/lisa-rails-agy/skills/jira-evidence/scripts/post-evidence.sh +0 -397
- package/plugins/lisa-rails-agy/skills/jira-journey/SKILL.md +0 -65
- package/plugins/lisa-rails-agy/skills/jira-verify/SKILL.md +0 -26
- package/plugins/lisa-rails-copilot/skills/jira-add-journey/SKILL.md +0 -79
- package/plugins/lisa-rails-copilot/skills/jira-create/SKILL.md +0 -100
- package/plugins/lisa-rails-copilot/skills/jira-evidence/SKILL.md +0 -101
- package/plugins/lisa-rails-copilot/skills/jira-evidence/scripts/post-evidence.sh +0 -397
- package/plugins/lisa-rails-copilot/skills/jira-journey/SKILL.md +0 -65
- package/plugins/lisa-rails-copilot/skills/jira-verify/SKILL.md +0 -26
- package/plugins/lisa-rails-cursor/skills/jira-add-journey/SKILL.md +0 -79
- package/plugins/lisa-rails-cursor/skills/jira-create/SKILL.md +0 -100
- package/plugins/lisa-rails-cursor/skills/jira-evidence/SKILL.md +0 -101
- package/plugins/lisa-rails-cursor/skills/jira-evidence/scripts/post-evidence.sh +0 -397
- package/plugins/lisa-rails-cursor/skills/jira-journey/SKILL.md +0 -65
- package/plugins/lisa-rails-cursor/skills/jira-verify/SKILL.md +0 -26
- package/plugins/lisa-rails-devin/skills/jira-add-journey/SKILL.md +0 -79
- package/plugins/lisa-rails-devin/skills/jira-create/SKILL.md +0 -100
- package/plugins/lisa-rails-devin/skills/jira-evidence/SKILL.md +0 -101
- package/plugins/lisa-rails-devin/skills/jira-evidence/scripts/post-evidence.sh +0 -397
- package/plugins/lisa-rails-devin/skills/jira-journey/SKILL.md +0 -65
- package/plugins/lisa-rails-devin/skills/jira-verify/SKILL.md +0 -26
- package/plugins/src/expo/skills/jira-add-journey/SKILL.md +0 -140
- package/plugins/src/expo/skills/jira-create/SKILL.md +0 -161
- package/plugins/src/expo/skills/jira-evidence/SKILL.md +0 -110
- package/plugins/src/expo/skills/jira-evidence/scripts/post-evidence.sh +0 -397
- package/plugins/src/expo/skills/jira-journey/SKILL.md +0 -207
- package/plugins/src/expo/skills/jira-journey/scripts/generate-templates.py +0 -323
- package/plugins/src/expo/skills/jira-journey/scripts/parse-plan.py +0 -400
- package/plugins/src/expo/skills/jira-verify/SKILL.md +0 -27
- package/plugins/src/rails/skills/jira-add-journey/SKILL.md +0 -79
- package/plugins/src/rails/skills/jira-create/SKILL.md +0 -100
- package/plugins/src/rails/skills/jira-evidence/SKILL.md +0 -101
- package/plugins/src/rails/skills/jira-evidence/scripts/post-evidence.sh +0 -397
- package/plugins/src/rails/skills/jira-journey/SKILL.md +0 -65
- package/plugins/src/rails/skills/jira-verify/SKILL.md +0 -26
|
@@ -1,397 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env bash
|
|
2
|
-
# post-evidence.sh — Upload evidence and post to JIRA + GitHub PR description
|
|
3
|
-
#
|
|
4
|
-
# Usage:
|
|
5
|
-
# bash post-evidence.sh <TICKET_ID> <EVIDENCE_DIR> <PR_NUMBER>
|
|
6
|
-
#
|
|
7
|
-
# Prerequisites:
|
|
8
|
-
# - JIRA_API_TOKEN env var set
|
|
9
|
-
# - a jira-cli config, resolved in this order (see "CONFIG RESOLUTION" below):
|
|
10
|
-
# 1. ${PROJECT_DIR}/.lisa/jira-cli/.config.yml (written by the
|
|
11
|
-
# setup-jira-cli SessionStart hook from the JIRA_* environment)
|
|
12
|
-
# 2. ~/.config/.jira/.config.yml (a developer's own
|
|
13
|
-
# `jira init` config; announced on stderr when it is used)
|
|
14
|
-
# - gh CLI authenticated
|
|
15
|
-
#
|
|
16
|
-
# What it does:
|
|
17
|
-
# 1. Uploads evidence files to the configured GitHub evidence release
|
|
18
|
-
# (default 'pr-assets'; see verification.completion.evidenceRelease) as
|
|
19
|
-
# pr-<PR_NUMBER>-<file>, then confirms every one is listed there
|
|
20
|
-
# 2. Updates the GitHub PR description with evidence/comment.md
|
|
21
|
-
# 3. Uploads image evidence as JIRA attachments
|
|
22
|
-
# 4. Posts/updates the JIRA comment with evidence/comment.txt
|
|
23
|
-
# 5. Moves the JIRA ticket to the configured jira.workflow.review status
|
|
24
|
-
# (skipped entirely when review is unconfigured — stays in claimed)
|
|
25
|
-
|
|
26
|
-
set -euo pipefail
|
|
27
|
-
|
|
28
|
-
TICKET_ID="${1:?Usage: post-evidence.sh <TICKET_ID> <EVIDENCE_DIR> <PR_NUMBER>}"
|
|
29
|
-
EVIDENCE_DIR="${2:?Usage: post-evidence.sh <TICKET_ID> <EVIDENCE_DIR> <PR_NUMBER>}"
|
|
30
|
-
PR_NUMBER="${3:?Usage: post-evidence.sh <TICKET_ID> <EVIDENCE_DIR> <PR_NUMBER>}"
|
|
31
|
-
|
|
32
|
-
# Every release asset is named pr-${PR_NUMBER}-<file>, so the number must be a
|
|
33
|
-
# canonical positive integer before anything is uploaded: an empty, signed or
|
|
34
|
-
# padded value would produce a name another pull request could also produce.
|
|
35
|
-
if [[ ! "$PR_NUMBER" =~ ^[1-9][0-9]*$ ]]; then
|
|
36
|
-
echo "ERROR: PR_NUMBER must be a positive integer, got '$PR_NUMBER'" >&2
|
|
37
|
-
exit 1
|
|
38
|
-
fi
|
|
39
|
-
|
|
40
|
-
# ─────────────────────────────────────────────────────────────────────────────
|
|
41
|
-
# CONFIG RESOLUTION
|
|
42
|
-
#
|
|
43
|
-
# The setup-jira-cli SessionStart hook writes ${PROJECT_DIR}/.lisa/jira-cli/
|
|
44
|
-
# .config.yml. Nothing read it — this script looked only at the developer's own
|
|
45
|
-
# ~/.config/.jira/.config.yml and exited 1 telling the operator to run
|
|
46
|
-
# `jira init`, so on a headless JIRA project the hook was an inert control.
|
|
47
|
-
# See CodySwannGT/lisa#2767.
|
|
48
|
-
#
|
|
49
|
-
# PROJECT_DIR is resolved with the same rule as the hook that writes the file,
|
|
50
|
-
# deliberately character-for-character: CLAUDE_PROJECT_DIR (the harness's own
|
|
51
|
-
# declaration of the root, inert on harnesses that never set it), then the git
|
|
52
|
-
# toplevel, then pwd. A session launched from a subdirectory otherwise reads a
|
|
53
|
-
# directory it never wrote — the #2768 defect, on the read side.
|
|
54
|
-
#
|
|
55
|
-
# Nothing here writes to ~/.config/.jira. That file is a developer's personal
|
|
56
|
-
# jira-cli state; it is read as a fallback and never created or modified.
|
|
57
|
-
#
|
|
58
|
-
# NOTE: the `.lisa.config.json` reads in Step 5 below are still resolved from
|
|
59
|
-
# the process working directory. That is pre-existing and out of scope here.
|
|
60
|
-
# ─────────────────────────────────────────────────────────────────────────────
|
|
61
|
-
PROJECT_DIR="${CLAUDE_PROJECT_DIR:-}"
|
|
62
|
-
if [[ -z "${PROJECT_DIR}" || ! -d "${PROJECT_DIR}" ]]; then
|
|
63
|
-
PROJECT_DIR="$(git rev-parse --show-toplevel 2>/dev/null || pwd)"
|
|
64
|
-
fi
|
|
65
|
-
PROJECT_JIRA_CONFIG="${PROJECT_DIR}/.lisa/jira-cli/.config.yml"
|
|
66
|
-
HOME_JIRA_CONFIG="${HOME}/.config/.jira/.config.yml"
|
|
67
|
-
|
|
68
|
-
if [[ -f "$PROJECT_JIRA_CONFIG" ]]; then
|
|
69
|
-
JIRA_CONFIG="$PROJECT_JIRA_CONFIG"
|
|
70
|
-
elif [[ -f "$HOME_JIRA_CONFIG" ]]; then
|
|
71
|
-
# Announced, never silent. A silent fall-through to the developer's own file
|
|
72
|
-
# is precisely how the Lisa-written config stayed unconsumed without anyone
|
|
73
|
-
# noticing, and on a headless runner there is no such file to fall back to.
|
|
74
|
-
echo "NOTE: no Lisa-written jira-cli config at $PROJECT_JIRA_CONFIG" >&2
|
|
75
|
-
echo " falling back to the developer config at $HOME_JIRA_CONFIG" >&2
|
|
76
|
-
JIRA_CONFIG="$HOME_JIRA_CONFIG"
|
|
77
|
-
else
|
|
78
|
-
echo "ERROR: jira-cli config not found." >&2
|
|
79
|
-
echo " Lisa-written config (expected): $PROJECT_JIRA_CONFIG" >&2
|
|
80
|
-
echo " developer config (fallback): $HOME_JIRA_CONFIG" >&2
|
|
81
|
-
echo " Fix: export JIRA_SERVER, JIRA_LOGIN (and JIRA_INSTALLATION," >&2
|
|
82
|
-
echo " JIRA_PROJECT) and start a new session so the setup-jira-cli hook" >&2
|
|
83
|
-
echo " writes the project config — or run 'jira init' locally." >&2
|
|
84
|
-
exit 1
|
|
85
|
-
fi
|
|
86
|
-
JIRA_SERVER=$(sed -n 's/^server:[[:space:]]*//p' "$JIRA_CONFIG")
|
|
87
|
-
JIRA_USER=$(grep '^login:' "$JIRA_CONFIG" | awk '{print $2}')
|
|
88
|
-
# Validate before constructing credentials; use only the approved HTTPS origin.
|
|
89
|
-
JIRA_SERVER=$(python3 - "$JIRA_SERVER" <<'PY_ORIGIN'
|
|
90
|
-
import ipaddress
|
|
91
|
-
import re
|
|
92
|
-
import sys
|
|
93
|
-
from urllib.parse import urlsplit
|
|
94
|
-
|
|
95
|
-
raw = sys.argv[1]
|
|
96
|
-
try:
|
|
97
|
-
if not raw or any(c <= " " or c >= "\x7f" for c in raw):
|
|
98
|
-
raise ValueError()
|
|
99
|
-
url = urlsplit(raw)
|
|
100
|
-
if (url.scheme != "https" or "@" in url.netloc or "?" in raw
|
|
101
|
-
or "#" in raw or url.path not in ("", "/") or not url.hostname):
|
|
102
|
-
raise ValueError()
|
|
103
|
-
host = url.hostname
|
|
104
|
-
if url.netloc.startswith("["):
|
|
105
|
-
host = f"[{ipaddress.IPv6Address(host).compressed}]"
|
|
106
|
-
elif not re.fullmatch(r"[a-z0-9]([a-z0-9-]*[a-z0-9])?(\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*", host):
|
|
107
|
-
raise ValueError()
|
|
108
|
-
port = url.port
|
|
109
|
-
if port == 0:
|
|
110
|
-
raise ValueError()
|
|
111
|
-
suffix = f":{port}" if port is not None and port != 443 else ""
|
|
112
|
-
print(f"https://{host}{suffix}")
|
|
113
|
-
except ValueError:
|
|
114
|
-
sys.exit("ERROR: JIRA_SERVER must be a bare HTTPS origin without userinfo, path, query or fragment.")
|
|
115
|
-
PY_ORIGIN
|
|
116
|
-
)
|
|
117
|
-
|
|
118
|
-
GH_REPO=$(gh repo view --json nameWithOwner --jq '.nameWithOwner')
|
|
119
|
-
# The evidence release comes from the one resolver every writer shares, so a
|
|
120
|
-
# project's `verification.completion.evidenceRelease` (for example the rotating
|
|
121
|
-
# `pr-assets-{YYYY-MM}`) moves this upload too. GitHub caps a release at 1000
|
|
122
|
-
# assets; a hardcoded `pr-assets` filled up and every upload then failed with a
|
|
123
|
-
# raw HTTP 422 (CodySwannGT/lisa#4692). `--ensure` creates the release when it
|
|
124
|
-
# is absent and, when it is nearly full, rolls over to the next overflow
|
|
125
|
-
# release (`<release>-2`, `-3`, …) and prints that one (CodySwannGT/lisa#4838).
|
|
126
|
-
# It refuses, in plain words, only when a pinned release is full, every
|
|
127
|
-
# overflow release is full, the release name is too long to take an overflow
|
|
128
|
-
# suffix, or the release cannot be created. generate-templates.py asks the same `--ensure`, so its links
|
|
129
|
-
# name the release uploaded here. A host whose Lisa predates the resolver keeps
|
|
130
|
-
# the legacy release.
|
|
131
|
-
#
|
|
132
|
-
# LISA_EVIDENCE_RELEASE, when set, pins the release for this run so the links
|
|
133
|
-
# generate-templates.py wrote match these uploads. The resolver still checks
|
|
134
|
-
# that name and the release's capacity; it reads the variable itself.
|
|
135
|
-
RELEASE_TAG="${LISA_EVIDENCE_RELEASE:-pr-assets}"
|
|
136
|
-
WORK_ITEM_CLI="${PROJECT_DIR}/scripts/lisa-work-item.mjs"
|
|
137
|
-
if [[ -f "$WORK_ITEM_CLI" ]]; then
|
|
138
|
-
if ! RELEASE_TAG=$(cd "$PROJECT_DIR" && node "$WORK_ITEM_CLI" evidence-release --ensure); then
|
|
139
|
-
echo "ERROR: the GitHub evidence release is not usable (see the message above); no evidence was uploaded." >&2
|
|
140
|
-
exit 1
|
|
141
|
-
fi
|
|
142
|
-
fi
|
|
143
|
-
|
|
144
|
-
if [[ -z "${JIRA_API_TOKEN:-}" ]]; then
|
|
145
|
-
echo "ERROR: JIRA_API_TOKEN environment variable is not set" >&2
|
|
146
|
-
exit 1
|
|
147
|
-
fi
|
|
148
|
-
|
|
149
|
-
# Collect numbered evidence files (images + text)
|
|
150
|
-
SCREENSHOTS=()
|
|
151
|
-
while IFS= read -r -d '' f; do
|
|
152
|
-
SCREENSHOTS+=("$f")
|
|
153
|
-
done < <(find "$EVIDENCE_DIR" -maxdepth 1 -name '[0-9][0-9]-*.png' -print0 | sort -z)
|
|
154
|
-
|
|
155
|
-
TEXT_EVIDENCE=()
|
|
156
|
-
while IFS= read -r -d '' f; do
|
|
157
|
-
TEXT_EVIDENCE+=("$f")
|
|
158
|
-
done < <(find "$EVIDENCE_DIR" -maxdepth 1 \( -name '[0-9][0-9]-*.txt' -o -name '[0-9][0-9]-*.json' \) ! -name 'comment.txt' -print0 | sort -z)
|
|
159
|
-
|
|
160
|
-
# Bash 3.2 treats an empty array as unset under nounset.
|
|
161
|
-
ALL_EVIDENCE=(${SCREENSHOTS[@]+"${SCREENSHOTS[@]}"} ${TEXT_EVIDENCE[@]+"${TEXT_EVIDENCE[@]}"})
|
|
162
|
-
|
|
163
|
-
if [[ ${#ALL_EVIDENCE[@]} -eq 0 ]]; then
|
|
164
|
-
echo "ERROR: No numbered evidence files found in $EVIDENCE_DIR (expected NN-*.png, NN-*.txt, or NN-*.json)" >&2
|
|
165
|
-
exit 1
|
|
166
|
-
fi
|
|
167
|
-
|
|
168
|
-
echo "Found ${#SCREENSHOTS[@]} screenshots and ${#TEXT_EVIDENCE[@]} text evidence files to upload"
|
|
169
|
-
|
|
170
|
-
# GitHub rewrites special characters (spaces, brackets, non-ASCII) in release
|
|
171
|
-
# asset names, so a link built from the local name would point at an asset that
|
|
172
|
-
# does not exist under that name. Refuse such names before anything is uploaded.
|
|
173
|
-
for FILE in "${ALL_EVIDENCE[@]}"; do
|
|
174
|
-
if [[ ! "$(basename "$FILE")" =~ ^[0-9]{2}-[A-Za-z0-9._-]+\.(png|txt|json)$ ]]; then
|
|
175
|
-
echo "ERROR: evidence file name '$(basename "$FILE")' is not release-safe." >&2
|
|
176
|
-
echo " Rename it to NN-name.ext using only letters, digits, '.', '_' and '-'" >&2
|
|
177
|
-
echo " (e.g. '01-search step.png' -> '01-search-step.png'), then re-run generate-templates.py." >&2
|
|
178
|
-
exit 1
|
|
179
|
-
fi
|
|
180
|
-
done
|
|
181
|
-
|
|
182
|
-
# The description's links are checked before uploading and again against the
|
|
183
|
-
# release after uploading, so it must exist before anything is uploaded.
|
|
184
|
-
COMMENT_MD="$EVIDENCE_DIR/comment.md"
|
|
185
|
-
if [[ ! -f "$COMMENT_MD" ]]; then
|
|
186
|
-
echo "ERROR: $COMMENT_MD not found — run generate-templates.py first" >&2
|
|
187
|
-
exit 1
|
|
188
|
-
fi
|
|
189
|
-
|
|
190
|
-
# Print every Markdown link or image target in comment.md, one per line. Every
|
|
191
|
-
# Markdown target form counts:
|
|
192
|
-
# inline ](url) ](url "title") ](<url>) ](<url> "title")
|
|
193
|
-
# reference [ref]: url [ref]: <url> "title" (up to 3 leading spaces)
|
|
194
|
-
# Only link targets count: text evidence inlined into comment.md may quote a
|
|
195
|
-
# release URL as plain text, and that must not fail the run.
|
|
196
|
-
comment_links() {
|
|
197
|
-
{ grep -oE '\]\(<?[^)<>[:space:]]+' "$COMMENT_MD" || true; } | sed -E 's/^\]\(<?//'
|
|
198
|
-
{ grep -oE '^ {0,3}\[[^]]+\]:[[:space:]]*<?[^<>[:space:]]+' "$COMMENT_MD" || true; } |
|
|
199
|
-
sed -E 's/^ {0,3}\[[^]]+\]:[[:space:]]*<?//'
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
# A link to THIS pull request's own pr-${PR_NUMBER}- asset in a different
|
|
203
|
-
# release of this repository means the templates were generated against one
|
|
204
|
-
# release and this run uploads to another (a roll-over to `<release>-2` in
|
|
205
|
-
# between, CodySwannGT/lisa#4838): the link would 404, so refuse it. The check
|
|
206
|
-
# runs before anything is uploaded, so a refused run leaves no copies behind in
|
|
207
|
-
# a release the operator then re-pins away from (CodySwannGT/lisa#4856).
|
|
208
|
-
# Any other cross-release link (another PR's evidence, or an older release's
|
|
209
|
-
# asset linked on purpose) passes through untouched: regenerating the
|
|
210
|
-
# templates cannot remove a hand-written link, so refusing it would loop.
|
|
211
|
-
RELEASE_PREFIX="github.com/${GH_REPO}/releases/download/"
|
|
212
|
-
CROSS_RELEASE_LINKS=0
|
|
213
|
-
while IFS= read -r LINK; do
|
|
214
|
-
[[ "$LINK" == *"$RELEASE_PREFIX"* ]] || continue
|
|
215
|
-
LINK_TAG="${LINK#*"$RELEASE_PREFIX"}"
|
|
216
|
-
LINK_TAG="${LINK_TAG%%/*}"
|
|
217
|
-
[[ "$LINK_TAG" != "$RELEASE_TAG" ]] || continue
|
|
218
|
-
[[ "${LINK##*/}" == "pr-${PR_NUMBER}-"* ]] || continue
|
|
219
|
-
echo "ERROR: $COMMENT_MD links $LINK in release '$LINK_TAG', but this run uploads to release '$RELEASE_TAG'. Regenerate the templates with LISA_EVIDENCE_RELEASE=$RELEASE_TAG and re-run this script with the same LISA_EVIDENCE_RELEASE=$RELEASE_TAG. If this link was written by hand, remove it or re-upload the asset to '$RELEASE_TAG'." >&2
|
|
220
|
-
CROSS_RELEASE_LINKS=1
|
|
221
|
-
done < <(comment_links)
|
|
222
|
-
if [[ $CROSS_RELEASE_LINKS -ne 0 ]]; then
|
|
223
|
-
echo "No evidence was uploaded." >&2
|
|
224
|
-
exit 1
|
|
225
|
-
fi
|
|
226
|
-
|
|
227
|
-
# Compute JIRA auth early (used in steps 3 and 4)
|
|
228
|
-
JIRA_AUTH=$(printf '%s' "$JIRA_USER:$JIRA_API_TOKEN" | base64 | tr -d '\n')
|
|
229
|
-
|
|
230
|
-
# ── Step 1: Upload to the GitHub evidence release ───────────────────────────
|
|
231
|
-
echo ""
|
|
232
|
-
echo "==> Uploading to GitHub release '$RELEASE_TAG'..."
|
|
233
|
-
|
|
234
|
-
# Every pull request shares this one release, and --clobber deletes a
|
|
235
|
-
# same-named asset before uploading. Bare NN- names collided across pull
|
|
236
|
-
# requests, so a later upload destroyed an earlier one's evidence
|
|
237
|
-
# (CodySwannGT/lisa#4639). Each asset is therefore uploaded as
|
|
238
|
-
# pr-${PR_NUMBER}-<file>: --clobber can then replace only this pull request's
|
|
239
|
-
# own earlier upload. Local evidence files keep their NN- names; the scoped
|
|
240
|
-
# copies live in a private directory removed on exit.
|
|
241
|
-
UPLOAD_DIR=$(mktemp -d)
|
|
242
|
-
trap 'rm -rf "$UPLOAD_DIR"' EXIT
|
|
243
|
-
UPLOADED_ASSETS=()
|
|
244
|
-
for FILE in "${ALL_EVIDENCE[@]}"; do
|
|
245
|
-
ASSET_NAME="pr-${PR_NUMBER}-$(basename "$FILE")"
|
|
246
|
-
cp "$FILE" "$UPLOAD_DIR/$ASSET_NAME"
|
|
247
|
-
echo " ↑ $ASSET_NAME"
|
|
248
|
-
gh release upload "$RELEASE_TAG" "$UPLOAD_DIR/$ASSET_NAME" --repo "$GH_REPO" --clobber
|
|
249
|
-
UPLOADED_ASSETS+=("$ASSET_NAME")
|
|
250
|
-
done
|
|
251
|
-
|
|
252
|
-
# The description links these names, so confirm each one is really in the
|
|
253
|
-
# release before pointing anything at it.
|
|
254
|
-
RELEASE_ASSETS=$(gh release view "$RELEASE_TAG" --repo "$GH_REPO" --json assets --jq '.assets[].name')
|
|
255
|
-
MISSING_ASSETS=0
|
|
256
|
-
for ASSET_NAME in "${UPLOADED_ASSETS[@]}"; do
|
|
257
|
-
if ! grep -qxF "$ASSET_NAME" <<< "$RELEASE_ASSETS"; then
|
|
258
|
-
echo "ERROR: $ASSET_NAME is missing from release '$RELEASE_TAG' after upload" >&2
|
|
259
|
-
MISSING_ASSETS=1
|
|
260
|
-
fi
|
|
261
|
-
done
|
|
262
|
-
if [[ $MISSING_ASSETS -ne 0 ]]; then
|
|
263
|
-
exit 1
|
|
264
|
-
fi
|
|
265
|
-
|
|
266
|
-
echo " ✓ GitHub release assets uploaded"
|
|
267
|
-
|
|
268
|
-
# Every Markdown link or image target that points into the release must name
|
|
269
|
-
# an asset THIS run uploaded, and therefore one the check above just found in
|
|
270
|
-
# the release. A bare or other-PR name would show some other pull request's
|
|
271
|
-
# evidence, and a pr-<n>- asset left over from an earlier run would show
|
|
272
|
-
# evidence this run did not produce. Links into other releases were already
|
|
273
|
-
# checked before uploading.
|
|
274
|
-
THIS_RUN_ASSETS=$(printf '%s\n' "${UPLOADED_ASSETS[@]}")
|
|
275
|
-
BAD_LINKS=0
|
|
276
|
-
while IFS= read -r LINK; do
|
|
277
|
-
# Only this repository's release counts: another repository's release of the
|
|
278
|
-
# same name holds assets this run never uploaded.
|
|
279
|
-
[[ "$LINK" == *"${RELEASE_PREFIX}${RELEASE_TAG}/"* ]] || continue
|
|
280
|
-
LINK_NAME="${LINK##*/}"
|
|
281
|
-
if [[ "$LINK_NAME" != "pr-${PR_NUMBER}-"* ]]; then
|
|
282
|
-
echo "ERROR: $COMMENT_MD links $LINK, which is not scoped to PR #$PR_NUMBER (expected pr-${PR_NUMBER}-<file>)" >&2
|
|
283
|
-
BAD_LINKS=1
|
|
284
|
-
elif ! grep -qxF "$LINK_NAME" <<< "$THIS_RUN_ASSETS"; then
|
|
285
|
-
echo "ERROR: $COMMENT_MD links $LINK, which this run did not upload to release '$RELEASE_TAG'" >&2
|
|
286
|
-
BAD_LINKS=1
|
|
287
|
-
fi
|
|
288
|
-
done < <(comment_links)
|
|
289
|
-
if [[ $BAD_LINKS -ne 0 ]]; then
|
|
290
|
-
exit 1
|
|
291
|
-
fi
|
|
292
|
-
|
|
293
|
-
# ── Step 2: Update GitHub PR description with evidence ──────────────────────
|
|
294
|
-
echo ""
|
|
295
|
-
echo "==> Updating GitHub PR #$PR_NUMBER description..."
|
|
296
|
-
|
|
297
|
-
CURRENT_BODY=$(gh pr view "$PR_NUMBER" --json body --jq '.body')
|
|
298
|
-
|
|
299
|
-
# Replace or append the Evidence section
|
|
300
|
-
if echo "$CURRENT_BODY" | grep -q "^## Evidence"; then
|
|
301
|
-
# Replace from "## Evidence" to end of file
|
|
302
|
-
NEW_BODY=$(echo "$CURRENT_BODY" | sed '/^## Evidence/,$d')
|
|
303
|
-
EVIDENCE_SECTION=$(cat "$COMMENT_MD")
|
|
304
|
-
UPDATED_BODY="${NEW_BODY}
|
|
305
|
-
${EVIDENCE_SECTION}"
|
|
306
|
-
else
|
|
307
|
-
EVIDENCE_SECTION=$(cat "$COMMENT_MD")
|
|
308
|
-
UPDATED_BODY="${CURRENT_BODY}
|
|
309
|
-
|
|
310
|
-
${EVIDENCE_SECTION}"
|
|
311
|
-
fi
|
|
312
|
-
|
|
313
|
-
gh pr edit "$PR_NUMBER" --body "$UPDATED_BODY"
|
|
314
|
-
echo " ✓ PR description updated with evidence"
|
|
315
|
-
|
|
316
|
-
# ── Step 3: Upload image evidence as JIRA attachments ───────────────────────
|
|
317
|
-
if [[ ${#SCREENSHOTS[@]} -gt 0 ]]; then
|
|
318
|
-
echo ""
|
|
319
|
-
echo "==> Uploading image attachments to JIRA $TICKET_ID..."
|
|
320
|
-
|
|
321
|
-
for IMG in "${SCREENSHOTS[@]}"; do
|
|
322
|
-
FILENAME=$(basename "$IMG")
|
|
323
|
-
echo " ↑ $FILENAME"
|
|
324
|
-
RESP=$(curl -s -w "\nHTTP_CODE:%{http_code}" \
|
|
325
|
-
-X POST \
|
|
326
|
-
-H "Authorization: Basic $JIRA_AUTH" \
|
|
327
|
-
-H "X-Atlassian-Token: no-check" \
|
|
328
|
-
-F "file=@$IMG" \
|
|
329
|
-
"$JIRA_SERVER/rest/api/3/issue/$TICKET_ID/attachments")
|
|
330
|
-
HTTP_CODE=$(echo "$RESP" | grep "HTTP_CODE:" | cut -d: -f2)
|
|
331
|
-
if [[ "$HTTP_CODE" != "200" ]]; then
|
|
332
|
-
echo " WARNING: Failed to upload $FILENAME (HTTP $HTTP_CODE)" >&2
|
|
333
|
-
fi
|
|
334
|
-
done
|
|
335
|
-
|
|
336
|
-
echo " ✓ JIRA attachments uploaded"
|
|
337
|
-
fi
|
|
338
|
-
|
|
339
|
-
# ── Step 4: Post JIRA comment ────────────────────────────────────────────────
|
|
340
|
-
COMMENT_TXT="$EVIDENCE_DIR/comment.txt"
|
|
341
|
-
if [[ ! -f "$COMMENT_TXT" ]]; then
|
|
342
|
-
echo "ERROR: $COMMENT_TXT not found — run generate-templates.py first" >&2
|
|
343
|
-
exit 1
|
|
344
|
-
fi
|
|
345
|
-
|
|
346
|
-
echo ""
|
|
347
|
-
echo "==> Posting JIRA comment on $TICKET_ID..."
|
|
348
|
-
|
|
349
|
-
COMMENT_BODY=$(cat "$COMMENT_TXT")
|
|
350
|
-
COMMENT_JSON=$(python3 -c "import sys, json; print(json.dumps(sys.stdin.read()))" <<< "$COMMENT_BODY")
|
|
351
|
-
|
|
352
|
-
RESP=$(curl -s -w "\nHTTP_CODE:%{http_code}" \
|
|
353
|
-
-X POST \
|
|
354
|
-
-H "Authorization: Basic $JIRA_AUTH" \
|
|
355
|
-
-H "Content-Type: application/json" \
|
|
356
|
-
"$JIRA_SERVER/rest/api/2/issue/$TICKET_ID/comment" \
|
|
357
|
-
-d "{\"body\": $COMMENT_JSON}")
|
|
358
|
-
HTTP_CODE=$(echo "$RESP" | grep "HTTP_CODE:" | cut -d: -f2)
|
|
359
|
-
|
|
360
|
-
if [[ "$HTTP_CODE" == "201" ]]; then
|
|
361
|
-
echo " ✓ JIRA comment posted"
|
|
362
|
-
else
|
|
363
|
-
echo " WARNING: JIRA comment returned HTTP $HTTP_CODE" >&2
|
|
364
|
-
echo "$RESP" | grep -v "HTTP_CODE:" | head -3
|
|
365
|
-
fi
|
|
366
|
-
|
|
367
|
-
# ── Step 5: Move ticket to the configured review status (if any) ────────────
|
|
368
|
-
# A transition may target only a status named in .lisa.config.json jira.workflow.
|
|
369
|
-
# `review` is OPTIONAL: when it is not configured, the build lifecycle stays in
|
|
370
|
-
# `claimed` until `done` — do NOT invent a transition. (See config-resolution.md.)
|
|
371
|
-
REVIEW=""
|
|
372
|
-
if [ -f .lisa.config.json ]; then
|
|
373
|
-
_cfg=$(jq -r '.jira.workflow.review // .jira.workflow.code_review // empty' .lisa.config.json 2>/dev/null)
|
|
374
|
-
[ -n "$_cfg" ] && REVIEW="$_cfg"
|
|
375
|
-
fi
|
|
376
|
-
if [ -f .lisa.config.local.json ]; then
|
|
377
|
-
_local=$(jq -r '.jira.workflow.review // .jira.workflow.code_review // empty' .lisa.config.local.json 2>/dev/null)
|
|
378
|
-
[ -n "$_local" ] && REVIEW="$_local"
|
|
379
|
-
fi
|
|
380
|
-
echo ""
|
|
381
|
-
if [ -n "$REVIEW" ]; then
|
|
382
|
-
echo "==> Moving $TICKET_ID to $REVIEW..."
|
|
383
|
-
# --config pins jira-cli to the same file this script parsed above.
|
|
384
|
-
# jira-cli resolves --config > JIRA_CONFIG_FILE > ~/.config/.jira/
|
|
385
|
-
# .config.yml, and a --config path that does not exist fails closed
|
|
386
|
-
# rather than falling back (measured against jira-cli v1.7.0). The flag
|
|
387
|
-
# needs no environment export, so this works identically on every
|
|
388
|
-
# harness — see the harness note in the setup-jira-cli hook.
|
|
389
|
-
jira --config "$JIRA_CONFIG" issue move "$TICKET_ID" "$REVIEW" 2>&1 && echo " ✓ Ticket moved to $REVIEW" || echo " WARNING: Could not move ticket to $REVIEW (not a valid transition?); leaving in current status" >&2
|
|
390
|
-
else
|
|
391
|
-
echo "==> No jira.workflow.review configured; leaving $TICKET_ID in its current (claimed) status per config-resolution."
|
|
392
|
-
fi
|
|
393
|
-
|
|
394
|
-
echo ""
|
|
395
|
-
echo "==> Done!"
|
|
396
|
-
echo " JIRA: $JIRA_SERVER/browse/$TICKET_ID"
|
|
397
|
-
echo " GitHub: https://github.com/$GH_REPO/pull/$PR_NUMBER"
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: jira-journey
|
|
3
|
-
description: "Parse a JIRA ticket's Validation Journey section, execute the verification steps, capture evidence, and post to JIRA + GitHub PR using the jira-evidence skill."
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# JIRA Validation Journey
|
|
7
|
-
|
|
8
|
-
Parse a JIRA ticket's Validation Journey, execute the verification steps using the project's appropriate tools, capture evidence at each marker, and post to JIRA + GitHub PR.
|
|
9
|
-
|
|
10
|
-
## Arguments
|
|
11
|
-
|
|
12
|
-
`$ARGUMENTS`: `<TICKET_ID> [PR_NUMBER]`
|
|
13
|
-
|
|
14
|
-
- `TICKET_ID` (required): JIRA ticket key (e.g., `PROJ-123`)
|
|
15
|
-
- `PR_NUMBER` (optional): GitHub PR number to update description
|
|
16
|
-
|
|
17
|
-
## Prerequisites
|
|
18
|
-
|
|
19
|
-
- `JIRA_API_TOKEN` environment variable set
|
|
20
|
-
- `jira-cli` configured — `.lisa/jira-cli/.config.yml` (written by the
|
|
21
|
-
`setup-jira-cli` SessionStart hook) or `~/.config/.jira/.config.yml`
|
|
22
|
-
- `gh` CLI authenticated
|
|
23
|
-
|
|
24
|
-
## Workflow
|
|
25
|
-
|
|
26
|
-
### Step 1: Parse the Validation Journey
|
|
27
|
-
|
|
28
|
-
Run the parser script to extract the Validation Journey from the JIRA ticket description:
|
|
29
|
-
|
|
30
|
-
```bash
|
|
31
|
-
python3 .claude/skills/jira-journey/scripts/parse-plan.py <TICKET_ID>
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
The script outputs JSON with: `ticket`, `prerequisites`, `steps`, `viewports`, `assertions`.
|
|
35
|
-
|
|
36
|
-
### Step 2: Satisfy Prerequisites
|
|
37
|
-
|
|
38
|
-
Before starting the journey, verify each prerequisite listed in the parsed output.
|
|
39
|
-
|
|
40
|
-
### Step 3: Execute Steps
|
|
41
|
-
|
|
42
|
-
Execute each step sequentially. At each step with an evidence marker (`[SCREENSHOT: name]`, or typed `[EVIDENCE: <artifact-type>: <name>]` per the `verification` rule — `[SCREENSHOT: name]` is shorthand for `[EVIDENCE: screenshot: name]`), capture an artifact of the declared type.
|
|
43
|
-
|
|
44
|
-
The execution method depends on the project type:
|
|
45
|
-
- **UI projects**: Use Playwright MCP browser tools, capture screenshots at each viewport
|
|
46
|
-
- **API projects**: Use curl or test commands, capture stdout/stderr
|
|
47
|
-
- **Library projects**: Run tests, capture output
|
|
48
|
-
|
|
49
|
-
Stack-specific overrides provide the actual execution implementation.
|
|
50
|
-
|
|
51
|
-
### Step 4: Generate Evidence Templates
|
|
52
|
-
|
|
53
|
-
After capturing all evidence, run the template generator to format evidence for JIRA and GitHub.
|
|
54
|
-
|
|
55
|
-
### Step 5: Post Evidence
|
|
56
|
-
|
|
57
|
-
Use the `/jira-evidence` skill to post everything:
|
|
58
|
-
|
|
59
|
-
```bash
|
|
60
|
-
bash .claude/skills/jira-evidence/scripts/post-evidence.sh <TICKET_ID> ./evidence <PR_NUMBER>
|
|
61
|
-
```
|
|
62
|
-
|
|
63
|
-
### Step 6: Verify
|
|
64
|
-
|
|
65
|
-
Confirm evidence renders at both the JIRA ticket and GitHub PR.
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: jira-verify
|
|
3
|
-
description: This skill should be used when verifying that a JIRA ticket meets organizational standards for epic relationships and description quality. It fetches the live ticket and delegates the gate checks to jira-validate-ticket so the bar matches what jira-write-ticket enforces pre-write.
|
|
4
|
-
allowed-tools: ["Skill", "mcp__atlassian__getJiraIssue", "mcp__atlassian__getAccessibleAtlassianResources"]
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# Verify JIRA Ticket: $ARGUMENTS
|
|
8
|
-
|
|
9
|
-
Verify that the existing JIRA ticket `$ARGUMENTS` meets organizational standards. This skill is a thin post-write wrapper around `lisa:jira-validate-ticket`: it fetches the live ticket and asks `lisa:jira-validate-ticket` to run the gates against the fetched state.
|
|
10
|
-
|
|
11
|
-
This indirection exists so the gate definitions live in exactly one place (`lisa:jira-validate-ticket`). When the bar changes, change it there — `lisa:jira-verify`, `lisa:jira-write-ticket` (Phase 5.5 pre-write), and `lisa:notion-to-tracker` (PRD dry-run) all pick it up.
|
|
12
|
-
|
|
13
|
-
## Process
|
|
14
|
-
|
|
15
|
-
1. Resolve cloud ID via `mcp__atlassian__getAccessibleAtlassianResources`.
|
|
16
|
-
2. Fetch the ticket via `mcp__atlassian__getJiraIssue` for `$ARGUMENTS`.
|
|
17
|
-
3. Invoke `lisa:jira-validate-ticket` and pass the ticket key. The validator runs every gate (Specification + Feasibility) against the live state.
|
|
18
|
-
4. Surface the validator's report verbatim.
|
|
19
|
-
|
|
20
|
-
## Output
|
|
21
|
-
|
|
22
|
-
Pass through `lisa:jira-validate-ticket`'s structured output unchanged. Downstream callers parse the gate lines.
|
|
23
|
-
|
|
24
|
-
## Notes
|
|
25
|
-
|
|
26
|
-
- This skill is read-only. It never edits the ticket, posts comments, or changes status.
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: jira-add-journey
|
|
3
|
-
description: "Add a Validation Journey section to an existing JIRA ticket by reading the ticket description, understanding the feature, and generating the journey steps and assertions."
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Add Validation Journey to Existing JIRA Ticket
|
|
7
|
-
|
|
8
|
-
Read an existing JIRA ticket, understand the feature or fix it describes, analyze the codebase to determine the verification approach, and append a Validation Journey section to the ticket description.
|
|
9
|
-
|
|
10
|
-
## Arguments
|
|
11
|
-
|
|
12
|
-
`$ARGUMENTS`: `<TICKET_ID>`
|
|
13
|
-
|
|
14
|
-
- `TICKET_ID` (required): JIRA ticket key (e.g., `PROJ-123`)
|
|
15
|
-
|
|
16
|
-
## Prerequisites
|
|
17
|
-
|
|
18
|
-
- `JIRA_API_TOKEN` environment variable set
|
|
19
|
-
- `jira-cli` configured. Prefer the config Lisa writes at
|
|
20
|
-
`.lisa/jira-cli/.config.yml` (the `setup-jira-cli` SessionStart hook writes it
|
|
21
|
-
from `JIRA_SERVER` / `JIRA_LOGIN` / `JIRA_PROJECT` on a project whose
|
|
22
|
-
`tracker` is `jira`), and pass it explicitly with `--config`. A developer's
|
|
23
|
-
own `~/.config/.jira/.config.yml` still works as jira-cli's default when no
|
|
24
|
-
`--config` is given.
|
|
25
|
-
|
|
26
|
-
## Workflow
|
|
27
|
-
|
|
28
|
-
### Step 1: Read the Ticket
|
|
29
|
-
|
|
30
|
-
Use the Atlassian MCP or jira-cli to read the full ticket details:
|
|
31
|
-
|
|
32
|
-
```bash
|
|
33
|
-
# Run from the project root. --config pins jira-cli to the file Lisa's
|
|
34
|
-
# setup-jira-cli hook wrote, instead of the machine's own ~/.config/.jira.
|
|
35
|
-
# jira-cli resolves --config > JIRA_CONFIG_FILE > ~/.config/.jira/.config.yml,
|
|
36
|
-
# and a --config path that does not exist fails closed with "Missing
|
|
37
|
-
# configuration file." rather than silently using the default.
|
|
38
|
-
jira --config .lisa/jira-cli/.config.yml issue view <TICKET_ID>
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
If `.lisa/jira-cli/.config.yml` does not exist, drop `--config` to fall back to
|
|
42
|
-
the machine's own jira-cli config — but say so in your report rather than
|
|
43
|
-
letting the Lisa-written config go quietly unused.
|
|
44
|
-
|
|
45
|
-
Extract: title, description, acceptance criteria, components, labels, linked tickets.
|
|
46
|
-
|
|
47
|
-
### Step 2: Check for Existing Journey
|
|
48
|
-
|
|
49
|
-
Run the parser to see if a Validation Journey already exists:
|
|
50
|
-
|
|
51
|
-
```bash
|
|
52
|
-
python3 .claude/skills/jira-journey/scripts/parse-plan.py <TICKET_ID> 2>&1
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
If the parser succeeds and returns steps, the ticket already has a journey. Report this to the user and stop.
|
|
56
|
-
|
|
57
|
-
### Step 3: Analyze the Feature
|
|
58
|
-
|
|
59
|
-
Based on the ticket description and acceptance criteria, determine the appropriate verification approach. Stack-specific overrides provide the analysis logic.
|
|
60
|
-
|
|
61
|
-
### Step 4: Draft the Validation Journey
|
|
62
|
-
|
|
63
|
-
Compose the journey following the Validation Journey format with: Prerequisites, Steps (with evidence markers), and Assertions.
|
|
64
|
-
|
|
65
|
-
### Step 5: Present to User for Approval
|
|
66
|
-
|
|
67
|
-
Display the drafted Validation Journey to the user and ask for confirmation before appending it to the ticket.
|
|
68
|
-
|
|
69
|
-
### Step 6: Append to Ticket Description
|
|
70
|
-
|
|
71
|
-
After user approval, use the JIRA REST API to append the Validation Journey to the existing ticket description.
|
|
72
|
-
|
|
73
|
-
### Step 7: Verify
|
|
74
|
-
|
|
75
|
-
Run the parser again to confirm the journey was added correctly:
|
|
76
|
-
|
|
77
|
-
```bash
|
|
78
|
-
python3 .claude/skills/jira-journey/scripts/parse-plan.py <TICKET_ID>
|
|
79
|
-
```
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: jira-create
|
|
3
|
-
description: This skill should be used when creating JIRA epics, stories, and tasks from code files or descriptions. It analyzes the provided input, determines the appropriate issue hierarchy, and creates issues with comprehensive quality requirements including test-first development and documentation.
|
|
4
|
-
allowed-tools: ["Read", "Glob", "LS", "Skill", "mcp__atlassian__getVisibleJiraProjects", "mcp__atlassian__getJiraProjectIssueTypesMetadata", "mcp__atlassian__getAccessibleAtlassianResources"]
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# Create JIRA Issues from $ARGUMENTS
|
|
8
|
-
|
|
9
|
-
Analyze the provided file(s) and plan a JIRA hierarchy. **This skill plans structure only — every individual ticket write is delegated to `lisa:jira-write-ticket`.** Do not call `mcp__atlassian__createJiraIssue` from this skill; the necessary write tools are intentionally not in `allowed-tools`.
|
|
10
|
-
|
|
11
|
-
## Process
|
|
12
|
-
|
|
13
|
-
1. **Analyze**: Read $ARGUMENTS to understand scope.
|
|
14
|
-
2. **Extract source artifacts**: invoke the `lisa:tracker-source-artifacts` skill, then enumerate every external URL, embed, attachment, or example payload and classify each by domain per its rules. Build the `artifacts` map. See "Source Artifacts" below.
|
|
15
|
-
3. **Walk the live product** (when applicable): if the work touches existing user-facing surfaces, invoke the `lisa:product-walkthrough` skill to capture current behavior, design-vs-product divergence, and reuse candidates. Skip only when the work is purely backend or affects a screen that does not yet exist. See "Live Product Walkthrough" below.
|
|
16
|
-
4. **Determine structure**:
|
|
17
|
-
- Epic needed if: multiple features, major changes, >3 related files
|
|
18
|
-
- Direct tasks if: bug fix, single file, minor change
|
|
19
|
-
5. **Plan hierarchy**:
|
|
20
|
-
```text
|
|
21
|
-
Epic → User Story → Tasks (test, implement, document, cleanup)
|
|
22
|
-
```
|
|
23
|
-
6. **Delegate every write to `lisa:jira-write-ticket`** in dependency order (epic first, then stories with the epic as parent, then sub-tasks with their story as parent). Pass the artifacts (filtered by domain per `lisa:tracker-source-artifacts` inheritance rules) and the walkthrough findings (under `## Current Product`). See "Delegation to jira-write-ticket" below.
|
|
24
|
-
7. **Run the artifact preservation gate** (`lisa:tracker-source-artifacts` §8): after all writes complete, build the preservation matrix and verify every extracted artifact is reachable from the created tickets. Fail loudly if anything was dropped.
|
|
25
|
-
|
|
26
|
-
## Mandatory for Every Code Issue
|
|
27
|
-
|
|
28
|
-
**Test-First**: Write tests before implementation
|
|
29
|
-
**Quality Gates**: All tests/checks must pass, no SonarCloud violations
|
|
30
|
-
**Documentation**: Check existing, update/create new, remove obsolete
|
|
31
|
-
**Feature Flags**: All features behind flags with lifecycle plan
|
|
32
|
-
**Cleanup**: Remove temporary code, scripts, dev configs
|
|
33
|
-
|
|
34
|
-
## Source Artifacts
|
|
35
|
-
|
|
36
|
-
If $ARGUMENTS includes (or references) any external artifact — PRD, design doc, Figma URL, Lovable prototype, Loom walkthrough, screenshot, example payload — those references MUST be preserved as remote links on the created tickets. Silent artifact loss is the single most common quality failure in this pipeline.
|
|
37
|
-
|
|
38
|
-
**Invoke the `lisa:tracker-source-artifacts` skill** for the canonical rules: domains, per-tool classification (Figma `/proto/` vs design, Lovable, Loom, screenshots), source precedence, conflict handling under `## Open Questions`, inheritance from epic → story → sub-task, and the existing-component reuse expectation. Do not restate the rules here.
|
|
39
|
-
|
|
40
|
-
Rails-specific note: the existing-component reuse rule applies to view partials and ViewComponents — the closest existing partial/component is usually the right answer over pixel-matching a mock from scratch.
|
|
41
|
-
|
|
42
|
-
When delegating writes to `lisa:jira-write-ticket`, pass the extracted artifact list so its Phase 4c step can attach them.
|
|
43
|
-
|
|
44
|
-
## Live Product Walkthrough
|
|
45
|
-
|
|
46
|
-
When the work touches existing user-facing surfaces, invoke the `lisa:product-walkthrough` skill before drafting tickets. Findings (current behavior, design-vs-product divergence, reuse candidates, behavioral surprises) become inputs to the ticket plan and surface under `## Current Product` on the resulting tickets. Skip only when the work is purely backend or affects a screen that does not yet exist.
|
|
47
|
-
|
|
48
|
-
## Issue Requirements
|
|
49
|
-
|
|
50
|
-
Each issue must clearly communicate to:
|
|
51
|
-
|
|
52
|
-
- **Coding Assistants**: Implementation requirements
|
|
53
|
-
- **Developers**: Technical approach
|
|
54
|
-
- **Stakeholders**: Business value
|
|
55
|
-
|
|
56
|
-
Default project: SE (override via arguments)
|
|
57
|
-
Exclude unless requested: migration plans, performance tests
|
|
58
|
-
|
|
59
|
-
## Delegation to jira-write-ticket
|
|
60
|
-
|
|
61
|
-
**Mandatory.** Every ticket created by this skill MUST go through `lisa:jira-write-ticket`. This skill never calls `mcp__atlassian__createJiraIssue` itself — that tool is intentionally excluded from `allowed-tools` so the gate cannot be bypassed.
|
|
62
|
-
|
|
63
|
-
`lisa:jira-write-ticket` enforces things this skill does not, and which determine ticket quality:
|
|
64
|
-
- 3-audience description (Context / Technical Approach / Acceptance Criteria)
|
|
65
|
-
- Gherkin acceptance criteria
|
|
66
|
-
- Epic parent validation (non-bug, non-epic types)
|
|
67
|
-
- Explicit link discovery (`blocks` / `is blocked by` / `relates to` / `duplicates` / `clones`)
|
|
68
|
-
- Remote links (PRs, Confluence, dashboards)
|
|
69
|
-
- Single-repo scope check for Bug / Task / Sub-task
|
|
70
|
-
- Sign-in account and target environment recorded in description
|
|
71
|
-
- Post-create verification
|
|
72
|
-
|
|
73
|
-
### Invocation order
|
|
74
|
-
|
|
75
|
-
Tickets must be created in parent-before-child order so each child can be passed its parent key:
|
|
76
|
-
|
|
77
|
-
1. Invoke `lisa:jira-write-ticket` for the epic. Capture the returned key.
|
|
78
|
-
2. For each story, invoke `lisa:jira-write-ticket` with the epic key as the epic parent. Capture each story key.
|
|
79
|
-
3. For each sub-task, invoke `lisa:jira-write-ticket` with the parent story key.
|
|
80
|
-
|
|
81
|
-
### What to pass to each invocation
|
|
82
|
-
|
|
83
|
-
For every delegated write, pass:
|
|
84
|
-
- The summary, issue type, project key, and priority you decided
|
|
85
|
-
- The 3-section description body you drafted (Context / Technical Approach / Acceptance Criteria)
|
|
86
|
-
- Gherkin acceptance criteria
|
|
87
|
-
- Parent key (epic key for stories; story key for sub-tasks)
|
|
88
|
-
- The artifact list extracted in "Source Artifacts", filtered by domain per the inheritance rules — `lisa:jira-write-ticket` Phase 4c attaches them as remote links
|
|
89
|
-
- For tickets that change runtime behavior: the Validation Journey draft, or instruct it to call `lisa:jira-add-journey` after create
|
|
90
|
-
|
|
91
|
-
### What this skill is responsible for
|
|
92
|
-
|
|
93
|
-
This skill owns:
|
|
94
|
-
- Deciding the *shape* of the hierarchy (what's an epic vs. story vs. sub-task)
|
|
95
|
-
- Drafting the description body and acceptance criteria from the input
|
|
96
|
-
- Extracting and classifying source artifacts
|
|
97
|
-
- Threading parent keys through subsequent writes
|
|
98
|
-
- Running the artifact preservation check after all writes complete
|
|
99
|
-
|
|
100
|
-
It does not own the actual JIRA write — that's `lisa:jira-write-ticket`'s job.
|