tidaldb/tidal/docs/planning/milestone-0/phase-1/OVERVIEW.md
jx12n 3bcfb3c576 feat: Bazel build, crate docs/ai-lookup, docker images, and engine hardening
- Add BUILD.bazel across tidal, tidal-net, tidal-server, tidalctl for bzlmod build
- Add tidal/ crate docs (README, CHANGELOG, CONTRIBUTING, AGENTS, CLAUDE, API, ARCHITECTURE) and ai-lookup reference
- Add docker standalone/cluster/deploy images, compose, and prometheus config
- Harden WAL (batch format, writer, dedup, diagnostics), text syncer/collectors, and vector registry
- Expand tidalctl CLI and tests; restructure WAL/visibility integration test suites
- Refine tidal-net transport/client/server and tidal-server cluster/scatter-gather
2026-06-07 18:29:38 -06:00

872 B

Milestone 0 · Phase 1 — Embeddable Runtime Skeleton

Objective: ship an ergonomic, zero-config builder so engineers can spin up a tidalDB instance inside tests or services without touching the signal stack yet.

Success criteria

  • TidalDb::builder() exposes ephemeral() and single_process(data_dir) shortcuts with sensible defaults.
  • Config validates eagerly (missing dirs, bad permissions) so failures happen before WAL threads spin up.
  • Builder registers shutdown hooks (Drop + explicit close()), returning errors if background workers fail to drain.
  • Temp-directory helper guarantees deterministic cleanup (used by doctests + integration tests).

Dependencies: none — runs before any signal-specific work.

Blocked by: n/a

Unblocks: M0 Phase 2 (CLI needs stable layout), all later milestones (test harnesses use the builder).