Skip to content

docs: file unreleased entries under 0.6.0, drop CLI_NOISE_AUDIT.md, fix a doc comment - #56

Merged
naliyi merged 3 commits into
mainfrom
worktree-changelog-0.6.0-fix
Sep 23, 2026
Merged

naliyi merged 3 commits into
mainfrom
worktree-changelog-0.6.0-fix

Conversation

@naliyi

@naliyi naliyi commented Sep 23, 2026

Copy link
Copy Markdown
Contributor

Three docs-only fixes. No behavior change, no new changelog entry (nothing user-facing changed).

1. Unreleased entries were filed under a shipped version

v0.5.0 was tagged and released 2026-09-21. PR #55 merged 2026-09-23, but its five bullets were appended to the frozen ## [0.5.0] section — so the changelog claimed ncli profile, the spinner and the new error shapes shipped in v0.5.0, which they didn't.

They move to a new ## [0.6.0] (new command + changed error output = minor bump). ## [0.5.0] is restored to byte-for-byte what the tag carries, verified against git show v0.5.0:CHANGELOG.md.

This matters because release.yml, .goreleaser.yaml and pages.yml all read CHANGELOG.md — left alone, the next release would have published the wrong version's notes.

2. Dropped CLI_NOISE_AUDIT.md

A one-off working audit of stderr narration, reconciled back in September and referenced by nothing (grep across the tree returns no hits). .gitignore already designates docs/private/ for "Local-only planning/audit docs, not meant to be tracked" — this one predated that convention and sat tracked at the repo root.

3. Reattached the CLIError doc comment

HelpMode was introduced in #55 between CLIError's doc comment and the struct, so go doc attributed CLIError's documentation to HelpMode and left CLIError undocumented. Moving HelpMode below the struct rejoins each comment with its type.

Before/after, go doc ./cli/common CLIError now renders the intended text.

Verification

gofmt, go build ./..., go vet ./..., go mod tidy (no diff), go test -short -race ./..., and golangci-lint v2.13.2 — all clean, 0 lint issues.

v0.5.0 shipped on 2026-09-21; PR #55 merged after it, but its entries
were appended to the frozen [0.5.0] section. A new command plus changed
error output is a minor bump, so they move to [0.6.0] and [0.5.0] is
restored to exactly what the v0.5.0 tag carries.

The changelog feeds release notes and the docs site (release.yml,
.goreleaser.yaml, pages.yml), so a misfiled entry would have shipped as
the wrong version's notes.
A one-off working audit of stderr narration, reconciled in September and
referenced by nothing. .gitignore already designates docs/private/ for
local-only planning and audit docs; this one predated that and sat
tracked at the repo root instead.
HelpMode was inserted between CLIError's doc comment and the struct, so
go doc attributed CLIError's documentation to HelpMode and left CLIError
undocumented. Moving HelpMode below the struct rejoins each comment with
the type it describes. No behavior change.
@naliyi
naliyi merged commit 0b5f444 into main Sep 23, 2026
4 checks passed
@naliyi
naliyi deleted the worktree-changelog-0.6.0-fix branch September 23, 2026 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant