Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Reference · The Pulse Mesh Standard

The specification

The normative description of the Pulse, the PulseEnvelope, the ring, the store, the UDP transport and the port protocol, and what a conformant implementation must reproduce.

Reference · normative · for anyone implementing, verifying or extending Pulse Mesh in any language

This is the Pulse Mesh Standard as the reference implementation in this repository realises it. Where a chapter describes the reference implementation rather than a requirement on every implementation, it says so at the top.

Status. Working draft, lineage draft-00. Breaking changes between draft revisions are expected and are recorded, not hidden: a superseded rule stays in the text, marked as superseded, with the revision that replaced it. The conformance vectors under pulse/pulse-spec/test-vectors are the executable form of chapters 2 and 3; the chapter text and the vectors are checked against the code by the documentation gate and the workspace tests.

How to read the requirement words. MUST, MUST NOT, SHOULD, SHOULD NOT and MAY carry their usual normative meaning. A statement without one of those words is a description of the reference implementation, not a requirement on others.

ChapterSubjectNormative for
1. IntroductionScope and terminologyEveryone
2. The PulseThe 128-byte atom: layout, alignment, instructions, the heartbeat overlayEvery implementation
3. The PulseEnvelopeThe canonical bytes, the content id, payload variants, recursion, self-verificationEvery implementation
4. The SeqLock ringThe shared-memory ring: header, slots, writer and reader protocol, crashed writersShared-memory substrates
5. The envelope storeThe content-addressed store beside the ring: layout v2, claims that route around held slots, verified reads, lappingThe reference implementation
6. The UDP transportDatagram framing, CRC, feedback, FEC, the capability handshakeThe reference transport
7. The Universal Port ProtocolThe daemon’s JSON protocol over WebSocket and Unix socket, and its connection policyEvery client of the daemon
8. ConformanceWhat a conformant implementation reproduces, and what changes require a draft revisionEveryone
Appendix A. BLAKE3The hash the content id is built onInformative