# Decisions `D-NNN — date — decision — why — plans affected`. Never rewrite an entry; supersede it with a new one. - D-001 — 2026-11-24 — The app is called Medlar (binary `medlar`). — User's choice. — all - D-002 — 2026-11-24 — Linux only: AppImage and tar.gz. — User's choice. — all - D-003 — 2026-11-24 — Own browser extension and own protocol; no AB Download Manager protocol. Nacre's existing "custom manager" JSON is accepted as it is, so Nacre needs no change. — User chose "own extension only"; Nacre already posts this format (`~/Projects/Nacre/src/net/dlm.rs`, `custom_body`). — 05 - D-004 — 2026-11-24 — No user stops during the work. The user is asked only before a release, and for things only they can do. — User's choice. — all - D-005 — 2026-11-24 — Rust, egui/eframe 0.37 (glow), tokio. Motion starts from Damson's `src/motion.rs`, colour from Damson's `src/theme.rs`, shapes and the wavy line from Mulberry's `src/ui/shape.rs` and `src/ui/widgets.rs` (the user's own MIT code). — Same stack as the user's other apps. — all - D-006 — 2026-11-24 — Default port 17616, 127.0.0.1 only. ABDM keeps 15151 on this PC and is left alone. — Free on this PC; no clash. — 05 - D-007 — 2026-11-24 — Torrent engine is librqbit if it passes a spike (features in FEATURES 5, loopback swarm); otherwise libtorrent-rasterbar through a small C++ bridge. — Pure Rust is easier to bundle. — 06 - D-008 — 2026-11-24 — The `/improve-animations` audit runs after the interface exists (category 08). Its "ask which findings" step is answered in advance: plan every HIGH and MEDIUM finding. Its plans go to `animation-plans/`. `AUDIT.md`, `PLAN-TEMPLATE.md` and `review-animations` are not installed with that skill, so the audit uses the eight categories named in its SKILL.md plus the motion rules in app-taste. — D-004. — 08 - D-009 — 2026-11-24 — `yt-dlp` and `ffmpeg` ship with the app; nothing tells the user to install something. — User's standing preference. — 06, 09 - D-010 — 2026-11-24 — No BitTorrent and no browser extension. The browser hands links straight to the local port; continuing from links and error recovery are first-class. Supersedes D-003's extension and D-007. — User's choice. — 02, 05 - D-011 — 2026-11-24 — Nothing is downloaded except Rust crates. Tests and builds use the yt-dlp and ffmpeg in /usr/bin and the appimagetool already in `~/Projects/Mulberry/dist`. Bundling yt-dlp and ffmpeg waits for the user; until then a missing tool shows a designed state. Supersedes D-009. — User's choice. — 06, 09 - D-012 — 2026-11-24 — Colours: "Follow desktop" and "Own colour" are equal choices in settings and first run; desktop is preselected when a scheme is found, otherwise own colour. — User answered "both". — 03 - D-013 — 2026-11-24 — 40 plans, reviewed by the user as a 43-plan table, then cut: torrents and extension out, error recovery (S007) and continuing from new links (S008) added. — User's answers. — all - D-014 — 2026-11-24 — Work happens on the branch `claude/caveman-orchestrate-run-41d3a3`; the orchestrator fast-forwards `main` (local and `origin`) after each validated category. Sessions push only the branch. — User said yes to merging after each category. — all - D-015 — 2026-11-24 — SQLite and settings hold only keyring item names; the store refuses cookie/authorization headers and `user:password@` in links, mirrors and proxies. Callers split them off first. Tokens in a link's query stay in the link. — Secrets must not sit in plain files. — 02, 04, 05 - D-016 — 2026-11-24 — Up to three plans run at once when they do not depend on each other and their "files touched" do not overlap; waiting sessions may be prepared out of INDEX order for this. All share one target folder, so cargo queues builds by itself. Replaces the "at most two" limit in ORCHESTRATOR.md. — User asked for three at once. — all - D-017 — 2026-11-24 — HTTP client is reqwest 0.13.5 (pinned exactly), rustls with ring and the system certificates, HTTP/1.1 only, `Accept-Encoding: identity`, no decompression, no Referer of its own, its retries off, ≤ 10 redirects, 20 s connect and 30 s idle timeout, no proxy from the environment. Segments go to the final link; cookies and logins are dropped when its origin differs. — Docs of 0.13.5 checked: `http1_only`, `redirect::Policy`, `connect_timeout`, `read_timeout` (per read), `retry::never`. — 02, 05, 06 - D-018 — 2026-11-24 — HTTP/1.1 everywhere; no HTTP/2 or HTTP/3 (1.14), so reqwest's `http2` feature stays off. — Measured over TLS with netem, mean MB/s of HTTP/1.1 ×1, ×4, ×8 and HTTP/2 ×1: loopback 437, 950, 899, 306; 20 ms 8.7, 8.5, 8.9, 8.6; 20 ms with 0.1 % loss (15 runs) 7.6, 6.0, 7.3, 6.6; 50 ms with 0.5 % loss 1.7, 1.8, 3.2, 0.7. HTTP/2 never won. HTTP/3 was not measured: reqwest's needs an unstable build flag and another TLS stack (quinn). — 02 - D-019 — 2026-11-24 — A stored part with `end: None` means the server had no ranges: it starts over on resume unless the server has ranges by then. A part with an end never starts over by itself (`Error::NoResume`, `Error::Changed` instead). The record of parts is written only after `fdatasync` of the data it names. — No state loses finished bytes. — 02