The v2 launcher is a thin Tauri client over the existing Python engine +
FastAPI service at 127.0.0.1:4545. The engine and its seven layers are the
core IP and are not rewritten here (see V2_BRIEF.md and
apps/launcher/DESIGN.md). Recovery is the hero;
search is secondary.
Each phase ends with a local commit (never push; no AI attribution). These checkboxes are the source of truth for where we are — update them as phases land so any session resumes from the right place.
- Phase 0 — Foundations. Engine running, capture live, CI green, repo clean.
- Phase 1 — Launcher foundation (in progress). Tauri panel on
Ctrl+Space, Recovery hero on real
/v1/recovery/recentdata, hide-on-blur, content-fit resize, vibrancy. - Phase 2 — Search surface. Persistent search field at the top
(Raycast-style); empty = the Recovery hero, typing renders the
episodic + session + micro-context bundle on the thread spine with
per-layer node hues (moment/session/context), keyboard-first (↑↓
move, ↵ open, esc clear). Backed by the live
/v1/search; Enter opens the selected result via theopen_targetcommand. Code-complete + type/compile-checked; visual verification in-app pending (needs a real window + captured data). - Phase 3 — Threads & evolution. Resting state now carries an
"Active threads" section (
/v1/threads/recent) alongside the Recovery hero;↵/→on a thread (or a recovery candidate — it carries athread_id) drills into a detail view rendering the thread's evolution phases on the spine (/v1/threads/{id}/evolution);←/escreturns. Enter on a phase opens its representative target. Code-complete + type/compile-checked; visual verification pending. - Phase 3.5 — Every engine layer has a surface. The resting state
gains "On your radar" (
/v1/resurface/idle— topics set aside past the idle threshold, deduped against active threads); search gains a file results group (/v1/search/files, also in the extension popup); and macOS desktop-focus capture (darwin.pyprobe, opt-indesktop_capture_enabled) feeds the engine a third source. - Phase 4 — Restore choreography. Enter on a candidate reopens the
work in order (files → chats → tabs by domain → searches). The engine
orders the plan (
plan_for, with per-step reasons); the Rust command executes it with a 140 ms stagger so the OS layers windows in plan order, talliesopened/requestedonto the returned plan, and the row reads "reopening your work…" while it runs. - Phase 5 — Settings & polish. ⌘, opens a settings view inside the
panel: summon hotkey re-recorded live (persisted to
~/.recall/launcher.json, parser unit-tested, falls back to ⌃Space on any bad spec — the panel can never end up unsummonable), start at login (tauri-plugin-autostart LaunchAgent), indexed folders row opening~/.recall/config.json. Resting data now re-reads the engine on every summon (stale panels and "engine offline" self-heal), and the empty/offline states carry honest copy. - Phase 6 — Ship (build path).
pnpm tauri buildproduces a 2.4 MBRecall.app+Recall_0.1.0_aarch64.dmg(release profile, fat LTO; window-vibrancy pinned to tauri's minor to fix a duplicate-ObjC-class LTO link failure). Ad-hoc signed today; the Developer-ID signing + notarization path is documented in RELEASE.md and needs only the certificate — no code changes. Still open before a public cut: notarized artifact + demo script on real sessions.
The launcher is only as good as the event log behind it. This track is the
gate: a continuity surface with an empty ~/.recall/events/ is empty no
matter how polished. Capture runs through the MV3 extension
(apps/extension/background.js) → 127.0.0.1:4545 → the seven-layer engine.
Charter holds: local-first, deterministic, additive, no DOM scraping, no
telemetry. See the capture audit for the full diagnosis.
- Capture C0 — Audit. Root cause of the empty hero pinned: the extension was not loaded (reserved-underscore filename blocked Chrome, now removed), capture used a fire-and-forget sender with no queue, and only 2 stale test events were on disk.
- Capture C1 — Make capture real & verifiable. Extension loaded and
capturing organically (a live day shows
browser_visit+chat+search+desktop_windowkinds side by side). The honest self-check shipped asGET /v1/events/today(count + per-kind tally read straight from the day file, <10 ms median, smoke §36) and surfaces as an "N events today" pill in the extension's trust strip. Doc drift fixed: README ingest/retrieval tables now carry/v1/events/batch,/v1/search/files,/v1/events/today; popup bundle rebuilt from source. - Capture C2 — Refactor core (modular + tested).
background.jssplit intocapture/sources.js(listeners + title-settle),capture/normalize.js(pure(url,title)→{kind,payload}, node-tested viacapture/normalize.test.js), andcapture/outbox.js(delivery). ES-module service worker; no behaviour change to what lands on disk. - Capture C3 — Robust capture (zero loss). Persistent outbox in
chrome.storage.local; batched POST to/v1/events/batchwithchrome.alarmsretry (survives MV3 worker eviction and daemon downtime);webNavigation.onHistoryStateUpdatedfor SPA-route capture; capture-timetspreserved through delayed flushes. Server side:POST /v1/events/batchshipped (smoke §34). Code-complete; the remaining open item is C1 — load the extension and confirm organic events flow end-to-end (only reproducible in a real browser). - Capture C4 — Work-session signal (the moat).
capture/dwell.jstracks attention (tabs.onActivated, windows.onFocusChanged, same-tab navs, SPA routes) and emits onebrowser_focusevent when focus leaves a page — dwell ≥8 s, capped at 30 min, deduped by construction (one event per interval) — carryingdwell_msand a deterministic work-block hint (block: wb-<epoch>; a new block after 5 min of browser silence). Pure tracker core node-tested (7 checks); engine opted in viaALLOWED_KINDS+ payload allowlist + smoke §34, with the kind deliberately absent fromRETRIEVABLE_KINDS— it is a grouping signal for behavioural work-blocks, never a search result. - Capture C5 — Behavioural sessions (use the signal).
app/core/workblocks.py— a pure, deterministic derivation that regroups a session's events into work-blocks of continuous attention. The 30-min clock over-merges two scattered bursts into one session and can't tell focus from a tab left open; work-blocks read thedwell_ms/blocksignal back and split what the clock lumped (10-min behavioural idle) while bridging gaps a dwell span or sharedwb-id proves were continuous. Additive — thesession_idspine is untouched;Sessiongains derivedwork_blocks+behavioural_label("one 47-minute focus block" / "3 attention blocks"), surfaced throughSessionOutand the launcher caption. 9 pure unit checks (_test_workblocks.py) + smoke §38; ~1 µs per derivation, safe on the search hot path.