Medlar/docs/HANDOFF.md
astar76 63f0046965 S046: tick plan boxes; handoff for the next session
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 13:18:32 -06:00

2.7 KiB

Handoff (2026-11-26, after 0.1.0 and the 0.1.1 fixes)

Goal: Medlar 0.1.1 with the user's fixes, installed on this PC through pacman, then a bug hunt. Releases on Astar Hub only after the user's yes.

Phase: version 1 done; 0.1.0 released (AppImage, tar.gz, Arch package, SHA256SUMS). Category 10 Distribution in progress. Work happens on branch claude/orchestrate-019859 (worktree .claude/worktrees/orchestrate-019859); main is fast-forwarded after each finished category or release (D-014/D-052).

Done

  • S045: installer.sh, packaging/arch/PKGBUILD (medlar-bin), tools/package.sh builds the Arch package.
  • S046 (0.1.1, check its INDEX line): sender names like output.bin give way to the server's name; arrivals raise the window (Focus + RequestUserAttention); Ctrl+C/Ctrl+A go to focused text fields; speed number smoothed and held ~1 s; Appearance setting "Progress bar: One bar / One per part"; snail mode capped at 8 kB/s (old 32 KiB default migrated) with a drawn snail button bottom right. Builds in dist/ (git-ignored).

Next three

  1. S047 (Plans/10 Distribution/S047-close-to-tray-wayland.md, Opus): close to tray on Wayland via eframe run_and_return and a session owned by main.
  2. Rebuild 0.1.1 packages after S047; give the user sudo pacman -U ~/Projects/Medlar/dist/Medlar-0.1.1-arch-x86_64.pkg.tar.zst (sudo needs their password; never type it); tell them to quit the running AppImage first. Ask yes/no for publishing 0.1.1 (version, contents, known bugs).
  3. Bug hunt: write a plan (S048) that walks every screen and flow the user uses (Nacre hand-off, settings, modes, snail, tray) and fixes what it finds.

Known bugs and gaps

  • From S046: snail button covers the last row's pause icon at 480x360; idle CPU 11 % with the Add dialog open (check what animates); tray tooltip speed not smoothed; a mirror timing test flaky under load; server names like data-1.bin count as placeholders. Put these in S048 (bug hunt).
  • dist/ now holds only 0.1.1 builds (package.sh wipes it); the 0.1.0 files are in releases/v0.1.0/.
  • Binary needs glibc 2.44; no .deb/.rpm (user chose Arch + installer only).
  • Not run: many MED screen and motion checks, real yt-dlp through the manager, pacman -U, real sudo --system install.
  • yt-dlp gets no cookies or global limit; playlist task named after its last file; soak memory 50 → 63 MB over 52 restarts.

Commands: nice cargo test -j 2 (absolute TMPDIR), nice cargo build --release -j 2 (never both), tools/hidden.sh, tools/package.sh (ARCH_ONLY=1 for the package only).

Decisions: the user's Medlar runs on 17616 from the 0.1.0 AppImage: tests use a spare port and throwaway home. The browser (Nacre) sends filename at click time, so it is only a hint.

Open questions: none.