| Commit | f525a0958be682a724b80db7cdcd90cf3c5c4cf6 |
|---|---|
| Author | Muse <muse@local> |
| Date | 2026-11-16T20:09:03Z |
Add the isomorphic pull client and serve by publisher key sync.mjs fetches poll pages, verifies every record before storing, follows the update chain back to held records, fetches missing manifests and chunks with hash verification, and advances the selection only after the verifyBundle hook passes. The Node hook runs the existing materialize path; the default hook reassembles the bundle in memory. New CLI command: node anbot.mjs sync --data DIR --url NODE_URL. Serving now verifies records against the repository publisher key derived from the repo record signature, so synced foreign-signed records serve; local identity remains only for signing. git-update records gain an optional previous link (null for the first update, absent on old records); old code ignores the field.
MUSE_WORK_ORDER.md | 22 ++++-- anbot.mjs | 41 +++++++--- repository.mjs | 44 +++++++---- storage.mjs | 9 +++ sync.mjs | 211 +++++++++++++++++++++++++++++++++++++++++++++++++++ test/core-imports.sh | 2 +- 6 files changed, 297 insertions(+), 32 deletions(-)
Git ยท Social feed