docs(lite): record end-of-session implementation status

Summarize the 2026-06-05 session in the v2 plan: M1–M5a + encryption complete,
GUI wired with lite wording, ~3.2k lines cleanup, Linux+Windows packaging
verified, both variants build clean, runtime-verified on Linux. Notes the
remaining M5b infra (macOS/CI/signing/rollout) and the push plan.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-05 19:32:50 -05:00
parent 950d7ace50
commit 59b8c4da81

View File

@@ -2,6 +2,18 @@
**Status:** Active. **Supersedes** `docs/full-lite-wallet-implementation-plan-2026-05-18.md` (archived).
## Implementation status — end of 2026-06-05 session
The lite wallet is **functionally complete on Linux + Windows and runtime-verified** (branch `cleanup/lite-plan-churn`, local-only — not pushed). Done this session:
- **M1M3** lifecycle (create/open/restore, auto-open existing wallet on startup, new-address), **M4** send / shield / import / export / seed, **M5a** persistence (save after sync/send/shield) — all controller-tested against a fake backend and smoke-verified against the real SDXL backend (incl. a full ~30-min sync).
- **Wallet encryption** (encrypt / unlock / lock / decrypt + encryptionstatus): controller + Settings UI + send-time unlock + startup unlock prompt; verified live (`lite_smoke --encrypt` — note: the backend **locks immediately on encrypt**).
- **GUI** wired end-to-end (send/receive/backup-&-keys/first-run welcome/encryption), with lite-appropriate wording (the full-node wizard/daemon/peer strings are skipped or replaced in lite) and the full-node RPC loop + refreshes gated out of lite.
- **Cleanup:** ~3.2k lines of dead parallel-refresh/wrapper scaffolding removed; adversarial-audit findings fixed; two runtime bugs caught via WSLg runtime monitoring (RPC-in-lite disabling the wallet UI; daemon strings) and fixed.
- **Packaging:** `build.sh --lite-backend --linux-release` (zip + AppImage) and `--win-release` (cross-compiled `.exe`, with a Windows backend artifact via `scripts/build-lite-backend-artifact.sh --platform windows`) both verified, with full-node assets correctly excluded.
- Both variants build clean from scratch; the focused test suite passes; source-hygiene clean.
**Remaining (M5b infra, not done):** macOS packaging, CI backend-artifact build + signing, runtime kill-switch / staged rollout. **Push plan:** rename branch → `feat/lite-wallet`, base PR on `dev` (full-node UX already there), handle the dormant gated-OFF HushChat content from commit `af06b8b`.
## Context — why this plan replaces the v1 plan
The v1 ("Full Lite Wallet Implementation Plan", 2026-05-18) drove the lite effort for ~6 weeks and produced a large amount of code, but **zero end-to-end wallet functionality**. Its method — build every layer of every phase in a *typed-disabled* form and "promote one disabled scaffold at a time" through readiness/custody/handoff governance — generated ~160 dead `lite_wallet_*_plan`/`*_batch*` files (filenames up to 250 chars) and a 33k-line test file that exercised only disabled scaffolding. Those files were deleted on 2026-06-04 (branch `cleanup/lite-plan-churn`); a `scripts/check-source-hygiene.sh` pre-commit guard now blocks their regrowth.