ward

module
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2026 License: MIT

README

ward

ward is the forge layer on top of motte: change requests, review, the merge queue, CI orchestration and mirroring to external git hosts. motte holds the mechanism (objects, refs, ref events, git smart HTTP, land). ward holds the policy and the workflow.

Status: early. The repository holds the specification, the mirror (including a GitHub App credential), the always-green land of a branch through motte (checks that a runner proves, a queue for each ref), and the image and Helm chart. Everything else in docs/architecture.md that is marked Planned is intent only.

Read docs/architecture.md for the design. Read AGENTS.md before you change the repository.

License: MIT.

Directories

Path Synopsis
cmd
ward command
Command ward is the forge service on top of motte.
Command ward is the forge service on top of motte.
internal
check
Package check holds the required checks of a ref, the results that a runner posts, and the delivery of check requests.
Package check holds the required checks of a ref, the results that a runner posts, and the delivery of check requests.
config
Package config reads the configuration of ward from the environment.
Package config reads the configuration of ward from the environment.
land
Package land lands a motte branch on a ref through a per-ref queue.
Package land lands a motte branch on a ref through a per-ref queue.
leaklint command
Command leaklint fails when a tracked file or a commit message holds a term of the denylist.
Command leaklint fails when a tracked file or a commit message holds a term of the denylist.
lint/cmd/lint command
Command lint runs the repository analyzers.
Command lint runs the repository analyzers.
lint/wallclock
Package wallclock reports time.Sleep and time.After in test files outside a testing/synctest.Test bubble.
Package wallclock reports time.Sleep and time.After in test files outside a testing/synctest.Test bubble.
mirror
Package mirror keeps a one-way mirror from motte to external git remotes.
Package mirror keeps a one-way mirror from motte to external git remotes.
mirror/sqlite
Package sqlite is the SQLite state store of ward: the mirror, the check results and the lands.
Package sqlite is the SQLite state store of ward: the mirror, the check results and the lands.
server
Package server is the HTTP surface of ward.
Package server is the HTTP surface of ward.
telemetry
Package telemetry sets up the OTLP trace export.
Package telemetry sets up the OTLP trace export.
testtime command
Command testtime reads the output of go test -json on standard input, prints the readable test log, and fails when a test or a package is slower than the budget of testdata/test-time-budget.txt.
Command testtime reads the output of go test -json on standard input, prints the readable test log, and fails when a test or a package is slower than the budget of testdata/test-time-budget.txt.
token
Package token signs and verifies the caller tokens of ward.
Package token signs and verifies the caller tokens of ward.

Jump to

Keyboard shortcuts

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