From f7872e2914f7a31add73a82abedd0bc05f637526 Mon Sep 17 00:00:00 2001 From: Dorian Date: Thu, 19 Mar 2026 23:03:11 +0000 Subject: [PATCH] =?UTF-8?q?chore:=20session=20state=20save=20=E2=80=94=20a?= =?UTF-8?q?ctive=20bugs=20and=20outstanding=20tasks=20documented?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 (1M context) --- .../project_repo_cleanup_and_dev_env.md | 71 ++++++++++--------- 1 file changed, 39 insertions(+), 32 deletions(-) diff --git a/.claude/memory/project_repo_cleanup_and_dev_env.md b/.claude/memory/project_repo_cleanup_and_dev_env.md index 8d9a248d..7ecf6919 100644 --- a/.claude/memory/project_repo_cleanup_and_dev_env.md +++ b/.claude/memory/project_repo_cleanup_and_dev_env.md @@ -1,42 +1,49 @@ --- -name: v1.3.0 Deploy Status -description: March 19 session — pentest remediation, container reliability, deployment to .228/.198 +name: v1.3.0 Session Status (March 19 late) +description: Massive session — 33 pentest fixes, container reliability, federation, mesh channel, 30+ commits type: project --- -## v1.3.0 Deployed (2026-03-19) +## Deployed to .228 + .198 -### .228 — Fully deployed and verified -- All 33 pentest security fixes live (including backend auth on /lnd-connect-info) -- ElectrumX headers.subscribe fix — synced at block 941k+ +### What's Live +- All 33 pentest security fixes (backend + frontend + nginx) - Container reliability: memory limits in scripts, crash recovery coordination, health badges -- Backend bound to 127.0.0.1:5678 (systemd + nginx) -- Frontend: iframe auto-retry, TransactionsModal, health-aware badges, What's New v1.3.0 -- 31 containers running, all healthy +- Federation & Peers: DID persistence, rotation, node names, two-column layout, invite types +- Archipelago public channel in Mesh (Tor messaging) +- LND Connect with CORS fix (bulletproof) +- ElectrumX headers.subscribe fix +- FileBrowser auto-login +- Lightning channel backup export +- App iframe auto-retry +- Install progress persists across navigation -### .198 — Partially deployed, needs attention -- Binary deployed but machine chronically overloaded (8GB RAM, load 10+) -- Bitcoin RPC 401 FIXED (secrets dir was root-owned) -- SearXNG settings.yml created, LND Tor REST port 8080 added -- Tor uses archipelago torrc NOT system torrc — needs consolidation -- Jellyfin stopped to save resources -- ElectrumX indexing (pruned data, will be slow) +### Active Bugs (fix next session) +1. **Archipelago channel**: sent messages don't show to sender (no local echo), .228 says "no peers found" +2. **Web5 Send Message modal**: should redirect to Mesh chat, not show its own modal +3. **Cloud peer files**: "Operation failed" when browsing .198 files from .228 — Tor connection issue +4. **Server name save**: not persisting — no `server-name.txt` on server +5. **Node names**: still showing DIDs in some places (cloud peer header, some federation contexts) +6. **Tor**: ControlPort 0 fix applied manually but needs to be in deploy script/torrc generation +7. **Connected Nodes container**: not filling height, needs max-height fix in Web5 view -### Deploy lessons learned -- `cargo clean -p` + rebuild doesn't always recompile if rsync preserved timestamps -- Fix: append blank line to force mtime change, or use `cargo build --release` after manual touch -- Atomic binary swap: `cp new, mv over running` works; `cp over running` fails with "Text file busy" -- systemd `Restart=always` prevents `systemctl stop` + `cp` — must use atomic mv +### Outstanding Tasks +- Tor restart button in Network UI +- Auto-restart Tor when features fail +- ISO build for alpha tester +- Deploy to Tailscale nodes (Arch 1/2/3) +- .198 stabilization (containers, memory limits) +- Container memory limits recreation on existing servers +- Meshcore public channel investigation (radio messages not showing) +- AIUI API key settings +- Message notification → open Mesh chat (not Web5) +- Loading state on Archipelago channel send ("Decentralization takes a sec") -### Backlog for next session -1. .198 stabilization (reduce containers for 8GB, apply memory limits via container recreation) -2. .198 Tor consolidation (system tor vs archipelago tor process) -3. BTCPay iframe cross-origin error (needs nginx proxy config) -4. Tailscale admin page in iframe -5. ElectrumX UI: Tor first as connect option -6. Stagger animation fix + fleet dashboard + map tab -7. Deploy to Tailscale nodes (Arch 1/2/3) -8. App iframe error page — auto-retry now works, but needs polish +### Deploy Notes +- Backend binary: atomic swap via `cp -new` + `mv` +- Tor fix: remove `ControlPort 0` from torrc, chown debian-tor +- LND UI: rebuild with `--no-cache` for CORS credentials fix +- Always sync: frontend, nginx config, docker UIs, scripts, core source -**Why:** Track deployment state for session continuity. -**How to apply:** Read at start of next session. Check .198 load before attempting operations. +**Why:** Session continuity for the massive v1.3.0 effort. +**How to apply:** Read at start of next session. Fix active bugs first, then ISO build.