redbloxian1212/Forge-Framework-v2 ? reverse-engineered prompt
Reverse engineered prompt
Build me a lightweight Luau dependency injection framework for Roblox, inspired by ServiceBag.
I want a simple way to register services and controllers, resolve them from one place, and run a clean lifecycle with Init and Start so dependencies are wired up before anything actually runs. It should be easy to define a service, have other parts of the app request it, and avoid the usual messy manual setup.
Please make it feel practical for real Roblox projects, with clear patterns for creating the container, adding modules, and starting everything in the right order. If it makes sense, add a checker that can warn me when something was defined but never properly initialized or started, so missing wiring is easier to spot.
If there are any good current Roblox or Luau patterns you should follow, look them up online. Keep the API small and easy to understand, and include a simple example of how to use it.
Are you gonna build this?
make sure you review the code using coderabbit