S000: version 1 cut to 13 plans, the rest in Plans/Later
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
parent
95a19c6834
commit
d072103e0f
21 changed files with 88 additions and 182 deletions
|
|
@ -3,8 +3,9 @@
|
|||
How plans are run (one worker at a time, budget, checks, testing at the end) is in the `orchestrate` skill. This file holds only what is special to this project.
|
||||
|
||||
- Plans: `Plans/<NN Category>/SNNN-*.md`; index `Plans/INDEX.md`, in its order. Logs: `docs/PROGRESS.md`, `docs/DECISIONS.md`. Test files: `docs/tests/`, results: `docs/TEST-REPORT.md`. Plans up to S019 have automatic tests of their own and no test file.
|
||||
- Tracker: https://claude.ai/artifact/XouimfVJS6FYVKskGJ8s7H (collection `plans`, one doc per plan id; written once, when a plan ends). S035 and S036 are merged into S034; S041–S043 are new.
|
||||
- Tracker: https://claude.ai/artifact/XouimfVJS6FYVKskGJ8s7H (collection `plans`, one doc per plan id; written once, when a plan ends). `Plans/Later/` is not run.
|
||||
- Decide alone (D-004), except: a release, 🧑 steps, what cannot be undone or leaves this PC, a change of the goal.
|
||||
- Merging: `main` is fast-forwarded after each finished category (D-014). Pushes go to Astar Hub only.
|
||||
- Never touch `~/.abdm`, port 15151, or anything outside this folder.
|
||||
- Binding decision (kept here so branches merge cleanly): D-060 — 2026-11-25 — One worker at a time; no tests, screenshots or release builds in build plans; each plan leaves `docs/tests/SNNN-slug.md`; tests run in category 09. Replaces D-016 and the per-plan test rules — the user: weekly limit gone too fast, testing while working too heavy — all unstarted plans (S017, S020 on)
|
||||
- Binding decision (kept here so branches merge cleanly): D-060 — 2026-11-25 — One worker at a time; no tests, screenshots or release builds in build plans; each plan leaves `docs/tests/SNNN-slug.md`; tests run in category 09. Replaces D-016 and the per-plan test rules — the user: weekly limit gone too fast, testing while working too heavy — all unstarted plans (S017, S021 on)
|
||||
- Version 1 is cut to 13 plans after S009, S012, S016 (the user, 2026-11-25): see INDEX “Later”.
|
||||
|
|
|
|||
5
PLAN.md
5
PLAN.md
|
|
@ -5,7 +5,7 @@ A download manager for Linux that does everything Free Download Manager does and
|
|||
queues, scheduling, video sites, and a local port that takes downloads from browsers. Its Material You interface
|
||||
uses M3 Expressive shapes, spring motion and wavy progress bars that show what the engine is really doing.
|
||||
Recipient: the user, as their daily download manager, then anyone who gets a release from Astar Hub.
|
||||
Done means every item in [docs/FEATURES.md](docs/FEATURES.md) §1–9 works and has been tested.
|
||||
Version 1 is done when every item in [docs/FEATURES.md](docs/FEATURES.md) §1–9, except those under Later, works and has been tested.
|
||||
|
||||
## Current state
|
||||
New project. No code yet. Reusable code of the user's own: Damson (motion, theme, kittest screenshots), Mulberry (shapes, wavy
|
||||
|
|
@ -22,5 +22,8 @@ slider, widgets, tray), Nacre (hidden nested session, hand-off format).
|
|||
8. **Motion and polish** — `/improve-animations` audit, its fixes, an app-taste pass over every screen, performance.
|
||||
9. **Release** — AppImage and tar.gz, older-distro test, docs, repo page. Publishing needs the user's yes.
|
||||
|
||||
## Later (after version 1)
|
||||
Automatic limiter, quota, metered lines (2.4, 2.5); preview and conversion (6.2, 6.3); archive peek, unpack, join, scan (3.7, 7.5); site grabber and explorer (3.5, 3.6); statistics, import and export (7.6, 7.7); command line, headless, REST and web remote (8.2, 8.3 except single instance). Plans: `Plans/Later/`.
|
||||
|
||||
## Out of scope
|
||||
FEATURES §10.
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
# S022 — Control screens
|
||||
|
||||
> Category 04 Control · Model: Sonnet · Effort: medium · Depends on: S015, S018, S020, S021 · Phase: build · Human: no
|
||||
> Category 04 Control · Model: Sonnet · Effort: medium · Depends on: S015, S018, S021 · Phase: build · Human: no
|
||||
> Files touched: crates/app/src/views/{modes,queues,schedule}*, crates/app/tests/control*
|
||||
|
||||
## Goal
|
||||
FEATURES 2.1–2.9 and 9.5 on screen.
|
||||
FEATURES 2.1–2.3, 2.6–2.9 and 9.5 on screen (automatic limiter and quota are Later).
|
||||
|
||||
## Read
|
||||
- app-taste and animate skills
|
||||
|
|
@ -12,12 +12,12 @@ FEATURES 2.1–2.9 and 9.5 on screen.
|
|||
- crates/app/src/ui/{wave,graph}*
|
||||
|
||||
## Steps
|
||||
- [ ] Mode switch in the toolbar as a connected group, snail included, with the reason when the automatic limiter or a quota acts
|
||||
- [ ] 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
|
||||
- [ ] Quota card and metered notice; done-action picker with countdown sheet
|
||||
- [ ] 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
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
# S034 — Motion and look pass
|
||||
|
||||
> Category 08 Motion and polish · Model: Opus (design judgement) · Effort: medium · Depends on: S017, S022, S024, S026–S033 · Phase: build · Human: no
|
||||
> Files touched: crates/app/**, crates/core/remote/**
|
||||
> Category 08 Motion and polish · Model: Opus (design judgement) · Effort: medium · Depends on: S017, S022, S024, S025, S027, S033 · Phase: build · Human: no
|
||||
> Files touched: crates/app/**
|
||||
|
||||
## Goal
|
||||
One look and feel, and motion that earns its place (D-008, FEATURES 9.7). Was S034, S035 and S036: find and fix in one go, no separate plan files.
|
||||
|
|
@ -11,9 +11,10 @@ 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
|
||||
- [ ] One list of faults across all screens and the web remote page, by leverage: motion, edges, grid, radii, sizes, states, copy, focus; drop what is by design
|
||||
- [ ] 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
|
||||
|
|
|
|||
|
|
@ -1,33 +0,0 @@
|
|||
# S037 — Speed, idle use, security and long runs
|
||||
|
||||
> Category 09 Test and release · Model: Opus (security review) · Effort: medium · Depends on: S043 · Phase: test · Human: no
|
||||
> Files touched: crates/**
|
||||
|
||||
## Goal
|
||||
Solid and light. CLAUDE.md §4.
|
||||
|
||||
## Read
|
||||
- CLAUDE.md §4
|
||||
- docs/RECOVERY.md
|
||||
- docs/CONNECTOR.md
|
||||
- docs/PROGRESS.md "Later"
|
||||
|
||||
## Steps
|
||||
- [ ] Profiles: start time, idle CPU and wake-ups, memory with 10,000 tasks, frame cost with 50 active, throughput on loopback against curl
|
||||
- [ ] Fix what stands out; record before and after
|
||||
- [ ] Security review of connector, REST, remote, names, archives, child processes, secrets on disk and in logs; regression test per fix
|
||||
- [ ] Fuzz tests for parsers: headers, Content-Disposition, HLS, DASH, Metalink, ZIP, listing, patterns
|
||||
- [ ] Soak script with random faults, pauses, kills and limit changes: 20 minutes, run once in the background; files checked
|
||||
- [ ] Dependency check with `cargo tree -d` and licence list
|
||||
- [ ] `docs/PROGRESS.md` entry, tick `Plans/INDEX.md`, commit `S037: …`, push
|
||||
|
||||
## End criteria
|
||||
- `nice cargo test -j 2` green
|
||||
- soak log with zero corrupt files
|
||||
- numbers in PROGRESS
|
||||
|
||||
## Pitfalls
|
||||
Don't run builds and soak at the same time. Attack tests stay on loopback.
|
||||
|
||||
## Handoff (→ PROGRESS.md)
|
||||
Known limits.
|
||||
29
Plans/09 Test and release/S037-whole-app.md
Normal file
29
Plans/09 Test and release/S037-whole-app.md
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
# S037 — Whole app: use, security, speed, every feature
|
||||
|
||||
> Category 09 Test and release · Model: Opus (security review) · Effort: medium · Depends on: S043 · Phase: test · Human: no
|
||||
> Files touched: crates/**, docs/FEATURES-CHECK.md, docs/tests/S037-whole-app.md, docs/TEST-REPORT.md
|
||||
|
||||
## Goal
|
||||
Version 1 is solid, light and complete. Was S037 and S038.
|
||||
|
||||
## Read
|
||||
- docs/FEATURES.md without the Later ids (PLAN.md)
|
||||
- CLAUDE.md §4, docs/CONNECTOR.md, docs/TEST-REPORT.md
|
||||
|
||||
## Steps
|
||||
- [ ] 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
|
||||
- soak with zero corrupt files
|
||||
- gate: no open HIGH check or HIGH `KNOWN BUG` (`rg -n "\| — \||KNOWN BUG|not run" docs/tests`)
|
||||
- every version 1 id has a row that passes or names its bug
|
||||
|
||||
## Pitfalls
|
||||
Code existing is not proof. No build while the soak runs. Attack tests stay on loopback. Cut off: go on from the first unchecked box; the results so far are in the files.
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
# S038 — Check every feature against the list
|
||||
|
||||
> Category 09 Test and release · Model: Sonnet · Effort: medium · Depends on: S037 · Phase: test · Human: no
|
||||
> Files touched: docs/FEATURES-CHECK.md, crates/**
|
||||
|
||||
## Goal
|
||||
Prove FEATURES §1–9, line by line.
|
||||
|
||||
## Read
|
||||
- docs/FEATURES.md
|
||||
- docs/DECISIONS.md
|
||||
|
||||
## Steps
|
||||
- [ ] Table in docs/FEATURES-CHECK.md: id, proof (test, command or shot), result
|
||||
- [ ] Proofs already in `docs/tests` Results count; run the missing ones together in one hidden run with a throwaway home
|
||||
- [ ] Fix small gaps here; larger ones become new plans through the orchestrator
|
||||
- [ ] First run to finished download, as a new user with no settings
|
||||
- [ ] Upgrade test: old store and settings from an early commit still open
|
||||
- [ ] `docs/PROGRESS.md` entry, tick `Plans/INDEX.md`, commit `S038: …`, push
|
||||
|
||||
## End criteria
|
||||
- gate: no open HIGH check or HIGH `KNOWN BUG` in `docs/tests` (`rg -n "\| — \||KNOWN BUG|not run" docs/tests`)
|
||||
- no FEATURES id without a row (script check)
|
||||
- every row passes or has a plan id
|
||||
|
||||
## Pitfalls
|
||||
Code existing is not proof.
|
||||
|
||||
## Handoff (→ PROGRESS.md)
|
||||
Open gaps.
|
||||
30
Plans/09 Test and release/S039-package-release.md
Normal file
30
Plans/09 Test and release/S039-package-release.md
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
# S039 — Package, docs and release
|
||||
|
||||
> Category 09 Test and release · Model: Sonnet · Effort: medium · Depends on: S037 · Phase: test · Human: 🧑 approve version and contents before publishing
|
||||
> Files touched: tools/package*, packaging/**, README.md, docs/releases/**, releases/**
|
||||
|
||||
## Goal
|
||||
Builds that run on older distros without downloads (D-011), a clear repo page and, after a yes, the first release. Was S039 and S040.
|
||||
|
||||
## Read
|
||||
- CLAUDE.md §2, the user's global build and release rules
|
||||
- ~/Projects/Mulberry/scripts or dist layout (read only)
|
||||
- docs/FEATURES-CHECK.md, docs/CONNECTOR.md
|
||||
|
||||
## Steps
|
||||
- [ ] 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
|
||||
- no placeholder in README
|
||||
- after approval the release page lists every file with matching checksums
|
||||
|
||||
## Pitfalls
|
||||
appimagetool may try to fetch its runtime: use an existing runtime file, or stop and report. Nothing goes into releases/ before the yes: the sync service publishes it at once.
|
||||
|
|
@ -1,31 +0,0 @@
|
|||
# S039 — AppImage and tar.gz
|
||||
|
||||
> Category 09 Test and release · Model: Sonnet · Effort: medium · Depends on: S038 · Phase: test · Human: no
|
||||
> Files touched: tools/package*, packaging/**
|
||||
|
||||
## Goal
|
||||
Builds that run on older distros, without downloads (D-011).
|
||||
|
||||
## Read
|
||||
- CLAUDE.md §2
|
||||
- user's global build rules (AppImage, smoke test)
|
||||
- ~/Projects/Mulberry/scripts or dist layout (read only)
|
||||
|
||||
## Steps
|
||||
- [ ] tar.gz with install and uninstall scripts for the user's home, desktop file, icons, completions, man page, unit file
|
||||
- [ ] AppImage with the appimagetool in ~/Projects/Mulberry/dist (copied to a temp folder), same files, portable-mode support
|
||||
- [ ] glibc and library needs listed with `objdump`/`ldd`; lowest supported glibc stated; system libraries not bundled
|
||||
- [ ] Smoke test of both builds: launch hidden, download from the test server, write a status file and shots, look at them
|
||||
- [ ] yt-dlp and ffmpeg missing on PATH: designed state checked; size of bundling them reported for the user's choice
|
||||
- [ ] Checksums and `releases/` layout prepared, nothing placed there
|
||||
- [ ] `docs/PROGRESS.md` entry, tick `Plans/INDEX.md`, commit `S039: …`, push
|
||||
|
||||
## End criteria
|
||||
- both artefacts pass the smoke test
|
||||
- `dist/` listing with sizes
|
||||
|
||||
## Pitfalls
|
||||
appimagetool may try to fetch its runtime: use an existing runtime file, or stop and report through the orchestrator. Don't write into releases/.
|
||||
|
||||
## Handoff (→ PROGRESS.md)
|
||||
Version and contents for the user.
|
||||
|
|
@ -1,31 +0,0 @@
|
|||
# S040 — Docs and release
|
||||
|
||||
> Category 09 Test and release · Model: Sonnet · Effort: medium · Depends on: S039 · Phase: test · Human: 🧑 approve version and contents before publishing
|
||||
> Files touched: README.md, docs/releases/**, releases/**
|
||||
|
||||
## Goal
|
||||
A clear repo page and, after a yes, the first release.
|
||||
|
||||
## Read
|
||||
- docs/FEATURES-CHECK.md
|
||||
- docs/CONNECTOR.md
|
||||
- user's global release rules
|
||||
|
||||
## Steps
|
||||
- [ ] README: what it does, shots from real runs, install, connector steps, limits; no hype
|
||||
- [ ] Screenshots and a short motion clip from the hidden session
|
||||
- [ ] Release notes in docs/releases/0.1.0.md; version set everywhere
|
||||
- [ ] 🧑 Tell the user the version and contents and wait for the yes; ask about bundling yt-dlp and ffmpeg
|
||||
- [ ] After the yes: files to releases/v0.1.0/, notes with hub-release, page checked
|
||||
- [ ] docs/STATUS.md final state
|
||||
- [ ] `docs/PROGRESS.md` entry, tick `Plans/INDEX.md`, commit `S040: …`, push
|
||||
|
||||
## End criteria
|
||||
- `grep -c` finds no placeholder in README
|
||||
- after approval the release page lists every file with matching checksums
|
||||
|
||||
## Pitfalls
|
||||
Nothing goes into releases/ before the yes: the sync service publishes it at once.
|
||||
|
||||
## Handoff (→ PROGRESS.md)
|
||||
—
|
||||
|
|
@ -1,10 +1,10 @@
|
|||
# S041 — It runs; tests of control and connector
|
||||
# S041 — It runs; tests of details, control and connector
|
||||
|
||||
> Category 09 Test and release · Model: Sonnet · Effort: medium · Depends on: S034 · Phase: test · Human: no
|
||||
> Files touched: crates/core/**, crates/app/src/views/{modes,queues,schedule,incoming,connector}*, docs/tests/**, docs/TEST-REPORT.md
|
||||
> Files touched: crates/core/**, crates/app/src/views/{details,modes,queues,schedule,incoming,connector}*, docs/tests/**, docs/TEST-REPORT.md
|
||||
|
||||
## Goal
|
||||
Run the checks of the test files of S020, S021, S022, S023, S024, fix what fails, fill in every Result.
|
||||
Run the checks of the test files of S017, S021, S022, S023, S024, fix what fails, fill in every Result.
|
||||
|
||||
## Read
|
||||
- those test files, all in one command; code only where a check needs it
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
# S042 — Tests of media, rules, archives and grabber
|
||||
# S043 — Tests of video, rules, tray and every screen
|
||||
|
||||
> Category 09 Test and release · Model: Sonnet · Effort: medium · Depends on: S041 · Phase: test · Human: no
|
||||
> Files touched: crates/core/**, crates/app/**, docs/tests/**, docs/TEST-REPORT.md
|
||||
> Files touched: crates/**, docs/tests/**, docs/TEST-REPORT.md
|
||||
|
||||
## Goal
|
||||
Run the checks of the test files of S025, S026, S027, S028, S029, fix what fails, fill in every Result.
|
||||
Run the checks of the test files of S025, S027, S033, S034, fix what fails, fill in every Result.
|
||||
|
||||
## Read
|
||||
- those test files, all in one command; code only where a check needs it
|
||||
|
|
@ -16,7 +16,7 @@ Run the checks of the test files of S025, S026, S027, S028, S029, fix what fails
|
|||
- [ ] 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 `S042: …`, push
|
||||
- [ ] 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
|
||||
|
|
@ -34,7 +34,6 @@ Tracker: https://claude.ai/artifact/XouimfVJS6FYVKskGJ8s7H
|
|||
## 04 Control
|
||||
|
||||
- [x] [S019](04%20Control/S019-limiter-priority.md) Limiter, modes and priority shares
|
||||
- [ ] [S020](04%20Control/S020-auto-limit-quota.md) Automatic limiter, quota and metered lines
|
||||
- [ ] [S021](04%20Control/S021-queues-schedule-power.md) Queues, scheduler and power actions
|
||||
- [ ] [S022](04%20Control/S022-control-screens.md) Control screens
|
||||
|
||||
|
|
@ -46,29 +45,23 @@ Tracker: https://claude.ai/artifact/XouimfVJS6FYVKskGJ8s7H
|
|||
## 06 Media
|
||||
|
||||
- [ ] [S025](06%20Media/S025-video-sites.md) Video sites through yt-dlp
|
||||
- [ ] [S026](06%20Media/S026-preview-convert.md) Preview and conversion
|
||||
|
||||
## 07 Library and tools
|
||||
|
||||
- [ ] [S027](07%20Library%20and%20tools/S027-rules-clipboard-drop.md) Rules, clipboard, drag and drop, drop target
|
||||
- [ ] [S028](07%20Library%20and%20tools/S028-archives.md) Archive peek, unpack, join and scan
|
||||
- [ ] [S029](07%20Library%20and%20tools/S029-grabber-explorer.md) Site grabber and explorer
|
||||
- [ ] [S030](07%20Library%20and%20tools/S030-stats-import.md) Statistics, import and export
|
||||
- [ ] [S031](07%20Library%20and%20tools/S031-cli-rest.md) Command line, headless and REST
|
||||
- [ ] [S032](07%20Library%20and%20tools/S032-web-remote.md) Web remote
|
||||
- [ ] [S033](07%20Library%20and%20tools/S033-tray-notify.md) Tray, notifications and autostart
|
||||
|
||||
## 08 Motion and polish
|
||||
|
||||
- [ ] [S034](08%20Motion%20and%20polish/S034-motion-audit.md) Motion and look pass
|
||||
- S035 and S036 merged into S034
|
||||
|
||||
## 09 Test and release
|
||||
|
||||
- [ ] [S041](09%20Test%20and%20release/S041-test-control-connector.md) It runs; tests of control and connector
|
||||
- [ ] [S042](09%20Test%20and%20release/S042-test-media-library.md) Tests of media, rules, archives and grabber
|
||||
- [ ] [S043](09%20Test%20and%20release/S043-test-remote-screens.md) Tests of command line, remote, tray and every screen
|
||||
- [ ] [S037](09%20Test%20and%20release/S037-performance-security.md) Speed, idle use, security and long runs
|
||||
- [ ] [S038](09%20Test%20and%20release/S038-feature-sweep.md) Check every feature against the list
|
||||
- [ ] [S039](09%20Test%20and%20release/S039-packaging.md) AppImage and tar.gz
|
||||
- [ ] [S040](09%20Test%20and%20release/S040-docs-release.md) Docs and release 🧑
|
||||
- [ ] [S041](09%20Test%20and%20release/S041-test-control-connector.md) It runs; tests of details, control and connector
|
||||
- [ ] [S043](09%20Test%20and%20release/S043-test-video-screens.md) Tests of video, rules, tray and every screen
|
||||
- [ ] [S037](09%20Test%20and%20release/S037-whole-app.md) Whole app: use, security, speed, every feature
|
||||
- [ ] [S039](09%20Test%20and%20release/S039-package-release.md) Package, docs and release 🧑
|
||||
|
||||
## Later (after version 1; not run by /orchestrate)
|
||||
|
||||
Plans kept in `Plans/Later/`: S020 automatic limiter and quota, S026 preview and conversion, S028 archives, S029 site grabber, S030 statistics and import, S031 command line and REST, S032 web remote. `/plan-generate later` updates them first. Merged: S035, S036 into S034; S038 into S037; S040 into S039; S042 into S041 and S043.
|
||||
|
|
|
|||
34
Plans/Later/S020-auto-limit-quota.md
Normal file
34
Plans/Later/S020-auto-limit-quota.md
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
# S020 — Automatic limiter, quota and metered lines
|
||||
|
||||
> Category 04 Control · Model: Opus (control loop) · Effort: medium · Depends on: S007, S019 · Phase: build · Human: no
|
||||
> Files touched: crates/core/src/{autolimit,quota,metered}*, crates/core/tests/autolimit*
|
||||
|
||||
## Goal
|
||||
FEATURES 2.4, 2.5.
|
||||
|
||||
## Read
|
||||
- crates/core/src/limit
|
||||
- crates/core/src/net_state*
|
||||
|
||||
## Steps
|
||||
- [ ] Latency probe without extra traffic (TCP connect or RTT to current hosts, optional gateway ping), baseline and queueing delay estimate
|
||||
- [ ] Controller that backs off when delay rises and recovers gently
|
||||
- [ ] Quota per day, week or month with reset day, warning and stop, override for one download
|
||||
- [ ] Metered connection through NetworkManager: pause, limit or ignore; big-file threshold
|
||||
- [ ] Snapshot says why a limit is in force
|
||||
- [ ] Test file `docs/tests/S020-auto-limit-quota.md`, with the checks below
|
||||
- [ ] `docs/PROGRESS.md` entry, tick `Plans/INDEX.md`, commit `S020: …`, push
|
||||
|
||||
## End criteria
|
||||
`nice cargo check -q -j 2 -p medlar` clean
|
||||
|
||||
## Checks for the test file (do not run now)
|
||||
- automatic tests in medlar-core (autolimit) green with a virtual clock
|
||||
- no oscillation over 20 % in the simulator
|
||||
- simulated line: bottleneck, buffer bloat, competing flow
|
||||
|
||||
## Pitfalls
|
||||
The user's line is about 425 KB/s: constants must work there and on gigabit. Fake D-Bus only.
|
||||
|
||||
## Handoff (→ PROGRESS.md)
|
||||
Reason codes for the UI.
|
||||
35
Plans/Later/S026-preview-convert.md
Normal file
35
Plans/Later/S026-preview-convert.md
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
# S026 — Preview and conversion
|
||||
|
||||
> Category 06 Media · Model: Sonnet · Effort: medium · Depends on: S017, S025 · Phase: build · Human: no
|
||||
> Files touched: crates/core/src/{preview,convert}*, crates/app/src/views/{preview,convert}*
|
||||
|
||||
## Goal
|
||||
FEATURES 6.2, 6.3.
|
||||
|
||||
## Read
|
||||
- crates/core/src/stream runner
|
||||
- crates/core/src/segment (order policy)
|
||||
- crates/app/src/views/details*
|
||||
|
||||
## Steps
|
||||
- [ ] Sequential-first option and "start and end first" for media, beside the dynamic scheduler
|
||||
- [ ] Preview: image decode, media thumbnail and open-in-player on a loopback range server that waits for missing ranges
|
||||
- [ ] Text and archive head preview; hex for the rest; size caps
|
||||
- [ ] Convert: presets (MP4, MKV, WebM, MP3, Opus, FLAC, remux), own presets, queue with progress and cancel, keep or replace the source
|
||||
- [ ] Auto-convert as a rule action
|
||||
- [ ] Test file `docs/tests/S026-preview-convert.md`, with the checks below
|
||||
- [ ] `docs/PROGRESS.md` entry, tick `Plans/INDEX.md`, commit `S026: …`, push
|
||||
|
||||
## End criteria
|
||||
`nice cargo check -q -j 2 -p medlar` clean
|
||||
|
||||
## Checks for the test file (do not run now)
|
||||
- automatic tests in medlar-core (convert) green with ffmpeg-made samples
|
||||
- ffprobe confirms results
|
||||
- shots looked at
|
||||
|
||||
## Pitfalls
|
||||
Preview servers bind loopback with a random path and stop with the panel. Decoders get untrusted files: limits and no panics.
|
||||
|
||||
## Handoff (→ PROGRESS.md)
|
||||
Rule action hook for S027.
|
||||
33
Plans/Later/S028-archives.md
Normal file
33
Plans/Later/S028-archives.md
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
# S028 — Archive peek, unpack, join and scan
|
||||
|
||||
> Category 07 Library and tools · Model: Opus (hostile archives) · Effort: medium · Depends on: S017, S018 · Phase: build · Human: no
|
||||
> Files touched: crates/core/src/archive/**, crates/app/src/views/archive*, crates/core/tests/archive*
|
||||
|
||||
## Goal
|
||||
FEATURES 3.7, 7.5.
|
||||
|
||||
## Read
|
||||
- crates/core/src/http*
|
||||
- crates/app/src/views/details*
|
||||
|
||||
## Steps
|
||||
- [ ] Remote ZIP and ZIP64 listing by range requests; pick files; fetch and inflate only those; CRC checked
|
||||
- [ ] Plain TAR listing when seekable
|
||||
- [ ] Unpack after download: ZIP and TAR in Rust, others through 7z or bsdtar when present; password list in the keyring; delete source option
|
||||
- [ ] Join split files (.001, .part, multi-volume) after all parts are done
|
||||
- [ ] Scan hook: any command with a placeholder, clamscan preset when found; quarantine state
|
||||
- [ ] Archive tab and post-action settings
|
||||
- [ ] Test file `docs/tests/S028-archives.md`, with the checks below
|
||||
- [ ] `docs/PROGRESS.md` entry, tick `Plans/INDEX.md`, commit `S028: …`, push
|
||||
|
||||
## End criteria
|
||||
`nice cargo check -q -j 2 -p medlar` clean
|
||||
|
||||
## Checks for the test file (do not run now)
|
||||
- automatic tests in medlar-core (archive) green: traversal, symlink, bomb and huge-count archives refused
|
||||
|
||||
## Pitfalls
|
||||
Zip slip and bombs. Check paths after normalising, cap ratio and count, extract to a temp folder, then move.
|
||||
|
||||
## Handoff (→ PROGRESS.md)
|
||||
—
|
||||
34
Plans/Later/S029-grabber-explorer.md
Normal file
34
Plans/Later/S029-grabber-explorer.md
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
# S029 — Site grabber and explorer
|
||||
|
||||
> Category 07 Library and tools · Model: Sonnet · Effort: medium · Depends on: S011, S016, S027 · Phase: build · Human: no
|
||||
> Files touched: crates/core/src/{grab,explore}*, crates/app/src/views/{grab,explore}*, crates/core/tests/grab*
|
||||
|
||||
## Goal
|
||||
FEATURES 3.5, 3.6: collect links from a web page or folder listing.
|
||||
|
||||
## Read
|
||||
- crates/core/src/{http,listing,rules}*
|
||||
- docs/FEATURES.md 3.5, 3.6
|
||||
|
||||
## Steps
|
||||
- [ ] "Links on this page": fetch one page, list every file link, image and media with type, size on demand, filters and select
|
||||
- [ ] Crawl: depth, host and path limits, extension and size filters, page cap, polite delay, robots respected by default, stop and resume
|
||||
- [ ] HTML parsing with base, srcset, data attributes of common players, refresh; never runs scripts and says so on script-only pages
|
||||
- [ ] Optional save of pages with links rewritten for offline reading
|
||||
- [ ] Explorer for FTP, SFTP and open directory listings (Apache, nginx, h5ai): tree, multi-select, whole-folder download keeping the structure
|
||||
- [ ] Results view with tree, filters, select by pattern, send to Add or a queue
|
||||
- [ ] Test file `docs/tests/S029-grabber-explorer.md`, with the checks below
|
||||
- [ ] `docs/PROGRESS.md` entry, tick `Plans/INDEX.md`, commit `S029: …`, push
|
||||
|
||||
## End criteria
|
||||
`nice cargo check -q -j 2 -p medlar` clean
|
||||
|
||||
## Checks for the test file (do not run now)
|
||||
- automatic tests in medlar-core (grab) green on the test site tree: loops, traps, off-host links and huge pages handled
|
||||
- shots looked at
|
||||
|
||||
## Pitfalls
|
||||
Crawls on public sites are not run in tests. Cap memory per page.
|
||||
|
||||
## Handoff (→ PROGRESS.md)
|
||||
—
|
||||
34
Plans/Later/S030-stats-import.md
Normal file
34
Plans/Later/S030-stats-import.md
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
# S030 — Statistics, import and export
|
||||
|
||||
> Category 07 Library and tools · Model: Sonnet · Effort: medium · Depends on: S015, S021 · Phase: build · Human: no
|
||||
> Files touched: crates/core/src/{stats,port}*, crates/app/src/views/stats*, crates/core/tests/port*
|
||||
|
||||
## Goal
|
||||
FEATURES 7.6, 7.7.
|
||||
|
||||
## Read
|
||||
- dataviz skill
|
||||
- crates/core/src/{store,manager}*
|
||||
- crates/app/src/ui/graph*
|
||||
|
||||
## Steps
|
||||
- [ ] Daily totals by host, type and queue; average and peak speed; parts gain compared with one connection, only where measured
|
||||
- [ ] Statistics page: charts from theme roles, ranges, table view, clear data
|
||||
- [ ] Export and import of lists (JSON, text, CSV, Metalink) and full backup without secrets
|
||||
- [ ] Import from aria2 session files; AB Download Manager and FDM only from exports with a documented or sample format, otherwise say not supported
|
||||
- [ ] Merge rules for duplicates, preview before import
|
||||
- [ ] Test file `docs/tests/S030-stats-import.md`, with the checks below
|
||||
- [ ] `docs/PROGRESS.md` entry, tick `Plans/INDEX.md`, commit `S030: …`, push
|
||||
|
||||
## End criteria
|
||||
`nice cargo check -q -j 2 -p medlar` clean
|
||||
|
||||
## Checks for the test file (do not run now)
|
||||
- automatic tests in medlar-core (port) green with round trips
|
||||
- shots in light and dark looked at
|
||||
|
||||
## Pitfalls
|
||||
Never read the user's live ~/.abdm. Invent no numbers: no "time saved" without a measurement.
|
||||
|
||||
## Handoff (→ PROGRESS.md)
|
||||
—
|
||||
35
Plans/Later/S031-cli-rest.md
Normal file
35
Plans/Later/S031-cli-rest.md
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
# S031 — Command line, headless and REST
|
||||
|
||||
> Category 07 Library and tools · Model: Sonnet · Effort: medium · Depends on: S021, S024 · Phase: build · Human: no
|
||||
> Files touched: crates/cli/**, crates/core/src/rest*, crates/app/src/main*
|
||||
|
||||
## Goal
|
||||
FEATURES 8.2 (API), 8.3.
|
||||
|
||||
## Read
|
||||
- crates/core command API
|
||||
- crates/core/src/connector
|
||||
- crates/app/src/instance*
|
||||
|
||||
## Steps
|
||||
- [ ] `medlar add|list|show|pause|resume|remove|limit|mode|queue|continue|export|quit`, with `--json`, exit codes and quiet mode
|
||||
- [ ] Talks to a running instance by its socket, or starts headless; clear message otherwise
|
||||
- [ ] `--headless` without a display, systemd user unit file
|
||||
- [ ] REST plus event stream with the same commands, token per client, scopes (read, control), off by default, loopback unless remote control is on
|
||||
- [ ] Shell completions (bash, zsh, fish) and man page generated
|
||||
- [ ] Terminal progress with parts, plain when not a terminal
|
||||
- [ ] Test file `docs/tests/S031-cli-rest.md`, with the checks below
|
||||
- [ ] `docs/PROGRESS.md` entry, tick `Plans/INDEX.md`, commit `S031: …`, push
|
||||
|
||||
## End criteria
|
||||
`nice cargo check -q -j 2 -p medlar` clean
|
||||
|
||||
## Checks for the test file (do not run now)
|
||||
- automatic tests in medlar-cli green
|
||||
- scripted end-to-end run against the test server without a display
|
||||
|
||||
## Pitfalls
|
||||
The socket lives in XDG_RUNTIME_DIR with mode 600. Tokens hashed at rest.
|
||||
|
||||
## Handoff (→ PROGRESS.md)
|
||||
REST description for S032.
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue