Medlar/docs/HANDOFF.md
astar76 293b91fecb S000: handoff after S017
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 14:28:50 -06:00

26 lines
2.4 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 (2026-11-25, after the switch to the light rules)
**Goal**: version 1 of Medlar in 13 plans after S009, S012 and S016, then a tested AppImage and tar.gz, published only after the user's yes (S039).
**Phase**: 19 plans done (S001–S019); categories 01 to 03 complete, S017 compiled but untested. Building goes on in INDEX order; testing is category 09.
**In progress**: nothing. S009, S012 and S016 have tests and need no test file; S017 has its checks in `docs/tests/S017-details.md`.
**Next three**: S021, S022, S023, by `/orchestrate` in a new session (one `plan-worker` at a time; rules in the `orchestrate` skill). Do not GO the old waiting sessions s017, s020, s021.
**Known bugs and gaps** (details in PROGRESS)
- S017: `ServerView` is not in `TaskView`, so Mirrors lists links only; `Details.extra` is declared, not drawn; old tests that list all actions or strings may break.
- 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: S021 must cover them.
- `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**: build plans `nice cargo check -q -j 2 -p medlar`; test phase `nice cargo test -j 2`, `nice cargo build --release -j 2` (never both), `tools/hidden.sh`.
**Decisions**: D-060 in `ORCHESTRATOR.md` (one worker, no tests while building, test files in `docs/tests/`); version 1 cut to 13 plans, the rest in `Plans/Later/` (PLAN.md “Later”); D-014 (main fast-forwarded after each category). Next free: D-061, or what `docs/DECISIONS.md` says. Short caveman replies; publish nothing; no extra credits.
**Budget**: the old way cost about 2.3 % of the week per plan. The new way: S017 cost about 1 % of the week and 8 % of the 5-hour limit (one plan measured; weekly 46 %, 2026-11-25).
**Open questions**: none. The tracker counts five merged plans (S035, S036, S038, S040, S042, in “Later”) as done.