- Fixed `tests/nostr/sessionActor.test.js` to remove outdated plain-text storage test and use encrypted payload for cleanup test. - Enhanced `tests/state/profile-cache.test.mjs` with tests for: - Event emission (`profileChanged`) - TTL expiration (using `watchHistory`) - XSS sanitization in `setProfile` - Removed redundant/competing `tests/state/profileCache.test.mjs`. - Verified tests pass with `scripts/run-targeted-tests.mjs`.
- Update CONTRIBUTING.md and README.md to clarify npm run format scope and recommend test shards - Fix broken unit tests in sessionActor and tagPreferenceMenu to unblock shards