Compare commits

..
Author SHA1 Message Date
6995672987 S000: handoff names the session way of /orchestrate
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 22:38:43 -06:00
195 changed files with 458 additions and 20897 deletions

View file

@ -69,7 +69,6 @@ Never modify: everything outside this folder. `~/Projects/*` is read-only refere
| `python3 tools/gen_assets.py icons` | adds icons: put the name in `tools/icons.txt` first | S003 |
| `nice cargo build --release -j 2` | release build (never at the same time as the tests) | 01 Foundation |
| `nice cargo test -j 2 -p medlar-testserver` / `cargo run -p medlar-testserver -- [--port N] [--tls] [--media] [--proxies]` | local server with faults and proxy stubs; API in the `crates/testserver/src/lib.rs` header | S002 |
| `PORT=… TS=… tools/tray-check/run.sh <name> <driver> [tray] [second]` | close to tray in a hidden niri with a fake tray host (drivers `tray.sh`, `notray.sh`, `min.sh`); testserver on `$TS` | S047 |
| `ssh [email protected] hub-release` | release notes on Astar Hub (release only, after the user's yes) | now |
Don't assume a tool exists: check first. When your plan creates a tool, add its row here.

182
Cargo.lock generated
View file

@ -583,19 +583,6 @@ dependencies = [
"digest",
]
[[package]]
name = "blake3"
version = "1.8.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6d9e454fc11f76977dc803893aff6304ed33d6a26efae8696573bea74baa27ae"
dependencies = [
"arrayvec",
"cc",
"cfg-if",
"constant_time_eq",
"cpufeatures",
]
[[package]]
name = "block-buffer"
version = "0.12.1"
@ -714,42 +701,18 @@ dependencies = [
"thiserror 1.0.69",
]
[[package]]
name = "calloop"
version = "0.14.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "43b32313e937c8721c9d17ee9bf60699a6402b4b7c2cb6ac1bee0ffcaa4b4e5e"
dependencies = [
"bitflags 2.13.2",
"polling",
"rustix 1.1.6",
"tracing",
]
[[package]]
name = "calloop-wayland-source"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "95a66a987056935f7efce4ab5668920b5d0dac4a7c99991a67395f13702ddd20"
dependencies = [
"calloop 0.13.0",
"calloop",
"rustix 0.38.44",
"wayland-backend",
"wayland-client",
]
[[package]]
name = "calloop-wayland-source"
version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "138efcf0940a02ebf0cc8d1eff41a1682a46b431630f4c52450d6265876021fa"
dependencies = [
"calloop 0.14.5",
"rustix 1.1.6",
"wayland-backend",
"wayland-client",
]
[[package]]
name = "cbc"
version = "0.2.1"
@ -890,12 +853,6 @@ version = "0.10.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "be95d4a884358a21a199689323c29e9256b4a1b315e22f183d155422041d3a9a"
[[package]]
name = "constant_time_eq"
version = "0.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3d52eff69cd5e647efe296129160853a42795992097e8af39800e1060caeea9b"
[[package]]
name = "core-foundation"
version = "0.9.4"
@ -970,15 +927,6 @@ dependencies = [
"cfg-if",
]
[[package]]
name = "crossbeam-queue"
version = "0.3.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "03e8bd762f7479489c70ed6c768ddca99d7296857de437a68dcb2a94365b3fae"
dependencies = [
"crossbeam-utils",
]
[[package]]
name = "crossbeam-utils"
version = "0.8.23"
@ -1403,7 +1351,6 @@ dependencies = [
"profiling",
"raw-window-handle",
"serde",
"smithay-clipboard",
"web-time",
"windows-sys 0.61.2",
"winit",
@ -2655,26 +2602,6 @@ dependencies = [
"accesskit_consumer",
]
[[package]]
name = "ksni"
version = "0.3.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1bcc1cb43797140f74b711f1c4a49f48a7a7429f211c5fb78264e7bcd1e99caf"
dependencies = [
"arc-swap",
"async-executor",
"async-io",
"async-lock",
"crossbeam-queue",
"futures-channel",
"futures-lite",
"futures-util",
"pastey",
"serde",
"task-local",
"zbus",
]
[[package]]
name = "kurbo"
version = "0.11.3"
@ -2812,46 +2739,38 @@ checksum = "7ebb8d8732c6a6df3d8f032a82911cfc747e00efb95cc46e8d0acd5b5b88570c"
[[package]]
name = "medlar"
version = "0.1.1"
version = "0.1.0"
dependencies = [
"arboard",
"chrono",
"dirs",
"eframe",
"egui_kittest",
"image",
"ksni",
"log",
"medlar-cli",
"medlar-core",
"medlar-testserver",
"percent-encoding",
"resvg",
"serde",
"serde_json",
"tempfile",
"tokio",
"url",
"zbus",
]
[[package]]
name = "medlar-cli"
version = "0.1.1"
version = "0.1.0"
dependencies = [
"medlar-core",
]
[[package]]
name = "medlar-core"
version = "0.1.1"
version = "0.1.0"
dependencies = [
"aes",
"arc-swap",
"base64 0.23.1",
"blake3",
"bytes",
"cbc",
"chrono",
"dirs",
"fastrand",
@ -2863,11 +2782,9 @@ dependencies = [
"md-5",
"medlar-testserver",
"percent-encoding",
"quick-xml",
"rcgen",
"regex",
"reqwest",
"roxmltree 0.21.2",
"rusqlite",
"russh",
"russh-sftp",
@ -2876,7 +2793,6 @@ dependencies = [
"rustls-platform-verifier",
"serde",
"serde_json",
"sha1",
"sha2",
"tempfile",
"tokio",
@ -2888,7 +2804,7 @@ dependencies = [
[[package]]
name = "medlar-testserver"
version = "0.1.1"
version = "0.1.0"
dependencies = [
"md-5",
"rcgen",
@ -3662,12 +3578,6 @@ dependencies = [
"phc",
]
[[package]]
name = "pastey"
version = "0.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2ee67f1008b1ba2321834326597b8e186293b049a023cdef258527550b9935b4"
[[package]]
name = "pbkdf2"
version = "0.13.0"
@ -4963,8 +4873,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3457dea1f0eb631b4034d61d4d8c32074caa6cd1ab2d59f2327bd8461e2c0016"
dependencies = [
"bitflags 2.13.2",
"calloop 0.13.0",
"calloop-wayland-source 0.3.0",
"calloop",
"calloop-wayland-source",
"cursor-icon",
"libc",
"log",
@ -4981,44 +4891,6 @@ dependencies = [
"xkeysym",
]
[[package]]
name = "smithay-client-toolkit"
version = "0.20.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0512da38f5e2b31201a93524adb8d3136276fa4fe4aafab4e1f727a82b534cc0"
dependencies = [
"bitflags 2.13.2",
"calloop 0.14.5",
"calloop-wayland-source 0.4.1",
"cursor-icon",
"libc",
"log",
"memmap2",
"rustix 1.1.6",
"thiserror 2.0.21",
"wayland-backend",
"wayland-client",
"wayland-csd-frame",
"wayland-cursor",
"wayland-protocols",
"wayland-protocols-experimental",
"wayland-protocols-misc",
"wayland-protocols-wlr",
"wayland-scanner",
"xkeysym",
]
[[package]]
name = "smithay-clipboard"
version = "0.7.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "71704c03f739f7745053bde45fa203a46c58d25bc5c4efba1d9a60e9dba81226"
dependencies = [
"libc",
"smithay-client-toolkit 0.20.0",
"wayland-backend",
]
[[package]]
name = "smol_str"
version = "0.2.2"
@ -5231,15 +5103,6 @@ dependencies = [
"libc",
]
[[package]]
name = "task-local"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2972044a9e5e448a506a7ff6f0d03b566d8ef4cd6918a58fc59835a0f8666626"
dependencies = [
"pin-project-lite",
]
[[package]]
name = "tempfile"
version = "3.27.0"
@ -5527,7 +5390,6 @@ version = "0.1.44"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "63e71662fa4b2a2c3a26f570f037eb95bb1f85397f3cd8076caed2f026a6d100"
dependencies = [
"log",
"pin-project-lite",
"tracing-attributes",
"tracing-core",
@ -5895,32 +5757,6 @@ dependencies = [
"wayland-scanner",
]
[[package]]
name = "wayland-protocols-experimental"
version = "20250721.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "40a1f863128dcaaec790d7b4b396cc9b9a7a079e878e18c47e6c2d2c5a8dcbb1"
dependencies = [
"bitflags 2.13.2",
"wayland-backend",
"wayland-client",
"wayland-protocols",
"wayland-scanner",
]
[[package]]
name = "wayland-protocols-misc"
version = "0.3.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6e9567599ef23e09b8dad6e429e5738d4509dfc46b3b21f32841a304d16b29c8"
dependencies = [
"bitflags 2.13.2",
"wayland-backend",
"wayland-client",
"wayland-protocols",
"wayland-scanner",
]
[[package]]
name = "wayland-protocols-plasma"
version = "0.3.12"
@ -6401,7 +6237,7 @@ dependencies = [
"bitflags 2.13.2",
"block2 0.5.1",
"bytemuck",
"calloop 0.13.0",
"calloop",
"cfg_aliases",
"concurrent-queue",
"core-foundation 0.9.4",
@ -6422,7 +6258,7 @@ dependencies = [
"raw-window-handle",
"redox_syscall 0.4.1",
"rustix 0.38.44",
"smithay-client-toolkit 0.19.2",
"smithay-client-toolkit",
"smol_str",
"tracing",
"unicode-segmentation",

View file

@ -3,7 +3,7 @@ members = ["crates/*"]
resolver = "3"
[workspace.package]
version = "0.1.1"
version = "0.1.0"
edition = "2024"
license = "MIT"

View file

@ -10,12 +10,12 @@ FEATURES 1.8, 1.13.
- crates/core/src/{segment,host,relink}*
## Steps
- [x] Several sources per file: each checked with S008's comparison before its bytes are used; parts spread by measured speed; a bad mirror is dropped alone
- [x] Metalink 3 and 4 files and the `Link`/`Digest` headers; piece hashes repair single pieces
- [x] Checksums MD5, SHA-1, SHA-256, SHA-512, BLAKE3, hashed off the download threads; sources: metalink, sidecar files, headers, pasted text (type detected by length)
- [x] Verify state and progress in the snapshot; mismatch offers repair (piece hashes), other mirror or restart
- [x] XML parsing hardened: size and depth limits, no entities
- [x] `docs/PROGRESS.md` entry, tick `Plans/INDEX.md`, commit `S009: …`, push
- [ ] Several sources per file: each checked with S008's comparison before its bytes are used; parts spread by measured speed; a bad mirror is dropped alone
- [ ] Metalink 3 and 4 files and the `Link`/`Digest` headers; piece hashes repair single pieces
- [ ] Checksums MD5, SHA-1, SHA-256, SHA-512, BLAKE3, hashed off the download threads; sources: metalink, sidecar files, headers, pasted text (type detected by length)
- [ ] Verify state and progress in the snapshot; mismatch offers repair (piece hashes), other mirror or restart
- [ ] XML parsing hardened: size and depth limits, no entities
- [ ] `docs/PROGRESS.md` entry, tick `Plans/INDEX.md`, commit `S009: …`, push
## End criteria
- `nice cargo test -j 2 -p medlar-core --test mirror` green: fast plus slow mirror, lying mirror, corrupt piece repaired

View file

@ -11,13 +11,13 @@ FEATURES 1.10, 1.11, ffmpeg runner used by media plans.
- docs/DECISIONS.md D-011
## Steps
- [x] ffmpeg finder and runner: argument lists only, progress parsing, cancel, log tail, missing-tool error kind
- [x] HLS: master and media lists, variants, audio groups, AES-128 clear-key as the list itself offers; live lists record until stopped
- [x] DASH: static and simple dynamic manifests, representation choice
- [x] Fragments in parallel with retry, resume after restart, joined without re-encoding
- [x] RTSP and MMS recorded through ffmpeg with stop and size or time limit
- [x] DRM (Widevine, FairPlay, PlayReady signals) is recognised and refused with a plain message
- [x] `docs/PROGRESS.md` entry, tick `Plans/INDEX.md`, commit `S012: …`, push
- [ ] ffmpeg finder and runner: argument lists only, progress parsing, cancel, log tail, missing-tool error kind
- [ ] HLS: master and media lists, variants, audio groups, AES-128 clear-key as the list itself offers; live lists record until stopped
- [ ] DASH: static and simple dynamic manifests, representation choice
- [ ] Fragments in parallel with retry, resume after restart, joined without re-encoding
- [ ] RTSP and MMS recorded through ffmpeg with stop and size or time limit
- [ ] DRM (Widevine, FairPlay, PlayReady signals) is recognised and refused with a plain message
- [ ] `docs/PROGRESS.md` entry, tick `Plans/INDEX.md`, commit `S012: …`, push
## End criteria
- `nice cargo test -j 2 -p medlar-core --test stream` green on fixtures made by ffmpeg

View file

@ -12,14 +12,14 @@ FEATURES 3.1, 3.2, 3.8, and "this continues an earlier download" (4.6).
- docs/FEATURES.md §3
## Steps
- [x] Dialog with link(s), live probe (size, kind shape, resume, parts), name, folder with recents and free space, queue, priority, limit, parts, schedule
- [x] Advanced: headers, cookies, login, referrer, user agent, proxy, mirrors, checksum; remembers folders per type
- [x] Batch: pasted lists, file or clipboard import, patterns `[001-120]`, `{a,b}`, dates, with preview, select and a hard cap
- [x] Duplicates by link, name and checksum: resume, rename, skip or show
- [x] When S008's matcher finds an unfinished download: "Continue that download" first, with the reason
- [x] Paste a new link into a failed task ("Continue from link"), with the verdict shown before anything changes
- [x] Probe errors inline with fixes (login needed, expired); add anyway is possible
- [x] `docs/PROGRESS.md` entry, tick `Plans/INDEX.md`, commit `S016: …`, push
- [ ] Dialog with link(s), live probe (size, kind shape, resume, parts), name, folder with recents and free space, queue, priority, limit, parts, schedule
- [ ] Advanced: headers, cookies, login, referrer, user agent, proxy, mirrors, checksum; remembers folders per type
- [ ] Batch: pasted lists, file or clipboard import, patterns `[001-120]`, `{a,b}`, dates, with preview, select and a hard cap
- [ ] Duplicates by link, name and checksum: resume, rename, skip or show
- [ ] When S008's matcher finds an unfinished download: "Continue that download" first, with the reason
- [ ] Paste a new link into a failed task ("Continue from link"), with the verdict shown before anything changes
- [ ] Probe errors inline with fixes (login needed, expired); add anyway is possible
- [ ] `docs/PROGRESS.md` entry, tick `Plans/INDEX.md`, commit `S016: …`, push
## End criteria
- `nice cargo test -j 2 -p medlar --test add` green

View file

@ -12,14 +12,14 @@ FEATURES 7.2, 7.3, 7.4, 9.3 in place.
- crates/core/src/{verify,mirror}*
## Steps
- [x] Side panel or bottom sheet by width: overview, parts map, graph, log, headers, mirrors, checksum
- [x] File actions: open, show in folder (D-Bus FileManager1), move, rename, copy link, redownload, bin, "file is gone" state
- [x] Tags and notes; tag colours from theme roles only
- [x] Live edits: limit, parts, priority, queue, link, login
- [x] Log with copy, filter and redaction; properties copyable
- [x] Error section: what, why, when tried, next try, all fixes
- [x] Test file `docs/tests/S017-details.md`, with the checks below
- [x] `docs/PROGRESS.md` entry, tick `Plans/INDEX.md`, commit `S017: …`, push
- [ ] Side panel or bottom sheet by width: overview, parts map, graph, log, headers, mirrors, checksum
- [ ] File actions: open, show in folder (D-Bus FileManager1), move, rename, copy link, redownload, bin, "file is gone" state
- [ ] Tags and notes; tag colours from theme roles only
- [ ] Live edits: limit, parts, priority, queue, link, login
- [ ] Log with copy, filter and redaction; properties copyable
- [ ] Error section: what, why, when tried, next try, all fixes
- [ ] Test file `docs/tests/S017-details.md`, with the checks below
- [ ] `docs/PROGRESS.md` entry, tick `Plans/INDEX.md`, commit `S017: …`, push
## End criteria
`nice cargo check -q -j 2 -p medlar` clean

View file

@ -11,14 +11,14 @@ FEATURES 2.6–2.9.
- docs/FEATURES.md §2
## Steps
- [x] Queues: folder, limit, active count, order, schedule, done action; move tasks between them
- [x] Schedules: times, weekdays, once, mode by time grid; time zone, daylight saving and missed-while-asleep rules; the clock is injectable
- [x] Dependencies and delayed start; cycles refused
- [x] When done: shut down, suspend, hibernate, log out, lock, quit, run command, with a cancellable countdown; conditions (all, queue, task)
- [x] logind through zbus, inhibit suspend while downloading; capabilities checked first
- [x] Run program: argument list with placeholders, no shell, timeout, output in the log
- [x] Test file `docs/tests/S021-queues-schedule-power.md`, with the checks below
- [x] `docs/PROGRESS.md` entry, tick `Plans/INDEX.md`, commit `S021: …`, push
- [ ] Queues: folder, limit, active count, order, schedule, done action; move tasks between them
- [ ] Schedules: times, weekdays, once, mode by time grid; time zone, daylight saving and missed-while-asleep rules; the clock is injectable
- [ ] Dependencies and delayed start; cycles refused
- [ ] When done: shut down, suspend, hibernate, log out, lock, quit, run command, with a cancellable countdown; conditions (all, queue, task)
- [ ] logind through zbus, inhibit suspend while downloading; capabilities checked first
- [ ] Run program: argument list with placeholders, no shell, timeout, output in the log
- [ ] Test file `docs/tests/S021-queues-schedule-power.md`, with the checks below
- [ ] `docs/PROGRESS.md` entry, tick `Plans/INDEX.md`, commit `S021: …`, push
## End criteria
`nice cargo check -q -j 2 -p medlar` clean

View file

@ -12,14 +12,14 @@ FEATURES 2.1–2.3, 2.6–2.9 and 9.5 on screen (automatic limiter and quota are
- crates/app/src/ui/{wave,graph}*
## Steps
- [x] Mode switch in the toolbar as a connected group, snail included
- [x] Limit dial: wavy slider with spring handle, log scale, typing and units
- [x] Priority control in rows and details, share preview; "only this one"
- [x] Queue page: cards with live totals, drag tasks and order, edit sheet
- [x] Week grid for modes and starts: paint by drag, keyboard too
- [x] Done-action picker with countdown sheet
- [x] Test file `docs/tests/S022-control-screens.md`, with the checks below
- [x] `docs/PROGRESS.md` entry, tick `Plans/INDEX.md`, commit `S022: …`, push
- [ ] Mode switch in the toolbar as a connected group, snail included
- [ ] Limit dial: wavy slider with spring handle, log scale, typing and units
- [ ] Priority control in rows and details, share preview; "only this one"
- [ ] Queue page: cards with live totals, drag tasks and order, edit sheet
- [ ] Week grid for modes and starts: paint by drag, keyboard too
- [ ] Done-action picker with countdown sheet
- [ ] Test file `docs/tests/S022-control-screens.md`, with the checks below
- [ ] `docs/PROGRESS.md` entry, tick `Plans/INDEX.md`, commit `S022: …`, push
## End criteria
`nice cargo check -q -j 2 -p medlar` clean

View file

@ -12,15 +12,15 @@ A browser hands links to 127.0.0.1:17616; nothing else can abuse it. FEATURES 4.
- CLAUDE.md §4
## Steps
- [x] Server on loopback only, changeable port, on and off live, port-in-use state that names the fix
- [x] `GET /` ping with name and version; `POST /` with one link or a list, unknown fields ignored, size and rate limits, answers 2xx quickly
- [x] Refuses foreign `Host` (DNS rebinding), any web `Origin`, form content types and preflights; no CORS headers
- [x] Checks links (http, https, ftp, ftps, sftp, stream schemes only), names and headers; hop-by-hop and injection headers dropped
- [x] Cookies, referrer and user agent used for the download and kept through the keyring module
- [x] Sender log: when, what, accepted or why not; sender process name from /proc/net/tcp where possible
- [x] docs/CONNECTOR.md: format, examples with curl, security notes
- [x] Test file `docs/tests/S023-port-server.md`, with the checks below
- [x] `docs/PROGRESS.md` entry, tick `Plans/INDEX.md`, commit `S023: …`, push
- [ ] Server on loopback only, changeable port, on and off live, port-in-use state that names the fix
- [ ] `GET /` ping with name and version; `POST /` with one link or a list, unknown fields ignored, size and rate limits, answers 2xx quickly
- [ ] Refuses foreign `Host` (DNS rebinding), any web `Origin`, form content types and preflights; no CORS headers
- [ ] Checks links (http, https, ftp, ftps, sftp, stream schemes only), names and headers; hop-by-hop and injection headers dropped
- [ ] Cookies, referrer and user agent used for the download and kept through the keyring module
- [ ] Sender log: when, what, accepted or why not; sender process name from /proc/net/tcp where possible
- [ ] docs/CONNECTOR.md: format, examples with curl, security notes
- [ ] Test file `docs/tests/S023-port-server.md`, with the checks below
- [ ] `docs/PROGRESS.md` entry, tick `Plans/INDEX.md`, commit `S023: …`, push
## End criteria
`nice cargo check -q -j 2 -p medlar` clean

View file

@ -13,13 +13,13 @@ From a click in the browser to a running or continued download. FEATURES 4.4, 4.
- ~/Projects/Nacre/tools/hidden.sh
## Steps
- [x] Incoming links open the Add dialog filled in; a list opens batch; several in a row queue up without stealing focus twice
- [x] A match to an unfinished download offers "Continue" first and shows the verdict; a task waiting on "open source page" takes the link by itself after the check (partial: only via the Add dialog's own match logic for unfinished downloads; awaited tasks continue by themselves)
- [x] Setting "add without asking" with type and size rules, off by default
- [x] Connector page: state, port, test link button, sender log, steps for Nacre's custom manager
- [x] Single instance by socket; a second launch hands over its arguments; `medlar:` scheme and `.metalink` in the desktop file (partial: .desktop not installed by any script)
- [x] Test file `docs/tests/S024-handoff-flow.md`, with the checks below
- [x] `docs/PROGRESS.md` entry, tick `Plans/INDEX.md`, commit `S024: …`, push
- [ ] Incoming links open the Add dialog filled in; a list opens batch; several in a row queue up without stealing focus twice
- [ ] A match to an unfinished download offers "Continue" first and shows the verdict; a task waiting on "open source page" takes the link by itself after the check
- [ ] Setting "add without asking" with type and size rules, off by default
- [ ] Connector page: state, port, test link button, sender log, steps for Nacre's custom manager
- [ ] Single instance by socket; a second launch hands over its arguments; `medlar:` scheme and `.metalink` in the desktop file
- [ ] Test file `docs/tests/S024-handoff-flow.md`, with the checks below
- [ ] `docs/PROGRESS.md` entry, tick `Plans/INDEX.md`, commit `S024: …`, push
## End criteria
`nice cargo check -q -j 2 -p medlar` clean

View file

@ -12,13 +12,13 @@ FEATURES 6.1 with the system's yt-dlp (D-011).
- `yt-dlp --help` (format, output, progress parts)
## Steps
- [x] Finder and version check, missing and too-old states in plain words
- [x] Probe to JSON: formats, audio, subtitles, chapters, playlists; cached and cancellable
- [x] Add dialog page: quality choice with sizes, audio only, subtitles, playlist picker
- [x] Run as a task: progress template parsed to parts and speed, pause by stop and resume, limits passed on, cookies through a private temp file
- [x] Errors mapped to kinds: private, removed, region, login, unsupported, too many requests; DRM refused
- [x] Test file `docs/tests/S025-video-sites.md`, with the checks below
- [x] `docs/PROGRESS.md` entry, tick `Plans/INDEX.md`, commit `S025: …`, push
- [ ] Finder and version check, missing and too-old states in plain words
- [ ] Probe to JSON: formats, audio, subtitles, chapters, playlists; cached and cancellable
- [ ] Add dialog page: quality choice with sizes, audio only, subtitles, playlist picker
- [ ] Run as a task: progress template parsed to parts and speed, pause by stop and resume, limits passed on, cookies through a private temp file
- [ ] Errors mapped to kinds: private, removed, region, login, unsupported, too many requests; DRM refused
- [ ] Test file `docs/tests/S025-video-sites.md`, with the checks below
- [ ] `docs/PROGRESS.md` entry, tick `Plans/INDEX.md`, commit `S025: …`, push
## End criteria
`nice cargo check -q -j 2 -p medlar` clean

View file

@ -12,14 +12,14 @@ FEATURES 3.3, 3.4, 3.9.
- ~/Projects/Nacre/Cargo.toml (arboard line)
## Steps
- [x] Rules engine: conditions (extension, MIME, host, size, name pattern) to folder, queue, tags, priority, name template; order, test box, default rule set by type
- [x] Name templates with safe placeholders and collision handling
- [x] Clipboard watcher: off, ask, add; filters; ignores our own copies; privacy note; Wayland limits stated honestly
- [x] Drop links, text, lists and `.metalink` on the window with a full-window drop state
- [x] Floating drop target: small wavy ring with speed, own always-on-top window where the compositor allows, else a compact window; accepts drops; context menu
- [x] Rules and clipboard pages
- [x] Test file `docs/tests/S027-rules-clipboard-drop.md`, with the checks below
- [x] `docs/PROGRESS.md` entry, tick `Plans/INDEX.md`, commit `S027: …`, push
- [ ] Rules engine: conditions (extension, MIME, host, size, name pattern) to folder, queue, tags, priority, name template; order, test box, default rule set by type
- [ ] Name templates with safe placeholders and collision handling
- [ ] Clipboard watcher: off, ask, add; filters; ignores our own copies; privacy note; Wayland limits stated honestly
- [ ] Drop links, text, lists and `.metalink` on the window with a full-window drop state
- [ ] Floating drop target: small wavy ring with speed, own always-on-top window where the compositor allows, else a compact window; accepts drops; context menu
- [ ] Rules and clipboard pages
- [ ] Test file `docs/tests/S027-rules-clipboard-drop.md`, with the checks below
- [ ] `docs/PROGRESS.md` entry, tick `Plans/INDEX.md`, commit `S027: …`, push
## End criteria
`nice cargo check -q -j 2 -p medlar` clean

View file

@ -12,13 +12,13 @@ FEATURES 8.1, 8.4.
- ksni docs
## Steps
- [x] Tray icon with progress ring and speed tooltip; menu: modes, pause all, resume all, add, show, quit
- [x] Close to tray, start minimised, autostart file; works without a tray host
- [x] Notifications: done, failed, needs login, all done, with actions (open, show folder, continue, retry); grouped, quiet hours
- [x] Launcher progress through the Unity D-Bus signal
- [x] Desktop file, metainfo, MIME and scheme entries checked by their validators when present
- [x] Test file `docs/tests/S033-tray-notify.md`, with the checks below
- [x] `docs/PROGRESS.md` entry, tick `Plans/INDEX.md`, commit `S033: …`, push
- [ ] Tray icon with progress ring and speed tooltip; menu: modes, pause all, resume all, add, show, quit
- [ ] Close to tray, start minimised, autostart file; works without a tray host
- [ ] Notifications: done, failed, needs login, all done, with actions (open, show folder, continue, retry); grouped, quiet hours
- [ ] Launcher progress through the Unity D-Bus signal
- [ ] Desktop file, metainfo, MIME and scheme entries checked by their validators when present
- [ ] Test file `docs/tests/S033-tray-notify.md`, with the checks below
- [ ] `docs/PROGRESS.md` entry, tick `Plans/INDEX.md`, commit `S033: …`, push
## End criteria
`nice cargo check -q -j 2 -p medlar` clean

View file

@ -11,13 +11,13 @@ One look and feel, and motion that earns its place (D-008, FEATURES 9.7). Was S0
- crates/app/src/{motion,tokens}*, then the views by `rg` hits only
## Steps
- [x] One list of faults across all screens, by leverage: motion, edges, grid, radii, sizes, states, copy, focus; drop what is by design
- [x] Fix every high and medium motion fault
- [x] Fix every high and medium look fault; no literal colours or radii outside tokens
- [x] Hide every setting, menu entry and tab of a feature that is Later (PLAN.md), so nothing on screen does nothing
- [x] Copy, empty states, AccessKit names, focus and 32 px hit targets
- [x] Test file `docs/tests/S034-motion-audit.md`: each fixed motion with normal, reduced and off; keyboard only; sizes 480, 900, 1600, 3440; light, dark, AMOLED; long names and big numbers
- [x] `docs/PROGRESS.md` entry, tick `Plans/INDEX.md`, commit `S034: …`, push
- [ ] One list of faults across all screens, by leverage: motion, edges, grid, radii, sizes, states, copy, focus; drop what is by design
- [ ] Fix every high and medium motion fault
- [ ] Fix every high and medium look fault; no literal colours or radii outside tokens
- [ ] Hide every setting, menu entry and tab of a feature that is Later (PLAN.md), so nothing on screen does nothing
- [ ] Copy, empty states, AccessKit names, focus and 32 px hit targets
- [ ] Test file `docs/tests/S034-motion-audit.md`: each fixed motion with normal, reduced and off; keyboard only; sizes 480, 900, 1600, 3440; light, dark, AMOLED; long names and big numbers
- [ ] `docs/PROGRESS.md` entry, tick `Plans/INDEX.md`, commit `S034: …`, push
## End criteria
`nice cargo check -q -j 2 -p medlar` clean

View file

@ -11,13 +11,13 @@ Version 1 is solid, light and complete. Was S037 and S038.
- CLAUDE.md §4, docs/CONNECTOR.md, docs/TEST-REPORT.md
## Steps
- [x] Security review of connector, names, child processes, Metalink and stream parsers, secrets on disk and in logs; fix with one regression test each
- [x] Short fuzz tests of the parsers: headers, Content-Disposition, HLS, DASH, Metalink, listing, patterns
- [x] Start time, idle CPU, memory with 10,000 tasks, frame cost with 50 active, loopback speed against curl; fix what stands out, record before and after
- [x] Soak script with random faults, pauses, kills and limit changes: 20 minutes, once; every file checked
- [x] Journeys in one hidden run: first start to finished download; pause, restart, continue; expired link continued; queue with schedule; store of an early commit still opens (engine level and S044 port tests; hidden UI journey not repeated)
- [x] docs/FEATURES-CHECK.md: one row per version 1 id with proof and result; Results in `docs/tests` count as proof; small gaps fixed here
- [x] `docs/TEST-REPORT.md` line, `docs/PROGRESS.md` entry, tick `Plans/INDEX.md`, commit `S037: …`, push
- [ ] Security review of connector, names, child processes, Metalink and stream parsers, secrets on disk and in logs; fix with one regression test each
- [ ] Short fuzz tests of the parsers: headers, Content-Disposition, HLS, DASH, Metalink, listing, patterns
- [ ] Start time, idle CPU, memory with 10,000 tasks, frame cost with 50 active, loopback speed against curl; fix what stands out, record before and after
- [ ] Soak script with random faults, pauses, kills and limit changes: 20 minutes, once; every file checked
- [ ] Journeys in one hidden run: first start to finished download; pause, restart, continue; expired link continued; queue with schedule; store of an early commit still opens
- [ ] docs/FEATURES-CHECK.md: one row per version 1 id with proof and result; Results in `docs/tests` count as proof; small gaps fixed here
- [ ] `docs/TEST-REPORT.md` line, `docs/PROGRESS.md` entry, tick `Plans/INDEX.md`, commit `S037: …`, push
## End criteria
- `nice cargo test -j 2` green, except listed known bugs

View file

@ -12,14 +12,14 @@ Builds that run on older distros without downloads (D-011), a clear repo page an
- docs/FEATURES-CHECK.md, docs/CONNECTOR.md
## Steps
- [x] tar.gz with install and uninstall scripts for the user's home, desktop file, icons; AppImage with the appimagetool in ~/Projects/Mulberry/dist (copied to a temp folder), portable-mode support
- [x] glibc and library needs listed, lowest supported glibc stated; system libraries not bundled
- [x] Smoke test of both builds: launch hidden, download from the test server, status file and shots, looked at; yt-dlp and ffmpeg missing on PATH
- [x] README with shots from real runs, install, connector steps, limits and known bugs; no hype
- [x] Release notes in docs/releases/0.1.0.md; version set everywhere; checksums made, nothing in releases/ yet
- [x] 🧑 Version, contents, known bugs and the size of bundling yt-dlp and ffmpeg told to the user; wait for the yes
- [x] After the yes: files to releases/v0.1.0/, notes with hub-release, page checked
- [x] docs/STATUS.md, `docs/PROGRESS.md` entry, tick `Plans/INDEX.md`, commit `S039: …`, push
- [ ] tar.gz with install and uninstall scripts for the user's home, desktop file, icons; AppImage with the appimagetool in ~/Projects/Mulberry/dist (copied to a temp folder), portable-mode support
- [ ] glibc and library needs listed, lowest supported glibc stated; system libraries not bundled
- [ ] Smoke test of both builds: launch hidden, download from the test server, status file and shots, looked at; yt-dlp and ffmpeg missing on PATH
- [ ] README with shots from real runs, install, connector steps, limits and known bugs; no hype
- [ ] Release notes in docs/releases/0.1.0.md; version set everywhere; checksums made, nothing in releases/ yet
- [ ] 🧑 Version, contents, known bugs and the size of bundling yt-dlp and ffmpeg told to the user; wait for the yes
- [ ] After the yes: files to releases/v0.1.0/, notes with hub-release, page checked
- [ ] docs/STATUS.md, `docs/PROGRESS.md` entry, tick `Plans/INDEX.md`, commit `S039: …`, push
## End criteria
- both builds pass the smoke test

View file

@ -11,13 +11,13 @@ Run the checks of the test files of S017, S021, S022, S023, S024, fix what fails
- CLAUDE.md §4 and §5
## Steps
- [x] Build everything, run the existing suite once with a log file, start the app hidden; fix what is broken before anything else
- [x] Doubts first: read the code behind each, add a check or write why it is fine
- [x] Write the tests for all HIGH and MED checks in one go, sharing fixtures and the testserver
- [x] Run them once, all together, log to a file; read only the failures
- [x] Fix all causes in one go; rerun only what failed; three rounds at most, then `KNOWN BUG` with the cause
- [x] Screen checks: one contact sheet, faults fixed in one go, one more sheet (partly: no scenes exist for details, queues, week, countdown or handoff; only set-browser and add-continue sheets were seen)
- [x] Results filled in, `docs/TEST-REPORT.md` line, `docs/PROGRESS.md` entry, tick `Plans/INDEX.md`, commit `S041: …`, push
- [ ] Build everything, run the existing suite once with a log file, start the app hidden; fix what is broken before anything else
- [ ] Doubts first: read the code behind each, add a check or write why it is fine
- [ ] Write the tests for all HIGH and MED checks in one go, sharing fixtures and the testserver
- [ ] Run them once, all together, log to a file; read only the failures
- [ ] Fix all causes in one go; rerun only what failed; three rounds at most, then `KNOWN BUG` with the cause
- [ ] Screen checks: one contact sheet, faults fixed in one go, one more sheet
- [ ] Results filled in, `docs/TEST-REPORT.md` line, `docs/PROGRESS.md` entry, tick `Plans/INDEX.md`, commit `S041: …`, push
## End criteria
- the tests written here pass, except listed known bugs

View file

@ -11,12 +11,12 @@ Run the checks of the test files of S025, S027, S033, S034, fix what fails, fill
- CLAUDE.md §4 and §5
## Steps
- [x] Doubts first: read the code behind each, add a check or write why it is fine
- [x] Write the tests for all HIGH and MED checks in one go, sharing fixtures and the testserver
- [x] Run them once, all together, log to a file; read only the failures
- [x] Fix all causes in one go; rerun only what failed; three rounds at most, then `KNOWN BUG` with the cause
- [x] Screen checks: one contact sheet, faults fixed in one go, one more sheet
- [x] Results filled in, `docs/TEST-REPORT.md` line, `docs/PROGRESS.md` entry, tick `Plans/INDEX.md`, commit `S043: …`, push
- [ ] Doubts first: read the code behind each, add a check or write why it is fine
- [ ] Write the tests for all HIGH and MED checks in one go, sharing fixtures and the testserver
- [ ] Run them once, all together, log to a file; read only the failures
- [ ] Fix all causes in one go; rerun only what failed; three rounds at most, then `KNOWN BUG` with the cause
- [ ] Screen checks: one contact sheet, faults fixed in one go, one more sheet
- [ ] Results filled in, `docs/TEST-REPORT.md` line, `docs/PROGRESS.md` entry, tick `Plans/INDEX.md`, commit `S043: …`, push
## End criteria
- the tests written here pass, except listed known bugs

View file

@ -1,29 +0,0 @@
# S044 — Close the open HIGH checks and wire the video page
> Category 09 Test and release · Model: Opus (gate fix: open HIGH checks) · Effort: medium · Depends on: S037 · Phase: test · Human: no
> Files touched: crates/**, docs/tests/**, docs/TEST-REPORT.md, docs/FEATURES-CHECK.md
## Goal
The package gate (S039) needs no open HIGH check. After S037 these HIGH checks are still not run or failing; give each a harness (unit, integration or kittest, hidden run only where nothing else works), run it, fix what fails. Also make the video feature (FEATURES 6.1) usable from the app.
## Read
- docs/TEST-REPORT.md (S037 line), docs/tests/S037-whole-app.md
- the rows below in their test files; code only where a check needs it
- CLAUDE.md §4 and §5
## Steps
- [x] S017 5, 6, 7, 8, 15, 16 (details panel: removed task, error box, checksum, file gone, hidden headers, checksum field): kittest or integration
- [x] S021 19 (fake `Power` records the Fire(Shutdown) call; Logind never used)
- [x] S024 3, 8, 9, 10, 15 (handoff: medlar: link shows dialog, Continue offered, expired link continued or refused, hash identical) against testserver; S024 14 with Nacre's body replayed by curl if running Nacre hidden fails
- [x] S027 8 and 9 / S037 16 (clipboard Ask): find the cause of no Add window; fix, or prove it is the nested session's clipboard with a test of the watcher logic and mark it KNOWN BUG LOW with the proof
- [x] Video: show `video::Page` in the Add dialog for video links and run yt-dlp tasks through the manager (pause, resume, error kinds); stub yt-dlp tests; S025 16
- [x] S037 open boxes: frame cost with 50 active, journeys pause/restart/continue, expired link, queue with schedule, old store; record results
- [x] Full workspace suite once at the end (absolute TMPDIR); fix failures
- [x] Results filled in, `docs/TEST-REPORT.md` line, `docs/PROGRESS.md` entry, tick S037 boxes now done and its INDEX line, tick this plan's INDEX line, commit `S044: …`, push
## End criteria
- no HIGH row in docs/tests left as "not run" or failing, except a KNOWN BUG with proof that it is outside the app
- workspace suite green
## Pitfalls
Never weaken a test to pass. Fake D-Bus and logind only, testserver on loopback only, throwaway homes only, never download real video. Absolute `TMPDIR`. Release build and tests never at once.

Some files were not shown because too many files have changed in this diff Show more