From 681d15fdc33c74aac08b2aee1b5966265ef24fce Mon Sep 17 00:00:00 2001 From: megaproxy Date: Thu, 28 May 2026 19:05:29 +0100 Subject: [PATCH] memory.md: fix Phase 2 verify command (cargo from src-tauri/, not root) Tauri keeps the crate in src-tauri/; cargo check from the project root fails with "could not find Cargo.toml". Caught by the user after I suggested the wrong cd. Added a preflight-checks rule to global ~/claude/CLAUDE.md so this generalises. Co-Authored-By: Claude Opus 4.7 (1M context) --- memory.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/memory.md b/memory.md index 892abc2..6b6561e 100644 --- a/memory.md +++ b/memory.md @@ -86,7 +86,7 @@ Two big features the user asked for in one session. Three commits on `main`: `1a - **`WindowEvent::CloseRequested` closure captures `Arc` and `Arc` by move.** `windows_state_for_event.forget(label)` is the cleanup path; `pending_inits_for_event.by_label.lock().remove(&label)` removes any unconsumed init payload (the consumed-then-window-died case). **Phase 2 verification needed** (user, on Windows host): -1. `cd D:\dev\tiletopia && cargo check` — the Rust changes have to compile. Watch for: tauri 2 `WebviewWindowBuilder::new` signature, `on_window_event` handler closure types, my `Arc` method receiver style on WindowsState. +1. `cd D:\dev\tiletopia\src-tauri && cargo check` — the Rust changes have to compile. **Note: `Cargo.toml` lives in `src-tauri/`, NOT the project root** (Tauri layout). I got this wrong in the original verification steps; user had to point it out. Added a preflight-checks rule to global `~/claude/CLAUDE.md`. Watch in the check output for: tauri 2 `WebviewWindowBuilder::new` signature, `on_window_event` handler closure types, my `Arc` method receiver style on WindowsState. 2. `pnpm tauri dev` — smoke test: - Existing workspace loads as one tab named "Default" ✓ migrate - Ctrl+T spawns new tab with default-shell pane