You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .claude/skills/agent-device-pr-media/SKILL.md
+1-8Lines changed: 1 addition & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ No interactive prompts. Missing inputs that cannot be defaulted hard-fail.
44
44
45
45
## Tests parsing rules
46
46
47
-
The **only hard rule**: tests live under the `### Tests` heading. Everything inside it varies wildly across authors - single numbered list, multiple numbered lists with restarts, h4 sub-headers, prose paragraphs, "N/A", or empty. Do not mechanically parse it; let the LLM interpret structure.
47
+
The **only hard rule**: tests live under the `### Tests` heading. Everything inside it varies wildly across authors.
48
48
49
49
Operating on the `### Tests` block of the PR body:
50
50
@@ -117,12 +117,6 @@ For each flow, in order:
117
117
4.**On Phase 2 replay failure** (cache hit path only): the cached script is stale (UI changed under it). Delete the cache entry, mark the flow `cache: "invalidated"`, re-run Phase 1 fresh, retry Phase 2 once. If the retry still fails, mark `phase2_failed`.
118
118
5.**On Phase 2 success** (cache hit path): bump `last_used_ts` and increment `hits` in the meta file.
119
119
120
-
### TTL / disk hygiene
121
-
122
-
- No hard TTL. Self-healing on replay failure handles correctness; old unused entries just sit on disk.
123
-
- Soft cap: at the start of each run, prune entries with `last_used_ts` older than 30 days. Keeps the cache directory bounded without forcing regeneration of frequently-used flows.
124
-
-`--cache-clear` wipes the whole cache up-front (escape hatch).
125
-
126
120
## Capture loop (per flow per platform)
127
121
128
122
Two phases per flow. Lifecycle delegated to the parent skill's bring-up. Phase 1 is skipped on cache hit (see above).
@@ -329,7 +323,6 @@ Hitting any cap marks the flow `phase1_failed` / `phase2_failed` and proceeds to
329
323
- Mobile web (`iOS: mWeb Safari`, `Android: mWeb Chrome`) and Desktop (`MacOS: Chrome / Safari`) - belong in `playwright-app-testing` or a future browser-driver skill.
330
324
- Standalone (non-HybridApp) builds - parent skill is HybridApp-only and this specialization inherits the gate. Production mobile evidence runs against HybridApp.
331
325
- Device lifecycle (Metro, simulator boot, bundle ID resolution, session reuse, app install verification) - fully delegated to the parent skill's [Bring-up](../agent-device/SKILL.md#bring-up). This skill does not call `agent-device metro prepare`, `xcrun simctl`, or `is-hybrid-app.sh` directly.
332
-
- S3 / R2 / GitHub artifact upload - deferred to Melvin (the eventual CI caller).
333
326
- Editing the PR body or posting PR comments - the skill only writes local files.
334
327
- Interactive prompts of any kind. CI is the eventual host; the skill must run end-to-end without human input.
335
328
- Test data cleanup. Accounts/expenses/workspaces created during runs accumulate; rely on periodic test-account reset.
0 commit comments