Repository navigation
Scheduled Patrol (ROADMAP #8)
Added
adb_patrol_checktool: one-click patrol = crash scan (real vs. boot markers) + perf vs. latest stored baseline (thresholded regressions) + battery/temperature/storage -> compact verdict (ok/attention) with concrete issuescompareToLast: true: delta vs. the previous stored patrol — new/gone crashes, worsening regressions (e.g. Janky % 60%->140%), verdict transition; delta lines prefixed into report.lines- Fail-closed semantics: a section that cannot be collected is itself an issue ("couldn't check" != "no problem")
- No baseline -> comparison skipped with a note (not an error); omit
package-> perf section skipped - Reports persisted under
<reportDir>/patrol/(isolated from device health reports) - docs/SCHEDULED-PATROL.md (bilingual): run the patrol unattended with dsh-automation — self-contained prompt template (verdict-based drill-down), automation_create example, operational gotchas
Verified: 114 unit tests green (22 patrol cases); real-device verified on Redmi K50 Pro (first part 4/4 PASS + diff-chain PASS: first patrol no delta -> store -> second patrol delta present with correct comparedTo label). 15 tools total.