@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
|
@@ -4,7 +4,7 @@ import type { ICopyStrategy, StrategyContext } from "./strategy.interface.js";
|
|
|
4
4
|
* Produce the exact JSON merge result without filesystem access.
|
|
5
5
|
* @param source - Lisa template object
|
|
6
6
|
* @param destination - Existing host object
|
|
7
|
-
* @returns Merged object with Lisa governance and explicit Sentry
|
|
7
|
+
* @returns Merged object with Lisa governance and explicit Sentry/PostHog choices preserved
|
|
8
8
|
*/
|
|
9
9
|
export declare function mergeTemplateJson(source: Record<string, unknown>, destination: Record<string, unknown>): Record<string, unknown>;
|
|
10
10
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"merge.d.ts","sourceRoot":"","sources":["../../src/strategies/merge.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,KAAK,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"merge.d.ts","sourceRoot":"","sources":["../../src/strategies/merge.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,KAAK,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAoB9E;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC/B,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GACnC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CA2BzB;AAED;;;;;GAKG;AACH,qBAAa,aAAc,YAAW,aAAa;IACjD,QAAQ,CAAC,IAAI,EAAG,OAAO,CAAU;IAEjC;;;;;;;OAOG;IACG,KAAK,CACT,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,MAAM,EAChB,YAAY,EAAE,MAAM,EACpB,OAAO,EAAE,eAAe,GACvB,OAAO,CAAC,mBAAmB,CAAC;CAsDhC"}
|
package/dist/strategies/merge.js
CHANGED
|
@@ -4,12 +4,21 @@ import { isPostinstallSafeApply } from "../core/apply-mode.js";
|
|
|
4
4
|
import { ensureParentDir } from "../utils/file-operations.js";
|
|
5
5
|
import { readJson, writeJson, deepMergeWithArrayUnion, } from "../utils/json-utils.js";
|
|
6
6
|
import { JsonMergeError } from "../errors/index.js";
|
|
7
|
-
|
|
7
|
+
/**
|
|
8
|
+
* Optional third-party plugins whose explicit host choice survives a merge.
|
|
9
|
+
* Each is a vendor default, not a Lisa enforcement surface: a project on
|
|
10
|
+
* another error tracker or analytics provider (`observability.*.provider`)
|
|
11
|
+
* turns its plugin off, and re-applying Lisa must not turn it back on.
|
|
12
|
+
*/
|
|
13
|
+
const HOST_CHOICE_PLUGINS = [
|
|
14
|
+
"sentry@claude-plugins-official",
|
|
15
|
+
"posthog@claude-plugins-official",
|
|
16
|
+
];
|
|
8
17
|
/**
|
|
9
18
|
* Produce the exact JSON merge result without filesystem access.
|
|
10
19
|
* @param source - Lisa template object
|
|
11
20
|
* @param destination - Existing host object
|
|
12
|
-
* @returns Merged object with Lisa governance and explicit Sentry
|
|
21
|
+
* @returns Merged object with Lisa governance and explicit Sentry/PostHog choices preserved
|
|
13
22
|
*/
|
|
14
23
|
export function mergeTemplateJson(source, destination) {
|
|
15
24
|
const merged = deepMergeWithArrayUnion(destination, source);
|
|
@@ -22,15 +31,16 @@ export function mergeTemplateJson(source, destination) {
|
|
|
22
31
|
typeof plugins !== "object" ||
|
|
23
32
|
Array.isArray(plugins))
|
|
24
33
|
return merged;
|
|
25
|
-
const
|
|
26
|
-
|
|
34
|
+
const host = existing;
|
|
35
|
+
const choices = Object.fromEntries(HOST_CHOICE_PLUGINS.filter(key => typeof host[key] === "boolean").map(key => [key, host[key]]));
|
|
36
|
+
if (Object.keys(choices).length === 0)
|
|
27
37
|
return merged;
|
|
28
|
-
//
|
|
29
|
-
// Other runtimes keep their native
|
|
30
|
-
//
|
|
38
|
+
// These official Claude plugins are optional, not Lisa enforcement surfaces.
|
|
39
|
+
// Other runtimes keep their native integrations; this preference only names
|
|
40
|
+
// Claude's plugins. Missing choices still receive the template default.
|
|
31
41
|
return {
|
|
32
42
|
...merged,
|
|
33
|
-
enabledPlugins: { ...plugins,
|
|
43
|
+
enabledPlugins: { ...plugins, ...choices },
|
|
34
44
|
};
|
|
35
45
|
}
|
|
36
46
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"merge.js","sourceRoot":"","sources":["../../src/strategies/merge.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB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IACjE,CAAC;CACF"}
|
package/package.json
CHANGED
|
@@ -188,7 +188,7 @@
|
|
|
188
188
|
"qs": "^6.16.0"
|
|
189
189
|
},
|
|
190
190
|
"name": "@codyswann/lisa",
|
|
191
|
-
"version": "5.
|
|
191
|
+
"version": "5.14.1",
|
|
192
192
|
"description": "Governance-as-code for AI coding agents: turns a repository into agent-operated software factories with guardrails, guidance and automated enforcement for Claude Code, Codex, Cursor, OpenCode, Antigravity, Copilot and Devin",
|
|
193
193
|
"main": "dist/index.js",
|
|
194
194
|
"exports": {
|
|
@@ -351,7 +351,7 @@
|
|
|
351
351
|
"test": "tests"
|
|
352
352
|
},
|
|
353
353
|
"types": "./dist/index.d.ts",
|
|
354
|
-
"lisaReleaseCommit": "
|
|
355
|
-
"gitHead": "
|
|
356
|
-
"lisaReleaseTag": "v5.
|
|
354
|
+
"lisaReleaseCommit": "c39e5dd8cf915809eee621234d23be89d1231985",
|
|
355
|
+
"gitHead": "c39e5dd8cf915809eee621234d23be89d1231985",
|
|
356
|
+
"lisaReleaseTag": "v5.14.1"
|
|
357
357
|
}
|
|
@@ -47,6 +47,7 @@ Upload captured evidence and generated templates to GitHub PR description and JI
|
|
|
47
47
|
- `gh` CLI authenticated
|
|
48
48
|
- Evidence directory containing:
|
|
49
49
|
- `NN-name.txt` or `NN-name.json` text evidence files (e.g., `01-health-check.json`)
|
|
50
|
+
- and/or `NN-name-viewport.png` screenshots (e.g., `01-search-step-desktop.png`) — the only image form uploaded
|
|
50
51
|
- `comment.txt` — JIRA wiki markup (generated by `generate-templates.py`)
|
|
51
52
|
- `comment.md` — GitHub markdown (generated by `generate-templates.py`)
|
|
52
53
|
|
|
@@ -90,12 +91,13 @@ LISA_EVIDENCE_RELEASE=pr-assets bash .claude/skills/jira-evidence/scripts/post-e
|
|
|
90
91
|
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.
|
|
91
92
|
2. **Upload to the configured evidence release (`node scripts/lisa-work-item.mjs evidence-release --ensure` prints it; default `pr-assets`)** — Validates `PR_NUMBER` as a positive integer, uploads each evidence file as `pr-<PR_NUMBER>-<file>` via `gh release upload --clobber`, then lists the release and exits 1 naming any uploaded asset that is missing. Before uploading it refuses an evidence name outside `NN-name.(png|txt|json)` with letters, digits, `.`, `_` and `-` only (GitHub rewrites other characters in asset names), and before editing the description it exits 1 naming any Markdown link or image target in `comment.md` (inline, titled, `<url>`-bracketed or a reference definition such as `[ref]: url`) that points into that release but is not `pr-<PR_NUMBER>-…` or was not uploaded by this run (a stale asset from an earlier run does not count; release URLs quoted as plain text in inlined evidence are ignored). `--clobber` therefore only ever replaces this pull request's own earlier upload.
|
|
92
93
|
3. **Update PR description** — Replaces or appends the `## Evidence` section in the PR body
|
|
93
|
-
4. **
|
|
94
|
-
5. **
|
|
94
|
+
4. **Upload JIRA attachments** — Uploads each `NN-*.png` screenshot to the ticket via REST API v3 so the `!filename.png!` wiki markup in `comment.txt` renders inline (skipped when there are none)
|
|
95
|
+
5. **Post JIRA comment** — Posts `comment.txt` as a new comment (wiki markup with code blocks and embedded screenshots)
|
|
96
|
+
6. **Move ticket to the configured review status** — Transitions the JIRA ticket to `$REVIEW` (default: `Code Review`).
|
|
95
97
|
|
|
96
98
|
## Evidence Naming Convention
|
|
97
99
|
|
|
98
|
-
Text evidence files are named: `{NN}-{evidence-name}.txt` or `{NN}-{evidence-name}.json`
|
|
100
|
+
Text evidence files are named: `{NN}-{evidence-name}.txt` or `{NN}-{evidence-name}.json`. Screenshots are named `{NN}-{evidence-name}-{viewport}.png`; only `NN-*.png` images are uploaded, so a `.jpg` or `.gif` is ignored.
|
|
99
101
|
|
|
100
102
|
```text
|
|
101
103
|
evidence/
|
|
@@ -106,7 +108,7 @@ evidence/
|
|
|
106
108
|
comment.md used for PR description
|
|
107
109
|
```
|
|
108
110
|
|
|
109
|
-
Local evidence files keep their `NN-` names. In the shared evidence release each one is stored as `pr-<number>-<file>` (for PR 42, `01-health-check.json` becomes `pr-42-01-health-check.json`), so two pull requests with a same-named file never overwrite each other's evidence. `generate-templates.py` links that scoped name.
|
|
111
|
+
Local evidence files keep their `NN-` names. In the shared evidence release each one is stored as `pr-<number>-<file>` (for PR 42, `01-health-check.json` becomes `pr-42-01-health-check.json`), so two pull requests with a same-named file never overwrite each other's evidence. `generate-templates.py` links that scoped name; JIRA attachments keep the local name.
|
|
110
112
|
|
|
111
113
|
## Troubleshooting
|
|
112
114
|
|
|
@@ -126,6 +128,10 @@ does not rotate yet, set `verification.completion.evidenceRelease` in
|
|
|
126
128
|
release name is too long to take an overflow suffix (shorten it); older evidence
|
|
127
129
|
keeps validating.
|
|
128
130
|
|
|
131
|
+
### JIRA comment shows `!filename.png!` as text (not image)
|
|
132
|
+
|
|
133
|
+
The screenshot must be uploaded as a JIRA attachment before the comment is posted. The script uploads attachments first, then posts the comment — always in that order.
|
|
134
|
+
|
|
129
135
|
### JIRA API returns 403
|
|
130
136
|
|
|
131
137
|
Ensure `JIRA_API_TOKEN` is set and `login` in the resolved jira-cli config (`.lisa/jira-cli/.config.yml`, else `~/.config/.jira/.config.yml`) matches your Atlassian account email.
|
|
@@ -144,7 +144,7 @@ LISA_EVIDENCE_RELEASE=<name> python3 .claude/skills/jira-journey/scripts/generat
|
|
|
144
144
|
./evidence
|
|
145
145
|
```
|
|
146
146
|
|
|
147
|
-
This generates `evidence/comment.txt` (JIRA wiki markup) and `evidence/comment.md` (GitHub markdown) with evidence formatted as code blocks.
|
|
147
|
+
This generates `evidence/comment.txt` (JIRA wiki markup) and `evidence/comment.md` (GitHub markdown) with text evidence formatted as code blocks. `NN-<name>-<viewport>.png` screenshots are embedded as images, labelled and sized by the journey viewport their name ends in (capped at 700px in JIRA), and the journey's viewports are listed under Key Viewports. Stack-specific capture guidance — which markers, viewports and tools — comes from the stack's `journey-guidance` skill when one is installed.
|
|
148
148
|
|
|
149
149
|
Both `generate-templates.py` and `post-evidence.sh` read `LISA_EVIDENCE_RELEASE`; `post-evidence.sh` still validates and capacity-checks it. Without it they resolve the configured release themselves (default `pr-assets`).
|
|
150
150
|
|
|
@@ -158,7 +158,7 @@ LISA_EVIDENCE_RELEASE=<name> bash .claude/skills/jira-evidence/scripts/post-evid
|
|
|
158
158
|
|
|
159
159
|
### Step 6: Verify
|
|
160
160
|
|
|
161
|
-
Confirm evidence is posted to both the JIRA ticket and GitHub PR.
|
|
161
|
+
Confirm evidence is posted to both the JIRA ticket and GitHub PR, and that any screenshots render inline at both.
|
|
162
162
|
|
|
163
163
|
## Verification Patterns Reference
|
|
164
164
|
|
|
@@ -88,7 +88,12 @@ def get_github_repo():
|
|
|
88
88
|
|
|
89
89
|
|
|
90
90
|
def collect_evidence(evidence_dir):
|
|
91
|
-
"""Collect evidence files (text, JSON, and images) sorted by name.
|
|
91
|
+
"""Collect evidence files (text, JSON, and images) sorted by name.
|
|
92
|
+
|
|
93
|
+
Images are NN-*.png only: that is exactly what post-evidence.sh uploads
|
|
94
|
+
and attaches, and it refuses a description that links anything it did
|
|
95
|
+
not upload (CodySwannGT/lisa#4639). Linking a .jpg/.gif would fail it.
|
|
96
|
+
"""
|
|
92
97
|
evidence_path = Path(evidence_dir)
|
|
93
98
|
files = []
|
|
94
99
|
for pattern in ("[0-9][0-9]-*.txt", "[0-9][0-9]-*.json", "[0-9][0-9]-*.png"):
|
|
@@ -109,6 +114,48 @@ def detect_language(filename, content):
|
|
|
109
114
|
return "text"
|
|
110
115
|
|
|
111
116
|
|
|
117
|
+
def screenshot_viewport(stem, journey):
|
|
118
|
+
"""Return the journey viewport a screenshot was captured at, or None.
|
|
119
|
+
|
|
120
|
+
Screenshot journeys run once per viewport and name each capture
|
|
121
|
+
NN-<marker>-<viewport>.png. A viewport name may itself contain hyphens
|
|
122
|
+
("Mobile-Landscape"), so each name is matched, case-insensitively, as a
|
|
123
|
+
whole suffix at a hyphen boundary, and the longest matching name wins.
|
|
124
|
+
"""
|
|
125
|
+
lowered = stem.lower()
|
|
126
|
+
matches = [
|
|
127
|
+
viewport
|
|
128
|
+
for viewport in journey.get("viewports") or []
|
|
129
|
+
if str(viewport.get("name", ""))
|
|
130
|
+
and lowered.endswith("-" + str(viewport["name"]).lower())
|
|
131
|
+
]
|
|
132
|
+
return max(matches, key=lambda v: len(str(v["name"])), default=None)
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
def evidence_label(evidence_path, journey):
|
|
136
|
+
"""Readable label for one evidence file, and its viewport when it has one.
|
|
137
|
+
|
|
138
|
+
The NN- prefix is dropped. For a screenshot whose name ends in a journey
|
|
139
|
+
viewport, that suffix moves into the label as "(Name WxH)".
|
|
140
|
+
"""
|
|
141
|
+
stem = evidence_path.stem
|
|
142
|
+
viewport = screenshot_viewport(stem, journey) if evidence_path.suffix == ".png" else None
|
|
143
|
+
label_parts = stem.split("-")[1:]
|
|
144
|
+
if viewport is not None:
|
|
145
|
+
name_segments = len(str(viewport["name"]).split("-"))
|
|
146
|
+
label_parts = label_parts[:-name_segments]
|
|
147
|
+
label = " ".join(label_parts).title() if label_parts else stem
|
|
148
|
+
if viewport is not None:
|
|
149
|
+
label = f"{label} ({viewport['name']} {viewport['width']}x{viewport['height']})"
|
|
150
|
+
return label, viewport
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
def viewport_rows(journey):
|
|
154
|
+
"""Yield (name, "WxH") for each journey viewport."""
|
|
155
|
+
for viewport in journey.get("viewports") or []:
|
|
156
|
+
yield viewport["name"], f"{viewport['width']}x{viewport['height']}"
|
|
157
|
+
|
|
158
|
+
|
|
112
159
|
def generate_jira_wiki(ticket_id, pr_number, branch, evidence_files, journey, gh_repo):
|
|
113
160
|
"""Generate JIRA wiki markup comment with code block evidence."""
|
|
114
161
|
lines = []
|
|
@@ -132,13 +179,12 @@ def generate_jira_wiki(ticket_id, pr_number, branch, evidence_files, journey, gh
|
|
|
132
179
|
|
|
133
180
|
for evidence_path in evidence_files:
|
|
134
181
|
filename = evidence_path.name
|
|
135
|
-
|
|
136
|
-
# Extract readable label: remove NN- prefix
|
|
137
|
-
label_parts = stem.split("-")[1:]
|
|
138
|
-
label = " ".join(label_parts).title() if label_parts else stem
|
|
182
|
+
label, viewport = evidence_label(evidence_path, journey)
|
|
139
183
|
|
|
140
184
|
if filename.endswith(".png"):
|
|
141
|
-
|
|
185
|
+
# Show a screenshot at its viewport's width so a mobile capture is
|
|
186
|
+
# not upscaled, capped at 700 to fit the Jira comment column.
|
|
187
|
+
display_width = min(viewport["width"], 700) if viewport else 700
|
|
142
188
|
lines.append(f"*{label}:*")
|
|
143
189
|
lines.append(f"!{filename}|width={display_width}!")
|
|
144
190
|
lines.append("")
|
|
@@ -161,6 +207,14 @@ def generate_jira_wiki(ticket_id, pr_number, branch, evidence_files, journey, gh
|
|
|
161
207
|
lines.append(f"# {clean_text}")
|
|
162
208
|
lines.append("")
|
|
163
209
|
|
|
210
|
+
if journey.get("viewports"):
|
|
211
|
+
lines.append("h3. Key Viewports")
|
|
212
|
+
lines.append("")
|
|
213
|
+
lines.append("||Viewport||Resolution||")
|
|
214
|
+
for name, resolution in viewport_rows(journey):
|
|
215
|
+
lines.append(f"|{name}|{resolution}|")
|
|
216
|
+
lines.append("")
|
|
217
|
+
|
|
164
218
|
return "\n".join(lines)
|
|
165
219
|
|
|
166
220
|
|
|
@@ -192,9 +246,7 @@ def generate_github_md(ticket_id, pr_number, branch, evidence_files, journey, gh
|
|
|
192
246
|
|
|
193
247
|
for evidence_path in evidence_files:
|
|
194
248
|
filename = evidence_path.name
|
|
195
|
-
|
|
196
|
-
label_parts = stem.split("-")[1:]
|
|
197
|
-
label = " ".join(label_parts).title() if label_parts else stem
|
|
249
|
+
label, _viewport = evidence_label(evidence_path, journey)
|
|
198
250
|
|
|
199
251
|
if filename.endswith(".png"):
|
|
200
252
|
lines.append(f"**{label}:**")
|
|
@@ -224,6 +276,15 @@ def generate_github_md(ticket_id, pr_number, branch, evidence_files, journey, gh
|
|
|
224
276
|
lines.append(f"{step['number']}. {clean_text}")
|
|
225
277
|
lines.append("")
|
|
226
278
|
|
|
279
|
+
if journey.get("viewports"):
|
|
280
|
+
lines.append("### Key Viewports")
|
|
281
|
+
lines.append("")
|
|
282
|
+
lines.append("| Viewport | Resolution |")
|
|
283
|
+
lines.append("|----------|-----------|")
|
|
284
|
+
for name, resolution in viewport_rows(journey):
|
|
285
|
+
lines.append(f"| {name} | {resolution} |")
|
|
286
|
+
lines.append("")
|
|
287
|
+
|
|
227
288
|
return "\n".join(lines)
|
|
228
289
|
|
|
229
290
|
|
|
@@ -98,7 +98,7 @@ Execute the **Monitor** sub-flow as defined in the `intent-routing` reference ru
|
|
|
98
98
|
|
|
99
99
|
- `ops-verify-health` — health endpoints
|
|
100
100
|
- `ops-check-logs` — CloudWatch / browser console / device / Serverless logs
|
|
101
|
-
- `ops-monitor-errors` — Sentry
|
|
101
|
+
- `ops-monitor-errors` — issues in the configured error tracker (`observability.errorTracking.provider`, default Sentry), error-rate spikes, regressions
|
|
102
102
|
- `ops-performance` — slow queries, p99 latency, hotspots
|
|
103
103
|
- `ops-browser-uat` — Playwright smoke flows against the deployed env
|
|
104
104
|
- `ops-db-ops` — pending migrations, replication lag
|
|
@@ -8,6 +8,8 @@ The one way Lisa skills reach PostHog: token-authenticated REST matched to the c
|
|
|
8
8
|
|
|
9
9
|
# PostHog Access: $ARGUMENTS
|
|
10
10
|
|
|
11
|
+
First read `observability.analytics.provider` from the `<lisa-resolved-config>` block (absent means `posthog`). When it is `none` or `other`, the project does not use PostHog: stop and say so instead of resolving a PostHog key.
|
|
12
|
+
|
|
11
13
|
Single chokepoint for PostHog operations. Caller skills and rules MUST NOT call
|
|
12
14
|
`mcp__posthog__*` tools or PostHog REST directly.
|
|
13
15
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
/**
|
|
3
|
-
* Validate the `secrets`, `remoteEnv`, `automations`,
|
|
4
|
-
* blocks.
|
|
3
|
+
* Validate the `secrets`, `remoteEnv`, `automations`, `sessionManager`, and
|
|
4
|
+
* `observability` blocks.
|
|
5
5
|
*
|
|
6
6
|
* These blocks are read by shell, by Node, and by generated workflows, so a
|
|
7
7
|
* malformed one surfaces late and somewhere unhelpful — a container that fails
|
|
@@ -29,6 +29,15 @@ const IMPLEMENTED_PROVIDERS = new Set(["bitwarden", "doppler", "env"]);
|
|
|
29
29
|
/** Providers named in the dispatch table but not yet implemented. */
|
|
30
30
|
const DECLARED_PROVIDERS = new Set(["1password", "aws", "vault"]);
|
|
31
31
|
|
|
32
|
+
/**
|
|
33
|
+
* Every provider name the secrets contract recognises, implemented or declared.
|
|
34
|
+
* Exported so a caller that prints the name into shell can refuse anything else.
|
|
35
|
+
*/
|
|
36
|
+
export const KNOWN_SECRETS_PROVIDERS = Object.freeze([
|
|
37
|
+
...IMPLEMENTED_PROVIDERS,
|
|
38
|
+
...DECLARED_PROVIDERS,
|
|
39
|
+
]);
|
|
40
|
+
|
|
32
41
|
/**
|
|
33
42
|
* Surfaces the resolver knows.
|
|
34
43
|
*
|
|
@@ -1113,6 +1122,44 @@ function validateBacklogPickup(value, operatorIds) {
|
|
|
1113
1122
|
: [];
|
|
1114
1123
|
}
|
|
1115
1124
|
|
|
1125
|
+
/**
|
|
1126
|
+
* Providers each `observability` role may name. The first entry is the
|
|
1127
|
+
* built-in default an absent key resolves to, which is what Lisa assumed
|
|
1128
|
+
* before the key existed, so an existing project changes nothing. `other`
|
|
1129
|
+
* means "a provider Lisa has no dedicated path for": guidance discovers what
|
|
1130
|
+
* the project wires instead of reaching for Sentry or PostHog.
|
|
1131
|
+
*/
|
|
1132
|
+
export const OBSERVABILITY_PROVIDERS = {
|
|
1133
|
+
errorTracking: ["sentry", "none", "other"],
|
|
1134
|
+
analytics: ["posthog", "none", "other"],
|
|
1135
|
+
};
|
|
1136
|
+
|
|
1137
|
+
/**
|
|
1138
|
+
* Validate the `observability` block.
|
|
1139
|
+
*
|
|
1140
|
+
* A closed vocabulary because a typo must not silently resolve to the default
|
|
1141
|
+
* and send an agent to a tool the project does not have.
|
|
1142
|
+
* @param {unknown} block The `observability` block, possibly absent.
|
|
1143
|
+
* @returns {string[]} Problems found.
|
|
1144
|
+
*/
|
|
1145
|
+
export function validateObservability(block) {
|
|
1146
|
+
if (block === undefined) return [];
|
|
1147
|
+
if (!isPlainObject(block)) return ["observability must be an object"];
|
|
1148
|
+
return Object.entries(OBSERVABILITY_PROVIDERS).flatMap(([role, allowed]) => {
|
|
1149
|
+
const entry = block[role];
|
|
1150
|
+
if (entry === undefined) return [];
|
|
1151
|
+
if (!isPlainObject(entry)) {
|
|
1152
|
+
return [`observability.${role} must be an object`];
|
|
1153
|
+
}
|
|
1154
|
+
const provider = entry.provider;
|
|
1155
|
+
if (provider === undefined || allowed.includes(provider)) return [];
|
|
1156
|
+
return [
|
|
1157
|
+
`observability.${role}.provider is ${JSON.stringify(provider)}; ` +
|
|
1158
|
+
`expected one of ${allowed.map(v => `"${v}"`).join(" | ")}`,
|
|
1159
|
+
];
|
|
1160
|
+
});
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1116
1163
|
/**
|
|
1117
1164
|
* Validate every block this plan introduced.
|
|
1118
1165
|
* @param {object} cfg Parsed `.lisa.config.json`.
|
|
@@ -1124,6 +1171,7 @@ export function validateConfig(cfg) {
|
|
|
1124
1171
|
...validateRemoteEnv(cfg.remoteEnv),
|
|
1125
1172
|
...validateAutomations(cfg.automations, cfg.remoteEnv),
|
|
1126
1173
|
...validateSessionManager(cfg.sessionManager),
|
|
1174
|
+
...validateObservability(cfg.observability),
|
|
1127
1175
|
];
|
|
1128
1176
|
}
|
|
1129
1177
|
|
|
@@ -1173,13 +1221,17 @@ function readJsonIfPresent(file) {
|
|
|
1173
1221
|
return existsSync(file) ? JSON.parse(readFileSync(file, "utf8")) : undefined;
|
|
1174
1222
|
}
|
|
1175
1223
|
|
|
1224
|
+
/** Blocks the runtime reads local over committed, so validation must too. */
|
|
1225
|
+
const LOCAL_MERGED_BLOCKS = ["sessionManager", "observability"];
|
|
1226
|
+
|
|
1176
1227
|
/**
|
|
1177
1228
|
* Read the config this CLI validates from a project root.
|
|
1178
1229
|
*
|
|
1179
|
-
* `sessionManager`
|
|
1180
|
-
* that is how the runtime resolves
|
|
1181
|
-
* not at runtime. Every other block is read from
|
|
1182
|
-
* exactly as before, so their validation is
|
|
1230
|
+
* `sessionManager` and `observability` are merged local over committed (deep,
|
|
1231
|
+
* per key), because that is how the runtime resolves them and a bad local
|
|
1232
|
+
* override must fail here, not at runtime. Every other block is read from
|
|
1233
|
+
* `.lisa.config.json` alone, exactly as before, so their validation is
|
|
1234
|
+
* unchanged.
|
|
1183
1235
|
* @param {string} root Project root.
|
|
1184
1236
|
* @returns {Record<string, unknown> | null} Config to validate, or null when
|
|
1185
1237
|
* neither file exists.
|
|
@@ -1189,11 +1241,13 @@ export function readValidationConfig(root) {
|
|
|
1189
1241
|
const local = readJsonIfPresent(join(root, ".lisa.config.local.json"));
|
|
1190
1242
|
if (committed === undefined && local === undefined) return null;
|
|
1191
1243
|
const base = isPlainObject(committed) ? committed : {};
|
|
1192
|
-
const
|
|
1193
|
-
|
|
1244
|
+
const merged = Object.fromEntries(
|
|
1245
|
+
LOCAL_MERGED_BLOCKS.flatMap(name => {
|
|
1246
|
+
const blocks = [base[name], local?.[name]].filter(isPlainObject);
|
|
1247
|
+
return blocks.length === 0 ? [] : [[name, mergeConfigLayers(...blocks)]];
|
|
1248
|
+
})
|
|
1194
1249
|
);
|
|
1195
|
-
|
|
1196
|
-
return { ...base, sessionManager: mergeConfigLayers(...blocks) };
|
|
1250
|
+
return { ...base, ...merged };
|
|
1197
1251
|
}
|
|
1198
1252
|
|
|
1199
1253
|
function main() {
|
|
@@ -1209,7 +1263,7 @@ function main() {
|
|
|
1209
1263
|
}
|
|
1210
1264
|
if (!problems.length) {
|
|
1211
1265
|
console.log(
|
|
1212
|
-
"config: secrets, remoteEnv, automations and
|
|
1266
|
+
"config: secrets, remoteEnv, automations, sessionManager and observability blocks are well-formed"
|
|
1213
1267
|
);
|
|
1214
1268
|
return;
|
|
1215
1269
|
}
|
|
@@ -94,6 +94,8 @@ A project with no lockfile is not fatal on its own — a checkout may carry the
|
|
|
94
94
|
|
|
95
95
|
Order matters. The toolchain comes first because the secrets step needs the provider CLI it installs. The hook comes last because it is the only part that may assume everything else is ready.
|
|
96
96
|
|
|
97
|
+
**Which provider CLI the toolchain verifies.** Setup picks the same provider the `lisa-secrets-access` runtime will use, so it never installs a CLI the runtime ignores. An explicit `--provider=<name>` wins (operator intent); otherwise the runtime's own resolution applies: `secrets.provider` from the committed `.lisa.config.json` when a config exists (`.lisa.config.local.json` and `LISA_PROVIDER` are ignored then, as the runtime ignores them), `env` — no CLI — for a config that names none, and `LISA_PROVIDER` / `LISA_SECRETS_PROVIDER` only for a repo-less tenant with no config. Every source is checked against the known provider list (`bitwarden`, `doppler`, `env`, `1password`, `aws`, `vault`) and anything else is refused, because the name is printed into shell you paste. The repo-less setup field translates `env` to the workstation catalogue's `none`. After the `remoteEnv.tools` manifest is applied, that provider's CLI is probed and, with consent, installed through the workstation catalogue; a remote container that still lacks it fails the toolchain phase with the provider named. The emitted guidance (`--emit=…`) uses the same resolution, so it exports the configured provider rather than assuming one.
|
|
98
|
+
|
|
97
99
|
#### Which phases run depends on the surface
|
|
98
100
|
|
|
99
101
|
Not every surface runs all three here, and the reason is worth understanding before changing it.
|