Directories
¶
| Path | Synopsis |
|---|---|
|
bench
|
|
|
skilleval
command
Command skilleval measures what the writ skill does for a coding agent on an OpenTofu repository.
|
Command skilleval measures what the writ skill does for a coding agent on an OpenTofu repository. |
|
cmd
|
|
|
writ
command
Command writ is the Writ CLI.
|
Command writ is the Writ CLI. |
|
internal
|
|
|
addr
Package addr defines resource addresses: the path from a top-level let to a resource, such as ca_key, site.key, or files["a"].
|
Package addr defines resource addresses: the path from a top-level let to a resource, such as ca_key, site.key, or files["a"]. |
|
agent
Package agent holds what Writ puts into an OpenTofu repository for coding agents: the writ skill, and the section of AGENTS.md that points to it.
|
Package agent holds what Writ puts into an OpenTofu repository for coding agents: the writ skill, and the section of AGENTS.md that points to it. |
|
archtest
Package archtest holds tests that enforce Writ's package boundaries.
|
Package archtest holds tests that enforce Writ's package boundaries. |
|
authz
Package authz decides what a principal may do in writ serve.
|
Package authz decides what a principal may do in writ serve. |
|
awsrole
Package awsrole assumes AWS roles for writ serve's runs and hands the credentials to providers.
|
Package awsrole assumes AWS roles for writ serve's runs and hands the credentials to providers. |
|
awsrole/ststest
Package ststest is a stand-in for AWS STS in tests.
|
Package ststest is a stand-in for AWS STS in tests. |
|
cli
Package cli implements the writ commands.
|
Package cli implements the writ commands. |
|
confine
Package confine reads and writes the files of a stack or a repository, either anywhere on the file system or only beneath one directory.
|
Package confine reads and writes the files of a stack or a repository, either anywhere on the file system or only beneath one directory. |
|
control
Package control is writ serve's own store: the configs it ran with, their teams and grants, the kept plans, approvals, runs, overrides, sessions, used token ids, an audit row for every API call and decision, and the state OpenTofu stacks keep on writ serve's http backend.
|
Package control is writ serve's own store: the configs it ran with, their teams and grants, the kept plans, approvals, runs, overrides, sessions, used token ids, an audit row for every API call and decision, and the state OpenTofu stacks keep on writ serve's http backend. |
|
control/controltest
Package controltest opens control databases for tests: a SQLite file in the test's temporary directory always, and a scratch Postgres database when pgtest has a server.
|
Package controltest opens control databases for tests: a SQLite file in the test's temporary directory always, and a scratch Postgres database when pgtest has a server. |
|
control/pgtest
Package pgtest gives tests a scratch Postgres: a socket-only server in a temporary directory, as just e2e-postgres starts one.
|
Package pgtest gives tests a scratch Postgres: a socket-only server in a temporary directory, as just e2e-postgres starts one. |
|
diag
Package diag defines source positions and the diagnostics every layer of Writ reports: a class, a span, a message, and an optional fix.
|
Package diag defines source positions and the diagnostics every layer of Writ reports: a class, a span, a message, and an optional fix. |
|
egress
Package egress decides where an OpenTofu run of writ serve may connect, and is the proxy the run connects through.
|
Package egress decides where an OpenTofu run of writ serve may connect, and is the proxy the run connects through. |
|
forge
Package forge reads repositories where they are hosted: a project, the head of a branch, the files of a commit, and a file's content by its Git blob id.
|
Package forge reads repositories where they are hosted: a project, the head of a branch, the files of a commit, and a file's content by its Git blob id. |
|
forge/forgetest
Package forgetest serves a stand-in for GitLab's REST API in a test's process: the project, branch, commit, merge base, repository tree, and raw blob endpoints that writ serve reads, with the response shapes of GitLab's API documentation (docs.gitlab.com/api/projects, /api/branches, /api/commits, and /api/repositories, read 2026-11-10).
|
Package forgetest serves a stand-in for GitLab's REST API in a test's process: the project, branch, commit, merge base, repository tree, and raw blob endpoints that writ serve reads, with the response shapes of GitLab's API documentation (docs.gitlab.com/api/projects, /api/branches, /api/commits, and /api/repositories, read 2026-11-10). |
|
importer
Package importer takes over objects that already exist into OpenTofu code.
|
Package importer takes over objects that already exist into OpenTofu code. |
|
mask
Package mask produces every document that leaves an OpenTofu run: the masked plan document, the rows of the state index, and the run's event streams with secrets swept out.
|
Package mask produces every document that leaves an OpenTofu run: the masked plan document, the rows of the state index, and the run's event streams with secrets swept out. |
|
mcp
Package mcp serves Writ's control plane to coding agents as tools of the Model Context Protocol, over stdio.
|
Package mcp serves Writ's control plane to coding agents as tools of the Model Context Protocol, over stdio. |
|
notify
Package notify delivers asynchronous notifications for writ serve events to Slack incoming webhooks and generic JSON webhooks with optional HMAC-SHA256 signing.
|
Package notify delivers asynchronous notifications for writ serve events to Slack incoming webhooks and generic JSON webhooks with optional HMAC-SHA256 signing. |
|
oidc
Package oidc checks OIDC tokens for writ serve and signs people in with the team's identity provider.
|
Package oidc checks OIDC tokens for writ serve and signs people in with the team's identity provider. |
|
oidc/oidctest
Package oidctest runs an OIDC issuer for tests: an HTTPS server with a discovery document and a key set, keys generated in the test, and tokens the test signs.
|
Package oidctest runs an OIDC issuer for tests: an HTTPS server with a discovery document and a key set, keys generated in the test, and tokens the test signs. |
|
policy
Package policy compiles policy sets, Rego rules about OpenTofu plans, and judges one plan at one point with them.
|
Package policy compiles policy sets, Rego rules about OpenTofu plans, and judges one plan at one point with them. |
|
provider
Package provider owns everything about Terraform provider binaries: finding them in the registry, pinning them in writ.lock, caching their schemas, and running them over the plugin protocol, version 5 or 6.
|
Package provider owns everything about Terraform provider binaries: finding them in the registry, pinning them in writ.lock, caching their schemas, and running them over the plugin protocol, version 5 or 6. |
|
repo
Package repo turns one commit of a repository into what the control plane plans.
|
Package repo turns one commit of a repository into what the control plane plans. |
|
runas
Package runas acts as an OS user with no name: it starts a process as that user, does file work as that user, and checks that a started process holds nothing of writ's.
|
Package runas acts as an OS user with no name: it starts a process as that user, does file work as that user, and checks that a started process holds nothing of writ's. |
|
runner
Package runner runs writ serve's OpenTofu runs as jobs.
|
Package runner runs writ serve's OpenTofu runs as jobs. |
|
schema
Package schema is Writ's own view of a provider's schema: resource types with Writ types on every attribute, refined by the annotation layer.
|
Package schema is Writ's own view of a provider's schema: resource types with Writ types on every attribute, refined by the annotation layer. |
|
server
Package server is writ serve: the control plane's REST API over HTTPS.
|
Package server is writ serve: the control plane's REST API over HTTPS. |
|
servetest
Package servetest starts a dev control plane inside a test's process: the real server.Server, which runs no OpenTofu, on an httptest server, with its control database in SQLite in the test's temporary directory.
|
Package servetest starts a dev control plane inside a test's process: the real server.Server, which runs no OpenTofu, on an httptest server, with its control database in SQLite in the test's temporary directory. |
|
sqldb
Package sqldb owns Writ's SQL drivers: it opens SQLite files and Postgres databases behind one type, rewrites the ? placeholders that every statement is written with into Postgres's $n, and turns driver errors into an *IOError that holds no connection detail.
|
Package sqldb owns Writ's SQL drivers: it opens SQLite files and Postgres databases behind one type, rewrites the ? placeholders that every statement is written with into Postgres's $n, and turns driver errors into an *IOError that holds no connection detail. |
|
tfcode
Package tfcode reads and writes the OpenTofu code of one stack for writ import: it reads the providers a stack requires and configures, and the names it declares, and it writes literals as HCL tokens.
|
Package tfcode reads and writes the OpenTofu code of one stack for writ import: it reads the providers a stack requires and configures, and the names it declares, and it writes literals as HCL tokens. |
|
tfplugin6
Package tfplugin6 will hold the Go code generated from proto/tfplugin6.proto by `just proto` (protoc-gen-go and protoc-gen-go-grpc).
|
Package tfplugin6 will hold the Go code generated from proto/tfplugin6.proto by `just proto` (protoc-gen-go and protoc-gen-go-grpc). |
|
tfstate
Package tfstate serves OpenTofu's http state backend to the runs of writ serve.
|
Package tfstate serves OpenTofu's http state backend to the runs of writ serve. |
|
tofu
Package tofu runs OpenTofu for one stack: init, a saved plan, its JSON, and the apply of a saved plan, each run in a scratch directory of its own, with bounded time and output, and as the run's own uid when it has one.
|
Package tofu runs OpenTofu for one stack: init, a saved plan, its JSON, and the apply of a saved plan, each run in a scratch directory of its own, with bounded time and output, and as the run's own uid when it has one. |
|
types
Package types is the type model of provider schemas: scalars, lists, maps, records, string-literal unions, typed references (Id, Pem, Arn, and Name), resource types, and the secret taint.
|
Package types is the type model of provider schemas: scalars, lists, maps, records, string-literal unions, typed references (Id, Pem, Arn, and Name), resource types, and the secret taint. |
|
ui
Package ui is the control UI: the HTML pages that writ serve renders under /ui/ for people signed in with the team's identity provider.
|
Package ui is the control UI: the HTML pages that writ serve renders under /ui/ for people signed in with the team's identity provider. |
|
value
Package value is the value model of the importer and the provider client.
|
Package value is the value model of the importer and the provider client. |
Click to show internal directories.
Click to hide internal directories.