# Milestone 0 · Phase 2 — Tooling & Diagnostics **Objective:** give developers minimal introspection tooling that works even when tidalDB is embedded. This phase adds `tidalctl` plus a metrics endpoint so later milestones can reuse the same plumbing. **Success criteria** - `tidalctl status --path ` prints build info, WAL seq, open segments, and builder config snapshot. - Metrics exporter (text or JSON) exposes uptime, WAL queue depth, and build hash; tag everything with `partition_id=0` to future-proof multi-node rollouts. - Tooling uses the same `Paths` helper from Phase 1 — no duplicated layout logic. **Dependencies:** Phase 1 (stable directories + config serialization). **Unblocks:** future performance debugging + automated tests that assert health via CLI before/after workloads.