Skip to content

Navigation Menu

Sign in
Sign up

Repository files navigation

seqscribe

Pronounced "seek-scribe"sequence + subscribe + scribe (every stream has exactly one writer).

Subscribe to sequences — writer-owned append-only log sync for SQLite, over any network you bring Logs converge into SQLite views. Embeddable, transport-agnostic (bring your own channel — WebRTC DataChannel, WebSocket, anything bidirectional), no consensus, no master, partition-tolerant by construction.

Status: implementation complete through the pre-integration tier (SPEC v3.4, 2026年08月26日). All five milestones implemented; the deterministic harness passes the scaled acceptance properties (P1/P2/P3/P5) and the full §19 P7 catch-up gate (100 nodes, 60 s partition, 1% loss → converges within the ≤120 s gate; heal+40–50 s observed across runs — the gate is the claim, per-run timing varies. The first passing run surfaced the four v3.4 amendments, evidence in docs/proposals-v3.4.md). Real-infrastructure e2e (actual WebSockets, file-backed SQLite, restart persistence) is green; reference WS transport, better-sqlite3 adapter, and HTTP beacon client ship in-tree. See docs/implementation.md for exact coverage. ADHDev integration is underway (Phase 0 findings already folded back — see docs/proposals-v3.5.md); a versioned release follows production validation.

The design contract:

  • DESIGN.md — architecture contract: positioning, design envelope, principles, competitive map, topic policies, conflict policy spectrum (owned / fww / lww / resolver), beacon, 15 stamped decisions
  • SPEC.md — implementation spec: wire protocol, HLC rules, SQLite DDL, state machines, register semantics, full API surface, constants, error codes, deterministic simulation acceptance criteria (P1–P10)

Companion documents (non-normative):

Extracted from and dogfooded by ADHDev. Maintained for our needs first.

License

Dual-licensed — FSL-1.1-Apache-2.0 OR AGPL-3.0-only, at your option (LICENSE):

  • FSL for embedders: use it in anything, build products and internal systems freely; the only restricted use is offering seqscribe itself as a competing commercial product or service. Each release automatically becomes Apache-2.0 two years after publication.
  • AGPL for copyleft works: combine with AGPL projects (including the ADHDev OSS tier) with full open-source compatibility.

Free-riding is blocked on both legs — FSL forbids competing offerings outright; AGPL forces them fully open. (The pre-implementation npm placeholder 0.0.1 was published under MIT and remains so; every version from the implementation onward is dual FSL/AGPL.)

About

Subscribe to sequences — writer-owned append-only log sync for SQLite, over any channel you bring. Embeddable, transport-agnostic, no consensus, partition-tolerant. Dual FSL/AGPL.

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

AltStyle によって変換されたページ (->オリジナル) /