RSW cartridge logo really small web.

RSW-0010 — Replication and Mirroring

Document identifier: RSW-0010  |  Revision: 0.01  |  Protocol: rsw/1  |  Format: 1

Author: Pablo Murad (Independent)  |  Date: November 23, 2026  |  Status: Experimental Project Specification Post-MVP (future extension)

Abstract: Post-MVP proposal for the Seed Library: preserving and serving the original bytes of redistributable public cartridges, mirror catalogs, announcement hints, and synchronization policy.

Status of This Memo. This document is an experimental specification of the Really Small Web project. It is a work in progress and has not been published as an RFC or approved as an Internet Standard. The key words "MUST", "MUST NOT", "SHOULD", "SHOULD NOT", and "MAY" in this document are to be interpreted as described in BCP 14 (RFC 2119, RFC 8174) when, and only when, they appear in all capitals, as shown here.

Copyright and License. This specification is dedicated to the public domain under CC0 1.0 (see CC0-1.0.txt). IANA: no registration requested by this document.

Download: TXT (English) · PDF (English)

01. Scope#

Post-MVP replication and mirroring (Seed Library). The objective is to preserve the original bytes of redistributable public cartridges, not to execute code or create consensus. Manual copying in the MVP remains sufficient. A mirror does not assume the author's identity and does not replace the publication index.

02. Object and Catalog#

The object is the complete PNG H_png; store and serve the exact bytes, without modifying cover, ZIP, manifest, or signature. HTTPS endpoint /rsw/<64 hex>.rsw.png, following the limits and policy of RSW-0005/0006. The mirror may offer its own catalog at /rsw-mirrors/v1/catalog.json: envelope {payload,signature}, signature in 128 hex, over ASCII("RSW/1:mirror-catalog") || NUL || JCS(payload), strict Ed25519. Exact payload: protocol="rsw/1", profile="mirrors/1", domain, public_key, sequence, objects. Domain and key follow RSW-0004/0003; sequence follows RSW-0006. objects is an array of up to 512 unique sha256: + hex strings, in lexicographic order. Limit 128 KiB and strict JSON validation. The domain must match the TLS origin; the signature binds the mirror operator, not the original author. A catalog does not say which edition is current.

03. Announcements and Resolution#

RSW-0008 mirror event: exact body {domain, sha256}; public_key identifies the announcer. It is an untrusted availability hint; verify the catalog and the mirror's local binding before persisting the source. The user explicitly enables mirror domains. Given an expected H_png, try cache and previously authorized sources, then known mirrors under the RSW-0005 budget. Verify H_png and all of RSW-0001..0003; validate expected identity/edition when applicable. A mirror cannot provide a substitute with a different hash, even if the author's signature is valid. Key/name without location may still fail. No mandatory DHT search.

04. Library Policy#

Opt-in operator, chooses objects with a license that permits redistribution or the corresponding authorization; content without an explicit license is not automatically redistributable. Never seed private cartridges, unsigned local files, unauthorized personal data, keys, or a private catalog. Reject invalid files. Separate objects from the privileged service and do not extract into the web root. Disk, bandwidth, and retention limits; prefer objects marked for preservation; require confirmation to delete pinned items. Removing a copy from the local mirror does not remove other copies. Do not promise recovery if all sources disappear.

05. Synchronization and Failures#

Full-file transfer in the v1 experimental version, without delta, torrent, or arbitrary segments. For each source, compare the catalog sequence and payload hash as in RSW-0006; reject regressions and conflicts without affecting the authorship of stored objects. Batch synchronization requires explicit selection and a budget of object/byte counts. Do not follow peers of mirrored objects. After download, write a temporary file, validate, and move atomically into hash-addressed storage. Failures and removed files are treated as source unavailability. Avoid infinite retry and excessive parallelism.

06. Tests and Pending Items#

Test origin down, legitimate mirror, wrong hash, tampered catalog, changed key, missing license, disk quota, interrupted copy, multiple packagings of the same edition, and offline recovery. Pending: implementation, paginated catalog, retention negotiation, legal policies, independent verification, and privacy review. P2P, IPFS, Blossom, and Hypercore may be future adapters, not requirements. References: RSW-0003/0005/0006/0008/0013/0016.

License: CC0 1.0 (public domain dedication; see CC0-1.0.txt in the downloads area). Developed by Pablo Murad | pablo@pablomurad.com END — RSW-0010

RSW-0003 — Identity and Signatures · RSW-0005 — Address Resolution · RSW-0006 — Static Hosting · RSW-0008 — Network Events · RSW-0013 — Versioning and Updates · RSW-0016 — Compatibility and Extensions

Author’s Address

Pablo Murad
Independent
pablo@pablomurad.com
https://pablomurad.com

← Specification index · Download TXT · Download PDF