1.4 KiB
1.4 KiB
Internal package inventory
Public facades and their contracts are defined in Go declarations and GoDoc. The runtime consumer guide covers application usage, and the CLI contract covers command behavior.
Implemented internal packages:
internal/runtimeinfoholds the injected version value and selects the executable's main-module version when no injected value is present.internal/versioncontractnames the linker symbol shared with the future release builder.internal/apicheckchecks compiled exports withgo/typesand checks import direction. Run it withgo run ./internal/apicheckfrom the repository root.internal/processruns cancellable child commands with per-child environment overlays.internal/candidatecaptures and validates one clean local candidate, checks its committed release note and local tag state, runs validation once, and rechecks mutable repository state.cmd/releasekit/internal/cliparses implemented commands, loads strict JSON profiles, and adapts configured checks to the process runner.
The executable controller uses the runtime facade and the command-owned CLI adapter. The adapter uses the process runner and imports neither public facade. Release orchestration, build, Git, and Gitea implementation packages are introduced as their responsibilities are implemented.