Publish a staged directory as the design of identity; return its identifier.
The manifest is written with the identity, the identifier and the
SHA-256 of every file of the stage. A design another process committed
first is kept and the stage discarded.