Tutorial or API docs for writing upgraders?

Anybody know of a tutorial or some documentation for writing upgraders? Something that can hook into the .meteor/.finished-upgraders pipeline?

I think the finished upgraders file is looked at by the tool and it just runs all upgraders that aren’t in there. Just look in the current code base for examples, that’s pretty much what we do when we write a new one.