docs: handoff after overnight run (S033, S034, S037 done; S035 review and S036 checks open)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
astar76 2026-11-19 05:19:20 -06:00
commit 389c9c7514
2 changed files with 29 additions and 25 deletions

View file

@ -1,31 +1,37 @@
# Handoff — orchestrator
# Handoff — 2026-11-19 05:20 (overnight orchestrator run)
Goal: build Tunal by running Plans/INDEX.md plans through nested sessions (`/orchestrate`).
## Goal
Tunal: Rust/Slint Material You file manager for Linux (see CLAUDE.md, PLAN.md). Deliverable: `tunal` binary + README.md + FEATURES.md.
Current phase: 12 (testing). Snapshot 2026-11-18 ~10:15; the live state is `Plans/INDEX.md`, the plan files' checkboxes, and `git log`.
## Phase
12 Testing / 13 Packaging. All code work is done; only the user's checks remain.
Done and validated: S001–S013, S017, S019, S020, S022, S025, S027, S038 (+fix ac02188), S014 (+breadcrumb centring 5d278be), S039, S015, S016, S018, S026, S021, S024, S023, S028, S029, S030, S031 (phases 1–11 complete).
## Done (this run)
- S033 `9ea6cc3`: tests for thumbs, tags, MusicBrainz (mock), player, ssh/SFTP (in-process server), MTP; 2 bugs fixed.
- S034 `b042dfe`: screenshot matrix command (58 PNGs, CLAUDE.md §5 row), 4 layout fixes.
- S035 `fa09c1b` (steps 1–3): `docs/motion-audit.md`, fixes applied, idle = 0 frames over 11 s; review PNGs in `docs/review/`.
- S037 `a3b1fb1`: `assets/tunal.desktop`, `scripts/install.sh`, README install section, FEATURES final status, STATUS.md.
- S036 step 1 `1cca81e`: `docs/real-world-checks.md`.
- Verified by commands: workspace build, clippy -D warnings, fmt --check, `cargo test --workspace` green; install smoke run into a scratch PREFIX.
In progress (sessions linked to the orchestrator; message by `local_…` id):
- S032 core tests — running alone in the reused S039 session (`local_e4a4134c-7695-4ead-9018-c00a2fb25d5b`, Sonnet)
## In progress / waiting on the user
1. S035 visual review: look at `docs/review/*.png` (or run the app), give a verdict + feedback → then tick S035 boxes 4–5 and INDEX.
2. S036: follow `docs/real-world-checks.md` (polkit password, iPhone, Android, DnD/clipboard with other apps on Wayland + X11, real SFTP host).
3. Install for daily use: `bash scripts/install.sh` (prints the one `sudo install` line for the polkit policy).
Validation tip: while another session has uncommitted work, check committed HEAD in a temporary `git worktree add --detach <scratch> HEAD` with `CARGO_TARGET_DIR` = the repo target; never stash in the shared tree.
## Next three steps
1. User review of S035 → apply feedback (resume the S035 plan at its first unchecked box).
2. Run S036 with the user; fix what fails.
3. Final INDEX ticks for S035/S036; STATUS.md → done.
Next three steps:
1. Validate S032.
2. Then S033 (depends on S032; Sonnet), then S034 UI review (include the breadcrumb leftover in PROGRESS Later).
3. Then phase 12: S032, S033 tests, S034 UI review (include the breadcrumb leftover), S035/S036 🧑 stops, S037 packaging.
## Known bugs / gaps
See PROGRESS.md entries S033–S037 ("Not done" / "Later"): MtpLocation/IosLocation, keyboard-interactive/agent auth and the player engine have no tests; Wayland native DnD never run (no headless compositor); no drag icon on X11.
Cost rules (D-036): sessions use caveman and lean reads; look-ahead 1–2; no recurring heartbeat. On a usage limit, schedule a one-shot CronCreate a few minutes after the reset time that tells sessions to continue.
## Commands
`cargo build --workspace` · `cargo test --workspace` · `cargo clippy --workspace --all-targets -- -D warnings` · `cargo fmt --check` · screenshot matrix: see CLAUDE.md §5.
Automated turns (heartbeat, session events) cannot start new sessions: reuse an idle, finished session for the next plan by messaging it the plan path and GO. A session frozen by a usage limit: message it to continue from its first unchecked box.
## Decisions
D-040: overnight order (S033 ∥ S034, S035 to the review stop, S037 before S036). Plan sessions were reused for S035/S037 because the app refuses new sessions from automated turns.
User overrides for this run (not in ORCHESTRATOR.md): run unattended; the only 🧑 stops are S035 and S036 (D-009, D-013); put only a 🧑 plan on hold and keep the rest running; answer sessions from PLAN/DECISIONS/code and record decisions.
Decisions taken this run: D-035 expressive restyle (S038), D-036 cost rules, D-037 dates/clock + lots of settings; D-021/D-030 playlist sort (user request), D-027 design references (Damson, Mulberry, Nacre), D-028 old prototype as a UI reference only, D-029 backend plans out of order in the second slot.
Build/test: `cargo build --workspace`, `cargo clippy --workspace --all-targets -- -D warnings`, `cargo fmt --check`, `cargo run -p tunal -- --screenshot <png> [--dark]`, `cargo run -p tunal -- --gallery --screenshot <png>`.
Known bugs: none open. Not exercised: S017's thumb example writes to the real ~/.cache/thumbnails (a shared cache, acceptable for smoke); S007's per-mount `.Trash-$uid` trash and moves between drives; S003's live re-theme; S004's live press and hover motion.
Open questions for the user: none.
## Open questions
None for code; everything open needs the user's hands or eyes.

View file

@ -1,3 +1 @@
/orchestrate
Read docs/HANDOFF.md and docs/STATUS.md, then continue from the next steps. Only open other files when you need them. Reuse the linked sessions listed in HANDOFF.md (message them by id) instead of starting duplicates.
Read docs/HANDOFF.md and docs/STATUS.md, then continue from the next steps. Only open other files when you need them.