Things are finally starting to come together (see screenshot below of the document edit screen). The core functionality is in place and working, the biggest task from here out is mainly crossing T’s and dotting I’s.
This week’s task was basic workflow support to allow for rudimentary document management. I tried an initial pass with register_post_status but quickly realized that the powers that be decided to hard-code the publish metabox (thus requiring significant re-invention of the wheel) and added a quick custom taxonomy and many API hooks instead. This freed some time up to tackle a handful of outstanding items from the backlog:
Next week, the final week before the mid-term will build on this week’s progress and (hopefully) usher in file locking based on WordPress’s built-in auto-save ping.