glab(1)
π
glab(1) β the glab govern doctor page, bestie edition π©Ίβ¨
okay so real talk, this one's a subcommand of the glab manual (glab(1), hi, that's the parent page π) and it's here to help you figure out why your AI governance setup is acting up. let's get into it π
β¨ NAME β¨
glab-govern-doctor β diagnose AI governance configuration, authentication, and hook setup. (EXPERIMENTAL) π β yes bestie, that word is doing a LOT of heavy lifting, more on that below π«Ά
πΈ SYNOPSIS πΈ
glab govern doctor [flags]
π¦ DESCRIPTION π¦
so the whole vibe of this command is: check that AI governance is correctly configured on this machine. that's it, that's the mission π
here's what it verifies, one by one (no skipping, we don't do that here β¨):
- Authentication β
glabis authenticated with a valid token π - glab in PATH β the binary is findable so hooks will work π§ (because a hook that can't find
glabis giving broken bestie energy, and not in a cute way) - Agent session hooks β if Claude Code sessions are synced, the
StopandSessionEndhooks are installed πͺ - OpenCode plugin β if OpenCode sessions are synced, the
glabplugin is installed and up to date π - API connectivity β can reach the GitLab API π
- Fallback periodic sync β whether the scheduled job is installed and loaded, whether the
glabbinary it runs still exists and is the same build as thisglab, and the result of its last run β°
and the iconique part? for any check that fails, it outputs a clear remediation command so you're not just sitting there like π wondering what to do. it literally tells you. slay.
β οΈ important vibe check: this feature is an experiment and is not ready for production use. it might be unstable or removed at any time, no cap. for more information, see https://docs.gitlab.com/policy/development_stages_support/. π
π OPTIONS INHERITED FROM PARENT COMMANDS π
-h,--help[=false]β show help for this command π«Ά (default isfalse, so it won't just pop off unless you ask)
π EXAMPLE π
# Check AI agent governance configuration on this machine
$ glab govern doctor
look at that. one line. main character command energy π
β SEE ALSO β
glab-govern(1)π¦ β go hang out with the parent command, it knows things
π that's the whole page bestie π and yes, before you ask β this masterpiece was auto generated by spf13/cobra, dated Nov 2026, and it lives under glab(1). so if anything's weird, blame the robot generator, not me ππ
β¨
π¦ where this page comes from
- arch rolling: glab 1.128.0-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms