How the undocumented rules a system depends on get lost — and how to capture them from the code as living specs, before the people who hold them leave.