- identity: 12-word recovery phrase, device certificates, revocations,
device key storage; the identity key is never stored on a node
- listing: signed by a device with an embedded certificate, domain-separated
signatures, ErrTimeWindow for clock-related failures, region helpers
- store: revocations purge a device's listings; keyset-paged Since for sync
- p2p: gossipsub topic per geohash region plus a global revocation topic,
validators run before relaying, /allmende/1/sync catch-up protocol,
bootstrap peers and mDNS
- docs: key model, replication and conflict rules
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- internal/jcs: RFC 8785 canonical JSON (integers only)
- internal/identity: ed25519 keypair, 0600 key file, no overwrite
- internal/listing: signed listing record with PoW, validation,
tombstones and supersede rules
- docs/PROTOCOL.md: architecture and decisions so far
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>