Tunal/docs/HANDOFF.md
2026-11-18 13:54:31 -06:00

30 lines
2.5 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–S008, S017, S019, S020, S022.
In progress (sessions linked to the orchestrator; reuse them, message by `local_…` id):
- S009 grid view — running (`local_9be630ca-ac7f-4f23-8b8b-6b68504e30c1`)
- S010 navigation shell — running in parallel (`local_d5c75f3a-5b6a-4ce7-95f0-06acb6c72069`); they coordinate edits to app.slint/main.rs by message
- Waiting for GO: S011 (`local_a175630c-b7c0-4125-95ff-2e22145a0173`, after S010), S012 (`local_a269bbc3-0521-4f4e-b121-07a1525a9de4`, after S011), S013 (`local_664cd431-27fd-4d04-98e0-0c7b0c61eb46`, after S011)
- Idle, done, reusable: S019/S020 session `local_158eaad7-2c2d-4ac2-b6ed-63616fa10ac4` (Sonnet), S022 `local_1dda3453-c25f-4d16-8831-72a5013f2058` (Opus)
Next three steps:
1. Validate S009 and S010; GO S011 (alone: it depends on both).
2. Backend plans still open for the second slot (D-029): S025 MTP protocol, S027 ssh config; then S023 player UI and S021 tag UI once their UI deps are done.
3. Keep 3 sessions waiting.
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-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.