PRD — DB TEAM (v1.0 → v1.1 brownfield)

1. Vision

DB TEAM is a modular Windows SQL Server IDE. The product is currently a working prototype (~80 %) reachable only via dotnet run. This PRD scopes the path to a shippable, installable, trustworthy v1.0 plus the backlog toward v1.1.

2. Users

Persona Need
Backend developer Run ad-hoc queries, compare schemas across dev/staging/prod, generate DDL
Data engineer Populate test tables, compare data between environments, document a schema
DBA Browse an unfamiliar database fast, profile slow queries, generate sync scripts

3. Goals (v1.0 release)

G1 — Installable product (HIGHEST PRIORITY)

G2 — Trust & stability

G3 — Feature parity baseline

Current modules must be polished (no “TODO” popups in user-facing menus).

4. Non-goals (v1.0)

5. Functional requirements

FR1 — Packaging & distribution

FR2 — Release automation

FR3 — Crash resilience

FR4 — Results export (removes a user pain)

FR5 — Polish tracked bugs

FR6 — Documentation

6. Non-functional requirements

7. Acceptance criteria (v1.0 shippable)

8. Roadmap toward v1.1+

Ordered by value-over-effort (see docs/bmad/EPICS.md for detailed stories):

  1. E1 — Installer & Release pipeline (v1.0 blocker)
  2. E2 — Crash resilience & logging polish (v1.0 blocker)
  3. E3 — Results export CSV/Excel/JSON (v1.0)
  4. E4 — Dead-menu cleanup & Welcome polish (v1.0)
  5. E5 — Documentation & screenshots (v1.0)
  6. E6 — Unit tests baseline (v1.0.1)
  7. E7 — Schema Compare column-level ALTER (v1.1)
  8. E8 — Table Designer: edit existing + FK/Index editors (v1.1)
  9. E9 — Diagram improvements (edge routing, drag, zoom) (v1.1)
  10. E10 — IntelliSense: CTE/alias resolution, function signatures (v1.1)
  11. E11 — Query history & favorites (v1.1)
  12. E12 — Profiler graphical plan tree (v1.2)
  13. E13 — T-SQL Debugger (v2)

9. Out of scope / parking lot

10. Success metrics (post v1.0 launch)