Builds
The Builds module turns a set of parts into a recipe. Define what a thing is made of, and Cobblr tells you how many you can make right now and which part is holding you back.
A recipe of parts
A build lists the inventory parts it needs and how many of each. Because it reads live stock, it always knows how many you can build today, and it names the limiting part when you can't build more.
Building one
When you record building one, Cobblr takes the components out of stock for you, so your inventory stays honest without a separate step. If the build has an output part of its own, that part goes up in stock at the same time. Each build you record is logged, so you can see what you made and when.
This is the module for makers assembling things from tracked parts: a kit, a plate, a sub-assembly that feeds a larger one.
Deeper than a flat recipe
Builds nest: a sub-assembly can be a component of a larger build, and "how many can I make" explodes down through the levels to the real limiting part. A build can also carry its routing, the ordered operations it takes to make one, and every recorded build lands in an execution log. Recorded one by mistake? Reversing it puts the components back.
Because each run is logged with what went into it, a finished thing is traceable: which components, from which stock, went into the unit you're holding.
A concrete shape: a kit is two printed brackets plus a control board sub-assembly, and the sub-assembly is a PCB and a case. "How many kits can I build" explodes through the sub-assembly to whichever leaf part is scarcest. Record building five, and the leaves decrement, five kits enter stock, and each run sits in the log with exactly what went into it.