feat(skills): add verify-on-device for the new app - #189
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
M1 PR 11:
app/版的實機驗證 skill(ADR 0027;父任務決定 1)。內容
.claude/skills/verify-on-device/:SKILL.md:閉環流程「啟動 → 觀察 → 操作 → 收尾」;預設用測試插件,真實連線只在 ADR 0027 §決定 2 的條件下;每個 PR 都驗 Android 與 Windows;回報必含平台與模式。references/android.md、windows.md、runtime-state.md:dev 開發入口的參數、run-as複製插件、焦點紀錄、資料目錄與fmp.db,以及只清 dev 資料的步驟。scripts/:從舊 skill 複製ax_flatten.py、msaa_tree.ps1、smtc_probe.ps1,另外新增window_shot.ps1,只截 App 視窗。FMP Dev。舊版、新 prod、dev 的執行檔都叫fmp.exe,只比名稱可能點進舊版。ax_flatten.py加了--adb,沒有 Orca 也能讀 Android 的語意樹。verify-legacy-on-device原封不動。app/AGENTS.md的驗證段:照 ADR 0027 §如何確認改寫,並指向這個 skill。AGENTS.md:地圖補上這個 skill。驗證
照 skill 的步驟實際走一遍:
平台:Windows 11(dev debug)|模式:測試插件,不連網
msaa_tree.ps1讀到FMP Dev、dev、兩個插件,以及Dev playback: idle 3/3,共 11 個節點。window_shot.ps1的啟動與-Attach兩種模式都截得到圖。截圖含資料目錄路徑,只存在暫存目錄,不附上。smtc_probe.ps1回SESSIONS=0;M1 還沒有媒體工作階段,這是預期結果。平台:Android 模擬器 emulator-5554(dev debug)|模式:測試插件,不連網
am start啟動到首頁;uiautomator dump讀到FMP Dev、dev、fmp-test 1.0.0;Orca 和--adb兩條路都跑過。審查:opus 審查修了 14 處。重要的幾處:
run-as cat會弄壞拉回來的資料庫;pm clear缺防呆;Review 指南
先看
SKILL.md的「模式與平台」與「回報格式」,這兩段是 ADR 0027 的 review 點。