Help us shape the future of Go! Take the 2026 Go Developer Survey

internal/

directory
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 26, 2026 License: Apache-2.0

Directories

Path Synopsis
Package agent runs AI code reviewers behind a common interface.
Package agent runs AI code reviewers behind a common interface.
Package config loads and validates Ghost's TOML configuration.
Package config loads and validates Ghost's TOML configuration.
Package engine runs reviews: it queues PRs from poll results, runs them with a bounded worker pool under the daily budget, and records everything.
Package engine runs reviews: it queues PRs from poll results, runs them with a bounded worker pool under the daily budget, and records everything.
Package github queries GitHub through the user's gh authentication.
Package github queries GitHub through the user's gh authentication.
Package logging writes Ghost's log file: errors in full and the actions Ghost takes, so text the TUI has to cut short can still be read.
Package logging writes Ghost's log file: errors in full and the actions Ghost takes, so text the TUI has to cut short can still be read.
Package paths resolves Ghost's default file locations.
Package paths resolves Ghost's default file locations.
Package policy decides whether a reviewed PR may be approved automatically.
Package policy decides whether a reviewed PR may be approved automatically.
Package poller runs each view's GitHub query on an interval.
Package poller runs each view's GitHub query on an interval.
Package preflight verifies the external tools Ghost shells out to.
Package preflight verifies the external tools Ghost shells out to.
Package run executes subprocesses; tests substitute a fake Func.
Package run executes subprocesses; tests substitute a fake Func.
Package secrets detects credential-shaped strings in text Ghost is about to post, as a last line of defence against an agent leaking one.
Package secrets detects credential-shaped strings in text Ghost is about to post, as a last line of defence against an agent leaking one.
Package status derives a pull request's display status from GitHub fields.
Package status derives a pull request's display status from GitHub fields.
Package store persists PRs, reviews and the audit trail in SQLite.
Package store persists PRs, reviews and the audit trail in SQLite.
Package textsafe makes untrusted text (PR titles, bodies, agent output) safe to print to a terminal.
Package textsafe makes untrusted text (PR titles, bodies, agent output) safe to print to a terminal.
Package theme loads TUI color themes: embedded built-ins plus user theme files.
Package theme loads TUI color themes: embedded built-ins plus user theme files.
Package tui renders Ghost's terminal interface.
Package tui renders Ghost's terminal interface.
Package workspace checks out pull requests into isolated git worktrees.
Package workspace checks out pull requests into isolated git worktrees.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL