Tunal/docs/HANDOFF.md
astar76 e87cb896ed docs: handoff update (S023, S028 done; S029, S030 running)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 00:12:36 -06:00

32 lines
2.7 KiB
Markdown

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Handoff — orchestrator
Goal: build Tunal by running Plans/INDEX.md plans through nested sessions (`/orchestrate`).
Current phase: 2–3 (app skeleton, file browsing). Snapshot 2026-11-18 ~10:15; the live state is `Plans/INDEX.md`, the plan files' checkboxes, and `git log`.
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.
In progress (sessions linked to the orchestrator; message by `local_…` id):
- S029 SFTP UI — running in the reused S027/S028 session (`local_5edf8c22-896a-44bf-b96d-def079b39ac5`)
- S030 native DnD Wayland — running in parallel in the reused S014 session (`local_cdbce03a-99ee-431f-aa19-2a701326e865`)
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. Validate S029 and S030.
2. Then S031 native DnD X11 (after S030, same session), beside S032 core tests (Sonnet).
3. Then phase 12: S032, S033 tests, S034 UI review (include the breadcrumb leftover), S035/S036 🧑 stops, S037 packaging.
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.
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.
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.