Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
wright
command
Command wright is the entry point for the Wright CLI.
|
Command wright is the entry point for the Wright CLI. |
|
internal
|
|
|
agent/llm
Package llm defines Wright's model-agnostic LLM contract.
|
Package llm defines Wright's model-agnostic LLM contract. |
|
agent/llm/logging
Package logging decorates an llm.LLMProvider with structured logging of every call: the request shape on entry, and the duration plus outcome (a brief usage summary, or the full error chain) on exit.
|
Package logging decorates an llm.LLMProvider with structured logging of every call: the request shape on entry, and the duration plus outcome (a brief usage summary, or the full error chain) on exit. |
|
agent/llm/openrouter
Package openrouter implements an llm.LLMProvider backed by OpenRouter's OpenAI-compatible Chat Completions API (https://openrouter.ai/api/v1).
|
Package openrouter implements an llm.LLMProvider backed by OpenRouter's OpenAI-compatible Chat Completions API (https://openrouter.ai/api/v1). |
|
agent/llm/retrying
Package retrying decorates an llm.LLMProvider with configurable retries around each connection attempt to the model API.
|
Package retrying decorates an llm.LLMProvider with configurable retries around each connection attempt to the model API. |
|
cli
Package cli implements the wright command-line interface using cobra.
|
Package cli implements the wright command-line interface using cobra. |
|
config
Package config defines Wright's YAML configuration format and the routines to load and validate it.
|
Package config defines Wright's YAML configuration format and the routines to load and validate it. |
|
cost
Package cost tracks token usage across agent runs.
|
Package cost tracks token usage across agent runs. |
|
gate
Package gate performs info-sufficiency triage for issues.
|
Package gate performs info-sufficiency triage for issues. |
|
gitops
Package gitops performs deterministic git operations inside the sandbox clone.
|
Package gitops performs deterministic git operations inside the sandbox clone. |
|
logging
Package logging sets up wright's optional diagnostic logger.
|
Package logging sets up wright's optional diagnostic logger. |
|
pipeline
Package pipeline wires poll -> gate -> execution -> failure reporting.
|
Package pipeline wires poll -> gate -> execution -> failure reporting. |
|
poller
Package poller fetches labeled issues from a provider.
|
Package poller fetches labeled issues from a provider. |
|
provider
Package provider defines Wright's provider-agnostic interface for hosting services (GitHub, GitLab) along with the domain types and sentinel errors that adapters map onto.
|
Package provider defines Wright's provider-agnostic interface for hosting services (GitHub, GitLab) along with the domain types and sentinel errors that adapters map onto. |
|
provider/factory
Package factory constructs a provider.Provider from a repo's config entry.
|
Package factory constructs a provider.Provider from a repo's config entry. |
|
provider/github
Package github implements provider.Provider against the GitHub REST API using google/go-github.
|
Package github implements provider.Provider against the GitHub REST API using google/go-github. |
|
provider/gitlab
Package gitlab implements provider.Provider against the GitLab REST API using the official gitlab.com/gitlab-org/api/client-go (the successor to the archived xanzy/go-gitlab).
|
Package gitlab implements provider.Provider against the GitLab REST API using the official gitlab.com/gitlab-org/api/client-go (the successor to the archived xanzy/go-gitlab). |
|
provider/logging
Package logging decorates a provider.Provider with structured logging of every call: the method and its key arguments on entry, and the duration plus outcome (a brief result summary, or the full error chain) on exit.
|
Package logging decorates a provider.Provider with structured logging of every call: the method and its key arguments on entry, and the duration plus outcome (a brief result summary, or the full error chain) on exit. |
|
provider/providertest
Package providertest holds shared, provider-agnostic assertions that both the GitHub and GitLab adapter test suites run against their own httptest fakes.
|
Package providertest holds shared, provider-agnostic assertions that both the GitHub and GitLab adapter test suites run against their own httptest fakes. |
|
provider/retrying
Package retrying decorates a provider.Provider with configurable retries around every connection attempt to the hosting API.
|
Package retrying decorates a provider.Provider with configurable retries around every connection attempt to the hosting API. |
|
retry
Package retry implements configurable retry-with-backoff for connection attempts to external services: provider APIs (GitHub/GitLab), the LLM API, the Docker daemon, and git network operations.
|
Package retry implements configurable retry-with-backoff for connection attempts to external services: provider APIs (GitHub/GitLab), the LLM API, the Docker daemon, and git network operations. |
|
sandbox
Package sandbox defines the isolated tool-execution abstraction used by the agent and verifier.
|
Package sandbox defines the isolated tool-execution abstraction used by the agent and verifier. |
|
verifier
Package verifier detects and runs a repository's native test command.
|
Package verifier detects and runs a repository's native test command. |
|
version
Package version exposes the build version of the wright binary.
|
Package version exposes the build version of the wright binary. |
Click to show internal directories.
Click to hide internal directories.