sane agreements and codicils to let its dead leaves
Agreements influence what happens to the leaves.
Despite Hannigan's mood, I'm able to interpret that he was referring to a show or something particular to Las Vegas.