The problem isn't that you don't know whether action A results in N units of X, it's that you don't know if the aggregate preferences are such that it's optimal to produce N units of X or M units of Y.
I am personally very grateful to have come across the work of Lynn Foster and Bob Haugen (and a few other parties, e.g. Sensorica). They are working on exactly this problem. Their project is called http://valueflo.ws (their software org is: http://mikorizal.org). One of the projects I'm most excited about is the Valueflo.ws vocabulary on the Holochain distributed app framework: https://github.com/holo-rea. It can basically replace today's centralized Enterprise Resource Planning model with an ecology of fully distributed economic resource protocols.
Lynn did a fantastic presentation; which includes a good intro to their accounting model (Bill McCarthy's Resource Event Agent (REA)): https://www.youtube.com/watch?v=vymAHXGSM14
There is also a great story (using the example of making a pie) in pdf format on the Valueflo.ws website: http://mikorizal.org/ValueFlows-Story.pdf
NY Textile Lab is a project that is working to integrate Valueflows: https://www.newyorktextilelab.com/holochain-app-development
And capitalism is highly distributed decision making. As we all know, top down decision making pretty much sucks no matter how much information they might have.
This is a two-edged sword, because it also makes people want stuff that it can make.
Cybersocialism: Project Cybersyn & The CIA Coup in Chile: https://www.youtube.com/watch?v=RJLA2_Ho7X0