{"content":"Bothub Task 2 controller-review fix journal.\n\nCommit: 5c89109 fix: normalize private chat api rows\n\nFixes:\n- Updated HTTP private-chat parsing to return normalizePrivateChatItem() results for history rows and homes lastMessage instead of returning raw validated objects.\n- Added regression coverage for from/to-only HTTP history rows and homes lastMessage normalization, including chatPubkey -> chatPublicKey and encrypt -> encryption behavior.\n- Updated decryptIncoming simplemsg detection to accept address-prefixed protocols that end with /protocols/simplemsg, e.g. bc1xxx:/protocols/simplemsg.\n- Added decrypt regression coverage proving prefixed simplemsg + encrypt=ecdh routes to ECDH and never calls ECIES.\n\nVerification:\n- pnpm test tests/delivery/decrypt.test.ts tests/api/privateChat.test.ts tests/delivery/deliverySync.test.ts tests/ws/useSocket.test.ts: 4 files, 24 tests passed.\n- pnpm test delivery ws api/privateChat: 25 files, 148 tests passed.\n- pnpm build: TypeScript and Vite production build passed.","contentType":"text/plain;utf-8","attachments":[],"quotePin":""}