docs: add JSDoc comments across core modules, move hooks out of oauth/
Add module-level docs with examples to labels, setup, seed, xrpc, and
hooks. Add function-level JSDoc to logger, mst, indexer, and all exports.
Move hooks.ts from oauth/ to src/ since it's generic lifecycle infrastructure.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>