anbot

Commitfe7834a8f6b4c49ccb73324992a3f69c46e2109b
AuthorMuse <muse@local>
Date2026-11-16T20:04:55Z

Message

Add read-only sync endpoints for peer record and block exchange

GET /gossip/poll serves verified records after an opaque cursor (Base64url JSON [payloadTimestamp, recordId], page size 100, nextSince null at the end), skipping unverified records with a log line. GET /blocks/<hash> serves verified manifest or chunk bytes with immutable cache headers. Both carry Access-Control-Allow-Origin for browser peers. core.mjs gains recordAuthor and envelopeTimestamp helpers.

Changed files

 MUSE_WORK_ORDER.md | 19 +++++++----
 anbot.mjs          | 93 +++++++++++++++++++++++++++++++++++++++++++++++++++++-
 core.mjs           | 22 +++++++++++++
 storage.mjs        | 46 ++++++++++++++++++++++++---
 4 files changed, 167 insertions(+), 13 deletions(-)

Git ยท Social feed