@codyswann/lisa 2.110.1 → 2.112.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/package.json +1 -1
- package/plugins/lisa/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa/commands/repair-intake.md +2 -2
- package/plugins/lisa/rules/config-resolution.md +2 -2
- package/plugins/lisa/skills/repair-intake/SKILL.md +86 -9
- package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-expo/.mcp.json +3 -3
- package/plugins/lisa-expo/THIRD-PARTY-NOTICES.md +57 -0
- package/plugins/lisa-expo/commands/e2e-coverage-gaps.md +7 -0
- package/plugins/lisa-expo/commands/exploratory-qa.md +2 -2
- package/plugins/lisa-expo/skills/add-app-clip/SKILL.md +280 -0
- package/plugins/lisa-expo/skills/add-app-clip/agents/openai.yaml +4 -0
- package/plugins/lisa-expo/skills/add-app-clip/references/native-module.md +96 -0
- package/plugins/lisa-expo/skills/building-native-ui/SKILL.md +321 -0
- package/plugins/lisa-expo/skills/building-native-ui/agents/openai.yaml +4 -0
- package/plugins/lisa-expo/skills/building-native-ui/references/animations.md +220 -0
- package/plugins/lisa-expo/skills/building-native-ui/references/controls.md +272 -0
- package/plugins/lisa-expo/skills/building-native-ui/references/form-sheet.md +253 -0
- package/plugins/lisa-expo/skills/building-native-ui/references/gradients.md +106 -0
- package/plugins/lisa-expo/skills/building-native-ui/references/icons.md +213 -0
- package/plugins/lisa-expo/skills/building-native-ui/references/media.md +198 -0
- package/plugins/lisa-expo/skills/building-native-ui/references/route-structure.md +229 -0
- package/plugins/lisa-expo/skills/building-native-ui/references/search.md +248 -0
- package/plugins/lisa-expo/skills/building-native-ui/references/storage.md +121 -0
- package/plugins/lisa-expo/skills/building-native-ui/references/tabs.md +433 -0
- package/plugins/lisa-expo/skills/building-native-ui/references/toolbar-and-headers.md +284 -0
- package/plugins/lisa-expo/skills/building-native-ui/references/visual-effects.md +197 -0
- package/plugins/lisa-expo/skills/building-native-ui/references/webgpu-three.md +605 -0
- package/plugins/lisa-expo/skills/building-native-ui/references/zoom-transitions.md +158 -0
- package/plugins/lisa-expo/skills/e2e-coverage-gaps/SKILL.md +105 -0
- package/plugins/lisa-expo/skills/e2e-coverage-gaps/agents/openai.yaml +4 -0
- package/plugins/lisa-expo/skills/eas-update-insights/SKILL.md +228 -0
- package/plugins/lisa-expo/skills/eas-update-insights/agents/openai.yaml +4 -0
- package/plugins/lisa-expo/skills/eas-update-insights/references/channel-insights-schema.md +47 -0
- package/plugins/lisa-expo/skills/eas-update-insights/references/update-insights-schema.md +69 -0
- package/plugins/lisa-expo/skills/exploratory-qa/SKILL.md +100 -93
- package/plugins/lisa-expo/skills/exploratory-qa/agents/openai.yaml +2 -2
- package/plugins/lisa-expo/skills/expo-api-routes/SKILL.md +369 -0
- package/plugins/lisa-expo/skills/expo-api-routes/agents/openai.yaml +4 -0
- package/plugins/lisa-expo/skills/expo-brownfield/SKILL.md +54 -0
- package/plugins/lisa-expo/skills/expo-brownfield/agents/openai.yaml +4 -0
- package/plugins/lisa-expo/skills/expo-brownfield/references/brownfield-integrated.md +526 -0
- package/plugins/lisa-expo/skills/expo-brownfield/references/brownfield-isolated.md +402 -0
- package/plugins/lisa-expo/skills/expo-brownfield/references/comparison.md +63 -0
- package/plugins/lisa-expo/skills/expo-brownfield/references/troubleshooting.md +88 -0
- package/plugins/lisa-expo/skills/expo-cicd-workflows/SKILL.md +92 -0
- package/plugins/lisa-expo/skills/expo-cicd-workflows/agents/openai.yaml +4 -0
- package/plugins/lisa-expo/skills/expo-cicd-workflows/scripts/fetch.js +113 -0
- package/plugins/lisa-expo/skills/expo-cicd-workflows/scripts/package.json +11 -0
- package/plugins/lisa-expo/skills/expo-cicd-workflows/scripts/validate.js +85 -0
- package/plugins/lisa-expo/skills/expo-deployment/SKILL.md +190 -0
- package/plugins/lisa-expo/skills/expo-deployment/agents/openai.yaml +4 -0
- package/plugins/lisa-expo/skills/expo-deployment/references/app-store-metadata.md +479 -0
- package/plugins/lisa-expo/skills/expo-deployment/references/ios-app-store.md +355 -0
- package/plugins/lisa-expo/skills/expo-deployment/references/play-store.md +246 -0
- package/plugins/lisa-expo/skills/expo-deployment/references/testflight.md +58 -0
- package/plugins/lisa-expo/skills/expo-deployment/references/workflows.md +200 -0
- package/plugins/lisa-expo/skills/expo-dev-client/SKILL.md +164 -0
- package/plugins/lisa-expo/skills/expo-dev-client/agents/openai.yaml +4 -0
- package/plugins/lisa-expo/skills/expo-module/SKILL.md +141 -0
- package/plugins/lisa-expo/skills/expo-module/agents/openai.yaml +4 -0
- package/plugins/lisa-expo/skills/expo-module/references/config-plugin.md +90 -0
- package/plugins/lisa-expo/skills/expo-module/references/create-expo-module.md +206 -0
- package/plugins/lisa-expo/skills/expo-module/references/lifecycle.md +127 -0
- package/plugins/lisa-expo/skills/expo-module/references/module-config.md +48 -0
- package/plugins/lisa-expo/skills/expo-module/references/native-module.md +286 -0
- package/plugins/lisa-expo/skills/expo-module/references/native-view.md +171 -0
- package/plugins/lisa-expo/skills/expo-tailwind-setup/SKILL.md +480 -0
- package/plugins/lisa-expo/skills/expo-tailwind-setup/agents/openai.yaml +4 -0
- package/plugins/lisa-expo/skills/expo-ui-jetpack-compose/SKILL.md +40 -0
- package/plugins/lisa-expo/skills/expo-ui-jetpack-compose/agents/openai.yaml +4 -0
- package/plugins/lisa-expo/skills/expo-ui-swift-ui/SKILL.md +39 -0
- package/plugins/lisa-expo/skills/expo-ui-swift-ui/agents/openai.yaml +4 -0
- package/plugins/lisa-expo/skills/native-data-fetching/SKILL.md +507 -0
- package/plugins/lisa-expo/skills/native-data-fetching/agents/openai.yaml +4 -0
- package/plugins/lisa-expo/skills/native-data-fetching/references/expo-router-loaders.md +344 -0
- package/plugins/lisa-expo/skills/upgrading-expo/SKILL.md +134 -0
- package/plugins/lisa-expo/skills/upgrading-expo/agents/openai.yaml +4 -0
- package/plugins/lisa-expo/skills/upgrading-expo/references/expo-av-to-audio.md +132 -0
- package/plugins/lisa-expo/skills/upgrading-expo/references/expo-av-to-video.md +160 -0
- package/plugins/lisa-expo/skills/upgrading-expo/references/native-tabs.md +124 -0
- package/plugins/lisa-expo/skills/upgrading-expo/references/new-architecture.md +79 -0
- package/plugins/lisa-expo/skills/upgrading-expo/references/react-19.md +79 -0
- package/plugins/lisa-expo/skills/upgrading-expo/references/react-compiler.md +59 -0
- package/plugins/lisa-expo/skills/upgrading-expo/references/react-navigation-to-expo-router.md +61 -0
- package/plugins/lisa-expo/skills/use-dom/SKILL.md +417 -0
- package/plugins/lisa-expo/skills/use-dom/agents/openai.yaml +4 -0
- 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/commands/e2e-coverage-gaps.md +7 -0
- package/plugins/lisa-harper-fabric/commands/exploratory-qa.md +2 -2
- package/plugins/lisa-harper-fabric/skills/e2e-coverage-gaps/SKILL.md +105 -0
- package/plugins/lisa-harper-fabric/skills/e2e-coverage-gaps/agents/openai.yaml +4 -0
- package/plugins/lisa-harper-fabric/skills/exploratory-qa/SKILL.md +100 -93
- package/plugins/lisa-harper-fabric/skills/exploratory-qa/agents/openai.yaml +2 -2
- package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/commands/e2e-coverage-gaps.md +7 -0
- package/plugins/lisa-rails/commands/exploratory-qa.md +2 -2
- package/plugins/lisa-rails/skills/e2e-coverage-gaps/SKILL.md +105 -0
- package/plugins/lisa-rails/skills/e2e-coverage-gaps/agents/openai.yaml +4 -0
- package/plugins/lisa-rails/skills/exploratory-qa/SKILL.md +100 -93
- package/plugins/lisa-rails/skills/exploratory-qa/agents/openai.yaml +2 -2
- package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.codex-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/templates/llm-wiki-contract.md +12 -0
- package/plugins/src/base/commands/repair-intake.md +2 -2
- package/plugins/src/base/rules/config-resolution.md +2 -2
- package/plugins/src/base/skills/repair-intake/SKILL.md +86 -9
- package/plugins/src/expo/.mcp.json +3 -3
- package/plugins/src/expo/THIRD-PARTY-NOTICES.md +57 -0
- package/plugins/src/expo/commands/e2e-coverage-gaps.md +7 -0
- package/plugins/src/expo/commands/exploratory-qa.md +2 -2
- package/plugins/src/expo/skills/add-app-clip/SKILL.md +280 -0
- package/plugins/src/expo/skills/add-app-clip/references/native-module.md +96 -0
- package/plugins/src/expo/skills/building-native-ui/SKILL.md +321 -0
- package/plugins/src/expo/skills/building-native-ui/references/animations.md +220 -0
- package/plugins/src/expo/skills/building-native-ui/references/controls.md +272 -0
- package/plugins/src/expo/skills/building-native-ui/references/form-sheet.md +253 -0
- package/plugins/src/expo/skills/building-native-ui/references/gradients.md +106 -0
- package/plugins/src/expo/skills/building-native-ui/references/icons.md +213 -0
- package/plugins/src/expo/skills/building-native-ui/references/media.md +198 -0
- package/plugins/src/expo/skills/building-native-ui/references/route-structure.md +229 -0
- package/plugins/src/expo/skills/building-native-ui/references/search.md +248 -0
- package/plugins/src/expo/skills/building-native-ui/references/storage.md +121 -0
- package/plugins/src/expo/skills/building-native-ui/references/tabs.md +433 -0
- package/plugins/src/expo/skills/building-native-ui/references/toolbar-and-headers.md +284 -0
- package/plugins/src/expo/skills/building-native-ui/references/visual-effects.md +197 -0
- package/plugins/src/expo/skills/building-native-ui/references/webgpu-three.md +605 -0
- package/plugins/src/expo/skills/building-native-ui/references/zoom-transitions.md +158 -0
- package/plugins/src/expo/skills/e2e-coverage-gaps/SKILL.md +105 -0
- package/plugins/src/expo/skills/eas-update-insights/SKILL.md +228 -0
- package/plugins/src/expo/skills/eas-update-insights/references/channel-insights-schema.md +47 -0
- package/plugins/src/expo/skills/eas-update-insights/references/update-insights-schema.md +69 -0
- package/plugins/src/expo/skills/exploratory-qa/SKILL.md +100 -93
- package/plugins/src/expo/skills/expo-api-routes/SKILL.md +369 -0
- package/plugins/src/expo/skills/expo-brownfield/SKILL.md +54 -0
- package/plugins/src/expo/skills/expo-brownfield/references/brownfield-integrated.md +526 -0
- package/plugins/src/expo/skills/expo-brownfield/references/brownfield-isolated.md +402 -0
- package/plugins/src/expo/skills/expo-brownfield/references/comparison.md +63 -0
- package/plugins/src/expo/skills/expo-brownfield/references/troubleshooting.md +88 -0
- package/plugins/src/expo/skills/expo-cicd-workflows/SKILL.md +92 -0
- package/plugins/src/expo/skills/expo-cicd-workflows/scripts/fetch.js +113 -0
- package/plugins/src/expo/skills/expo-cicd-workflows/scripts/package.json +11 -0
- package/plugins/src/expo/skills/expo-cicd-workflows/scripts/validate.js +85 -0
- package/plugins/src/expo/skills/expo-deployment/SKILL.md +190 -0
- package/plugins/src/expo/skills/expo-deployment/references/app-store-metadata.md +479 -0
- package/plugins/src/expo/skills/expo-deployment/references/ios-app-store.md +355 -0
- package/plugins/src/expo/skills/expo-deployment/references/play-store.md +246 -0
- package/plugins/src/expo/skills/expo-deployment/references/testflight.md +58 -0
- package/plugins/src/expo/skills/expo-deployment/references/workflows.md +200 -0
- package/plugins/src/expo/skills/expo-dev-client/SKILL.md +164 -0
- package/plugins/src/expo/skills/expo-module/SKILL.md +141 -0
- package/plugins/src/expo/skills/expo-module/references/config-plugin.md +90 -0
- package/plugins/src/expo/skills/expo-module/references/create-expo-module.md +206 -0
- package/plugins/src/expo/skills/expo-module/references/lifecycle.md +127 -0
- package/plugins/src/expo/skills/expo-module/references/module-config.md +48 -0
- package/plugins/src/expo/skills/expo-module/references/native-module.md +286 -0
- package/plugins/src/expo/skills/expo-module/references/native-view.md +171 -0
- package/plugins/src/expo/skills/expo-tailwind-setup/SKILL.md +480 -0
- package/plugins/src/expo/skills/expo-ui-jetpack-compose/SKILL.md +40 -0
- package/plugins/src/expo/skills/expo-ui-swift-ui/SKILL.md +39 -0
- package/plugins/src/expo/skills/native-data-fetching/SKILL.md +507 -0
- package/plugins/src/expo/skills/native-data-fetching/references/expo-router-loaders.md +344 -0
- package/plugins/src/expo/skills/upgrading-expo/SKILL.md +134 -0
- package/plugins/src/expo/skills/upgrading-expo/references/expo-av-to-audio.md +132 -0
- package/plugins/src/expo/skills/upgrading-expo/references/expo-av-to-video.md +160 -0
- package/plugins/src/expo/skills/upgrading-expo/references/native-tabs.md +124 -0
- package/plugins/src/expo/skills/upgrading-expo/references/new-architecture.md +79 -0
- package/plugins/src/expo/skills/upgrading-expo/references/react-19.md +79 -0
- package/plugins/src/expo/skills/upgrading-expo/references/react-compiler.md +59 -0
- package/plugins/src/expo/skills/upgrading-expo/references/react-navigation-to-expo-router.md +61 -0
- package/plugins/src/expo/skills/use-dom/SKILL.md +417 -0
- package/plugins/src/harper-fabric/commands/e2e-coverage-gaps.md +7 -0
- package/plugins/src/harper-fabric/commands/exploratory-qa.md +2 -2
- package/plugins/src/harper-fabric/skills/e2e-coverage-gaps/SKILL.md +105 -0
- package/plugins/src/harper-fabric/skills/exploratory-qa/SKILL.md +100 -93
- package/plugins/src/rails/commands/e2e-coverage-gaps.md +7 -0
- package/plugins/src/rails/commands/exploratory-qa.md +2 -2
- package/plugins/src/rails/skills/e2e-coverage-gaps/SKILL.md +105 -0
- package/plugins/src/rails/skills/exploratory-qa/SKILL.md +100 -93
- package/plugins/src/wiki/templates/llm-wiki-contract.md +12 -0
- package/scripts/generate-codex-plugin-artifacts.mjs +7 -2
package/package.json
CHANGED
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"lodash": ">=4.18.1"
|
|
83
83
|
},
|
|
84
84
|
"name": "@codyswann/lisa",
|
|
85
|
-
"version": "2.
|
|
85
|
+
"version": "2.112.0",
|
|
86
86
|
"description": "Claude Code governance framework that applies guardrails, guidance, and automated enforcement to projects",
|
|
87
87
|
"main": "dist/index.js",
|
|
88
88
|
"exports": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: "Repair counterpart to /lisa:intake. Vendor-agnostic batch scanner that finds stuck or half-closed work — items left in `blocked`, stalled in an in-progress role (build `claimed`, PRD `in_review`), terminal-labeled items still natively open, and rollups whose children are all terminal — across the same queues /lisa:intake serves (Notion / Confluence / Linear / GitHub PRDs; JIRA / GitHub / Linear build issues). Repairs every materially actionable candidate inside the `max_candidates` cap: resumes stalled in-progress work in place, re-validates blocked PRDs, re-dispatches blocked build items whose blockers have cleared, performs terminal native closure, and closes out completed rollups. Cron-safe and bounded; default GitHub intake_mode is both and default max_candidates is 100."
|
|
3
|
-
argument-hint: "<Notion-PRD-database-URL | Confluence-space-URL | Confluence-parent-page-URL | Linear-workspace-URL | Linear-team-URL | GitHub-repo-URL | org/repo | JIRA-project-key | JQL-filter> [intake_mode=prd|build|both] [stale_after=
|
|
2
|
+
description: "Repair counterpart to /lisa:intake. Vendor-agnostic batch scanner that finds stuck or half-closed work — items left in `blocked`, stalled in an in-progress role (build `claimed`, PRD `in_review`), terminal-labeled items still natively open, and rollups whose children are all terminal — across the same queues /lisa:intake serves (Notion / Confluence / Linear / GitHub PRDs; JIRA / GitHub / Linear build issues). Repairs every materially actionable candidate inside the `max_candidates` cap: resumes stalled in-progress work in place — but for a stalled build it first diagnoses the PR/deploy state and, if the PR cannot merge (conflict, rebase, failing checks, unaddressed CodeRabbit/changes-requested) or a deploy failed, files a build-ready fix ticket and moves the item to `blocked` (blocked by it) instead of re-dispatching — re-validates blocked PRDs, re-dispatches blocked build items whose blockers have cleared, performs terminal native closure, and closes out completed rollups. Cron-safe and bounded; default GitHub intake_mode is both and default max_candidates is 100."
|
|
3
|
+
argument-hint: "<Notion-PRD-database-URL | Confluence-space-URL | Confluence-parent-page-URL | Linear-workspace-URL | Linear-team-URL | GitHub-repo-URL | org/repo | JIRA-project-key | JQL-filter> [intake_mode=prd|build|both] [stale_after=2h] [max_candidates=100] [force=true]"
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
Use the /lisa:repair-intake skill to scan the queue for stuck or half-closed items and repair every materially actionable candidate inside `max_candidates` (default 100). For GitHub queues, default `intake_mode` to `both` when the caller omits it. $ARGUMENTS
|
|
@@ -147,7 +147,7 @@ fi
|
|
|
147
147
|
"intake": {
|
|
148
148
|
"assignee": "<vendor-user-id-or-login>",
|
|
149
149
|
"repair": {
|
|
150
|
-
"staleAfterHours":
|
|
150
|
+
"staleAfterHours": 2,
|
|
151
151
|
"maxCandidates": 100
|
|
152
152
|
}
|
|
153
153
|
}
|
|
@@ -299,7 +299,7 @@ documented defaults, so existing projects need no config change.
|
|
|
299
299
|
|
|
300
300
|
| Key | Required | Default | Notes |
|
|
301
301
|
|-----|----------|---------|-------|
|
|
302
|
-
| `intake.repair.staleAfterHours` | no | `
|
|
302
|
+
| `intake.repair.staleAfterHours` | no | `2` | How long an in-progress item (build `claimed`, PRD `in_review`) may show no observable activity before repair-intake treats it as stalled and resumes it. `blocked` items are judged on blocker/answer state, not this threshold. Overridable per-run via `stale_after=<dur>` in `$ARGUMENTS` (which always wins). The same value is the default backoff window for loop-prevention notes. |
|
|
303
303
|
| `intake.repair.maxCandidates` | no | `100` | Upper bound on how many stuck items repair-intake enumerates while searching for the first actionable one. Bounds scan cost. Overridable per-run via `max_candidates=<n>`. |
|
|
304
304
|
|
|
305
305
|
### Intake assignee filter (`intake.assignee`)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: repair-intake
|
|
3
|
-
description: "Vendor-agnostic repair scanner — the recovery counterpart to lisa:intake. Where intake claims `ready` work, repair-intake finds work that got stuck or was left half-closed: items left in `blocked`, stalled in an in-progress role (build `claimed`, PRD `in_review`), terminal-labeled items that are still natively open, and rollup/container items whose children are all terminal but whose parent is not closed out. Scans the same queues lisa:intake serves (Notion / Confluence / Linear / GitHub PRD databases; JIRA / GitHub / Linear build queues), enumerates candidates up to `max_candidates`, and repairs every materially actionable one in that bounded set: resumes stalled in-progress work IN PLACE (build → the vendor agent + the scanner's post-agent transition; PRD → the source `*-to-tracker` dry-run validate→route pipeline), re-validates blocked PRDs when new clarifying answers exist, re-dispatches blocked build items whose `is blocked by` dependencies have since closed, performs terminal native closure for terminal-labeled items, and closes rollups whose associated child work is fully terminal. Idempotent, loop-protected via a [lisa-repair-intake] marker + state fingerprint + backoff. Never mutates product-owned states (`draft`, `verified`) and never touches `ready` items. Designed as a /schedule cron target running alongside lisa:intake."
|
|
3
|
+
description: "Vendor-agnostic repair scanner — the recovery counterpart to lisa:intake. Where intake claims `ready` work, repair-intake finds work that got stuck or was left half-closed: items left in `blocked`, stalled in an in-progress role (build `claimed`, PRD `in_review`), terminal-labeled items that are still natively open, and rollup/container items whose children are all terminal but whose parent is not closed out. Scans the same queues lisa:intake serves (Notion / Confluence / Linear / GitHub PRD databases; JIRA / GitHub / Linear build queues), enumerates candidates up to `max_candidates`, and repairs every materially actionable one in that bounded set: resumes stalled in-progress work IN PLACE (build → the vendor agent + the scanner's post-agent transition; PRD → the source `*-to-tracker` dry-run validate→route pipeline) — but for a stalled build it first diagnoses the PR/deploy state and, if the PR cannot merge (conflict, rebase-required, failing checks, unaddressed CodeRabbit/changes-requested) or a deploy failed, files a build-ready leaf fix ticket and moves the item to `blocked` (blocked by that ticket) rather than re-dispatching, re-validates blocked PRDs when new clarifying answers exist, re-dispatches blocked build items whose `is blocked by` dependencies have since closed, performs terminal native closure for terminal-labeled items, and closes rollups whose associated child work is fully terminal. Idempotent, loop-protected via a [lisa-repair-intake] marker + state fingerprint + backoff. Never mutates product-owned states (`draft`, `verified`) and never touches `ready` items. Designed as a /schedule cron target running alongside lisa:intake."
|
|
4
4
|
allowed-tools: ["Skill", "Bash", "Read", "Write", "Edit", "mcp__linear-server__list_teams", "mcp__linear-server__list_projects", "mcp__linear-server__get_project", "mcp__linear-server__save_project", "mcp__linear-server__list_project_labels", "mcp__linear-server__list_issues", "mcp__linear-server__get_issue", "mcp__linear-server__save_issue", "mcp__linear-server__list_comments", "mcp__linear-server__save_comment", "mcp__linear-server__list_issue_labels", "mcp__linear-server__create_issue_label"]
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -14,7 +14,11 @@ close-out** roles and moves work *unstuck* or *fully closed*:
|
|
|
14
14
|
`in_review`) whose processing cycle died. It is technically "being worked" but nothing is
|
|
15
15
|
happening, so it sits ignored forever. (The vendor PRD intakes explicitly leave an errored PRD
|
|
16
16
|
in `in_review` "for the human to investigate from there" — that orphan is exactly what this
|
|
17
|
-
skill recovers.)
|
|
17
|
+
skill recovers.) For a stalled **build**, repair-intake first diagnoses *why* it stalled by
|
|
18
|
+
inspecting its PRs and deploys: if the PR cannot merge (conflict / rebase-required / failing
|
|
19
|
+
checks / unaddressed CodeRabbit or `CHANGES_REQUESTED` review) or a deploy failed, it files a
|
|
20
|
+
build-ready leaf fix ticket and moves the item to `blocked` (blocked by that ticket) instead of
|
|
21
|
+
blindly re-dispatching the agent — which would just churn against an unmergeable PR.
|
|
18
22
|
- **Recoverable blocked** — an item in `blocked` whose blocker may now be gone: an
|
|
19
23
|
`is blocked by` dependency has since closed, clarifying questions have been answered, or
|
|
20
24
|
research/waiting resolves the ambiguity that stopped it.
|
|
@@ -35,14 +39,14 @@ lifecycle state with provider-native closure and rollup state.
|
|
|
35
39
|
## Public contract
|
|
36
40
|
|
|
37
41
|
```text
|
|
38
|
-
/lisa:repair-intake <queue> [intake_mode=prd|build|both] [stale_after=
|
|
42
|
+
/lisa:repair-intake <queue> [intake_mode=prd|build|both] [stale_after=2h] [max_candidates=100] [force=true]
|
|
39
43
|
```
|
|
40
44
|
|
|
41
45
|
| Token | Meaning | Default |
|
|
42
46
|
|-------|---------|---------|
|
|
43
47
|
| `<queue>` | Same queue identifier `lisa:intake` accepts (see Source dispatch). Required. | — |
|
|
44
48
|
| `intake_mode` | `prd` \| `build` \| `both`. Only meaningful for a GitHub `org/repo` (or bare `github`) that hosts both PRD and build label namespaces. `both` is unique to repair — a repair sweep usefully covers both lifecycles in one schedule. Absent → `both` when both namespaces exist, else whichever lifecycle exists. | `both` for dual GitHub queues; otherwise infer |
|
|
45
|
-
| `stale_after` | How long with no observable activity before an in-progress item counts as stalled. Accepts `24h`, `90m`, `2d`, or `0` (treat any in-progress item as stalled — manual recovery, also the only way to resume work on a provider that exposes no reliable timestamp). Overrides config. | `
|
|
49
|
+
| `stale_after` | How long with no observable activity before an in-progress item counts as stalled. Accepts `24h`, `90m`, `2d`, or `0` (treat any in-progress item as stalled — manual recovery, also the only way to resume work on a provider that exposes no reliable timestamp). Overrides config. | `2h` |
|
|
46
50
|
| `max_candidates` | Cap on how many stuck/close-out candidates to enumerate and evaluate. Repair every materially actionable candidate within this bounded set, then stop. Overrides config. | `100` |
|
|
47
51
|
| `force` | `true` bypasses the loop-prevention backoff window (so a manual re-run re-attempts items even if their fingerprint is unchanged). It does **not** change the staleness rule — use `stale_after=0` for that. | `false` |
|
|
48
52
|
|
|
@@ -193,7 +197,7 @@ staleness — their repairability is judged on current blocker/answer state, not
|
|
|
193
197
|
1. `$ARGUMENTS` `stale_after=<dur>` (one-off override) — always wins. Parse `Nh` / `Nm` / `Nd` /
|
|
194
198
|
`0` into hours.
|
|
195
199
|
2. `.lisa.config.json` `intake.repair.staleAfterHours` (durable project default).
|
|
196
|
-
3. Built-in default: **
|
|
200
|
+
3. Built-in default: **2 hours**.
|
|
197
201
|
|
|
198
202
|
`stale_after=0` means "treat any in-progress item as stalled" — a manual full-recovery lever,
|
|
199
203
|
and the only way to resume work on a provider that exposes no reliable activity timestamp.
|
|
@@ -214,6 +218,14 @@ If ANY of these is newer than the threshold, the item is **active** → record i
|
|
|
214
218
|
skip it (read-only). For build `claimed`, an open PR with recent commits/checks is active. For
|
|
215
219
|
PRD `in_review`, a recent comment or page edit is active.
|
|
216
220
|
|
|
221
|
+
Count only **forward-progress** signals as keep-alive: new commits, a review that was just
|
|
222
|
+
requested or posted, an in-progress/queued check run, a fresh progress comment. A **settled
|
|
223
|
+
blocker state** — a failing/errored check run, `CONFLICTING` mergeability, a `CHANGES_REQUESTED`
|
|
224
|
+
review, an unaddressed CodeRabbit/reviewer change request, or a failed deployment — is NOT
|
|
225
|
+
keep-alive activity: it does not reset the staleness clock. The clock runs from the last genuine
|
|
226
|
+
progress event, so a PR that has been sitting failed/conflicted/awaiting-changes for longer than
|
|
227
|
+
`stale_after` counts as stalled and is diagnosed below.
|
|
228
|
+
|
|
217
229
|
If a provider cannot expose any reliable timestamp, do **not** auto-resume its in-progress
|
|
218
230
|
items unless the caller passed `stale_after=0`. (Dependency-cleared `blocked` repair still
|
|
219
231
|
proceeds — it is judged on blocker state, not time.)
|
|
@@ -225,10 +237,22 @@ Apply per candidate. Continue through the ordered list until every candidate ins
|
|
|
225
237
|
native close/archive/complete, re-dispatch, or refreshed note), be recorded read-only, or be
|
|
226
238
|
recorded under Errors. Do not stop after the first write; the cap is the batch boundary.
|
|
227
239
|
|
|
228
|
-
### Build `claimed` (stalled in-progress) → resume in place
|
|
240
|
+
### Build `claimed` (stalled in-progress) → diagnose blocker, else resume in place
|
|
241
|
+
|
|
242
|
+
After the staleness gate passes, **first diagnose why it stalled** by inspecting the item's PRs and
|
|
243
|
+
deploys (see "Stuck-cause diagnosis" below). A stalled build usually stalled for a concrete external
|
|
244
|
+
reason, and re-dispatching the agent at it will not fix a PR that cannot merge or a deploy that
|
|
245
|
+
failed — it just churns.
|
|
229
246
|
|
|
230
|
-
|
|
231
|
-
|
|
247
|
+
0. **Diagnose PR & deploy blockers.** If a real external blocker is found (PR cannot merge — merge
|
|
248
|
+
conflict / rebase-required / failing checks / `CHANGES_REQUESTED` / unaddressed CodeRabbit; or a
|
|
249
|
+
failed deploy), **do not dispatch the agent**. Instead file a build-ready leaf fix ticket for the
|
|
250
|
+
blocker, move this item `claimed → blocked` with an `is blocked by` link to that ticket, and
|
|
251
|
+
record it. The existing "Build `blocked` → unblock if cleared" path resumes this item on a later
|
|
252
|
+
cycle once the fix ticket is terminal — a self-healing loop. Skip the resume steps below.
|
|
253
|
+
|
|
254
|
+
If no external blocker is found, the work simply died mid-flight — run the **same per-item sequence
|
|
255
|
+
the vendor build-intake runs**, skipping the claim transition (the item is already `claimed`):
|
|
232
256
|
|
|
233
257
|
1. Dispatch the item to the vendor agent — `lisa:jira-agent` / `lisa:github-agent` /
|
|
234
258
|
`lisa:linear-agent` (matching the queue's tracker) — with the item ref. This resumes the work
|
|
@@ -246,6 +270,59 @@ skipping the claim transition (the item is already `claimed`):
|
|
|
246
270
|
> partially-built item look freshly human-approved to the next `lisa:intake` claim, and forces a
|
|
247
271
|
> two-cycle recovery. Resume in place.
|
|
248
272
|
|
|
273
|
+
#### Stuck-cause diagnosis: PR & deploy blockers
|
|
274
|
+
|
|
275
|
+
Run this for every stalled `claimed` build item **before** considering an agent re-dispatch. The
|
|
276
|
+
goal is to distinguish "work died mid-flight, just resume it" from "work is blocked on a concrete
|
|
277
|
+
external state that resuming the agent cannot fix."
|
|
278
|
+
|
|
279
|
+
**1. Find the associated PR(s) and deploy(s).** From the item's linked PRs (GitHub: remote/dev
|
|
280
|
+
links and `gh pr list --search <issue-ref>`; JIRA: dev-status / remote links; Linear: attachments
|
|
281
|
+
and git-branch links) and the deploy(s) for the resulting merge (the env-keyed `deploy.branches`
|
|
282
|
+
mapping from `config-resolution`). Read each PR with the vendor's native state, e.g. GitHub
|
|
283
|
+
`gh pr view <n> --json mergeable,mergeStateStatus,reviewDecision,statusCheckRollup,comments,reviews`.
|
|
284
|
+
|
|
285
|
+
**2. Classify as a blocker.** Treat any of these as a real external blocker:
|
|
286
|
+
|
|
287
|
+
- **Merge conflict / rebase required** — `mergeable = CONFLICTING`, or `mergeStateStatus` in
|
|
288
|
+
`DIRTY` / `BEHIND`.
|
|
289
|
+
- **Failing required checks** — `statusCheckRollup` has a `FAILURE`/`ERROR`/`TIMED_OUT` conclusion,
|
|
290
|
+
or `mergeStateStatus = UNSTABLE`/`BLOCKED` due to checks.
|
|
291
|
+
- **Change requests outstanding** — `reviewDecision = CHANGES_REQUESTED`, or unresolved CodeRabbit
|
|
292
|
+
(or other reviewer) comments that request changes and have not been addressed by a newer commit.
|
|
293
|
+
- **Branch-protection / approvals blocked** — `mergeStateStatus = BLOCKED` for a reason other than
|
|
294
|
+
a transient check still running.
|
|
295
|
+
- **Failed deploy** — the deployment for the item's merge/branch reports a failed/errored status
|
|
296
|
+
(failed deploy workflow run, failed deployment status, or the project's deploy check is red).
|
|
297
|
+
|
|
298
|
+
A check that is still **queued/in progress**, or a `CLEAN`/`HAS_HOOKS` mergeable PR with no
|
|
299
|
+
outstanding change request, is **not** a blocker — that is normal in-flight state. (Such a PR with
|
|
300
|
+
recent check/commit activity would already have been caught as `active` by the staleness gate.)
|
|
301
|
+
|
|
302
|
+
**3. On a blocker found → file a leaf fix ticket + block the item.**
|
|
303
|
+
|
|
304
|
+
1. **File one build-ready leaf fix ticket** per distinct blocker via `lisa:tracker-write` (the
|
|
305
|
+
vendor-neutral leaf writer + validation gate; never a vendor `*-write-*` skill directly),
|
|
306
|
+
`issue_type: Bug` for a failing-check/conflict/failed-deploy, `Task` for review-feedback
|
|
307
|
+
follow-up, `build_ready: true` so it auto-builds. The ticket MUST name: the blocked item + its
|
|
308
|
+
PR/deploy URL, the exact blocker (conflict / which checks failed with their logs link / which
|
|
309
|
+
change requests / which deploy run), three-audience description, and Gherkin acceptance criteria
|
|
310
|
+
for "PR is mergeable / deploy is green."
|
|
311
|
+
2. **Transition the stalled item `claimed → blocked`** and add an **`is blocked by`** link to the
|
|
312
|
+
new fix ticket (vendor-native: JIRA issue link `is blocked by`; GitHub/Linear `Blocked by:` line
|
|
313
|
+
+ label). Post a `[lisa-repair-intake]` note naming what it is blocked by and why.
|
|
314
|
+
3. **Record it** as a repair write. Do **not** dispatch the vendor agent for this item this cycle.
|
|
315
|
+
|
|
316
|
+
The item now sits in `blocked`; once the fix ticket reaches a terminal state, the **Build
|
|
317
|
+
`blocked` → unblock if cleared** path (next section) detects the cleared `is blocked by`
|
|
318
|
+
dependency and resumes the original in place — a self-healing loop.
|
|
319
|
+
|
|
320
|
+
**Idempotency.** Before filing, check for an **open** fix ticket already carrying the marker
|
|
321
|
+
`[lisa-repair-intake] blocker:<item-ref>/<blocker-key>` (blocker-key is a stable slug of the
|
|
322
|
+
blocker, e.g. `pr-1234/merge-conflict` or `pr-1234/checks-failing`). If one exists, reference it
|
|
323
|
+
and ensure the `is blocked by` link is present rather than creating a duplicate. Honor the backoff
|
|
324
|
+
window and state fingerprint (Loop prevention) so re-runs over the same unchanged blocker are no-ops.
|
|
325
|
+
|
|
249
326
|
### Build `blocked` → re-evaluate, unblock if cleared
|
|
250
327
|
|
|
251
328
|
1. Read the block reason and dependencies (see Dependency clearing).
|
|
@@ -399,7 +476,7 @@ cron tick.
|
|
|
399
476
|
- Before writing a note or re-attempting a `blocked` item, compute the current fingerprint. If
|
|
400
477
|
an identical fingerprint was already posted within the **backoff window**, skip the item
|
|
401
478
|
silently (record as `still_blocked` / `active`, no write).
|
|
402
|
-
- Backoff window default = `stale_after` (
|
|
479
|
+
- Backoff window default = `stale_after` (2h). `force=true` bypasses backoff for a manual run.
|
|
403
480
|
- A *changed* fingerprint (new blocker state, new answers, new verdict) always warrants a fresh
|
|
404
481
|
note + re-attempt — backoff suppresses only no-op repeats.
|
|
405
482
|
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# Third-Party Notices
|
|
2
|
+
|
|
3
|
+
## Official Expo skills (vendored)
|
|
4
|
+
|
|
5
|
+
The following skills under `skills/` are vendored verbatim from Expo's official
|
|
6
|
+
plugin and are **not** Lisa-authored. Do not hand-edit them; re-vendor from
|
|
7
|
+
upstream to update.
|
|
8
|
+
|
|
9
|
+
- **Source:** https://github.com/expo/skills (`plugins/expo/skills/`)
|
|
10
|
+
- **Upstream commit:** `510373b50956ef4dc84c20bb4c9cce70b618aa06`
|
|
11
|
+
- **License:** MIT — Copyright (c) 2025-present 650 Industries, Inc. (aka Expo)
|
|
12
|
+
|
|
13
|
+
Vendored skills:
|
|
14
|
+
|
|
15
|
+
```
|
|
16
|
+
add-app-clip expo-cicd-workflows expo-ui-jetpack-compose
|
|
17
|
+
building-native-ui expo-deployment expo-ui-swift-ui
|
|
18
|
+
eas-update-insights expo-dev-client native-data-fetching
|
|
19
|
+
expo-api-routes expo-module upgrading-expo
|
|
20
|
+
expo-brownfield expo-tailwind-setup use-dom
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
These ship alongside Lisa's own opinionated Expo/React Native skills
|
|
24
|
+
(`apollo-client`, `gluestack-nativewind`, `container-view-pattern`, etc.), which
|
|
25
|
+
they complement rather than replace. Notably both `expo-tailwind-setup`
|
|
26
|
+
(Tailwind v4 / NativeWind v5) and Lisa's `gluestack-nativewind` (Gluestack v3 /
|
|
27
|
+
NativeWind v4) are kept intentionally; choose per project.
|
|
28
|
+
|
|
29
|
+
The accompanying `expo` MCP server in `.mcp.json` points at Expo's official
|
|
30
|
+
remote server (`https://mcp.expo.dev/mcp`), replacing the previously bundled
|
|
31
|
+
third-party `expo-local-docs-mcp` stdio server.
|
|
32
|
+
|
|
33
|
+
### MIT License
|
|
34
|
+
|
|
35
|
+
```
|
|
36
|
+
The MIT License (MIT)
|
|
37
|
+
|
|
38
|
+
Copyright (c) 2025-present 650 Industries, Inc. (aka Expo)
|
|
39
|
+
|
|
40
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
41
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
42
|
+
in the Software without restriction, including without limitation the rights
|
|
43
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
44
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
45
|
+
furnished to do so, subject to the following conditions:
|
|
46
|
+
|
|
47
|
+
The above copyright notice and this permission notice shall be included in all
|
|
48
|
+
copies or substantial portions of the Software.
|
|
49
|
+
|
|
50
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
51
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
52
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
53
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
54
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
55
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
56
|
+
SOFTWARE.
|
|
57
|
+
```
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Explore gaps in the automated Playwright/e2e suite: inventory the app's routes and existing tests, find routes with no coverage or flows tested only on the happy path (missing error, permission, empty, loading, and edge cases), confirm each in the running app, and file one build-ready missing-test ticket per gap via lisa:tracker-write. The optional ready flag (default true) controls build-ready vs backlog. For human usability issues, use exploratory-qa instead."
|
|
3
|
+
allowed-tools: ["Skill"]
|
|
4
|
+
argument-hint: "[target-url | env] [ready=true|false]"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
Use the /lisa-expo:e2e-coverage-gaps skill to inventory the app's routes and the existing Playwright suite, find uncovered and happy-path-only paths, confirm each gap in the running app, and file one build-ready missing-test ticket per gap via lisa:tracker-write (build-ready per the ready flag, default true). For human usability/experience findings, use /lisa-expo:exploratory-qa. $ARGUMENTS
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: "Run a
|
|
2
|
+
description: "Run a first-time-user exploratory QA walkthrough: experience the app like a brand-new human user, clicking through to find anything confusing, broken, or hard to understand (machine-style labels, slow or unclear loads, cramped or cut-off UI, inconsistent UX, awkward scroll behavior) across all breakpoints, and file each finding (bug or usability issue) as a tracked work item via lisa:tracker-write. The optional ready flag marks tickets build-ready (auto-picked-up by lisa:intake) or leaves them in the backlog for human triage (default). For gaps in the automated Playwright suite, use e2e-coverage-gaps instead."
|
|
3
3
|
allowed-tools: ["Skill"]
|
|
4
4
|
argument-hint: "[target-url | env] [ready=true|false]"
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
-
Use the /lisa-expo:exploratory-qa skill to
|
|
7
|
+
Use the /lisa-expo:exploratory-qa skill to experience the app like a brand-new first-time user — landing cold on the home page and clicking through to find anything confusing, broken, or hard to understand across all breakpoints — and file each finding (bugs, usability/clarity issues) as a tracked work item via lisa:tracker-write, build-ready or in triage per the ready flag (default: triage). For automated Playwright coverage gaps, use /lisa-expo:e2e-coverage-gaps. $ARGUMENTS
|
|
@@ -0,0 +1,280 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: add-app-clip
|
|
3
|
+
description: Add an iOS App Clip target to an Expo app. Use when the user mentions App Clip, AASA, apple-app-site-association, appclips, smart app banner, or wants to ship a lightweight iOS Clip invoked from a URL alongside their parent app.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Add an App Clip to an Expo App
|
|
7
|
+
|
|
8
|
+
Adds an iOS App Clip target to an Expo project. The Clip lives in `targets/clip/`, ships alongside the parent app, and is invoked from a URL on the app's domain via an Apple App Site Association (AASA) file.
|
|
9
|
+
|
|
10
|
+
The parent app's bundle ID becomes `com.<username>.<app-name>` and the Clip's is automatically derived as `<parent>.clip` (e.g. `com.bacon.may20.clip`).
|
|
11
|
+
|
|
12
|
+
## 1. Set `bundleIdentifier` and `appleTeamId`
|
|
13
|
+
|
|
14
|
+
`bun create target` warns if these are missing. Add to `app.json`:
|
|
15
|
+
|
|
16
|
+
```json
|
|
17
|
+
{
|
|
18
|
+
"expo": {
|
|
19
|
+
"ios": {
|
|
20
|
+
"bundleIdentifier": "com.<username>.<app-name>",
|
|
21
|
+
"appleTeamId": "XX57RJ5UTD"
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## 2. Add the App Clip target
|
|
28
|
+
|
|
29
|
+
```sh
|
|
30
|
+
bun create target clip
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
This installs [`@bacons/apple-targets`](https://github.com/EvanBacon/expo-apple-targets), adds it to the `plugins` array in `app.json`, and writes:
|
|
34
|
+
|
|
35
|
+
- `targets/clip/expo-target.config.js` — the target's config plugin
|
|
36
|
+
- `targets/clip/Info.plist` — Clip Info.plist
|
|
37
|
+
- `targets/clip/AppDelegate.swift`, `Assets.xcassets`, etc.
|
|
38
|
+
|
|
39
|
+
Pick a good icon or reuse the existing one defined in the app — check it with `bunx expo config` under the `icon` or `ios.icon` key.
|
|
40
|
+
|
|
41
|
+
## 3. Wire up associated domains
|
|
42
|
+
|
|
43
|
+
The parent app and the Clip each need the Associated Domains entitlement pointing at the domain that hosts the AASA file.
|
|
44
|
+
|
|
45
|
+
In `app.json`, add both `applinks:` (parent) and `appclips:` (Clip invocation) entries:
|
|
46
|
+
|
|
47
|
+
```json
|
|
48
|
+
{
|
|
49
|
+
"expo": {
|
|
50
|
+
"ios": {
|
|
51
|
+
"associatedDomains": [
|
|
52
|
+
"applinks:may20.expo.app",
|
|
53
|
+
"appclips:may20.expo.app"
|
|
54
|
+
]
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
In `targets/clip/expo-target.config.js`, declare the Clip's entitlement:
|
|
61
|
+
|
|
62
|
+
```js
|
|
63
|
+
/** @type {import('@bacons/apple-targets/app.plugin').ConfigFunction} */
|
|
64
|
+
module.exports = (config) => ({
|
|
65
|
+
type: "clip",
|
|
66
|
+
icon: "https://github.com/expo.png",
|
|
67
|
+
entitlements: {
|
|
68
|
+
"com.apple.developer.associated-domains": ["appclips:may20.expo.app"],
|
|
69
|
+
},
|
|
70
|
+
});
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
> If you skip this, `expo prebuild` will print: `Apple App Clip may require the associated domains entitlement but none were found`.
|
|
74
|
+
|
|
75
|
+
## 4. Register bundle IDs and create the App Store entry
|
|
76
|
+
|
|
77
|
+
```sh
|
|
78
|
+
bunx setup-safari
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
This logs in to the Apple Developer account, registers `com.bacon.may20`, creates the App Store Connect entry, and prints:
|
|
82
|
+
|
|
83
|
+
- A starter `apple-app-site-association` JSON
|
|
84
|
+
- A `<meta name="apple-itunes-app">` tag with the iTunes app id
|
|
85
|
+
- Team ID, iTunes ID, and Bundle ID
|
|
86
|
+
|
|
87
|
+
## 5. Host the AASA file
|
|
88
|
+
|
|
89
|
+
App Clips are invoked when iOS fetches `https://<your-domain>/.well-known/apple-app-site-association` and finds a matching `appclips` entry.
|
|
90
|
+
|
|
91
|
+
```sh
|
|
92
|
+
mkdir -p public/.well-known
|
|
93
|
+
touch public/.well-known/apple-app-site-association
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
Paste the JSON `setup-safari` printed, but **add an `appclips` block** for the Clip's full app ID (`<TeamID>.<ClipBundleID>`). The output of `setup-safari` only covers the parent app:
|
|
97
|
+
|
|
98
|
+
```json
|
|
99
|
+
{
|
|
100
|
+
"applinks": {
|
|
101
|
+
"details": [
|
|
102
|
+
{
|
|
103
|
+
"appIDs": ["XX57RJ5UTD.com.bacon.may20"],
|
|
104
|
+
"components": [{ "/": "*", "comment": "Matches all routes" }]
|
|
105
|
+
}
|
|
106
|
+
]
|
|
107
|
+
},
|
|
108
|
+
"appclips": {
|
|
109
|
+
"apps": ["XX57RJ5UTD.com.bacon.may20.clip"]
|
|
110
|
+
},
|
|
111
|
+
"activitycontinuation": {
|
|
112
|
+
"apps": ["XX57RJ5UTD.com.bacon.may20"]
|
|
113
|
+
},
|
|
114
|
+
"webcredentials": {
|
|
115
|
+
"apps": ["XX57RJ5UTD.com.bacon.may20"]
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
Notes:
|
|
121
|
+
|
|
122
|
+
- The file has **no extension** and **no `Content-Type` requirements** beyond being served as-is. Expo Router static export serves files in `public/` verbatim.
|
|
123
|
+
- The `appclips` block is what lets a URL on the domain launch the Clip.
|
|
124
|
+
- `webcredentials` is used for sharing credentials between the website, parent app, and the App Clip.
|
|
125
|
+
- `activitycontinuation` is optional and used for sharing the link between mobile and desktop. Must be used with `Head` from expo-router — see https://docs.expo.dev/router/advanced/apple-handoff/
|
|
126
|
+
- Notation and route-disabling details: https://sosumi.ai/documentation/xcode/supporting-associated-domains
|
|
127
|
+
|
|
128
|
+
## 6. Add the Smart App Banner meta tag
|
|
129
|
+
|
|
130
|
+
Create `src/app/+html.tsx` (Expo Router's HTML shell) and add the tag from `setup-safari`. Create the versioned template if it doesn't exist:
|
|
131
|
+
|
|
132
|
+
```sh
|
|
133
|
+
bunx expo customize src/app/+html.tsx
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
Add the meta tag to the `<head>`:
|
|
137
|
+
|
|
138
|
+
```tsx
|
|
139
|
+
import { ScrollViewStyleReset } from "expo-router/html";
|
|
140
|
+
|
|
141
|
+
export default function Root({ children }: { children: React.ReactNode }) {
|
|
142
|
+
return (
|
|
143
|
+
<html lang="en">
|
|
144
|
+
<head>
|
|
145
|
+
<meta charSet="utf-8" />
|
|
146
|
+
<meta httpEquiv="X-UA-Compatible" content="IE=edge" />
|
|
147
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
148
|
+
<meta name="apple-itunes-app" content="app-id=6771566491" />
|
|
149
|
+
<ScrollViewStyleReset />
|
|
150
|
+
</head>
|
|
151
|
+
<body>{children}</body>
|
|
152
|
+
</html>
|
|
153
|
+
);
|
|
154
|
+
}
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
To make the website show the App Clip card instead of the install card, use:
|
|
158
|
+
|
|
159
|
+
```html
|
|
160
|
+
<meta
|
|
161
|
+
name="apple-itunes-app"
|
|
162
|
+
content="app-id=6771566491, app-clip-bundle-id=com.bacon.may20.clip, app-clip-display=card"
|
|
163
|
+
/>
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
## 7. Deploy the website
|
|
167
|
+
|
|
168
|
+
The AASA file must be live before iOS will trust the association. Use [EAS Hosting](https://docs.expo.dev/eas/hosting/):
|
|
169
|
+
|
|
170
|
+
```sh
|
|
171
|
+
bunx expo export -p web
|
|
172
|
+
eas deploy --prod
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
This publishes the site (including `/.well-known/apple-app-site-association`) at `https://<slug>.expo.app`. Verify:
|
|
176
|
+
|
|
177
|
+
```sh
|
|
178
|
+
curl https://may20.expo.app/.well-known/apple-app-site-association
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
## 8. Mirror permissions
|
|
182
|
+
|
|
183
|
+
Inspect the parent app's permissions after prebuild:
|
|
184
|
+
|
|
185
|
+
```sh
|
|
186
|
+
npx expo config --type introspect
|
|
187
|
+
```
|
|
188
|
+
|
|
189
|
+
Look at the `infoPlist` object — mirror the permission keys in the App Clip's `Info.plist` so matching APIs can be used from the Clip.
|
|
190
|
+
|
|
191
|
+
Set `deploymentTarget: "17.6"` in the Clip's target config — App Clips have a higher minimum size limit in iOS 17.6.
|
|
192
|
+
|
|
193
|
+
If the app uses push notifications or location services, add to the App Clip's `Info.plist` to request the necessary permissions:
|
|
194
|
+
|
|
195
|
+
```xml
|
|
196
|
+
<key>NSAppClip</key>
|
|
197
|
+
<dict>
|
|
198
|
+
<key>NSAppClipRequestEphemeralUserNotification</key>
|
|
199
|
+
<false/>
|
|
200
|
+
<key>NSAppClipRequestLocationConfirmation</key>
|
|
201
|
+
<true/>
|
|
202
|
+
</dict>
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
## 9. Build and submit to TestFlight
|
|
206
|
+
|
|
207
|
+
```sh
|
|
208
|
+
bunx testflight
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
This will:
|
|
212
|
+
|
|
213
|
+
1. Generate an `eas.json` if missing.
|
|
214
|
+
2. Set up credentials for **both** targets (parent + Clip). Each gets its own provisioning profile but can share a single Distribution Certificate.
|
|
215
|
+
3. Sync capabilities — note `Enabled: Associated Domains` for the Clip target.
|
|
216
|
+
4. Build, upload, and schedule a TestFlight submission.
|
|
217
|
+
|
|
218
|
+
## 10. Configure App Clip metadata
|
|
219
|
+
|
|
220
|
+
Pull existing App Store metadata to local:
|
|
221
|
+
|
|
222
|
+
```sh
|
|
223
|
+
eas metadata:pull
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
Add `apple.appClip` to `store.config.json`. Up to 3 invocation URLs can launch the Clip from a web page:
|
|
227
|
+
|
|
228
|
+
```json
|
|
229
|
+
{
|
|
230
|
+
"configVersion": 0,
|
|
231
|
+
"apple": {
|
|
232
|
+
"appClip": {
|
|
233
|
+
"defaultExperience": {
|
|
234
|
+
"action": "PLAY",
|
|
235
|
+
"releaseWithAppStoreVersion": true,
|
|
236
|
+
"reviewDetail": {
|
|
237
|
+
"invocationUrls": ["https://may20.expo.app/", null, null]
|
|
238
|
+
},
|
|
239
|
+
"info": {
|
|
240
|
+
"en-US": {
|
|
241
|
+
"subtitle": "Instantly native with Expo",
|
|
242
|
+
"headerImage": "store/apple/app-clip/en-US/asc-app-clip.png"
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
```
|
|
250
|
+
|
|
251
|
+
The `headerImage` must be a 1800x1200 PNG with no opacity.
|
|
252
|
+
|
|
253
|
+
Push back to the store:
|
|
254
|
+
|
|
255
|
+
```sh
|
|
256
|
+
eas metadata:push
|
|
257
|
+
```
|
|
258
|
+
|
|
259
|
+
Apple's recommended App Clip metadata guidelines: https://sosumi.ai/documentation/appclip/configuring-the-launch-experience-of-your-app-clip
|
|
260
|
+
|
|
261
|
+
## What you get
|
|
262
|
+
|
|
263
|
+
- Parent app target: `com.bacon.may20`
|
|
264
|
+
- App Clip target: `com.bacon.may20.clip`, lives in `targets/clip/`
|
|
265
|
+
- AASA hosted at `https://may20.expo.app/.well-known/apple-app-site-association`
|
|
266
|
+
- Smart App Banner meta tag on every web route
|
|
267
|
+
- Every route linked to its native counterpart
|
|
268
|
+
- TestFlight build of the parent app with the Clip embedded
|
|
269
|
+
|
|
270
|
+
Once Apple invokes the Clip from a URL on the domain, iOS opens `targets/clip/`'s entry point which loads the React Native app.
|
|
271
|
+
|
|
272
|
+
## Native detection (optional)
|
|
273
|
+
|
|
274
|
+
To let JS detect when it's running inside an App Clip and present an install prompt for the full app, create a local Expo module (`bunx create-expo-module --local`) that exposes `navigator.appClip.prompt()`.
|
|
275
|
+
|
|
276
|
+
See [./references/native-module.md](./references/native-module.md) for the Swift module, TypeScript interface, and usage.
|
|
277
|
+
|
|
278
|
+
## References
|
|
279
|
+
|
|
280
|
+
- ./references/native-module.md — Local Expo module to detect App Clip context and present the SKOverlay install prompt
|