Medlar/docs/HANDOFF.md
astar76 91458fdc08 S000: handoff after the merge
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 12:33:10 -06:00

2.7 KiB

Handoff (orchestrator, 2026-11-25 08:00)

Goal: run the 40 plans of Plans/INDEX.md with /orchestrate; end with a tested AppImage and tar.gz, published only after the user's yes (S040).

Phase: 01 Foundation done. 02 Engine: S009, S012 left. 03 Interface: S016, S017 left. 04 Control: S019 done, S020–S022 left. Then 05–09.

Done and validated (15 of 40): S001–S008, S010, S011, S013–S015, S018, S019. Code in crates/, one entry per plan in docs/PROGRESS.md. All tests green on 83ef4be, run by the orchestrator.

In progress: nothing; every session is idle, the tree is clean.

Next three: start and GO S009 (core), S012 (core), S016 (app); all their dependencies are done. S020 and S021 (core) are ready too.

How the sessions are run: one shared worktree and branch, three at once (D-016), small GO message naming the other running plans, own decision numbers for each (next free: D-052), own hunks only, questions to the orchestrator. Sessions can only be started on a turn the user began, so start enough waiting ones then. Sessions tick boxes in one batch whatever they are told; the tracker then gets one sync.

Known bugs and gaps (details in PROGRESS)

  • The debug build opens no window in tools/hidden.sh; the release build does. Cause unknown (S013).
  • Nothing deletes a task's keyring item yet; S024 (or whoever saves task secrets first) must, and keep items shared by KeepBoth (S010).
  • The app does not set ClientOptions::known_hosts; no prompt for SFTP host keys, no field for Site::key (S011, S018).
  • Queue fields paused, max_active, schedule, after, start_at are not read by the manager: check that S021 covers them (S006's notes say S009).
  • recover.rs test bus still has the system's service files (S010 fixed its own). /tmp quota: use TMPDIR=target/tmp for tests; timing tests suffer under load.
  • The real NetworkManager, logind, keyring, FTP servers, GPU and the slow line were never tried.

Commands: nice cargo test -j 2, nice cargo build --release -j 2 (never both), cargo test -p medlar --test shots, tools/hidden.sh.

Decisions: D-014 (main is fast-forwarded after each validated category; on 2026-11-25 the user also had it merged at 15 plans), D-016 (three at once), D-017 to D-051 in docs/DECISIONS.md. The user wants caveman replies and low credit use; overnight: decide alone, publish nothing, no extra credits.

Budget: about 2.3 % of the weekly limit per plan, 12 to 15 % of a 5-hour window; weekly was at 35 % with 15 plans done.

Open questions

  • The user's power-off request was for the night of 2026-11-25 only; it did not trigger.
  • Rules that cost more than they give: 3 waiting sessions (1 is enough), a tracker sync per box (start and end are enough).