Recorded 2026-11-21. WavWonder develops research packages, commercial products, infrastructure, and documentation inside one monorepo while giving each package its own dependency manifest and environment and isolating products/ from research/.
Context
Sharing one root Python or Node environment across GPU training code, lightweight CLI helpers, web dashboards, and desktop products pulls CUDA and PyTorch wheels into lightweight tools and ties product build lifecycles directly to experimental training refactors. Splitting into separate Git repositories avoids environment bloat yet fragments cross-package contracts (Phoneme specification v2 and shared engineering docs) across separate histories.
Decision
- Organize tracked files under
research/,products/,infra/, anddocs/, keeping untracked corpora, weights, and caches in gitignoredlocal/. - Give every package under
research/andproducts/its ownpyproject.toml/uv.lockorpackage.json/bun.lockwith package-local.venv/ornode_modules/, without a shared root environment. - Keep
products/decoupled fromresearch/by referencing shared contracts only throughdocs/engineering/specs/, treatingresearch/preview/strictly as a transitional tool ahead ofproducts/editor/. - Exclude PyTorch from
research/coreandresearch/trackingso lightweight data readers and tracking clients stay small and fast.
Consequences and revisit conditions
- Root commands invoke packages explicitly (such as
uv run --project research/vocalsynth ...), linking sibling workspace packages via editable local path sources. - Revisit package isolation only if both
research/andproducts/require consuming a shared compiled runtime library beyond pure-data tables and specs.



