32 lines
2.9 KiB
Markdown
32 lines
2.9 KiB
Markdown
# 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–S011, S017, S019, S020, S022, S025.
|
||
|
||
In progress (sessions linked to the orchestrator; message by `local_…` id):
|
||
- S012 open/properties — running (`local_a269bbc3-0521-4f4e-b121-07a1525a9de4`), resumed after a usage limit at 18:42
|
||
- S013 settings/context menus — running in parallel (`local_664cd431-27fd-4d04-98e0-0c7b0c61eb46`), resumed too
|
||
- Waiting for GO: S038 expressive restyle, fresh session (`local_51db54e3-98a6-404a-829b-7c0da37d4474`), after S012 + S013, runs alone (edits Theme tokens)
|
||
- Prepared earlier in reused long sessions (expensive; prefer a fresh session when a user turn allows): S014 in `local_67d0d63e-763d-4cc7-b3b4-e8ac2249099d`, S015 in `local_158eaad7-2c2d-4ac2-b6ed-63616fa10ac4`, S016 in `local_d5c75f3a-5b6a-4ce7-95f0-06acb6c72069`
|
||
|
||
Next three steps:
|
||
1. Validate S012 and S013; GO S038 alone; look at its screenshots against D-035 (shaped containers, pills, rounded cards).
|
||
2. Then S014, then S015/S016 (S016 touches actions.rs/jobs_bridge.rs/main.rs; S015 touches folder/**; they may pair).
|
||
3. Backend plans for the second slot when the UI slot runs alone: S027 ssh config, S026 MTP location, S024 iOS. Not beside S038.
|
||
|
||
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-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.
|