Directories
¶
| Path | Synopsis |
|---|---|
|
llm
Package llm defines Wright's model-agnostic LLM contract.
|
Package llm defines Wright's model-agnostic LLM contract. |
|
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. |
|
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). |
|
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. |
|
Package cache persists partial progress from an interrupted issue-resolution attempt (turn limit, verify exhaustion, a sandbox fault, or a failed commit/push/PR step) so the next attempt at the same issue can resume from where the money was already spent instead of re-running the agent from scratch.
|
Package cache persists partial progress from an interrupted issue-resolution attempt (turn limit, verify exhaustion, a sandbox fault, or a failed commit/push/PR step) so the next attempt at the same issue can resume from where the money was already spent instead of re-running the agent from scratch. |
|
Package cli implements the wright command-line interface using cobra.
|
Package cli implements the wright command-line interface using cobra. |
|
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. |
|
Package cost tracks token usage across agent runs.
|
Package cost tracks token usage across agent runs. |
|
Package executor implements the "do the work" step of Wright's pipeline: given a gate-approved issue, it starts a sandbox, runs the coding agent, verifies the result (retrying on failure), and hands off to gitops to commit, push, and open a PR.
|
Package executor implements the "do the work" step of Wright's pipeline: given a gate-approved issue, it starts a sandbox, runs the coding agent, verifies the result (retrying on failure), and hands off to gitops to commit, push, and open a PR. |
|
Package gate performs info-sufficiency triage for issues.
|
Package gate performs info-sufficiency triage for issues. |
|
Package gitops performs deterministic git operations inside the sandbox clone.
|
Package gitops performs deterministic git operations inside the sandbox clone. |
|
Package logging sets up wright's optional diagnostic logger.
|
Package logging sets up wright's optional diagnostic logger. |
|
Package pipeline wires poll -> gate -> execution -> failure reporting.
|
Package pipeline wires poll -> gate -> execution -> failure reporting. |
|
Package poller fetches labeled issues from a provider.
|
Package poller fetches labeled issues from a 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. |
|
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. |
|
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. |
|
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). |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
Package stack tracks pull requests that Wright stacked on top of an in-flight dependency PR (see internal/gate and internal/cli/run_exec.go's stacking base-branch selection), and reconciles them once their dependency merges: retargeting the stacked PR's base back onto the repo's real base branch.
|
Package stack tracks pull requests that Wright stacked on top of an in-flight dependency PR (see internal/gate and internal/cli/run_exec.go's stacking base-branch selection), and reconciles them once their dependency merges: retargeting the stacked PR's base back onto the repo's real base branch. |
|
Package verifier detects and runs a repository's native test command.
|
Package verifier detects and runs a repository's native test command. |
|
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.