# MadByteLabs.__PRODUCT__

Generated from Foundation 0.2.0, based on the X-Idle module structure.

1. Wait for Unity to compile. Add `MadByteLabs.__PRODUCT__.Core.MonoBootstrapper` to a root GameObject
   in your startup scene. Keep exactly one bootstrapper and include that scene in your build profile.
2. Enter Play mode. The scaffold creates a transient SessionData and one explicitly owned SessionModule.
3. Add product modules to the ApplicationScope in dependency order; do not create subscriptions in constructors.
   Dispose each module's subscriptions/resources, including after partial initialization.
4. Scene-scoped objects must be released before unloading their scene. The scene loader is an optional helper;
   the startup scaffold intentionally does not load any named game or UI scene.
5. Remove unused assembly boundaries. Organize actual features beneath these roots or introduce feature assemblies.
6. Persistence is product-specific: define schema version, migrations, corrupt-save recovery, precision and backups
   before adding a file/cloud adapter. SessionData is not a save implementation.
7. Copy the package's .editorconfig and CODE_CONVENTIONS.md to the repository root after checking existing rules.
   Do not overwrite existing repository settings blindly.
8. Add EditMode tests for domain logic and PlayMode tests for scene/view lifecycle; verify an actual player build.

The bootstrapper also owns a shared SoundModule, available through its Sound property. Its optional
SoundConfiguration Inspector reference sets capacity and mixer routing; leaving it unset uses 32 voices and default output.
Clip delivery adapters belong in Runtime/Sound; do not release a clip while a playback lease remains active.

No DOTween, Newtonsoft, SerializedCollections, InputSystem or UI framework is required by this scaffold.
Use adapters if a product needs them. The existing Patterns package is optional; Foundation does not duplicate it.
