Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
gator-cli
command
Command gator-cli is how an agent talks back to Gator while it works.
|
Command gator-cli is how an agent talks back to Gator while it works. |
|
gator-plugin
command
Command gator-plugin helps write Gator plugins without a server:
|
Command gator-plugin helps write Gator plugins without a server: |
|
gator-runner
command
gator-runner executes jobs handed out by gator-server.
|
gator-runner executes jobs handed out by gator-server. |
|
gator-server
command
gator-server is the brain: it owns process state, talks to runners and plugins, and serves the API used by Gator.app.
|
gator-server is the brain: it owns process state, talks to runners and plugins, and serves the API used by Gator.app. |
|
internal
|
|
|
proto
Package proto is the only package shared between gator-server and gator-runner.
|
Package proto is the only package shared between gator-server and gator-runner. |
|
runner/backend
Package backend is the seam between the runner and agent CLIs.
|
Package backend is the seam between the runner and agent CLIs. |
|
runner/backend/claude
Package claude drives Claude Code headless (`claude -p --output-format stream-json`) and turns its NDJSON stream into job events, a result and usage.
|
Package claude drives Claude Code headless (`claude -p --output-format stream-json`) and turns its NDJSON stream into job events, a result and usage. |
|
runner/client
Package client is the runner side of the runner protocol: it keeps one WebSocket to gator-server alive, registers, heartbeats, leases jobs, runs them through an Executor and delivers events and receipts reliably (kept until acked, resent after reconnect).
|
Package client is the runner side of the runner protocol: it keeps one WebSocket to gator-server alive, registers, heartbeats, leases jobs, runs them through an Executor and delivers events and receipts reliably (kept until acked, resent after reconnect). |
|
runner/config
Package config loads gator-runner configuration from the environment.
|
Package config loads gator-runner configuration from the environment. |
|
runner/executor
Package executor runs one leased job end to end on the runner: workspace, prompt, agent runs (resuming the session when a person steers), git results, cleanup and the receipt.
|
Package executor runs one leased job end to end on the runner: workspace, prompt, agent runs (resuming the session when a person steers), git results, cleanup and the receipt. |
|
runner/workspace
Package workspace gives every job its own git worktree.
|
Package workspace gives every job its own git worktree. |
|
server/admin
Package admin is a minimal HTML panel for M1 and debugging.
|
Package admin is a minimal HTML panel for M1 and debugging. |
|
server/api
Package api implements the HTTP API declared in docs/openapi.yaml.
|
Package api implements the HTTP API declared in docs/openapi.yaml. |
|
server/api/gen
Package gen provides primitives to interact with the openapi HTTP API.
|
Package gen provides primitives to interact with the openapi HTTP API. |
|
server/auth
Package auth owns identity (OIDC sessions, bearer tokens), authorization (workspace and project roles) and the audit of every mutation.
|
Package auth owns identity (OIDC sessions, bearer tokens), authorization (workspace and project roles) and the audit of every mutation. |
|
server/backup
Package backup dumps PostgreSQL with pg_dump and uploads the archive to an S3-compatible bucket.
|
Package backup dumps PostgreSQL with pg_dump and uploads the archive to an S3-compatible bucket. |
|
server/config
Package config loads gator-server configuration from the environment.
|
Package config loads gator-server configuration from the environment. |
|
server/events
Package events publishes the domain outbox to in-process subscribers (WebSocket hub, plugins, jobs).
|
Package events publishes the domain outbox to in-process subscribers (WebSocket hub, plugins, jobs). |
|
server/jobs
Package jobs runs background work on River: periodic phase-timeout sweeps, backups and later plugin schedules, observation windows and event compaction.
|
Package jobs runs background work on River: periodic phase-timeout sweeps, backups and later plugin schedules, observation windows and event compaction. |
|
server/knowledge
Package knowledge holds how this workspace builds software: packs fetched from a registry and entries written by hand, composed into the part of a job's prompt that is the same for every project.
|
Package knowledge holds how this workspace builds software: packs fetched from a registry and entries written by hand, composed into the part of a job's prompt that is the same for every project. |
|
server/limits
Package limits holds request rate limiting and the circuit breaker used around plugins.
|
Package limits holds request rate limiting and the circuit breaker used around plugins. |
|
server/notify
Package notify turns domain events into push notifications.
|
Package notify turns domain events into push notifications. |
|
server/plugins
Package plugins runs plugin processes and connects them to the core.
|
Package plugins runs plugin processes and connects them to the core. |
|
server/process
Package process owns tasks, phases, templates and the operations that move a task.
|
Package process owns tasks, phases, templates and the operations that move a task. |
|
server/product
Package product keeps what a project knows about its own product: the owner's vision and principles, and the decisions and lessons the work leaves behind.
|
Package product keeps what a project knows about its own product: the owner's vision and principles, and the decisions and lessons the work leaves behind. |
|
server/quality
Package quality scores what a project has said about itself.
|
Package quality scores what a project has said about itself. |
|
server/runners
Package runners owns the server side of the runner protocol: connected sessions, job creation and dispatch, leases, stall and offline detection, and job receipts.
|
Package runners owns the server side of the runner protocol: connected sessions, job creation and dispatch, leases, stall and offline detection, and job receipts. |
|
server/secrets
Package secrets encrypts values at rest with AES-256-GCM.
|
Package secrets encrypts values at rest with AES-256-GCM. |
|
server/store
Package store owns the PostgreSQL connection pool and schema migrations.
|
Package store owns the PostgreSQL connection pool and schema migrations. |
|
server/telemetry
Package telemetry configures OpenTelemetry tracing and metrics.
|
Package telemetry configures OpenTelemetry tracing and metrics. |
|
version
Package version carries build metadata injected by the linker.
|
Package version carries build metadata injected by the linker. |
|
Package plugin is the contract between gator-server and its plugins, plus a small SDK for writing plugins in Go.
|
Package plugin is the contract between gator-server and its plugins, plus a small SDK for writing plugins in Go. |
|
plugintest
Package plugintest runs Gator plugins without gator-server: an in-memory core that answers the core methods the way the server does, a process runner, and JSON scenarios that drive hooks.
|
Package plugintest runs Gator plugins without gator-server: an in-memory core that answers the core methods the way the server does, a process runner, and JSON scenarios that drive hooks. |
|
plugins
|
|
|
github
command
Command github is Gator's reference plugin for GitHub: issues become tasks, a finished worker job opens a pull request with its report, CI check runs become gate checks, and phase labels follow the task.
|
Command github is Gator's reference plugin for GitHub: issues become tasks, a finished worker job opens a pull request with its report, CI check runs become gate checks, and phase labels follow the task. |
|
honeybadger
command
Command honeybadger is Gator's monitoring plugin for Honeybadger: a fault becomes an incident, resolving it there closes it here, and finishing the incident task resolves it there.
|
Command honeybadger is Gator's monitoring plugin for Honeybadger: a fault becomes an incident, resolving it there closes it here, and finishing the incident task resolves it there. |
|
linear
command
Command linear is Gator's tracker plugin for Linear: an issue becomes a task, the task's phase is mirrored in the issue's workflow state, and the task detail links back to it.
|
Command linear is Gator's tracker plugin for Linear: an issue becomes a task, the task's phase is mirrored in the issue's workflow state, and the task detail links back to it. |
|
sentry
command
Command sentry is Gator's monitoring plugin for Sentry: issue alerts become incidents, resolving one in Sentry closes it here, and finishing the incident task resolves it there.
|
Command sentry is Gator's monitoring plugin for Sentry: issue alerts become incidents, resolving one in Sentry closes it here, and finishing the incident task resolves it there. |
Click to show internal directories.
Click to hide internal directories.