Build Claude Code hooks with the right schemas.
Recent revisions are kept. Restoring one creates a new revision.