- Mark all 33 tasks complete in specs/001 tasks.md (85/85 tests passing) - Add NEXT_STEPS.md: spec 002 completion, shellcheck, README ui docs - Add docs/learnings/2026-03-02: BATS fixtures, UIAutomator XML parsing, KDE Connect graceful degradation, scrcpy headless, JSON output pattern
41 lines
1.6 KiB
Markdown
41 lines
1.6 KiB
Markdown
# Next Session Tasks
|
||
|
||
**Last updated**: 2026-03-02
|
||
**Project**: android-fs5
|
||
**Status**: Both specs 001 + 002 complete. 85/85 tests passing.
|
||
|
||
---
|
||
|
||
## Priority 1 — Spec 002 Completion
|
||
|
||
- [ ] Create `specs/002-remote-control/plan.md` — architecture decisions for remote control layer
|
||
- [ ] Create `specs/002-remote-control/tasks.md` — formal task breakdown (T025–T033 retroactively)
|
||
- [ ] Update `specs/002-remote-control/spec.md` Status from `Draft` → `Complete`
|
||
|
||
## Priority 2 — Quality & Hardening
|
||
|
||
- [ ] Run `shellcheck fs5 lib/*.sh` and fix any warnings
|
||
- [ ] Add `lib/input.sh` shellcheck pass (currently used by remote control commands)
|
||
- [ ] Consider adding `--dry-run` flag to `push`/`pull` for safer automation
|
||
- [ ] Add `ui tap` live device integration (currently exits 1 for nonexistent elements only)
|
||
|
||
## Priority 3 — Documentation
|
||
|
||
- [ ] Update `README.md` with `ui` subcommand documentation (added in latest commit)
|
||
- [ ] Add usage examples for `ocr`, `sms otp`, `ui find` to README
|
||
- [ ] Consider a `docs/` directory with architecture diagram (Mermaid)
|
||
|
||
## Priority 4 — Future Features
|
||
|
||
- [ ] `fs5 record` — screen recording via scrcpy (`--record output.mp4`)
|
||
- [ ] `fs5 sms send` — send SMS via KDE Connect CLI
|
||
- [ ] `fs5 notify` — read/dismiss Android notifications via KDE Connect
|
||
- [ ] TOTP extraction from authenticator app via OCR + `ui find`
|
||
|
||
## Notes
|
||
|
||
- Device serial: `RD51QE202392` (Samsung FS5, configured in `.env`)
|
||
- KDE Connect must be paired for `sms` commands to work fully
|
||
- UIAutomator XML fixture at `tests/fixtures/ui_dump.xml` used for offline ui tests
|
||
- scrcpy 3.3.4 on host; tesseract required for `ocr` command
|