What problem does it solve? Zeus's embedded Lightning nodes (LND and LDK Node) crash, hang, or duplicate during start, stop, delete, and wallet-switch operations due to race conditions spread across Wallet.tsx, SettingsStore flags, JS utilities, and native modules. This Skill provides a verified lifecycle state map, reproducible baseline experiments, and a ranked fix menu so engineers can measure, diagnose, and repair these races without guesswork. ## Core Features & Use Cases - Verified lifecycle state machine: Documents the four-layer ownership of node lifecycle (Wallet.tsx orchestration, SettingsStore flags like fetchLock/connecting, JS node control utilities, and native Kotlin/Swift modules) with commit-hash citations. - Baseline experiment suite (Phase 0-5): Provides reproducible experiments with exact adb logcat and iOS log commands, grep-able log milestones, and decision gates for cold starts, rapid wallet switches, wallet deletion, background storms, and JS reloads. - Ranked solution menu with fenced wrong paths: Offers three ordered fixes (fetchData lock hygiene, cross-implementation teardown, LDK stop/delete hardening) with theory obligations, blast radius, and PR gates. - Use Case: A maintainer sees users reporting SIGABRT crashes when switching from an embedded LND wallet to an LDK Node wallet. Load this Skill to run experiment E2, confirm via the old-node liveness probe that the previous node keeps running (window W3), then implement the cross-implementation teardown fix with its required evidence. ## Quick Start Load this skill and ask the AI to reproduce the wallet-switch crash between embedded LND and LDK Node using the Phase 0 baseline experiments and logcat milestones.