v0.7.6 - Launcher Hardening, Legacy Code Cleanup & Documentation Sweep
This patch release hardens the unlock-start launcher against signal-handler leaks and polling hangs, removes deprecated legacy migration code, fixes broken script references, and sweeps documentation for stale content.
Unlock-Start Isolated Mode Hardening
- Clean up leaked signal handlers from
runIsolated,main, andforwardSignalpaths. Fix unguardedsetIntervalinrunIsolated. Addsettledguard to prevent post-settlement timer scheduling. Add regression test for poll rejection.
Unlock-Start Launcher Hardening
- Add
daemonReleasedflag preventing redundant daemon stop after supervisor release. - Replace fragile
.replace(/\.js$/, '')withpath.parse().namefor correct.tsdetection. - Add
isSupervisorTransientError()helper for proper error routing. - Filter
ESRCHin signal forwarding paths.
Deprecated Pattern Removal
- Remove
orderbooklegacy price mode alias;marketalias preserved asbookmapping. - Remove SHA-256 vault legacy format (
hashPassword,decryptLegacyRecord,migrateLegacyVault). - Remove
DUST_CANCEL_DELAY_MINlegacy migration,staleTailVerifiedTssingle-timestamp migration, anddeferPersistenceflag. - New AMA slope writes default to
perBar;window/cumulative/legacyrecognition preserved. - Fix broken script references:
node scripts/*.js->npx tsx scripts/*.ts.
Documentation Sweep
- Fix stale line numbers, broken file paths, and outdated test counts across docs.
- Clarify legacy labels and test count wording.
Docker
- Skip npm prepare script during Docker
npm cito prevent tsc failure before source COPY.