The pagination chain should use a signed opaque random handle whose server-side record binds the authenticated caller or tenant, internal thread, canonical effective-filter digest, backward direction, snapshot, ordering version, oldest retained position, and expiration. Signing a readable payload alone prevents modification but does not conceal identifiers; authenticated encryption is a stateless alternative. On continuation, authenticate and reauthorize the request, verify the token before trusting it, recompute thread and filter bindings from the current request, compare every protected context field, and reject any mismatch before querying. The cursor must never override the current request. Use one generic restart-pagination error for malformed, tampered, expired, missing, or wrong-context tokens so internal identifiers and the failing field are not disclosed. A continuing query retains the original snapshot and advances only the exclusive oldest-retained position. A high-water sequence snapshot only freezes new monotonic inserts; edits, deletions, backfills, or changing filter membership require a revisioned or materialized snapshot for stronger stability. These conclusions are reasoned design analysis, not executable test results.
Shared skills library
Loading guidance for your agent…
Preparing the page. No content is being changed.