- 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
745 B
745 B
Task 02 — Sandboxed Storage Layout
Goal: deterministic filesystem layout for embedded instances so tooling/cleanup is reliable.
Deliverables
Pathshelper that derives{base}/wal,{base}/items,{base}/users, etc., and ensures directories exist with correct perms.- Temp-dir helper (
TempTidalHome) for tests; implements Drop to delete directories unlesspreserve=true. - Documentation table describing folder purpose for future CLI use.
Acceptance Criteria
- Integration test proves two builders pointing to different
TempTidalHomeroots never collide. - Cleanup confirmed via test that drops the helper and asserts directories removed.
- Paths helper reused by upcoming CLI (Phase 2) — single source of truth.