mirror of
https://github.com/Permissionless-Software-Foundation/psf-memo.git
synced 2026-09-21 16:52:01 -07:00
Extract putPost/putFollowEdge seeding helpers in the psf-memo-db acceptance handlers and route the following-feed capped/mixed fixtures and the many-top-level-posts fixture through them, removing repeated store/key writes. Add property tests for the capped total, newest-first page conservation, and the bounded eligible scan, plus unit coverage for the remaining PostQuery constructor guards and static key helpers (post-query.js statements 94.5% -> 99.4%). CRAP stays at or below 6, src/adapters/post-query.js remains at 40 mutation sites with its manifest intact, and the DRY tool reports no duplicates in the changed source file. By refactorer.