zeitgeist-protocol 0.1.0

Zeitgeist Protocol — FLUX transference specification and reference implementation
Documentation
  • Coverage
  • 58.24%
    53 out of 91 items documented0 out of 39 items with examples
  • Size
  • Source code size: 78.44 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.15 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 31s Average build duration of successful builds.
  • all releases: 31s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • SuperInstance

Zeitgeist Protocol ⚒️

FLUX transference specification and reference implementation.

The Zeitgeist is a composite CRDT semilattice capturing five dimensions of agent alignment:

  • Precision — Deadband funnel convergence
  • Confidence — Certainty via bloom filter + parity
  • Trajectory — Trend via Hurst exponent
  • Consensus — Cycle coherence with CRDT version vector
  • Temporal — Beat grid rhythm coherence

Merge Laws (Proven)

All three CRDT semilattice laws proven with 100-iteration randomized property tests:

Law Property
Commutative merge(a, b) == merge(b, a)
Associative merge(merge(a, b), c) == merge(a, merge(b, c))
Idempotent merge(a, a) == a

Structure

zeitgeist-protocol/
├── docs/PROTOCOL.md          # Wire format specification
├── src/                      # Rust reference implementation
│   ├── lib.rs                # Public API
│   ├── packet.rs             # FLUX packet encode/decode
│   ├── zeitgeist.rs          # Composite CRDT
│   ├── precision.rs          # Deadband funnel
│   ├── confidence.rs         # Bloom + parity
│   ├── trajectory.rs         # Hurst exponent
│   ├── consensus.rs          # Holonomy + CRDT version vector
│   ├── temporal.rs           # Beat grid
│   └── merge.rs              # Merge law tests
├── python/                   # Python bindings
│   ├── zeitgeist.py
│   └── test_zeitgeist.py
├── ts/                       # TypeScript bindings
│   ├── zeitgeist.ts
│   └── test_zeitgeist.ts
└── Cargo.toml

Run Tests

# Rust (reference)
cargo test

# Python
cd python && python3 -m pytest test_zeitgeist.py -v

# TypeScript
cd ts && npx tsx test_zeitgeist.ts

Wire Format

See docs/PROTOCOL.md for the full binary wire format specification.

Each FLUX packet carries an arbitrary payload + a CBOR-encoded Zeitgeist, with XOR parity integrity checking.