Skip to main content
Documentation
Design Archive

Wire Protocol Design Boundary

A future repository protocol must preserve object integrity and atomic ref semantics before transport optimization matters.

Status

No stable Dits wire format, negotiation protocol, authenticated repository service, remote-ref transaction, or network clone exists. Push, pull, fetch, and sync return nonzero without changes. The in-process QUIC stream demo is an experiment, not a repository protocol.

Possible design targets

  • Versioned capability negotiation and explicit repository-format compatibility.
  • Verified object transfer followed by authenticated, atomic, compare-and-swap ref updates.
  • Resumption, cancellation, backpressure, bounded resources, and deterministic failure recovery.

Prerequisites before implementation claims

  • A frozen object/ref semantic model and independent compatibility fixtures.
  • A reviewed authentication, authorization, confidentiality, and replay-threat design.
  • Interoperability, fault-injection, corruption, rollback, and concurrent-update tests.

What can be evaluated today

  • Evaluate local object storage and local-filesystem clone.
  • Use dits gc --dry-run and dits fsck as local diagnostics, not protocol operations.
  • Treat the embedded unauthenticated object server and QUIC demo as narrow experiments only.

Related status