feed: pagination — offset/limit + cursor-by-at (before/after/page-before/next-cursor) + 14 tests
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 44s

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-06 16:58:36 +00:00
parent 5136249ae5
commit f91ac82434
6 changed files with 148 additions and 6 deletions

View File

@@ -14,7 +14,7 @@ APL, ACL visibility filtering via `lib/acl/`, federation via fed-sx.
## Status (rolling)
`bash lib/feed/conformance.sh`**163/163** (Phases 14 + TF-IDF, notifications, home, smart-dedupe, trending, mute)
`bash lib/feed/conformance.sh`**177/177** (Phases 14 + TF-IDF, notifications, home, smart-dedupe, trending, mute, pagination)
## Ground rules
@@ -157,6 +157,9 @@ are function parameters. Real acl-sx / fed-sx wire in at the call site unchanged
- [x] Mute/block — `feed/mute-actors` / `feed/mute-tags` / `feed/mute-objects` /
`feed/apply-prefs`: viewer-controlled per-request filtering (complements ACL's
author-controlled visibility) (`mute.sx`); 9 tests. (163/163 total.)
- [x] Pagination — `feed/page`/`feed/page-count` (offset) + `feed/before`/
`feed/after`/`feed/page-before`/`feed/next-cursor` (cursor by :at, stable under
inserts) (`page.sx`); 14 tests. (177/177 total.)
(none)