Directories
¶
| Path | Synopsis |
|---|---|
|
Package app is the wiring layer: it reads the config and builds the resolvers, generators, platforms and pipelines the commands run.
|
Package app is the wiring layer: it reads the config and builds the resolvers, generators, platforms and pipelines the commands run. |
|
Package cmd defines heraut's cobra commands: each parses its flags, loads the config, calls internal/app and renders the result (text or --json).
|
Package cmd defines heraut's cobra commands: each parses its flags, loads the config, calls internal/app and renders the result (text or --json). |
|
Package commitwizard implements `heraut commit create` — an interactive wizard that builds a Conventional Commits message and runs git commit.
|
Package commitwizard implements `heraut commit create` — an interactive wizard that builds a Conventional Commits message and runs git commit. |
|
Package config loads, validates and describes .heraut.yml: the structs, the strict loader, the semantic validator, and the effective values (environment overrides, defaults) the rest of heraut reads.
|
Package config loads, validates and describes .heraut.yml: the structs, the strict loader, the semantic validator, and the effective values (environment overrides, defaults) the rest of heraut reads. |
|
Package conventionalcommit parses and inspects commit messages against the Conventional Commits 1.0.0 grammar.
|
Package conventionalcommit parses and inspects commit messages against the Conventional Commits 1.0.0 grammar. |
|
Package exitcode maps errors to the process exit codes documented in Spec 01 — Exit codes.
|
Package exitcode maps errors to the process exit codes documented in Spec 01 — Exit codes. |
|
Package forge resolves a heraut config into one or more port.ForgeIdentity values, filling gaps from the ambient CI environment or the git origin remote when the config leaves fields unset.
|
Package forge resolves a heraut config into one or more port.ForgeIdentity values, filling gaps from the ambient CI environment or the git origin remote when the config leaves fields unset. |
|
azure
Package azure implements port.Forge for Azure DevOps over stdlib net/http.
|
Package azure implements port.Forge for Azure DevOps over stdlib net/http. |
|
github
Package github implements port.Forge for GitHub over stdlib net/http, so changelog enrichment needs no `gh` CLI on PATH.
|
Package github implements port.Forge for GitHub over stdlib net/http, so changelog enrichment needs no `gh` CLI on PATH. |
|
gitlab
Package gitlab implements port.Forge for GitLab over stdlib net/http.
|
Package gitlab implements port.Forge for GitLab over stdlib net/http. |
|
generators
|
|
|
native
Package native is heraut's built-in, zero-external-dependency content generator (ADR-0032).
|
Package native is heraut's built-in, zero-external-dependency content generator (ADR-0032). |
|
Package pipeline runs the release and changelog flows step by step: resolve, changelog, commit, tag, push, notes and publish, with hooks and dry runs.
|
Package pipeline runs the release and changelog flows step by step: resolve, changelog, commit, tag, push, notes and publish, with hooks and dry runs. |
|
Package platforms holds what the publish drivers share: release asset globs and opening asset files safely inside the repository.
|
Package platforms holds what the publish drivers share: release asset globs and opening asset files safely inside the repository. |
|
github
Package github publishes releases and their assets to GitHub and GitHub Enterprise Server through the REST API (go-github, ADR-0077).
|
Package github publishes releases and their assets to GitHub and GitHub Enterprise Server through the REST API (go-github, ADR-0077). |
|
Package port defines the interfaces heraut's layers talk through (Runner, Generator, Platform, Forge) and the small types they share.
|
Package port defines the interfaces heraut's layers talk through (Runner, Generator, Platform, Forge) and the small types they share. |
|
Package scaffold is heraut init: the interactive wizard, its defaults, and writing .heraut.yml, keeping the keys the wizard does not ask about on an update.
|
Package scaffold is heraut init: the interactive wizard, its defaults, and writing .heraut.yml, keeping the keys the wizard does not ask about on an update. |
|
Package skill embeds the agent skill (SKILL.md) that teaches an AI coding agent how to drive the heraut binary.
|
Package skill embeds the agent skill (SKILL.md) that teaches an AI coding agent how to drive the heraut binary. |
|
Package testutil holds heraut's test doubles and fixtures: MockGenerator, MockPlatform, RealGitRepo, and helpers that keep the CI and git environment out of tests.
|
Package testutil holds heraut's test doubles and fixtures: MockGenerator, MockPlatform, RealGitRepo, and helpers that keep the CI and git environment out of tests. |
|
Package ui is heraut's terminal styling on top of forge/ui: the gold accent, the huh theme, the version banner and the step spinner.
|
Package ui is heraut's terminal styling on top of forge/ui: the gold accent, the huh theme, the version banner and the step spinner. |
|
Package versioning holds what every strategy shares: the Result of a resolution, the Resolver interface, bump levels, and the "nothing to release" sentinel.
|
Package versioning holds what every strategy shares: the Result of a resolution, the Resolver interface, bump levels, and the "nothing to release" sentinel. |
|
branch
Package branch matches the current branch against versioning.branches and enforces the branch guards: the per-environment branch and the unlisted-branch refusal (ADR-0065).
|
Package branch matches the current branch against versioning.branches and enforces the branch guards: the per-environment branch and the unlisted-branch refusal (ADR-0065). |
|
calver
Package calver resolves calendar versions: it parses a format (YYYY, MM, DD, WW, QQ, SS, SPRINT, PATCH) and computes the next version from today's date and the tags.
|
Package calver resolves calendar versions: it parses a format (YYYY, MM, DD, WW, QQ, SS, SPRINT, PATCH) and computes the next version from today's date and the tags. |
|
perenv
Package perenv wraps a version calculator for the per-environment strategies: auto environments bump within their own tags, promote environments copy a source version, guarded by E001 to E003.
|
Package perenv wraps a version calculator for the per-environment strategies: auto environments bump within their own tags, promote environments copy a source version, guarded by E001 to E003. |
|
semver
Package semver resolves SemVer versions from conventional commits: the bump level, SemVer 2.0.0 ordering, pre-releases, maintenance lines and the stay_at_v0 and confirm_major gates.
|
Package semver resolves SemVer versions from conventional commits: the bump level, SemVer 2.0.0 ordering, pre-releases, maintenance lines and the stay_at_v0 and confirm_major gates. |
|
tagfmt
Package tagfmt renders and parses tag formats ({version}, {env}, {build}) and derives the globs and patterns that list an environment's tags.
|
Package tagfmt renders and parses tag formats ({version}, {env}, {build}) and derives the globs and patterns that list an environment's tags. |
Click to show internal directories.
Click to hide internal directories.