Add ReleaseKit version reporting

This commit is contained in:
2026-10-07 13:51:52 +00:00
parent 721365e59d
commit 7e7940db9a
5 changed files with 131 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
# Implementation Plan: ReleaseKit Adoption
**Last updated:** 2026-10-07
**Status:** Ready for implementation; no stages completed.
**Status:** Stage 1 complete; Stages 2–5 pending.
**Audience:** Luna coding agent.
## Scope and Execution
@@ -64,7 +64,7 @@ Gitea with delivery credentials, or wait for CI. Deployment observations belong
to the first adopting release and its separate delivery status. No extra release
gates or platform guarantees are introduced by these adoption checks.
## Stage 1 — Add the Dependency and Version Command
## Stage 1 — Add the Dependency and Version Command [x]
**Primary files:** `go.mod`, `go.sum`, `internal/cli/run.go`, and focused tests in
`internal/cli`.
@@ -92,6 +92,12 @@ gates or platform guarantees are introduced by these adoption checks.
module diff, and commit. Real release-version injection is verified in Stage 5;
no test should hardcode an upstream private linker symbol.
**Completed 2026-10-07:** Added ReleaseKit v0.1.0 and the configuration-free
`audita version` command with root/help routing and usage-error handling.
Checks passed: `go test ./internal/cli ./cmd/audita`,
`go build -o ./bin/audita ./cmd/audita`, `./bin/audita version`, and
`git diff --check`.
## Stage 2 — Introduce the Product Profile and Thin Local Wrapper
**Primary files:** new `releasekit.json`, `scripts/release.sh`, and