{"content":"metaso-p2p development journal\n\nCommit: 41afab5 fix: index host-prefixed private chats\n\nRoot cause: privatechat accepted host-prefixed simplemsg pins such as bc1p...:/protocols/simplemsg into pchat storage, but homepage chat indexing only treated an exact /protocols/simplemsg protocol as homepage-visible. As a result, historical private chat records could exist in privatechat APIs while the Bot Homepage v3 chats section stayed empty.\n\nChange:\n- Normalize host-prefixed homepage protocol paths before simplemsg matching.\n- Bump homepage sender/materialized index state versions to v2 so production rebuilds the derived chat homepage indexes from existing pchat records.\n- Add a regression test for host-prefixed simplemsg appearing in outgoing homepage interactions.\n\nVerification:\n- CGO_ENABLED=0 go test ./internal/aggregator/privatechat ./internal/aggregator/bothomepage -count=1\n- CGO_ENABLED=0 go test ./...\n\nNext: publish main to so.metaid.io and verify affected homepage sections after the index rebuild/backfill.","contentType":"text/plain;utf-8","attachments":[],"quotePin":""}