adhd-ranch
Issue tracking for a five-year-old. Menubar/tray desktop app — Tauri v2 + React. macOS is the primary target.
A small number of buckets ("Focuses") with a few bullets each ("Tasks"). Pixel Pig sprites roam the screen as a peripheral reminder — one Animal per Focus, and, when you turn it on, one Animal per Agent Session. Click a Focus Animal to inspect or edit its Tasks. Markdown on disk is the source of truth.
See specs/003-ranch-today/spec.md for what the ranch does today, CONTEXT.md for names, and CLAUDE.md for the programming rules every slice must follow.
Quick install (end-user)
- Download the latest package for your platform from Releases:
- macOS:
.dmg
- Windows:
_x64-setup.exe or _arm64-setup.exe
- Linux:
.AppImage or .deb
- The builds are not codesigned. macOS Gatekeeper will block the first launch. Either right-click the app → Open (Open button appears), or:
xattr -dr com.apple.quarantine "/Applications/Adhd Ranch.app"
- Launch the app once. The tray icon appears in the menubar, and the first launch creates one example Focus so the ranch has a pig to show.
Day-to-day usage
- Open the tray menu. Click + New Focus and give it a title, an optional description, and an optional timer.
- A pig appears for each Focus and wanders on the overlay.
- Click a pig to open its detail card. Rename, duplicate, or delete the Focus; add, edit, Complete, or Delete Tasks.
- Click the clock/time control on the Focus title or on any Task to start, restart, or Clear a Timer. Focus timers also drive animal growth and expired-focus alerts.
- Drag a pig to move it; release to toss it. Tray → Gather Pigs pulls every pig back onto the primary display.
- Hand-edit
~/.adhd-ranch/focuses/<slug>/focus.md whenever you want — the watcher reflects changes within a second. Adding - [ ] something adds a task, - [x] marks it done, deleting a line removes it.
- Tray → Settings… opens Preferences: Limits, always-on-top, delete confirmation, enabled displays, and notification toggles.
Claude Code animals (optional, macOS/Linux)
Turn on Agents as Animals in the tray to show Claude Code sessions as animals. Ranch will show Install Hooks… if its Claude plugin is missing; the same item is always available in the tray. Run the command it shows inside Claude Code and choose User scope so it works across projects:
/plugin install adhd-ranch-hooks --marketplace killallgit/adhd-ranch
Follow Claude's reload prompt if an already-open session has not activated the plugin. Turning Agents as Animals off hides and forgets sessions but leaves the Claude plugin installed. Ranch never installs or removes the plugin for you. The plugin transport is not supported on Windows yet.
Limits + alerts
Default Limits: 5 Focuses, 7 Tasks per Focus. Going Over Limit still saves your markdown, but the tray icon turns red and the app sends one system notification when the ranch becomes Over Limit.
Override defaults in ~/.adhd-ranch/settings.yaml:
caps:
max_focuses: 5
max_tasks_per_focus: 7
notifications:
timer_expired: true
task_timer_expired: true
focuses_over_cap: true
tasks_over_cap: true
widget:
always_on_top: false
confirm_delete: true
displays:
enabled: 0
agents:
enabled: false
pens:
max_size: 320
displays.enabled is a comma-separated list of monitor indices. Missing keys fall back to defaults. Settings changed through Preferences are persisted and applied immediately; manual edits to settings.yaml are picked up on app restart.
Storage layout (canonical state)
~/.adhd-ranch/ (%APPDATA%\adhd-ranch on Windows)
focuses/
<slug>/focus.md YAML frontmatter + - [ ] / - [x] bullets
<slug>/timer.json optional Focus countdown timer sidecar
<slug>/task-timers.json
optional Task countdown timer sidecar, indexed to task order
settings.yaml optional Limits + notification/widget/display config
The app makes no network calls and exposes no network API. The UI talks to Rust through Tauri IPC.
Development
task install # install frontend deps
task dev # launch Tauri dev window
task check # PR gate: lint + unused-code checks + typecheck + tests + generated-type drift check
task build # release bundle in src-tauri/target/release/bundle/
task check needs cargo-shear for the unused-dependency check: cargo install --locked cargo-shear.
Releases are created manually with .github/workflows/release.yml.