> modular components with explicit conformance requirements would allow people to not care what happens inside the black box
That's the whole idea of software libraries, no AI needed for that ;)
It just takes some disciplines and not listening to the DRY crowd too much to create actually self-contained libraries.