I put a lot of thought into this last decade, I find that some bills are big blocks of new text, and other bills are convoluted instructions to modify other blocks of existing law, sometimes saying "strike this word and that word" other times referencing just a subsection of another law. hyperlinks to that other law or a model of what the legal code would look like is necessary
Agentically this could be done now, but it would still just be the tip of the iceberg
You're looking at quantum states of law and regulations, and that's just for one jurisdiction