Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
gitlab-reviewer
command
|
|
|
internal
|
|
|
checkout
Package checkout gets the repository under review onto disk.
|
Package checkout gets the repository under review onto disk. |
|
cli
Package cli wires the cobra command tree: the root command launches the TUI; subcommands cover the browser GUI, version, config inspection, and cache maintenance.
|
Package cli wires the cobra command tree: the root command launches the TUI; subcommands cover the browser GUI, version, config inspection, and cache maintenance. |
|
config
Package config loads and validates gitlab-reviewer settings with the precedence flags > environment variables > settings file > defaults.
|
Package config loads and validates gitlab-reviewer settings with the precedence flags > environment variables > settings file > defaults. |
|
gitlabx
Package gitlabx wraps the official GitLab client behind a small interface the TUI can depend on and tests can fake.
|
Package gitlabx wraps the official GitLab client behind a small interface the TUI can depend on and tests can fake. |
|
gitlabx/position
Package position maps review findings onto GitLab diff positions: the base/head/start SHAs plus old/new path and line GitLab requires for an inline discussion.
|
Package position maps review findings onto GitLab diff positions: the base/head/start SHAs plus old/new path and line GitLab requires for an inline discussion. |
|
review
Package review defines the Reviewer abstraction: what a review needs, what it produces, and how findings are modelled.
|
Package review defines the Reviewer abstraction: what a review needs, what it produces, and how findings are modelled. |
|
review/agents
Package agents defines the pluggable review agents that a scan can run: the six built-in agents (one per finding category) plus plugin-, user- and project-provided agents loaded from markdown files with YAML frontmatter.
|
Package agents defines the pluggable review agents that a scan can run: the six built-in agents (one per finding category) plus plugin-, user- and project-provided agents loaded from markdown files with YAML frontmatter. |
|
review/claudecli
Package claudecli runs reviews by shelling out to the Claude Code CLI in headless mode (claude -p, stream-json output, structured output schema).
|
Package claudecli runs reviews by shelling out to the Claude Code CLI in headless mode (claude -p, stream-json output, structured output schema). |
|
review/dedupe
Package dedupe collapses review findings that describe the same underlying issue: near-duplicates reported by more than one agent in a single run, and findings that substantially match a comment already posted to the MR.
|
Package dedupe collapses review findings that describe the same underlying issue: near-duplicates reported by more than one agent in a single run, and findings that substantially match a comment already posted to the MR. |
|
review/delta
Package delta supports incremental re-review: given the diff between the last reviewed head and the current one, it maps finding anchors from the old head's line numbers to the new head's, so findings on unchanged code carry forward (with their curation state) and findings whose anchor lines were changed or removed are dropped.
|
Package delta supports incremental re-review: given the diff between the last reviewed head and the current one, it maps finding anchors from the old head's line numbers to the new head's, so findings on unchanged code carry forward (with their curation state) and findings whose anchor lines were changed or removed are dropped. |
|
review/publisher
Package publisher posts curated findings back to a merge request — as live inline discussions, as a draft review published in one action, or as general notes when no diff position resolves — so every frontend (TUI, web GUI) publishes identically.
|
Package publisher posts curated findings back to a merge request — as live inline discussions, as a draft review published in one action, or as general notes when no diff position resolves — so every frontend (TUI, web GUI) publishes identically. |
|
review/resultstore
Package resultstore persists completed review results — the summary and every finding with its curation state — so a review survives navigating away or closing the session, and can be reopened later.
|
Package resultstore persists completed review results — the summary and every finding with its curation state — so a review survives navigating away or closing the session, and can be reopened later. |
|
review/runlog
Package runlog persists the progress log of each review run — the same timestamped lines streamed to the review screen — so a run can be read back after its screen is gone.
|
Package runlog persists the progress log of each review run — the same timestamped lines streamed to the review screen — so a run can be read back after its screen is gone. |
|
review/runner
Package runner orchestrates one review run end to end — checkout, prompt assembly, reviewer passes, result merging, and persistence — so every frontend (TUI, web GUI) drives the same pipeline and stores the same artifacts.
|
Package runner orchestrates one review run end to end — checkout, prompt assembly, reviewer passes, result merging, and persistence — so every frontend (TUI, web GUI) drives the same pipeline and stores the same artifacts. |
|
secret
Package secret keeps secret values (GitLab tokens, API keys) out of logs, errors, and any user-facing output.
|
Package secret keeps secret values (GitLab tokens, API keys) out of logs, errors, and any user-facing output. |
|
tui
Package tui implements the terminal UI: a stack of screens over the gitlabx service, built on Bubble Tea.
|
Package tui implements the terminal UI: a stack of screens over the gitlabx service, built on Bubble Tea. |
|
version
Package version holds build metadata injected at link time by GoReleaser (-X github.com/RobertYoung/gitlab-reviewer-cli/internal/version.Version=...).
|
Package version holds build metadata injected at link time by GoReleaser (-X github.com/RobertYoung/gitlab-reviewer-cli/internal/version.Version=...). |
|
webui
Package webui serves the browser-based GUI: the same review workflow as the TUI — pick an instance, browse MRs, read the diff, comment, run a review, curate findings, publish — rendered as HTML over a loopback-only HTTP server.
|
Package webui serves the browser-based GUI: the same review workflow as the TUI — pick an instance, browse MRs, read the diff, comment, run a review, curate findings, publish — rendered as HTML over a loopback-only HTTP server. |
Click to show internal directories.
Click to hide internal directories.



