Project plan
ChopWatch is past the first working dashboard (v0.5.x). This page is the product roadmap: what shipped, what is next, and how work flows from idea → dev → release.
---
Product intent
Watch Chopping without pretending to see inside the job.
ChopWatch is a local Salad companion for this PC — lifecycle, GPU/host, Bowl wallet lines, chopping hours, phase alerts, and optional official balance/history. It is not a cloud SaaS, not a workload inspector, and not a substitute for Salad’s own app.
mindmap
root((ChopWatch))
See
Bowl lifecycle phase
GPU / host load
Wallet current + predicted
Chopping hours estimate
Paid vs unpaid ROI
Results paid % graph
Act lightly
Pause / resume flag
Allowlisted prefs
Phase toasts
Slow-download bail
Earn playbook tips
Opt-in
Connect Salad cookie
Official balance / history
Electricity $/kWh for net
Never
token.txt
Containers / WSL
Fake Running phase
---
Status at a glance
flowchart LR Done[Done<br/>helper · UI · Electron<br/>CI · Releases · SHA256] --> Near[Near term<br/>parser keep-up<br/>SignPath if public] Near --> Later[Later<br/>Store / winget<br/>richer Star Chef]
| Horizon | Themes |
|---|---|
| Done | Local helper + React tabs, Bowl pipeline, opt-in Salad API, Electron tray, Start with Windows, Vitest/CI, Windows NSIS + portable on GitHub Releases, Current-task panel (phase + kind hint; customer name unavailable) |
| Near term | Parser hardening (ongoing), free SignPath signing once repo is public, richer Star Chef signals if Salad exposes them |
| Later | winget / Microsoft Store, promote-dev-to-main script; keep welchsoftware.net ChopWatch page + /chopwatch/ docs current |
---
Done
- Local helper + React UI (Overview / Details / Settings / About)
- Bowl lifecycle parsing, wallet lines, GPU/host, chopping hours, phase alerts
- Opt-in Salad API + Connect Salad browser capture
- Allowlisted pause/resume and preference edits from Overview
- Slow-download bail: auto pause→resume re-roll for stuck unpaid pulls + Overview Skip download
- GitHub repo hygiene: version bump hooks, docs + HTML sisters, Vitest, CI
- Windows packaging (
npm run dist) + GitHub Releases workflow - Electron tray shell (hide-on-close; Quit stops helper)
- Start with Windows (packaged app; tray login start via --hidden)
- Public product page + Mermaid docs hub on welchsoftware.net
- Release integrity:
SHA256SUMS.txton every Windows release; optional free SignPath path documented (no paid cert) - Bowl parser hardening pass: timezone stamps (+00:00/−07:00 ageSec), negative Predicted(-1)/(-1.00) + [INF]/precision wallet lines, InstallStarting / ProcessWLStatusEvent Starting / stop-reason / sparse pull, Running-without-Pulling + no invented Running, interleaved wallet/heartbeat newest-wins
- Earning ROI panel: paid vs unpaid chopping hours (Running vs Pulling/setup), optional net $/day from GPU watts × Settings
$/kWh - Results tab: paid % scoreboard (24h/7d rings), dual-axis 14-day paid/unpaid + paid-% graph, readiness checklist / tips / habit, bail vs recommended
- Details tab depth: paid/unpaid session + timeline tags, durations/stop reason, local hours-by-day, API history overlaid with local paid/unpaid
- Current task panel: phase, instance, Salad
/sceimage uuid + registry (no digests), machine id, host kind hint (container vs miner); explicit “for whom = not available” (Salad chef APIs do not expose customer names) - Host signals pack: WSL NIC RX/TX, C: free +
ext4.vhdxsize, stronger miner detection (paths underProgramData\Salad\workloads), Bowl failure/degraded codes, local opaque/sceimage history with tooltips - Slow-download bail presets in Settings: Patient / Balanced (default grace 10 · max 25 · ETA 35×6 · stall 8 · cooldown 20) / Aggressive unpaid kill (6 · 15 · 22×4 · 5 · 12)
---
Near term
| Item | Why |
|---|---|
| Keep Bowl parsers honest | Salad log formats change; re-fixture when phases drift |
| Enable free SignPath signing | Requires public GitHub repo + SignPath OSS approval — see SIGNING.md |
| Richer Star Chef / reward progress | Only if Salad exposes clearer local or API signals |
gantt title Near-term focus (indicative) dateFormat YYYY-MM section Stability Bowl parser hardening (ongoing) :a1, 2026-11, 2M section Desktop polish SHA256SUMS + optional SignPath :a3, 2026-11, 2M section Product depth Star Chef signals if available :a4, 2027-01, 2M
---
Later (optional)
- Promote
dev→mainrelease script (DropToPhone-style) - winget / Microsoft Store once releases and signing are steady
- Richer public download landing if Store distribution is delayed
Marketing page + architecture/plan HTML hub: welchsoftware.net/projects/chopwatch · /chopwatch/
---
Delivery workflow
Day-to-day work stays on dev. Promote to main for a stable line. Tags v* cut Windows artifacts via GitHub Actions.
flowchart TB Idea[Idea / bug] --> Dev[Branch work on dev] Dev --> Test[Vitest + manual Overview/Settings] Test --> Docs[Update ARCHITECTURE / PLAN md] Docs --> Html[npm run docs:html] Html --> PR[PR / push to dev] PR --> CI[CI green] CI --> Main[Promote to main when stable] Main --> Tag[git tag vX.Y.Z] Tag --> Rel[Release workflow → NSIS + portable] Rel --> Site[Refresh welchsoftware.net page if needed]
Versioning
- Root
package.jsonis the source of truth - Pre-commit hook bumps PATCH and syncs
helper/+web/ - Major/minor change by hand for milestones
- See TESTING.md
Docs
| Doc | Purpose |
|---|---|
| ARCHITECTURE.md | Processes, snapshot pipeline, workflows, safety |
| PROJECT_PLAN.md | This roadmap |
| EARNINGS_AND_DISTRIBUTION_NOTES.md | Operator notes: paid-% review, bail presets, GPU ROI, where to ship |
| SIGNING.md | SHA256SUMS + free SignPath (no paid cert) |
| PRIVACY_POLICY.md | What we read / never read |
| TESTING.md | Versions, HTML sisters, Vitest |
Regenerate HTML: npm run docs:html · open: npm run docs:view
---
Architecture snapshot (for planning)
Full detail lives in ARCHITECTURE.md. Planning view:
flowchart LR
subgraph product [ChopWatch product]
UI[React UI]
Helper[Express helper]
Desk[Electron tray]
end
subgraph salad [Salad on this PC]
Logs[Bowl logs]
Prefs[Prefs / pause flags]
Proc[Salad processes]
end
subgraph opt [Optional]
API[Salad app-api]
end
Desk --> Helper
UI --> Helper
Helper --> Logs
Helper --> Prefs
Helper --> Proc
Helper -.-> API
Non-goals for the current milestone
- Cloud sync or multi-PC fleet dashboard
- Reading customer container filesystems
- Replacing Salad’s own chef UI
- Unsigned Store distribution before signing is in place
---
Success checks
A release is “good enough” when:
- Packaged app starts, tray works, helper answers
/health - Overview shows a believable phase while Salad is chopping / paused / idle
- Pause/resume flips Salad’s indefinite-pause flag and the next snapshot reflects it
- Connect Salad (or Advanced paste) can populate balance when opted in
npm testand CI docs HTML check stay green- GitHub Release publishes both NSIS and portable builds
---
Branches
| Branch | Role |
|---|---|
dev |
Day-to-day work |
main |
Stable line |
v* tags |
Windows release artifacts |