Refactor late-night document chroniclefication.

- cleaner command structure
- invertibility
- enable chronicle recording