@codyswann/lisa 5.12.0 → 5.14.0
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 +48 -22
- 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-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/.codex-plugin/skills/lisa-ticket-triage/SKILL.md +6 -6
- package/plugins/lisa/.codex-plugin/skills/lisa-tracker-add-journey/SKILL.md +1 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-tracker-create/SKILL.md +1 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-tracker-evidence/SKILL.md +1 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-tracker-journey/SKILL.md +1 -0
- package/plugins/lisa/agents/spec-conformance-specialist.md +1 -1
- package/plugins/lisa/agents/verification-specialist.md +1 -1
- package/plugins/lisa/hooks/inject-resolved-config.mjs +1 -0
- package/plugins/lisa/rules/reference/base-rules.md +10 -8
- package/plugins/lisa/rules/reference/config-resolution.md +28 -0
- 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/skills/lisa-ticket-triage/SKILL.md +6 -6
- package/plugins/lisa/skills/lisa-tracker-add-journey/SKILL.md +1 -0
- package/plugins/lisa/skills/lisa-tracker-create/SKILL.md +1 -0
- package/plugins/lisa/skills/lisa-tracker-evidence/SKILL.md +1 -0
- package/plugins/lisa/skills/lisa-tracker-journey/SKILL.md +1 -0
- package/plugins/lisa-agy/agents/spec-conformance-specialist.md +1 -1
- package/plugins/lisa-agy/agents/verification-specialist.md +1 -1
- package/plugins/lisa-agy/plugin.json +1 -1
- 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-agy/skills/lisa-ticket-triage/SKILL.md +6 -6
- package/plugins/lisa-agy/skills/lisa-tracker-add-journey/SKILL.md +1 -0
- package/plugins/lisa-agy/skills/lisa-tracker-create/SKILL.md +1 -0
- package/plugins/lisa-agy/skills/lisa-tracker-evidence/SKILL.md +1 -0
- package/plugins/lisa-agy/skills/lisa-tracker-journey/SKILL.md +1 -0
- package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-agy/plugin.json +1 -1
- package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/agents/spec-conformance-specialist.agent.md +1 -1
- package/plugins/lisa-copilot/agents/verification-specialist.agent.md +1 -1
- package/plugins/lisa-copilot/hooks/inject-resolved-config.mjs +1 -0
- package/plugins/lisa-copilot/rules/reference/base-rules.md +10 -8
- package/plugins/lisa-copilot/rules/reference/config-resolution.md +28 -0
- 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-copilot/skills/lisa-ticket-triage/SKILL.md +6 -6
- package/plugins/lisa-copilot/skills/lisa-tracker-add-journey/SKILL.md +1 -0
- package/plugins/lisa-copilot/skills/lisa-tracker-create/SKILL.md +1 -0
- package/plugins/lisa-copilot/skills/lisa-tracker-evidence/SKILL.md +1 -0
- package/plugins/lisa-copilot/skills/lisa-tracker-journey/SKILL.md +1 -0
- package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cursor/agents/spec-conformance-specialist.md +1 -1
- package/plugins/lisa-cursor/agents/verification-specialist.md +1 -1
- package/plugins/lisa-cursor/hooks/inject-resolved-config.mjs +1 -0
- package/plugins/lisa-cursor/rules/base-rules-reference.mdc +10 -8
- package/plugins/lisa-cursor/rules/config-resolution-reference.mdc +28 -0
- 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-cursor/skills/lisa-ticket-triage/SKILL.md +6 -6
- package/plugins/lisa-cursor/skills/lisa-tracker-add-journey/SKILL.md +1 -0
- package/plugins/lisa-cursor/skills/lisa-tracker-create/SKILL.md +1 -0
- package/plugins/lisa-cursor/skills/lisa-tracker-evidence/SKILL.md +1 -0
- package/plugins/lisa-cursor/skills/lisa-tracker-journey/SKILL.md +1 -0
- package/plugins/lisa-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-devin/agents/spec-conformance-specialist.md +1 -1
- package/plugins/lisa-devin/agents/verification-specialist.md +1 -1
- package/plugins/lisa-devin/hooks/inject-resolved-config.mjs +1 -0
- package/plugins/lisa-devin/rules/reference/base-rules.md +10 -8
- package/plugins/lisa-devin/rules/reference/config-resolution.md +28 -0
- 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-devin/skills/lisa-ticket-triage/SKILL.md +6 -6
- package/plugins/lisa-devin/skills/lisa-tracker-add-journey/SKILL.md +1 -0
- package/plugins/lisa-devin/skills/lisa-tracker-create/SKILL.md +1 -0
- package/plugins/lisa-devin/skills/lisa-tracker-evidence/SKILL.md +1 -0
- package/plugins/lisa-devin/skills/lisa-tracker-journey/SKILL.md +1 -0
- package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-expo/.codex-plugin/skills/jira-add-journey/SKILL.md +1 -1
- package/plugins/lisa-expo/.codex-plugin/skills/jira-create/SKILL.md +1 -1
- package/plugins/lisa-expo/.codex-plugin/skills/journey-guidance/SKILL.md +77 -0
- package/plugins/lisa-expo/.codex-plugin/skills/journey-guidance/agents/openai.yaml +4 -0
- 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/jira-add-journey/SKILL.md +1 -1
- package/plugins/lisa-expo/skills/jira-create/SKILL.md +1 -1
- package/plugins/lisa-expo/skills/journey-guidance/SKILL.md +75 -0
- package/plugins/lisa-expo/skills/journey-guidance/agents/openai.yaml +4 -0
- 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/jira-add-journey/SKILL.md +1 -1
- package/plugins/lisa-expo-agy/skills/jira-create/SKILL.md +1 -1
- package/plugins/lisa-expo-agy/skills/journey-guidance/SKILL.md +75 -0
- 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/jira-add-journey/SKILL.md +1 -1
- package/plugins/lisa-expo-copilot/skills/jira-create/SKILL.md +1 -1
- package/plugins/lisa-expo-copilot/skills/journey-guidance/SKILL.md +75 -0
- 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/jira-add-journey/SKILL.md +1 -1
- package/plugins/lisa-expo-cursor/skills/jira-create/SKILL.md +1 -1
- package/plugins/lisa-expo-cursor/skills/journey-guidance/SKILL.md +75 -0
- 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/jira-add-journey/SKILL.md +1 -1
- package/plugins/lisa-expo-devin/skills/jira-create/SKILL.md +1 -1
- package/plugins/lisa-expo-devin/skills/journey-guidance/SKILL.md +75 -0
- 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 +39 -0
- package/plugins/lisa-rails/.codex-plugin/skills/journey-guidance/agents/openai.yaml +4 -0
- package/plugins/lisa-rails/skills/journey-guidance/SKILL.md +37 -0
- package/plugins/lisa-rails/skills/journey-guidance/agents/openai.yaml +4 -0
- package/plugins/lisa-rails-agy/plugin.json +1 -1
- package/plugins/lisa-rails-agy/skills/journey-guidance/SKILL.md +37 -0
- package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-copilot/skills/journey-guidance/SKILL.md +37 -0
- package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-cursor/skills/journey-guidance/SKILL.md +37 -0
- 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 +37 -0
- package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-agy/plugin.json +1 -1
- package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-agy/plugin.json +1 -1
- package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/src/base/agents/spec-conformance-specialist.md +1 -1
- package/plugins/src/base/agents/verification-specialist.md +1 -1
- package/plugins/src/base/hooks/inject-resolved-config.mjs +1 -0
- package/plugins/src/base/rules/reference/base-rules.md +10 -8
- package/plugins/src/base/rules/reference/config-resolution.md +28 -0
- 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/base/skills/lisa-ticket-triage/SKILL.md +6 -6
- package/plugins/src/base/skills/lisa-tracker-add-journey/SKILL.md +1 -0
- package/plugins/src/base/skills/lisa-tracker-create/SKILL.md +1 -0
- package/plugins/src/base/skills/lisa-tracker-evidence/SKILL.md +1 -0
- package/plugins/src/base/skills/lisa-tracker-journey/SKILL.md +1 -0
- package/plugins/src/expo/agents/ops-specialist.md +3 -3
- package/plugins/src/expo/skills/jira-add-journey/SKILL.md +1 -1
- package/plugins/src/expo/skills/jira-create/SKILL.md +1 -1
- package/plugins/src/expo/skills/journey-guidance/SKILL.md +75 -0
- 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 +37 -0
|
@@ -61,7 +61,10 @@ Supported credential locations, in resolution order:
|
|
|
61
61
|
1. `GOOGLE_PLAY_SERVICE_ACCOUNT_JSON` containing the raw service-account JSON.
|
|
62
62
|
2. `GOOGLE_PLAY_SERVICE_ACCOUNT_KEY_BASE64` containing base64 JSON.
|
|
63
63
|
3. `.lisa.config.local.json` `playStore.serviceAccountKeyPath`.
|
|
64
|
-
4.
|
|
64
|
+
4. `GOOGLE_PLAY_SERVICE_ACCOUNT_JSON` resolved through `lisa-secrets-access`
|
|
65
|
+
from the project's configured secrets provider (`.lisa.config.json`
|
|
66
|
+
`secrets.provider`), by exact key name. Do not read the OS keychain or a
|
|
67
|
+
provider CLI directly.
|
|
65
68
|
|
|
66
69
|
Fail closed if no credential is available. Never prompt indefinitely and never
|
|
67
70
|
fall back to Play Console UI scraping.
|
|
@@ -80,9 +83,11 @@ For `operation: setup`:
|
|
|
80
83
|
4. In Play Console, open **Setup -> API access**, link the Google Cloud project if
|
|
81
84
|
needed, then grant the service-account email app access with read-level
|
|
82
85
|
release visibility. Do not grant release-management write permissions for v1.
|
|
83
|
-
5. Store the key
|
|
84
|
-
|
|
85
|
-
|
|
86
|
+
5. Store the key using one of the credential locations above. Prefer the
|
|
87
|
+
project's secrets provider under the exact name
|
|
88
|
+
`GOOGLE_PLAY_SERVICE_ACCOUNT_JSON`, so every surface resolves it the same
|
|
89
|
+
way. If using a path, add the path to `.gitignore` and record only the path
|
|
90
|
+
in `.lisa.config.local.json`.
|
|
86
91
|
6. Record non-secret defaults in `.lisa.config.json`:
|
|
87
92
|
|
|
88
93
|
```bash
|
|
@@ -135,10 +140,40 @@ read_service_account_json() {
|
|
|
135
140
|
cat "$KEY_PATH"
|
|
136
141
|
return
|
|
137
142
|
fi
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
143
|
+
# Last rung: the project's configured secrets provider, through the
|
|
144
|
+
# `lisa-secrets-access` chokepoint (environment, then the materialized file,
|
|
145
|
+
# then the provider by exact key name). It replaced a direct macOS keychain
|
|
146
|
+
# read, which only worked on one vendor-specific machine store and left a
|
|
147
|
+
# Doppler, AWS, 1Password or Bitwarden project with no path at all.
|
|
148
|
+
# This LADDER is identical in every skill that resolves a credential.
|
|
149
|
+
# Execute only machine-managed plugin/package resolvers. Checkout-local
|
|
150
|
+
# candidates are repository-controlled code, not trusted merely by path.
|
|
151
|
+
local candidates=()
|
|
152
|
+
if [ -n "${CLAUDE_PLUGIN_ROOT:-}" ]; then
|
|
153
|
+
candidates+=("$CLAUDE_PLUGIN_ROOT/skills/lisa-secrets-access/scripts/resolve-secret.mjs")
|
|
154
|
+
fi
|
|
155
|
+
if [ -n "${PLUGIN_ROOT:-}" ]; then
|
|
156
|
+
candidates+=("$PLUGIN_ROOT/skills/lisa-secrets-access/scripts/resolve-secret.mjs")
|
|
141
157
|
fi
|
|
158
|
+
# Needs no environment variable: the installed package is always reachable.
|
|
159
|
+
candidates+=(node_modules/@codyswann/lisa/plugins/lisa/skills/lisa-secrets-access/scripts/resolve-secret.mjs)
|
|
160
|
+
|
|
161
|
+
local resolver
|
|
162
|
+
local tried=()
|
|
163
|
+
for resolver in "${candidates[@]}"; do
|
|
164
|
+
tried+=("$resolver")
|
|
165
|
+
if [ -f "$resolver" ]; then
|
|
166
|
+
local via_lisa
|
|
167
|
+
via_lisa=$(node "$resolver" get GOOGLE_PLAY_SERVICE_ACCOUNT_JSON 2>/dev/null) \
|
|
168
|
+
&& [ -n "$via_lisa" ] && { printf '%s' "$via_lisa"; return; }
|
|
169
|
+
# Empty/error means this substrate had no answer; try the next one.
|
|
170
|
+
fi
|
|
171
|
+
done
|
|
172
|
+
# Paths only — never any resolved value.
|
|
173
|
+
echo "Could not resolve GOOGLE_PLAY_SERVICE_ACCOUNT_JSON through lisa-secrets-access." >&2
|
|
174
|
+
echo "Tried, in order (relative paths are from $PWD):" >&2
|
|
175
|
+
printf ' %s\n' "${tried[@]}" >&2
|
|
176
|
+
return 1
|
|
142
177
|
}
|
|
143
178
|
|
|
144
179
|
SERVICE_ACCOUNT_JSON="$(read_service_account_json)"
|
|
@@ -25,7 +25,7 @@ You are an operations specialist for an Expo + serverless backend application. Y
|
|
|
25
25
|
| Backend | NestJS (Serverless Framework on AWS Lambda) | TypeORM, PostgreSQL, Cognito, Redis, GraphQL |
|
|
26
26
|
| Auth | AWS Cognito | Phone + OTP flow |
|
|
27
27
|
| CI/CD | GitHub Actions | EAS Update (OTA), Serverless deploy |
|
|
28
|
-
| Monitoring | Sentry | Frontend + Backend projects |
|
|
28
|
+
| Monitoring | Configured error tracker (`observability.errorTracking.provider`; default Sentry) | Frontend + Backend projects |
|
|
29
29
|
|
|
30
30
|
## Repository Paths
|
|
31
31
|
|
|
@@ -66,7 +66,7 @@ On first invocation, discover project-specific values by reading these files:
|
|
|
66
66
|
| Lambda functions | Backend `package.json` | Scripts matching `logs:*` and `deploy:function:*` patterns |
|
|
67
67
|
| Deploy commands | Backend `package.json` | Scripts matching `deploy:*` pattern |
|
|
68
68
|
| Migration commands | Backend `package.json` | Scripts matching `migration:*` pattern |
|
|
69
|
-
|
|
|
69
|
+
| Error tracker | `<lisa-resolved-config>` → `observability.errorTracking.provider` | `sentry` (default): `@sentry/react-native` dependency; org/project from `.sentryclirc` or Sentry DSN in `.env.*`. `other`: whatever the project wires. `none`: no tracker — skip error monitoring and say so |
|
|
70
70
|
| Frontend scripts | Frontend `package.json` | All available `scripts` |
|
|
71
71
|
|
|
72
72
|
## App Routes
|
|
@@ -91,7 +91,7 @@ Read `app/` directory structure to discover all available routes.
|
|
|
91
91
|
| `ops-verify-health` | Health check all services across environments |
|
|
92
92
|
| `ops-browser-uat` | Browser-based UAT via Playwright MCP tools |
|
|
93
93
|
| `ops-db-ops` | Database migrations, reverts, schema generation, GraphQL codegen |
|
|
94
|
-
| `ops-monitor-errors` | Monitor
|
|
94
|
+
| `ops-monitor-errors` | Monitor the configured error tracker for unresolved errors |
|
|
95
95
|
| `ops-performance` | Lighthouse audits, bundle analysis, k6 load tests |
|
|
96
96
|
|
|
97
97
|
## Troubleshooting Quick Reference
|
|
@@ -104,7 +104,7 @@ h3. Assertions
|
|
|
104
104
|
1. **3-7 screenshot markers** — Enough to prove the feature, not so many that execution is slow
|
|
105
105
|
2. **Concrete steps** — "Click the 'Add action' button" not "Interact with the controls"
|
|
106
106
|
3. **Include auth if needed** — If the journey requires login, include credentials in Prerequisites
|
|
107
|
-
4. **Name feature flags explicitly** — If the feature is behind a PostHog
|
|
107
|
+
4. **Name feature flags explicitly** — If the feature is behind a feature flag (in PostHog when `observability.analytics.provider` is `posthog`, the default), name it
|
|
108
108
|
5. **Assertions must be testable** — "Buttons stacked vertically on mobile" not "Layout looks good"
|
|
109
109
|
6. **Screenshot names in kebab-case** — `confirm-step-disabled`, `modal-open`, `form-error`
|
|
110
110
|
|
|
@@ -88,7 +88,7 @@ h3. Assertions
|
|
|
88
88
|
3. **Include 3-7 screenshot markers** — Enough to prove the feature works, not so many that execution is slow
|
|
89
89
|
4. **Viewports match the change scope** — Always include Desktop (1512x768). Add Mobile (375x812) for responsive changes. Add Tablet (768x1024) only if relevant.
|
|
90
90
|
5. **Assertions are testable statements** — "Buttons stacked vertically on mobile" not "Layout looks good"
|
|
91
|
-
6. **Prerequisites include feature flags** — If the feature is behind a PostHog
|
|
91
|
+
6. **Prerequisites include feature flags** — If the feature is behind a feature flag (in PostHog when `observability.analytics.provider` is `posthog`, the default), name it explicitly
|
|
92
92
|
7. **Auth steps included when needed** — If the journey requires login, include the test credentials in Prerequisites
|
|
93
93
|
|
|
94
94
|
## Source Artifacts
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: journey-guidance
|
|
3
|
+
description: "Expo stack guidance for Validation Journeys on any tracker: when a ticket needs one, writing it with screenshot markers and viewports, running it in the browser, and naming screenshots. Read by the tracker journey, add-journey, create and evidence skills."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Expo Validation Journey Guidance
|
|
7
|
+
|
|
8
|
+
Stack-specific guidance for Validation Journeys in an Expo / React Native project. It applies the same way whichever tracker the project uses (`tracker` in `.lisa.config.json`: `jira`, `github`, or `linear`).
|
|
9
|
+
|
|
10
|
+
This skill adds the Expo parts only. The vendor skills still read the ticket, append the journey, and post the evidence; the tracker dispatchers (`lisa-tracker-journey`, `lisa-tracker-add-journey`, `lisa-tracker-create`, `lisa-tracker-evidence`) consult this skill before they dispatch. The Jira-only overlays in this plugin (`jira-journey`, `jira-add-journey`, `jira-create`, `jira-evidence`) carry the same guidance plus Jira mechanics; this skill is what a GitHub or Linear project reaches.
|
|
11
|
+
|
|
12
|
+
## When a ticket needs a journey
|
|
13
|
+
|
|
14
|
+
Every ticket that changes, adds, or fixes UI includes a `Validation Journey` section:
|
|
15
|
+
|
|
16
|
+
- New UI components or screens
|
|
17
|
+
- Layout or styling changes (responsive, spacing, colors)
|
|
18
|
+
- Modal, drawer, or popover behavior
|
|
19
|
+
- Form validation or user input flows
|
|
20
|
+
- Bug fixes that can be checked by looking at the screen
|
|
21
|
+
|
|
22
|
+
Skip it only for pure backend/API changes with no UI surface, config-only changes (env vars, feature flags), and test-only or documentation-only changes.
|
|
23
|
+
|
|
24
|
+
When the work touches an existing screen, walk the live product first (`lisa-product-walkthrough`) and carry the findings under `## Current Product`. A UI ticket without a current-product walkthrough is missing context the implementer needs.
|
|
25
|
+
|
|
26
|
+
## Writing the journey
|
|
27
|
+
|
|
28
|
+
Write it from the end user's point of view, in the tracker's own markup (Markdown for GitHub and Linear, wiki markup for Jira):
|
|
29
|
+
|
|
30
|
+
```markdown
|
|
31
|
+
## Validation Journey
|
|
32
|
+
|
|
33
|
+
### Prerequisites
|
|
34
|
+
- App running locally or on dev
|
|
35
|
+
- Authenticated as test user
|
|
36
|
+
- Required feature flags enabled (name each flag; in PostHog when `observability.analytics.provider` is `posthog`, the default)
|
|
37
|
+
|
|
38
|
+
### Steps
|
|
39
|
+
1. Navigate to the relevant page
|
|
40
|
+
2. Perform the first action
|
|
41
|
+
3. Verify the expected state [SCREENSHOT: state-name]
|
|
42
|
+
4. Perform the next action
|
|
43
|
+
5. Verify the final state [SCREENSHOT: final-state]
|
|
44
|
+
|
|
45
|
+
### Viewports
|
|
46
|
+
| Name | Width | Height |
|
|
47
|
+
|------|-------|--------|
|
|
48
|
+
| Desktop | 1512 | 768 |
|
|
49
|
+
| Mobile | 375 | 812 |
|
|
50
|
+
|
|
51
|
+
### Assertions
|
|
52
|
+
- What must be true on screen at each viewport
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
Rules:
|
|
56
|
+
|
|
57
|
+
1. **Concrete steps** — "Click the 'Add action' button", not "Interact with the controls".
|
|
58
|
+
2. **3–7 screenshot markers** at the states that prove the change works. `[SCREENSHOT: name]` is shorthand for the typed `[EVIDENCE: screenshot: name]` marker in the `verification` rule. Names are kebab-case (`modal-open`, `button-disabled`, `form-error`).
|
|
59
|
+
3. **Viewports match the change** — always Desktop (1512×768); add Mobile (375×812) for responsive changes; add Tablet (768×1024) only when relevant.
|
|
60
|
+
4. **Assertions are testable** — "Buttons stacked vertically on mobile", not "Layout looks good".
|
|
61
|
+
5. **Include sign-in** in Prerequisites when the journey needs it.
|
|
62
|
+
|
|
63
|
+
To find the flow, read the code: the components involved (search by ticket id, feature name, or paths named in the ticket), the `testID`s Playwright can target, and the Container/View structure, navigation, and modals.
|
|
64
|
+
|
|
65
|
+
## Running the journey
|
|
66
|
+
|
|
67
|
+
Requires the Playwright MCP server and a running dev server.
|
|
68
|
+
|
|
69
|
+
1. Satisfy prerequisites: check the dev server responds (`browser_navigate` to the app URL), sign in with test credentials from `.env.localhost` or `.env.local`, and go to the starting point.
|
|
70
|
+
2. Run the **full journey once per viewport**. Between viewports, `browser_resize` to the next size, navigate back to the start, and repeat every step — some modals close on resize, and each screenshot must reflect that viewport's state.
|
|
71
|
+
3. At each screenshot marker, `browser_take_screenshot`. For a conditional step, capture the state the step text describes.
|
|
72
|
+
|
|
73
|
+
## Naming the evidence
|
|
74
|
+
|
|
75
|
+
Screenshots are `NN-<marker-name>-<viewport>.png`: a zero-padded sequence number, the marker name, and the lowercase viewport name. Three markers over two viewports give `01-…-desktop.png` through `06-…-mobile.png`. What happens to them next depends on the tracker. On Jira, `lisa-jira-evidence` uploads them to the configured evidence release under a PR-scoped name, so same-named files on two pull requests never overwrite each other. The GitHub and Linear evidence skills upload text evidence only (`lisa-github-evidence` takes `NN-*.txt`/`.json`; `lisa-linear-evidence` takes text files from `evidence/files/`), so on those trackers attach image evidence to the pull request yourself, and record the text form of each check (for example the command output) under the same `NN-` name so the vendor skill carries it.
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
display_name: "Journey Guidance"
|
|
2
|
+
short_description: "Expo stack guidance for Validation Journeys on any tracker: when a ticket needs one, writing it with screenshot markers and viewports…"
|
|
3
|
+
default_prompt:
|
|
4
|
+
- "Use $journey-guidance: Expo stack guidance for Validation Journeys on any tracker: when a ticket needs one, writing it with screenshot markers and viewports…."
|
|
@@ -21,7 +21,7 @@ View and search logs across all platforms and environments.
|
|
|
21
21
|
|
|
22
22
|
1. Read backend `package.json` to discover `logs:*`, `logs:watch:*`, and `aws:signin:*` scripts
|
|
23
23
|
2. Extract function names from `logs:{env}` scripts (typically set via `FUNCTION_NAME` env var)
|
|
24
|
-
3.
|
|
24
|
+
3. When `observability.errorTracking.provider` is `sentry` (the default), read `.env.{environment}` to find the Sentry DSN for error correlation. With `other`, look for the tracker the project wires instead; with `none`, skip error correlation
|
|
25
25
|
|
|
26
26
|
## Local Process Logs
|
|
27
27
|
|
|
@@ -112,7 +112,7 @@ After any deployment:
|
|
|
112
112
|
|
|
113
113
|
1. **Health check** the deployed environment (use `ops-verify-health` skill)
|
|
114
114
|
2. **Check logs** for errors in the first 5 minutes (use `ops-check-logs` skill)
|
|
115
|
-
3. **Monitor
|
|
115
|
+
3. **Monitor the configured error tracker** for new issues (use `ops-monitor-errors` skill; when `observability.errorTracking.provider` is `none`, record "no error tracker configured" for this step instead)
|
|
116
116
|
4. **Run browser UAT smoke test** against the deployed environment (use `ops-browser-uat` skill)
|
|
117
117
|
|
|
118
118
|
Report deployment result as a table:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: ops-monitor-errors
|
|
3
|
-
description: Monitor Sentry for unresolved errors in frontend and backend projects. Supports filtering by project, environment, and time range.
|
|
3
|
+
description: Monitor the project's configured error tracker (Sentry by default) for unresolved errors in frontend and backend projects. Supports filtering by project, environment, and time range. Follows observability.errorTracking.provider — reports "no error tracker configured" when it is none.
|
|
4
4
|
allowed-tools:
|
|
5
5
|
- Bash
|
|
6
6
|
- Read
|
|
@@ -8,10 +8,22 @@ allowed-tools:
|
|
|
8
8
|
|
|
9
9
|
# Ops: Monitor Errors
|
|
10
10
|
|
|
11
|
-
Monitor
|
|
11
|
+
Monitor the project's error tracker for errors in the application.
|
|
12
12
|
|
|
13
13
|
**Argument**: `$ARGUMENTS` — project (`frontend`, `backend`, `all`; default: `all`) and optional time range (default: `1h`)
|
|
14
14
|
|
|
15
|
+
## Resolve the configured error tracker
|
|
16
|
+
|
|
17
|
+
Read `observability.errorTracking.provider` from the `<lisa-resolved-config>` block (the `config-resolution` rule documents the key). Absent means `sentry`, which is what this skill assumed before the key existed.
|
|
18
|
+
|
|
19
|
+
| Provider | What to do |
|
|
20
|
+
|----------|------------|
|
|
21
|
+
| `sentry` | Use the Sentry path below. |
|
|
22
|
+
| `none` | Do not query anything. Report `No error tracker is configured for this project (observability.errorTracking.provider: none), so error monitoring was skipped.` and stop. Never call the Sentry CLI, API, or MCP. |
|
|
23
|
+
| `other` | Do not use Sentry. Discover the tracker the project actually wires (read `package.json` dependencies, `.env.*` keys, and app bootstrap code), then query it through its own CLI or API with credentials from `lisa-secrets-access`. If nothing reachable is wired, report what is missing and stop. Produce the same output table and severity classification below. |
|
|
24
|
+
|
|
25
|
+
Everything from here to **Post-Deploy Workflow** is the `sentry` path.
|
|
26
|
+
|
|
15
27
|
## Discovery
|
|
16
28
|
|
|
17
29
|
Discover Sentry configuration from:
|
|
@@ -74,7 +86,7 @@ curl -sf "https://sentry.io/api/0/projects/{org}/{project}/issues/?query=is:unre
|
|
|
74
86
|
After any deployment:
|
|
75
87
|
|
|
76
88
|
1. Wait 5 minutes for errors to surface
|
|
77
|
-
2. Check for new unresolved issues in the deployed environment
|
|
89
|
+
2. Check for new unresolved issues in the deployed environment, using the configured provider (skip with the `none` message when no tracker is configured)
|
|
78
90
|
3. Assess severity: are these new regressions or pre-existing?
|
|
79
91
|
4. Report findings with severity assessment
|
|
80
92
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
display_name: "Ops Monitor Errors"
|
|
2
|
-
short_description: "Monitor Sentry for unresolved errors in frontend and backend projects"
|
|
2
|
+
short_description: "Monitor the project's configured error tracker (Sentry by default) for unresolved errors in frontend and backend projects"
|
|
3
3
|
default_prompt:
|
|
4
|
-
- "Use $ops-monitor-errors: Monitor Sentry for unresolved errors in frontend and backend projects."
|
|
4
|
+
- "Use $ops-monitor-errors: Monitor the project's configured error tracker (Sentry by default) for unresolved errors in frontend and backend projects."
|
|
@@ -59,7 +59,10 @@ Supported credential locations, in resolution order:
|
|
|
59
59
|
1. `GOOGLE_PLAY_SERVICE_ACCOUNT_JSON` containing the raw service-account JSON.
|
|
60
60
|
2. `GOOGLE_PLAY_SERVICE_ACCOUNT_KEY_BASE64` containing base64 JSON.
|
|
61
61
|
3. `.lisa.config.local.json` `playStore.serviceAccountKeyPath`.
|
|
62
|
-
4.
|
|
62
|
+
4. `GOOGLE_PLAY_SERVICE_ACCOUNT_JSON` resolved through `lisa-secrets-access`
|
|
63
|
+
from the project's configured secrets provider (`.lisa.config.json`
|
|
64
|
+
`secrets.provider`), by exact key name. Do not read the OS keychain or a
|
|
65
|
+
provider CLI directly.
|
|
63
66
|
|
|
64
67
|
Fail closed if no credential is available. Never prompt indefinitely and never
|
|
65
68
|
fall back to Play Console UI scraping.
|
|
@@ -78,9 +81,11 @@ For `operation: setup`:
|
|
|
78
81
|
4. In Play Console, open **Setup -> API access**, link the Google Cloud project if
|
|
79
82
|
needed, then grant the service-account email app access with read-level
|
|
80
83
|
release visibility. Do not grant release-management write permissions for v1.
|
|
81
|
-
5. Store the key
|
|
82
|
-
|
|
83
|
-
|
|
84
|
+
5. Store the key using one of the credential locations above. Prefer the
|
|
85
|
+
project's secrets provider under the exact name
|
|
86
|
+
`GOOGLE_PLAY_SERVICE_ACCOUNT_JSON`, so every surface resolves it the same
|
|
87
|
+
way. If using a path, add the path to `.gitignore` and record only the path
|
|
88
|
+
in `.lisa.config.local.json`.
|
|
84
89
|
6. Record non-secret defaults in `.lisa.config.json`:
|
|
85
90
|
|
|
86
91
|
```bash
|
|
@@ -133,10 +138,40 @@ read_service_account_json() {
|
|
|
133
138
|
cat "$KEY_PATH"
|
|
134
139
|
return
|
|
135
140
|
fi
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
141
|
+
# Last rung: the project's configured secrets provider, through the
|
|
142
|
+
# `lisa-secrets-access` chokepoint (environment, then the materialized file,
|
|
143
|
+
# then the provider by exact key name). It replaced a direct macOS keychain
|
|
144
|
+
# read, which only worked on one vendor-specific machine store and left a
|
|
145
|
+
# Doppler, AWS, 1Password or Bitwarden project with no path at all.
|
|
146
|
+
# This LADDER is identical in every skill that resolves a credential.
|
|
147
|
+
# Execute only machine-managed plugin/package resolvers. Checkout-local
|
|
148
|
+
# candidates are repository-controlled code, not trusted merely by path.
|
|
149
|
+
local candidates=()
|
|
150
|
+
if [ -n "${CLAUDE_PLUGIN_ROOT:-}" ]; then
|
|
151
|
+
candidates+=("$CLAUDE_PLUGIN_ROOT/skills/lisa-secrets-access/scripts/resolve-secret.mjs")
|
|
152
|
+
fi
|
|
153
|
+
if [ -n "${PLUGIN_ROOT:-}" ]; then
|
|
154
|
+
candidates+=("$PLUGIN_ROOT/skills/lisa-secrets-access/scripts/resolve-secret.mjs")
|
|
139
155
|
fi
|
|
156
|
+
# Needs no environment variable: the installed package is always reachable.
|
|
157
|
+
candidates+=(node_modules/@codyswann/lisa/plugins/lisa/skills/lisa-secrets-access/scripts/resolve-secret.mjs)
|
|
158
|
+
|
|
159
|
+
local resolver
|
|
160
|
+
local tried=()
|
|
161
|
+
for resolver in "${candidates[@]}"; do
|
|
162
|
+
tried+=("$resolver")
|
|
163
|
+
if [ -f "$resolver" ]; then
|
|
164
|
+
local via_lisa
|
|
165
|
+
via_lisa=$(node "$resolver" get GOOGLE_PLAY_SERVICE_ACCOUNT_JSON 2>/dev/null) \
|
|
166
|
+
&& [ -n "$via_lisa" ] && { printf '%s' "$via_lisa"; return; }
|
|
167
|
+
# Empty/error means this substrate had no answer; try the next one.
|
|
168
|
+
fi
|
|
169
|
+
done
|
|
170
|
+
# Paths only — never any resolved value.
|
|
171
|
+
echo "Could not resolve GOOGLE_PLAY_SERVICE_ACCOUNT_JSON through lisa-secrets-access." >&2
|
|
172
|
+
echo "Tried, in order (relative paths are from $PWD):" >&2
|
|
173
|
+
printf ' %s\n' "${tried[@]}" >&2
|
|
174
|
+
return 1
|
|
140
175
|
}
|
|
141
176
|
|
|
142
177
|
SERVICE_ACCOUNT_JSON="$(read_service_account_json)"
|
|
@@ -25,7 +25,7 @@ You are an operations specialist for an Expo + serverless backend application. Y
|
|
|
25
25
|
| Backend | NestJS (Serverless Framework on AWS Lambda) | TypeORM, PostgreSQL, Cognito, Redis, GraphQL |
|
|
26
26
|
| Auth | AWS Cognito | Phone + OTP flow |
|
|
27
27
|
| CI/CD | GitHub Actions | EAS Update (OTA), Serverless deploy |
|
|
28
|
-
| Monitoring | Sentry | Frontend + Backend projects |
|
|
28
|
+
| Monitoring | Configured error tracker (`observability.errorTracking.provider`; default Sentry) | Frontend + Backend projects |
|
|
29
29
|
|
|
30
30
|
## Repository Paths
|
|
31
31
|
|
|
@@ -66,7 +66,7 @@ On first invocation, discover project-specific values by reading these files:
|
|
|
66
66
|
| Lambda functions | Backend `package.json` | Scripts matching `logs:*` and `deploy:function:*` patterns |
|
|
67
67
|
| Deploy commands | Backend `package.json` | Scripts matching `deploy:*` pattern |
|
|
68
68
|
| Migration commands | Backend `package.json` | Scripts matching `migration:*` pattern |
|
|
69
|
-
|
|
|
69
|
+
| Error tracker | `<lisa-resolved-config>` → `observability.errorTracking.provider` | `sentry` (default): `@sentry/react-native` dependency; org/project from `.sentryclirc` or Sentry DSN in `.env.*`. `other`: whatever the project wires. `none`: no tracker — skip error monitoring and say so |
|
|
70
70
|
| Frontend scripts | Frontend `package.json` | All available `scripts` |
|
|
71
71
|
|
|
72
72
|
## App Routes
|
|
@@ -91,7 +91,7 @@ Read `app/` directory structure to discover all available routes.
|
|
|
91
91
|
| `ops-verify-health` | Health check all services across environments |
|
|
92
92
|
| `ops-browser-uat` | Browser-based UAT via Playwright MCP tools |
|
|
93
93
|
| `ops-db-ops` | Database migrations, reverts, schema generation, GraphQL codegen |
|
|
94
|
-
| `ops-monitor-errors` | Monitor
|
|
94
|
+
| `ops-monitor-errors` | Monitor the configured error tracker for unresolved errors |
|
|
95
95
|
| `ops-performance` | Lighthouse audits, bundle analysis, k6 load tests |
|
|
96
96
|
|
|
97
97
|
## Troubleshooting Quick Reference
|
|
@@ -104,7 +104,7 @@ h3. Assertions
|
|
|
104
104
|
1. **3-7 screenshot markers** — Enough to prove the feature, not so many that execution is slow
|
|
105
105
|
2. **Concrete steps** — "Click the 'Add action' button" not "Interact with the controls"
|
|
106
106
|
3. **Include auth if needed** — If the journey requires login, include credentials in Prerequisites
|
|
107
|
-
4. **Name feature flags explicitly** — If the feature is behind a PostHog
|
|
107
|
+
4. **Name feature flags explicitly** — If the feature is behind a feature flag (in PostHog when `observability.analytics.provider` is `posthog`, the default), name it
|
|
108
108
|
5. **Assertions must be testable** — "Buttons stacked vertically on mobile" not "Layout looks good"
|
|
109
109
|
6. **Screenshot names in kebab-case** — `confirm-step-disabled`, `modal-open`, `form-error`
|
|
110
110
|
|
|
@@ -88,7 +88,7 @@ h3. Assertions
|
|
|
88
88
|
3. **Include 3-7 screenshot markers** — Enough to prove the feature works, not so many that execution is slow
|
|
89
89
|
4. **Viewports match the change scope** — Always include Desktop (1512x768). Add Mobile (375x812) for responsive changes. Add Tablet (768x1024) only if relevant.
|
|
90
90
|
5. **Assertions are testable statements** — "Buttons stacked vertically on mobile" not "Layout looks good"
|
|
91
|
-
6. **Prerequisites include feature flags** — If the feature is behind a PostHog
|
|
91
|
+
6. **Prerequisites include feature flags** — If the feature is behind a feature flag (in PostHog when `observability.analytics.provider` is `posthog`, the default), name it explicitly
|
|
92
92
|
7. **Auth steps included when needed** — If the journey requires login, include the test credentials in Prerequisites
|
|
93
93
|
|
|
94
94
|
## Source Artifacts
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: journey-guidance
|
|
3
|
+
description: "Expo stack guidance for Validation Journeys on any tracker: when a ticket needs one, writing it with screenshot markers and viewports, running it in the browser, and naming screenshots. Read by the tracker journey, add-journey, create and evidence skills."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Expo Validation Journey Guidance
|
|
7
|
+
|
|
8
|
+
Stack-specific guidance for Validation Journeys in an Expo / React Native project. It applies the same way whichever tracker the project uses (`tracker` in `.lisa.config.json`: `jira`, `github`, or `linear`).
|
|
9
|
+
|
|
10
|
+
This skill adds the Expo parts only. The vendor skills still read the ticket, append the journey, and post the evidence; the tracker dispatchers (`lisa-tracker-journey`, `lisa-tracker-add-journey`, `lisa-tracker-create`, `lisa-tracker-evidence`) consult this skill before they dispatch. The Jira-only overlays in this plugin (`jira-journey`, `jira-add-journey`, `jira-create`, `jira-evidence`) carry the same guidance plus Jira mechanics; this skill is what a GitHub or Linear project reaches.
|
|
11
|
+
|
|
12
|
+
## When a ticket needs a journey
|
|
13
|
+
|
|
14
|
+
Every ticket that changes, adds, or fixes UI includes a `Validation Journey` section:
|
|
15
|
+
|
|
16
|
+
- New UI components or screens
|
|
17
|
+
- Layout or styling changes (responsive, spacing, colors)
|
|
18
|
+
- Modal, drawer, or popover behavior
|
|
19
|
+
- Form validation or user input flows
|
|
20
|
+
- Bug fixes that can be checked by looking at the screen
|
|
21
|
+
|
|
22
|
+
Skip it only for pure backend/API changes with no UI surface, config-only changes (env vars, feature flags), and test-only or documentation-only changes.
|
|
23
|
+
|
|
24
|
+
When the work touches an existing screen, walk the live product first (`lisa-product-walkthrough`) and carry the findings under `## Current Product`. A UI ticket without a current-product walkthrough is missing context the implementer needs.
|
|
25
|
+
|
|
26
|
+
## Writing the journey
|
|
27
|
+
|
|
28
|
+
Write it from the end user's point of view, in the tracker's own markup (Markdown for GitHub and Linear, wiki markup for Jira):
|
|
29
|
+
|
|
30
|
+
```markdown
|
|
31
|
+
## Validation Journey
|
|
32
|
+
|
|
33
|
+
### Prerequisites
|
|
34
|
+
- App running locally or on dev
|
|
35
|
+
- Authenticated as test user
|
|
36
|
+
- Required feature flags enabled (name each flag; in PostHog when `observability.analytics.provider` is `posthog`, the default)
|
|
37
|
+
|
|
38
|
+
### Steps
|
|
39
|
+
1. Navigate to the relevant page
|
|
40
|
+
2. Perform the first action
|
|
41
|
+
3. Verify the expected state [SCREENSHOT: state-name]
|
|
42
|
+
4. Perform the next action
|
|
43
|
+
5. Verify the final state [SCREENSHOT: final-state]
|
|
44
|
+
|
|
45
|
+
### Viewports
|
|
46
|
+
| Name | Width | Height |
|
|
47
|
+
|------|-------|--------|
|
|
48
|
+
| Desktop | 1512 | 768 |
|
|
49
|
+
| Mobile | 375 | 812 |
|
|
50
|
+
|
|
51
|
+
### Assertions
|
|
52
|
+
- What must be true on screen at each viewport
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
Rules:
|
|
56
|
+
|
|
57
|
+
1. **Concrete steps** — "Click the 'Add action' button", not "Interact with the controls".
|
|
58
|
+
2. **3–7 screenshot markers** at the states that prove the change works. `[SCREENSHOT: name]` is shorthand for the typed `[EVIDENCE: screenshot: name]` marker in the `verification` rule. Names are kebab-case (`modal-open`, `button-disabled`, `form-error`).
|
|
59
|
+
3. **Viewports match the change** — always Desktop (1512×768); add Mobile (375×812) for responsive changes; add Tablet (768×1024) only when relevant.
|
|
60
|
+
4. **Assertions are testable** — "Buttons stacked vertically on mobile", not "Layout looks good".
|
|
61
|
+
5. **Include sign-in** in Prerequisites when the journey needs it.
|
|
62
|
+
|
|
63
|
+
To find the flow, read the code: the components involved (search by ticket id, feature name, or paths named in the ticket), the `testID`s Playwright can target, and the Container/View structure, navigation, and modals.
|
|
64
|
+
|
|
65
|
+
## Running the journey
|
|
66
|
+
|
|
67
|
+
Requires the Playwright MCP server and a running dev server.
|
|
68
|
+
|
|
69
|
+
1. Satisfy prerequisites: check the dev server responds (`browser_navigate` to the app URL), sign in with test credentials from `.env.localhost` or `.env.local`, and go to the starting point.
|
|
70
|
+
2. Run the **full journey once per viewport**. Between viewports, `browser_resize` to the next size, navigate back to the start, and repeat every step — some modals close on resize, and each screenshot must reflect that viewport's state.
|
|
71
|
+
3. At each screenshot marker, `browser_take_screenshot`. For a conditional step, capture the state the step text describes.
|
|
72
|
+
|
|
73
|
+
## Naming the evidence
|
|
74
|
+
|
|
75
|
+
Screenshots are `NN-<marker-name>-<viewport>.png`: a zero-padded sequence number, the marker name, and the lowercase viewport name. Three markers over two viewports give `01-…-desktop.png` through `06-…-mobile.png`. What happens to them next depends on the tracker. On Jira, `lisa-jira-evidence` uploads them to the configured evidence release under a PR-scoped name, so same-named files on two pull requests never overwrite each other. The GitHub and Linear evidence skills upload text evidence only (`lisa-github-evidence` takes `NN-*.txt`/`.json`; `lisa-linear-evidence` takes text files from `evidence/files/`), so on those trackers attach image evidence to the pull request yourself, and record the text form of each check (for example the command output) under the same `NN-` name so the vendor skill carries it.
|
|
@@ -21,7 +21,7 @@ View and search logs across all platforms and environments.
|
|
|
21
21
|
|
|
22
22
|
1. Read backend `package.json` to discover `logs:*`, `logs:watch:*`, and `aws:signin:*` scripts
|
|
23
23
|
2. Extract function names from `logs:{env}` scripts (typically set via `FUNCTION_NAME` env var)
|
|
24
|
-
3.
|
|
24
|
+
3. When `observability.errorTracking.provider` is `sentry` (the default), read `.env.{environment}` to find the Sentry DSN for error correlation. With `other`, look for the tracker the project wires instead; with `none`, skip error correlation
|
|
25
25
|
|
|
26
26
|
## Local Process Logs
|
|
27
27
|
|
|
@@ -112,7 +112,7 @@ After any deployment:
|
|
|
112
112
|
|
|
113
113
|
1. **Health check** the deployed environment (use `ops-verify-health` skill)
|
|
114
114
|
2. **Check logs** for errors in the first 5 minutes (use `ops-check-logs` skill)
|
|
115
|
-
3. **Monitor
|
|
115
|
+
3. **Monitor the configured error tracker** for new issues (use `ops-monitor-errors` skill; when `observability.errorTracking.provider` is `none`, record "no error tracker configured" for this step instead)
|
|
116
116
|
4. **Run browser UAT smoke test** against the deployed environment (use `ops-browser-uat` skill)
|
|
117
117
|
|
|
118
118
|
Report deployment result as a table:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: ops-monitor-errors
|
|
3
|
-
description: Monitor Sentry for unresolved errors in frontend and backend projects. Supports filtering by project, environment, and time range.
|
|
3
|
+
description: Monitor the project's configured error tracker (Sentry by default) for unresolved errors in frontend and backend projects. Supports filtering by project, environment, and time range. Follows observability.errorTracking.provider — reports "no error tracker configured" when it is none.
|
|
4
4
|
allowed-tools:
|
|
5
5
|
- Bash
|
|
6
6
|
- Read
|
|
@@ -8,10 +8,22 @@ allowed-tools:
|
|
|
8
8
|
|
|
9
9
|
# Ops: Monitor Errors
|
|
10
10
|
|
|
11
|
-
Monitor
|
|
11
|
+
Monitor the project's error tracker for errors in the application.
|
|
12
12
|
|
|
13
13
|
**Argument**: `$ARGUMENTS` — project (`frontend`, `backend`, `all`; default: `all`) and optional time range (default: `1h`)
|
|
14
14
|
|
|
15
|
+
## Resolve the configured error tracker
|
|
16
|
+
|
|
17
|
+
Read `observability.errorTracking.provider` from the `<lisa-resolved-config>` block (the `config-resolution` rule documents the key). Absent means `sentry`, which is what this skill assumed before the key existed.
|
|
18
|
+
|
|
19
|
+
| Provider | What to do |
|
|
20
|
+
|----------|------------|
|
|
21
|
+
| `sentry` | Use the Sentry path below. |
|
|
22
|
+
| `none` | Do not query anything. Report `No error tracker is configured for this project (observability.errorTracking.provider: none), so error monitoring was skipped.` and stop. Never call the Sentry CLI, API, or MCP. |
|
|
23
|
+
| `other` | Do not use Sentry. Discover the tracker the project actually wires (read `package.json` dependencies, `.env.*` keys, and app bootstrap code), then query it through its own CLI or API with credentials from `lisa-secrets-access`. If nothing reachable is wired, report what is missing and stop. Produce the same output table and severity classification below. |
|
|
24
|
+
|
|
25
|
+
Everything from here to **Post-Deploy Workflow** is the `sentry` path.
|
|
26
|
+
|
|
15
27
|
## Discovery
|
|
16
28
|
|
|
17
29
|
Discover Sentry configuration from:
|
|
@@ -74,7 +86,7 @@ curl -sf "https://sentry.io/api/0/projects/{org}/{project}/issues/?query=is:unre
|
|
|
74
86
|
After any deployment:
|
|
75
87
|
|
|
76
88
|
1. Wait 5 minutes for errors to surface
|
|
77
|
-
2. Check for new unresolved issues in the deployed environment
|
|
89
|
+
2. Check for new unresolved issues in the deployed environment, using the configured provider (skip with the `none` message when no tracker is configured)
|
|
78
90
|
3. Assess severity: are these new regressions or pre-existing?
|
|
79
91
|
4. Report findings with severity assessment
|
|
80
92
|
|
|
@@ -59,7 +59,10 @@ Supported credential locations, in resolution order:
|
|
|
59
59
|
1. `GOOGLE_PLAY_SERVICE_ACCOUNT_JSON` containing the raw service-account JSON.
|
|
60
60
|
2. `GOOGLE_PLAY_SERVICE_ACCOUNT_KEY_BASE64` containing base64 JSON.
|
|
61
61
|
3. `.lisa.config.local.json` `playStore.serviceAccountKeyPath`.
|
|
62
|
-
4.
|
|
62
|
+
4. `GOOGLE_PLAY_SERVICE_ACCOUNT_JSON` resolved through `lisa-secrets-access`
|
|
63
|
+
from the project's configured secrets provider (`.lisa.config.json`
|
|
64
|
+
`secrets.provider`), by exact key name. Do not read the OS keychain or a
|
|
65
|
+
provider CLI directly.
|
|
63
66
|
|
|
64
67
|
Fail closed if no credential is available. Never prompt indefinitely and never
|
|
65
68
|
fall back to Play Console UI scraping.
|
|
@@ -78,9 +81,11 @@ For `operation: setup`:
|
|
|
78
81
|
4. In Play Console, open **Setup -> API access**, link the Google Cloud project if
|
|
79
82
|
needed, then grant the service-account email app access with read-level
|
|
80
83
|
release visibility. Do not grant release-management write permissions for v1.
|
|
81
|
-
5. Store the key
|
|
82
|
-
|
|
83
|
-
|
|
84
|
+
5. Store the key using one of the credential locations above. Prefer the
|
|
85
|
+
project's secrets provider under the exact name
|
|
86
|
+
`GOOGLE_PLAY_SERVICE_ACCOUNT_JSON`, so every surface resolves it the same
|
|
87
|
+
way. If using a path, add the path to `.gitignore` and record only the path
|
|
88
|
+
in `.lisa.config.local.json`.
|
|
84
89
|
6. Record non-secret defaults in `.lisa.config.json`:
|
|
85
90
|
|
|
86
91
|
```bash
|
|
@@ -133,10 +138,40 @@ read_service_account_json() {
|
|
|
133
138
|
cat "$KEY_PATH"
|
|
134
139
|
return
|
|
135
140
|
fi
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
141
|
+
# Last rung: the project's configured secrets provider, through the
|
|
142
|
+
# `lisa-secrets-access` chokepoint (environment, then the materialized file,
|
|
143
|
+
# then the provider by exact key name). It replaced a direct macOS keychain
|
|
144
|
+
# read, which only worked on one vendor-specific machine store and left a
|
|
145
|
+
# Doppler, AWS, 1Password or Bitwarden project with no path at all.
|
|
146
|
+
# This LADDER is identical in every skill that resolves a credential.
|
|
147
|
+
# Execute only machine-managed plugin/package resolvers. Checkout-local
|
|
148
|
+
# candidates are repository-controlled code, not trusted merely by path.
|
|
149
|
+
local candidates=()
|
|
150
|
+
if [ -n "${CLAUDE_PLUGIN_ROOT:-}" ]; then
|
|
151
|
+
candidates+=("$CLAUDE_PLUGIN_ROOT/skills/lisa-secrets-access/scripts/resolve-secret.mjs")
|
|
152
|
+
fi
|
|
153
|
+
if [ -n "${PLUGIN_ROOT:-}" ]; then
|
|
154
|
+
candidates+=("$PLUGIN_ROOT/skills/lisa-secrets-access/scripts/resolve-secret.mjs")
|
|
139
155
|
fi
|
|
156
|
+
# Needs no environment variable: the installed package is always reachable.
|
|
157
|
+
candidates+=(node_modules/@codyswann/lisa/plugins/lisa/skills/lisa-secrets-access/scripts/resolve-secret.mjs)
|
|
158
|
+
|
|
159
|
+
local resolver
|
|
160
|
+
local tried=()
|
|
161
|
+
for resolver in "${candidates[@]}"; do
|
|
162
|
+
tried+=("$resolver")
|
|
163
|
+
if [ -f "$resolver" ]; then
|
|
164
|
+
local via_lisa
|
|
165
|
+
via_lisa=$(node "$resolver" get GOOGLE_PLAY_SERVICE_ACCOUNT_JSON 2>/dev/null) \
|
|
166
|
+
&& [ -n "$via_lisa" ] && { printf '%s' "$via_lisa"; return; }
|
|
167
|
+
# Empty/error means this substrate had no answer; try the next one.
|
|
168
|
+
fi
|
|
169
|
+
done
|
|
170
|
+
# Paths only — never any resolved value.
|
|
171
|
+
echo "Could not resolve GOOGLE_PLAY_SERVICE_ACCOUNT_JSON through lisa-secrets-access." >&2
|
|
172
|
+
echo "Tried, in order (relative paths are from $PWD):" >&2
|
|
173
|
+
printf ' %s\n' "${tried[@]}" >&2
|
|
174
|
+
return 1
|
|
140
175
|
}
|
|
141
176
|
|
|
142
177
|
SERVICE_ACCOUNT_JSON="$(read_service_account_json)"
|