Medlar/docs/HANDOFF.md
2026-11-26 12:21:28 -06:00

29 lines
2.4 KiB
Markdown

# Handoff (2026-11-26, overnight run done)
**Goal**: version 1 of Medlar, a tested AppImage and tar.gz, published on Astar Hub only after the user's yes (S039).
**Phase**: version 1 done; 0.1.0 released on Astar Hub (2026-11-26, user's yes), three files with matching sizes, notes set. Next: distro packages and installer.sh (user asked).
**Done this run** (branch `claude/orchestrate-019859`, pushed; worktree `.claude/worktrees/orchestrate-019859`)
- S025 video (yt-dlp), S027 rules/clipboard/drop, S033 tray/notify/autostart, S034 motion pass.
- S041, S043, S037 tests; S044 fix plan: every HIGH row in `docs/tests` passes; video page wired into the Add dialog and the manager.
- S039 up to checksums: `dist/Medlar-0.1.0-Linux-x86_64.tar.gz`, `dist/Medlar-0.1.0-x86_64.AppImage`, `dist/SHA256SUMS-0.1.0` (git-ignored; a copy is in `~/Projects/Medlar/dist/`). Both smoke-tested hidden (download from testserver, hash right, idle 0 % CPU). `README.md`, `docs/releases/0.1.0.md`, `docs/tests/S039-package-release.md`.
- `main` was fast-forwarded after categories 06, 07, 08; not after 09 (S039 not finished).
**Next three**
1. User decides the glibc question (below) and says yes or no to 0.1.0.
2. On yes: copy the three files to `releases/v0.1.0/`, `ssh [email protected] 'hub-release notes Medlar v0.1.0' < docs/releases/0.1.0.md`, check the page.
3. `docs/STATUS.md`, PROGRESS, tick S039 and INDEX, commit, fast-forward `main` (D-014/D-052).
**Known bugs and gaps**
- Binary needs **glibc 2.44** (built on Arch): no older distros. An older build host needs a distro rootfs download, which D-011 forbids without the user's yes.
- Not run: hidden UI journeys (engine-tested only), many MED screen and motion checks (S022, S034, parts of S027/S033), real yt-dlp through the manager, AppImage via FUSE and portable `$APPIMAGE`, older distros.
- yt-dlp gets no cookies and no global speed limit; a playlist task is named after its last file.
- Soak memory 50 → 63 MB over 52 restarts (possible slow leak, not chased).
- Flaky under load: parts benchmark, auth proxy names. Tests need an absolute `TMPDIR`.
**Commands**: `nice cargo test -j 2` (absolute TMPDIR), `nice cargo build --release -j 2` (never both), `tools/hidden.sh`, `tools/package.sh`.
**Decisions**: S044 added by the orchestrator as the gate fix plan. yt-dlp and ffmpeg are not bundled (README says so).
**Open questions**: publish 0.1.0 with the glibc 2.44 limit, or build on an older host first?