Update memory.md: record session, host-setup gap, and known watcher rebind limitation

This commit is contained in:
megaproxy 2026-05-09 00:11:47 +01:00
parent c1ef514697
commit 169f82d53e

View file

@ -16,20 +16,26 @@ Durable memory for this project. Read at session start, update before session en
## Open questions / TODOs
- [ ] **Forgejo host setup** is incomplete on this WSL machine:
no `~/.ssh/id_ed25519`, no `tea` CLI, no global `git config user.{name,email}`.
Repo currently lives only locally; **`git remote add origin` and `git push -u origin main` are pending** that setup. See `~/claude/CLAUDE.md` § "One-time host setup" for the exact steps.
- [ ] **Watcher does not re-bind on settings change.** If user changes WSL distro override in Settings, `set_settings` calls `refresh_and_emit` and updates `state.roots`, but the `notify` watcher is still pinned to the *old* roots. v0 workaround: restart the widget after changing distro. Better fix: rebuild `WatcherHandle` on settings change.
- [ ] Tune cap defaults once we have a few weeks of real data — current 200k / 2M values are guesses.
- [ ] Decide whether to expose a tray icon for relaunch after `quit_app` (currently the widget can only be reopened via Start Menu / autostart).
- [ ] Consider whether to fold in the pricing / `$ estimate` view later — out of scope for v0 per user.
- [ ] Verify subagent dedupe assumption: do subagent JSONLs ever contain assistant lines that aren't also in the parent transcript? If yes, we MUST count them; if always duplicate, we MUST skip them. Plan currently uses `requestId || uuid` set, which is safe either way.
- [ ] Replace placeholder Tauri icons in `src-tauri/icons/` before release.
- [ ] Verify subagent dedupe assumption: do subagent JSONLs ever contain assistant lines that aren't also in the parent transcript? If yes, we MUST count them; if always duplicate, we MUST skip them. Code uses `requestId || uuid` set, which is safe either way.
- [ ] Replace placeholder Tauri icons in `src-tauri/icons/` before release (`pnpm tauri icon source.png`).
- [ ] First `cargo check` / `pnpm install` has not run — toolchain absent in WSL. Build will happen on Windows host; expect minor compile warnings on first try.
## Session log
### 2026-05-08
- Created project scaffold per the approved plan at `~/.claude/plans/snug-mapping-milner.md`.
### 2026-05-08 / 2026-05-09
- Planned the project (approved plan at `~/.claude/plans/snug-mapping-milner.md`) and built the full scaffold in one session that crossed midnight UTC.
- Authored Tauri config (frameless, transparent, alwaysOnTop, skipTaskbar, 280×360), Cargo.toml, capabilities/default.json.
- Authored Rust modules: `state.rs`, `settings.rs`, `paths.rs`, `jsonl.rs`, `usage.rs`, `watch.rs`, `commands.rs`, `lib.rs`, `main.rs`.
- Authored Svelte frontend: `App`, `TitleBar`, `BlockRing`, `WeeklyBar`, `ModelStack`, `Settings` components plus `ipc.ts`, `types.ts`, `format.ts`.
- Authored Rust modules: `state.rs`, `settings.rs`, `paths.rs`, `jsonl.rs`, `usage.rs` (with unit tests for block boundaries), `watch.rs`, `commands.rs`, `lib.rs`, `main.rs`.
- Authored Svelte 5 frontend: `App`, `TitleBar`, `BlockRing`, `WeeklyBar`, `ModelStack`, `Settings` components plus `ipc.ts`, `types.ts`, `format.ts`, `styles.css`.
- Wrote `scripts/seed-fake-jsonl.ps1` verification helper and `README.md` build instructions.
- 5 commits on `main` branch, all local. Forgejo host setup incomplete (see TODOs) — push deferred to next session.
- Toolchain (rust/node/pnpm) NOT installed in this WSL environment — that's expected; the build runs on the Windows host. `cargo check` / `pnpm install` not yet run.
## External references