commit 6ab40fea3e6bd61fb89d56e0689ccb7b99469ef9 Author: astar76 Date: Wed Nov 18 08:55:46 2026 -0600 S000: workflow scaffold Co-Authored-By: Claude Opus 5.5 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..855a698 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +target/ +*.swp diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 0000000..814e251 --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,95 @@ +# Tunal + +Tunal is our own desktop file manager for Linux (Wayland and X11), written in Rust with Slint and Material You styling: tabs, split view, places, file operations, `.directory` metadata, sudo elevation, thumbnails, a music tag editor, a quick audio player, iOS/Android device browsing and SFTP locations. Final deliverable: the `tunal` binary built from this Cargo workspace, with README.md and FEATURES.md, for the user (astar76) on Arch Linux. Vision: [PLAN.md](PLAN.md). Full brief: [PROMPT.md](PROMPT.md) (read only the section your plan names). + +## 0. Session rules — read first + +1. You are started with **one plan**: `Plans//SNNN-*.md`. Read only: this file, **your plan**, the **last 3 entries** of `docs/PROGRESS.md`, and the files/sections your plan names. +2. **Do not open other files in `Plans/`** (nor `ORCHESTRATOR.md`, nor all of `PLAN.md`). +3. **Tick each checkbox in your plan file the moment it is done**, one by one, never in batches. Right after each tick, sync the tracker (§Tracker). An interrupted plan resumes at its first unchecked box. +4. **Stay in scope.** Out-of-scope ideas go to `docs/PROGRESS.md` (“Later”), not into the code. +5. **Invent nothing**: check the code/docs; if a fact is still missing, ask — the **orchestrator** if you were started by one (never the user directly), otherwise the user. +6. **End of session**: (a) end criteria verified **by commands**, not memory; (b) `docs/PROGRESS.md` entry (≤ 15 lines: done, not done, later); (c) `docs/DECISIONS.md` if a decision binds later plans; (d) tick your line in `Plans/INDEX.md` (no commentary); (e) commit `SNNN: …`; (f) short report: done, not done, what the user/orchestrator must do, and any instruction that cost more than it gave. +7. **Languages**: answer in English. Code, comments, README.md and FEATURES.md in English. Internal docs (`CLAUDE.md`, `Plans/`, `PROGRESS.md`) in English. + +## Tracker + +Live checklist of every plan: https://claude.ai/artifact/4X8YCk3cQjUGyuyCqGuU7v (collection `plans`, one doc per plan id). +After ticking a box: `ArtifactData` `update` with `url` = the tracker, `collection: "plans"`, `doc_id: "SNNN"`, `data: {"status": "running" or "done" (all boxes ticked), "items": [{"text": "", "done": true/false}, … every checkbox of the plan in order], "updated": ""}` and `if_version` = the version returned by your previous write (first time: `get` the doc once to read it; a doc that doesn't exist yet takes no `if_version`). Load the tool with ToolSearch `select:ArtifactData` once. If the tracker call fails, keep working and say so in the report: the plan file is the source of truth. + +## 1. Repository layout + +Root: `/home/astar76/Projects/Tunal` (target layout; phase 1 creates the crates) +``` +Cargo.toml workspace (members = crates/*) +crates/ + tunal/ app binary: main, Slint UI (ui/*.slint), Theme + Motion globals, components + tunal-core/ filesystem model, file operations, the location layer (local first) + tunal-theme/ XDG Settings portal (zbus), material-colors scheme generation + tunal-dirmeta/ .directory read/write (desktop entry format) + tunal-elevate/ root operations behind a password prompt + tunal-thumbs/ thumbnails (images, video frame, embedded album art) + tunal-tags/ lofty tags, MusicBrainz + Cover Art Archive client + tunal-player/ audio playback, waveform data + tunal-devices/ iOS (AFC) and Android (MTP) locations + tunal-net/ SFTP locations, ~/.ssh/config hosts, known_hosts +assets/ tunal.svg / .png / .ico; fonts/ (Material Symbols Rounded + its license) +docs/ PROGRESS.md, DECISIONS.md, STATUS.md, HANDOFF.md +Plans/ INDEX.md, _TEMPLATE.md, /SNNN-*.md +README.md FEATURES.md PLAN.md PROMPT.md ORCHESTRATOR.md +``` +Never modify: `PROMPT.md` (the user's brief), the reference app checkout (`/home/astar76/Projects/Tunal-reference`, outside the repo), anything under `/usr`, `~/.ssh/` (read only). + +## 2. Facts + +- **Reference app**: the repository URL in PROMPT.md §Project, cloned (shallow) to `/home/astar76/Projects/Tunal-reference` when a plan needs it. Use it to learn *features and behaviour only*. Never copy its code, strings, names, icons or branding (it is GPL). Never write its name, its desktop's name or any other file manager's name in code, identifiers, UI text, binaries, README, FEATURES.md or commit messages; say “the reference app” in internal docs. +- **Toolchain**: rustc/cargo 1.99.1 on Arch Linux. GUI: **Slint 1.19**. Own components on a `Theme` global (colour/shape/type tokens) and a `Motion` global (durations, easings, reduced-motion flag); std-widgets only for scrollbars and text input, style `material`. +- **Theme**: `org.freedesktop.portal.Settings` → `org.freedesktop.appearance` `accent-color` (rgb doubles) and `color-scheme` (0 none, 1 dark, 2 light) via `zbus` blocking API, plus `SettingChanged` for live re-theme. Schemes from `material-colors` 0.5 (`ThemeBuilder::with_source`, tonal spot). Fixed fallback seed when no accent. +- **Icons**: Material Symbols Rounded, from `/usr/share/fonts/TTF/MaterialSymbolsRounded[FILL,GRAD,opsz,wght].ttf` (package `ttf-material-symbols-variable`, Apache-2.0; license in `/usr/share/licenses/ttf-material-symbols-variable/`). Copy font + license into `assets/fonts/`; draw glyphs by codepoint (folder `e2c7`, home `e88a`). App icon: `assets/tunal.svg` / `.png` / `.ico`. +- **Crates already chosen**: `slint` 1.19, `zbus` (blocking), `material-colors` 0.5, `lofty` (tags), `russh` + `russh-sftp` (SFTP, preferred). Later option: `rusty-chromaprint` (AcoustID). +- **MusicBrainz / Cover Art Archive**: no API key; ≤ 1 request/s across the whole app; User-Agent `Tunal/ ( https://archlinux.tail7c4f5e.ts.net/git/astar76/Tunal )`. +- **C libraries need the user's OK first** (orchestrator relays it, 🧑): video frames (FFmpeg vs GStreamer), audio output (`cpal` → ALSA), iOS (`idevice` → system `usbmuxd`), MTP (pure Rust over `nusb` vs `libmtp`), drag-out to other apps (own Wayland/X11 code). Any other non-Rust dependency: ask too. +- **User validates personally (🧑)**: UI milestones visually (end of phases 2, 3 and 6), the sudo prompt flow with a real password, real iPhone/Android devices. Plans that need these stop at that step and report. +- **Motion rules** (`app-taste` skill): tokens only, hover tint and press squeeze on every control, interruptible motion, honour reduced motion, no idle animation, repaint only while something moves. Build new motion with the `animate` skill; at each UI milestone run `/unslop` and `/improve-animations` (there is no `/review-animations`). +- No Forgejo remote yet: the user wants local-only git for now. + +## 3. Code rules + +- Write like the neighbouring code. KISS, DRY, YAGNI; no abstraction without ≥ 2 uses. +- New pure logic gets a test; a bug fix gets a regression test when feasible. +- All Rust, pure-Rust crates preferred. `cargo fmt` and `cargo clippy --workspace --all-targets -- -D warnings` clean before commit. +- Back-end crates (`tunal-core`, `-theme`, `-dirmeta`, …) have no Slint dependency; the app crate adapts them to the UI. +- Views talk only to the location layer in `tunal-core` (a trait for list/stat/read/write/copy/move/rename/delete/trash). Local, device and SFTP backends implement it; views never know which protocol they show. +- Blocking work (D-Bus, disk, network, devices) runs off the UI thread; results return with `slint::invoke_from_event_loop` or a `Weak` handle. +- UI values come from `Theme` / `Motion` tokens only: no literal colours, durations or radii in components. +- Secrets (sudo and SSH passwords, key passphrases): held in `zeroize`/`secrecy` types, never logged, never in argv or env, never written to disk, zeroed after use. + +## 4. Domain pitfalls (all agents) + +- Slint animates only property changes: animate state, not timers. A running `animate` or `Timer` keeps repainting; stop it when idle (no idle animation). +- The portal may be missing (no `xdg-desktop-portal`) or return no accent: fall back, never panic. +- `.directory` files are desktop entry INI (`[Desktop Entry] Icon=…`, plus view sections); keep unknown keys and comments when writing back. +- File ops on large trees: progress, cancel, conflicts (skip/overwrite/rename) and partial failures; trash follows the freedesktop Trash spec (`~/.local/share/Trash`, `.trashinfo`). +- Symlinks, permission-denied folders, non-UTF-8 file names and very large folders (10 000+ entries, virtualized ListView) must not break a view. +- Tests never touch the real home: use temp dirs. Never connect to Tor or proxies in tests; network tests use a local server or mocks. +- Run the app offscreen or in a hidden session unless the user asks to watch. There is no `kwin_wayland` installed: screenshots use Slint's software renderer to PNG. + +## 5. Verification tools + +| Tool | Role | Available after | +|---|---|---| +| `cargo build --workspace` / `cargo test --workspace` | build, unit + integration tests | phase 1 | +| `cargo clippy --workspace --all-targets -- -D warnings`, `cargo fmt --check` | lint, format | phase 1 | +| `busctl --user call org.freedesktop.portal.Desktop /org/freedesktop/portal/desktop org.freedesktop.portal.Settings ReadOne ss org.freedesktop.appearance accent-color` | inspect portal values | now | +| `fc-list` | check bundled/system fonts | now | +| Screenshot harness (software renderer → PNG, light/dark, hover/press, empty/full, min size) | visual checks | phase 2 (plan adds its exact command here) | + +Don't assume a tool exists: check first. When your plan creates a tool, add its row here. + +## 6. Git + +Local repository only; no remote and no push until the user says so. `.gitignore` covers `target/`. One commit per logical step, message `SNNN: …` in English. No `reset --hard` / force push without an explicit request. + +## 7. Definition of done + +A plan is done when: all end criteria are **verified by command or test**; planned builds/tests are green; nothing regressed; `PROGRESS` / `DECISIONS` are up to date; the INDEX line and tracker are ticked; the work is committed. Say explicitly what was **not** done or verified. diff --git a/ORCHESTRATOR.md b/ORCHESTRATOR.md new file mode 100644 index 0000000..846c731 --- /dev/null +++ b/ORCHESTRATOR.md @@ -0,0 +1,42 @@ +# Orchestrator — Tunal + +You are the **orchestrator**. You do not do the plans' work yourself: you launch, unblock and validate the sessions that do. Read `CLAUDE.md`, then `Plans/INDEX.md`, then the last 3 entries of `docs/PROGRESS.md`. Start from the **first unchecked plan** in INDEX. + +## Files + +- Plans: `Plans//SNNN-*.md`, one folder per category (header gives model, effort, dependencies, files touched, 🧑). Index: `Plans/INDEX.md`. +- Logs: `docs/PROGRESS.md`, `docs/DECISIONS.md`. Vision: `PLAN.md`. +- Tracker: https://claude.ai/artifact/4X8YCk3cQjUGyuyCqGuU7v — sessions update it themselves; you only check it matches the plan files (`ArtifactData list plans` vs. the plans' checkboxes; `update` to repair). + +## Launching sessions + +**Look-ahead rule (check it after EVERY event: start, GO, validation, answer to a session):** count the sessions you started that are *waiting for GO* (not running, not done). If fewer than **3** and unchecked plans remain in scope, start waiting sessions for the next plans in INDEX order right now, until the count is reached. Waiting sessions cost almost nothing and don't touch files: preparing them is never “running in parallel”, and dependencies only gate the GO, not the preparation. Say the count in each status line (`waiting: S014, S015, S016`). + +1. Prepare each look-ahead plan as a nested session (`start_session`, `initiation: "user_asked"`, same folder) with the plan's model and effort. Brief: *“Read CLAUDE.md and Plans//SNNN-xxx.md only. Do not start: wait for GO from the orchestrator.”* plus anything the plan cannot know (state of previous plans, tags, decisions taken since). Do not repeat CLAUDE.md rules. +2. Send **GO** (`SendMessage` to its `local_…` id) when its dependencies are validated. +3. **Parallel** only if the plans are consecutive, none depends on another, their “files touched” don't overlap, and at most **2** sessions run at once (they share Cargo's `target/`); a plan that edits the workspace `Cargo.toml` members or the shared `Theme`/`Motion` token files runs alone. Otherwise one at a time. + +## Answering sessions + +Sessions talk to **you**, never to the user. Answer from the project goal, `PLAN.md`, `DECISIONS.md` and the code. Disturb the user only for a real necessity (🧑 steps, irreversible or outward-facing actions, a decision that changes the goal); then stop and tell them exactly what to look at, how, and what to answer. Record any decision you take in `docs/DECISIONS.md`. + +## Validating a plan (when its session ends) + +Check with commands, not its report: plan checkboxes all ticked; end criteria hold (rerun only **targeted** tests for what changed); PROGRESS entry present; INDEX line ticked; commit present; working tree clean; tracker doc matches. If something is missing, send it back to the same session. Then GO the next one and apply the look-ahead rule. + +Relay to the user any remark that an instruction costs more than it gives, with an alternative. + +## Context and stop + +- Near ~300K context: finish validating the current plan, then tell the user to open a new session with `/orchestrate` (you resume from INDEX). +- If the user says **STOP**: stop the running sessions and your follow-up; on resume, message the same sessions to continue from their first unchecked box. + +## End of a phase / project + +Short report: what changed (before/after), what was verified, what remains, what the user must do. + +## Project-specific + +- 🧑 stops (relay to the user and wait): visual review at the end of phases 2, 3 and 6; the sudo prompt flow with a real password (phase 5); real iPhone / Android devices (phase 9); every C-library choice listed in CLAUDE.md §2. +- Git is local only: never add a remote or push until the user says so. +- Keep FEATURES.md in step: a plan that adds a feature updates its row. diff --git a/PLAN.md b/PLAN.md new file mode 100644 index 0000000..af8f61a --- /dev/null +++ b/PLAN.md @@ -0,0 +1,26 @@ +# Tunal — vision + +## Goal +A fast, fully animated desktop file manager for Linux (Wayland and X11), written in Rust with Slint and Material You styling that follows the system accent and light/dark mode live. Deliverable: the `tunal` binary from this Cargo workspace, with README.md and FEATURES.md (feature map against the reference app, kept current). Recipient: astar76, daily use on Arch Linux. + +## Current state +Nothing built yet: the brief (PROMPT.md), the app icons in `assets/` and this workflow scaffold. Rust 1.99.1 installed; Material Symbols font installed system-wide. + +## Phases +1. **Workspace** — Cargo workspace with the crates in CLAUDE.md §1, README, FEATURES.md (feature map), font + license in `assets/fonts/`. +2. **App skeleton** — window, theme from the portal with live re-theme, `Theme` / `Motion` token globals, base animated components (button, icon button, row, tab, chip, menu, dialog), screenshot harness. 🧑 visual review. +3. **File browsing** — tabs, split view, editable breadcrumbs, back/forward/up, places sidebar, sorting, grouping, hidden files, copy path / copy / cut / paste / rename / delete / trash / properties, editable context menus, animated list inserts/removals/reorders. 🧑 visual review. +4. **`.directory` support** — read folder icon, display name and view settings; edit them from the app. +5. **Sudo elevation** — password prompt when an operation needs root; secret never logged, never in argv, zeroed. 🧑 real-password test. +6. **Thumbnails** — images, video frame at a chosen timestamp, embedded album art; plain Material icons when previews are off. 🧑 visual review. +7. **Tag editor** — read/write tags with `lofty`, MusicBrainz lookup, Cover Art Archive covers, embed results. +8. **Audio player** — quick player with a waveform seek bar. +9. **Device sharing** — iOS over AFC, then Android over MTP, as locations. 🧑 real devices. +10. **Network** — SFTP locations (`russh` + `russh-sftp`), saved connections in places, agent/key/password auth, known_hosts checking with unknown-host prompt, hosts from `~/.ssh/config`. + +## Out of scope +- Copying any code, names, strings, icons or branding from the reference app; naming it or other file managers in the UI, binaries or docs. +- Non-Linux platforms for now (Windows/macOS packaging). +- Protocols other than local, AFC, MTP and SFTP (the location layer must allow them later). +- AcoustID fingerprinting (later option), drag-out to other apps unless the user approves the extra platform code. +- Pushing to a remote or publishing releases until the user asks. diff --git a/PROMPT.md b/PROMPT.md new file mode 100644 index 0000000..e33c036 --- /dev/null +++ b/PROMPT.md @@ -0,0 +1,73 @@ +/project-setup + +# Project: Tunal + +Build Tunal, our own desktop file manager in Rust with Material You styling. It is not a clone or fork of Dolphin. Use the Dolphin repository (https://github.com/KDE/dolphin.git) only as a feature reference. Don't copy its code, names or branding. Dolphin is GPL, so reimplementing its features in our own code is fine, but copying its code is not. + +## Decisions already made (don't ask again) +- **Name:** Tunal. Binary `tunal`. +- **GUI toolkit: Slint 1.19** (pure Rust). Why: declarative per-property animations (`animate`, states, transitions), a virtualized ListView, and full control over styling. Build our own components (buttons, rows, tabs, chips, menus, dialogs) on a `Theme` global and a `Motion` global of tokens instead of restyling std-widgets. Set the std-widgets style to `material` only where a built-in widget is still used (scrollbars, text input). +- **Material You colors:** read `org.freedesktop.appearance` `accent-color` and `color-scheme` from the XDG Settings portal over D-Bus with `zbus` (blocking API, no async runtime). Listen for `SettingChanged` and re-theme live. Generate the light and dark schemes from the accent with `material-colors` 0.5 (`ThemeBuilder::with_source`, tonal spot). Fall back to a fixed seed color when the portal has no accent. +- **Icons:** Material Symbols Rounded, bundled from `/usr/share/fonts/TTF/MaterialSymbolsRounded[FILL,GRAD,opsz,wght].ttf` (Apache-2.0; ship its license) and drawn by codepoint, for example folder `e2c7` and home `e88a`. The app icon is `assets/tunal.svg`, `.png` and `.ico`. +- **Music metadata:** MusicBrainz for tags and the Cover Art Archive for covers. No API key; keep to 1 request/s and send a proper User-Agent. AcoustID fingerprint lookup (`rusty-chromaprint`) can come later. +- **Tag reading and writing:** `lofty`. + +## Core file manager features +- Tabs, split view, an editable breadcrumb path bar, back, forward and up navigation, and a places sidebar +- Context menus the user can edit from inside the app (add, remove and reorder actions) +- Copy path, copy, cut, paste, rename, delete, move to trash, and properties +- Sorting, grouping and a toggle for hidden files +- Sudo elevation: when an operation needs root, ask for the password and handle it securely (never logged, never on a command line, zeroed after use) +- Read `.directory` files (desktop entry format) for the folder icon, display name and view settings, and let the user edit them to change folder icons and metadata + +## Appearance and motion +- Material You styling that follows the system accent color and light/dark mode, and updates live when either changes +- Plain Material icons for files and folders when previews are off +- When previews are on, thumbnails: images, a video frame at a chosen timestamp, and embedded album art for audio +- Everything animates: navigation, view transitions, list inserts, removals and reorders, hover and press on every control, selection indicators, menus, dialogs and the sidebar. Follow the `app-taste` skill's rules (tokens only, hover tint and press squeeze on every control, interruptible motion, honour reduced motion, no idle animation, repaint only while something moves). +- At each UI milestone, run `/unslop` on the screens and `/improve-animations` to audit motion, and use the `animate` skill when building new motion. There is no `/review-animations` skill on this machine; `/improve-animations` replaces it. +- Check every UI step with screenshots in light and dark, hovered and pressed, empty and full, at the smallest window size. + +## Media +- Music tag editor: read and write tags, look up metadata and cover art (MusicBrainz and the Cover Art Archive), and embed the results and cover into the file +- Quick audio player with a waveform seek bar + +## Device sharing (native, without other file managers or external apps) +- iOS: browse and transfer files over AFC +- Android: browse and transfer files over MTP + +## Network connections +- Browse remote folders over SSH (SFTP) as a location like any other: tabs, split view, copy, move, rename, delete and properties work the same as on local files +- Saved connections in the places sidebar (host, port, user, start folder), authentication by SSH agent, key file or password, and host key checking against `~/.ssh/known_hosts` with a prompt for unknown hosts +- Read the hosts in `~/.ssh/config` so they show up without extra setup +- Prefer a pure-Rust SSH crate (for example `russh` with `russh-sftp`) +- Design the location layer so other protocols can be added later without changing the views + +## Constraints +- All Rust. Prefer pure-Rust crates. If a C library is unavoidable, say which one and why, and ask before adding it. Known cases to raise when they come up: + - video frame thumbnails (FFmpeg or GStreamer) + - audio output (`cpal` links ALSA) + - iOS (the `idevice` crate talks to the system `usbmuxd` daemon) + - MTP (pure Rust over `nusb` versus `libmtp`) + - dragging files out to other apps (Slint has no drag-out yet, so it needs our own Wayland/X11 code) +- Linux first, Wayland and X11. +- Don't use Dolphin, KDE or other file manager names in the UI, binaries or docs. + +## Assets +Move `/home/astar76/Downloads/assets` (`tunal.svg`, `tunal.png`, `tunal.ico`) into the project as `assets/` and reference the app icons from there. + +## Phases (plans in this order) +1. Cargo workspace, module layout (crates such as `tunal` app, `tunal-core` filesystem/ops and the location layer, `tunal-theme`, then `tunal-dirmeta`, `tunal-elevate`, `tunal-thumbs`, `tunal-tags`, `tunal-player`, `tunal-devices`, `tunal-net`), README, FEATURES.md +2. App skeleton: window, theme from the portal, token globals, base animated components +3. File browsing (tabs, split view, breadcrumbs, history, places, sorting, grouping, hidden files, file operations, editable context menus) +4. `.directory` support +5. Sudo prompts +6. Thumbnails +7. Tag editor +8. Audio player +9. Device sharing (AFC, then MTP) +10. Network connections (SFTP) + +Keep FEATURES.md up to date, mapping each feature borrowed from the reference app to our implementation, without naming that app in the shipped UI. + +Ask before any decision not covered here. diff --git a/Plans/01 Workspace/.gitkeep b/Plans/01 Workspace/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/Plans/02 App skeleton/.gitkeep b/Plans/02 App skeleton/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/Plans/03 File browsing/.gitkeep b/Plans/03 File browsing/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/Plans/04 Directory metadata/.gitkeep b/Plans/04 Directory metadata/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/Plans/05 Elevation/.gitkeep b/Plans/05 Elevation/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/Plans/06 Thumbnails/.gitkeep b/Plans/06 Thumbnails/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/Plans/07 Tag editor/.gitkeep b/Plans/07 Tag editor/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/Plans/08 Audio player/.gitkeep b/Plans/08 Audio player/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/Plans/09 Devices/.gitkeep b/Plans/09 Devices/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/Plans/10 Network/.gitkeep b/Plans/10 Network/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/Plans/INDEX.md b/Plans/INDEX.md new file mode 100644 index 0000000..1bc9bfa --- /dev/null +++ b/Plans/INDEX.md @@ -0,0 +1,25 @@ +# Plans — index + +One session = one plan. Plans live in category folders `Plans//SNNN-slug.md`; one `##` heading per folder below. Start: `Read CLAUDE.md then execute Plans//SNNN-xxx.md (only that one).` — or let the orchestrator run them (`/orchestrate` in a new session). Sessions tick their line here, without commentary. 🧑 = needs the user. + +Tracker: https://claude.ai/artifact/4X8YCk3cQjUGyuyCqGuU7v + +## 01 Workspace + +## 02 App skeleton + +## 03 File browsing + +## 04 Directory metadata + +## 05 Elevation + +## 06 Thumbnails + +## 07 Tag editor + +## 08 Audio player + +## 09 Devices + +## 10 Network diff --git a/Plans/_TEMPLATE.md b/Plans/_TEMPLATE.md new file mode 100644 index 0000000..d27f400 --- /dev/null +++ b/Plans/_TEMPLATE.md @@ -0,0 +1,24 @@ +# SNNN — {{TITLE}} + +> Category {{NN Category}} · Model: {{Sonnet|Opus}} · Effort: {{medium|high}} · Depends on: {{SNNN|—}} · Size: {{S|M|L}} · Human: {{no|🧑 what}} +> Files touched: {{paths/globs}} + +## Goal +{{What, why, and the AUDIT/PLAN references it handles.}} + +## Read +{{Exact files or sections to read — nothing more.}} + +## Steps +- [ ] {{step}} +- [ ] {{step}} +- [ ] PROGRESS entry, INDEX line, commit `SNNN: …` + +## End criteria +{{Each one checkable by a command or test.}} + +## Pitfalls +{{Known traps.}} + +## Handoff (→ PROGRESS.md) +{{What the next plans need to know.}} diff --git a/assets/tunal.ico b/assets/tunal.ico new file mode 100644 index 0000000..3361440 Binary files /dev/null and b/assets/tunal.ico differ diff --git a/assets/tunal.png b/assets/tunal.png new file mode 100644 index 0000000..e96d383 Binary files /dev/null and b/assets/tunal.png differ diff --git a/assets/tunal.svg b/assets/tunal.svg new file mode 100644 index 0000000..f3a432f --- /dev/null +++ b/assets/tunal.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/docs/DECISIONS.md b/docs/DECISIONS.md new file mode 100644 index 0000000..f3114ab --- /dev/null +++ b/docs/DECISIONS.md @@ -0,0 +1,7 @@ +# Decisions + +`D-NNN — date — decision — why — plans affected`. Never rewrite an entry; supersede it with a new one. + +D-001 — 2026-11-18 — Brief decisions adopted as binding: name Tunal / binary `tunal`; Slint 1.19 with own components on Theme + Motion globals; zbus blocking portal + material-colors 0.5; Material Symbols Rounded by codepoint; MusicBrainz + Cover Art Archive (1 req/s, User-Agent); lofty; russh + russh-sftp preferred — PROMPT.md §Decisions — all plans. +D-002 — 2026-11-18 — Workflow: at most 2 parallel sessions, look-ahead 3, Sonnet medium by default and Opus high for theming/motion, elevation, devices and SFTP; git local only (no remote, no push) — user's answers at setup — all plans. +D-003 — 2026-11-18 — 🧑 checkpoints: visual review at end of phases 2, 3, 6; real-password sudo test (phase 5); real devices (phase 9); every C library before it is added — user's answers at setup — phases 2, 3, 5, 6, 8, 9. diff --git a/docs/PROGRESS.md b/docs/PROGRESS.md new file mode 100644 index 0000000..59aed4c --- /dev/null +++ b/docs/PROGRESS.md @@ -0,0 +1,6 @@ +# Progress + +One entry per session, newest last, ≤ 15 lines: done, verified how, not done, later. + +## Later +- diff --git a/docs/STATUS.md b/docs/STATUS.md new file mode 100644 index 0000000..0bc3562 --- /dev/null +++ b/docs/STATUS.md @@ -0,0 +1,5 @@ +# Status + +Live status is in `Plans/INDEX.md` (ticked plans), the tracker linked there, and the last entries of `docs/PROGRESS.md`. This file only records the current phase. + +Current phase: setup done; plans not generated yet (next: `/plan-generate`).