Skip to content

Write KERNEL throughout vault help - #329

Merged
rgarcia merged 2 commits into
mainfrom
hypeship/vault-help-kernel-caps
Nov 25, 2026
Merged

rgarcia merged 2 commits into
mainfrom
hypeship/vault-help-kernel-caps

Conversation

@rgarcia

@rgarcia rgarcia commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Vault help and messages wrote the product name as Kernel; the rest of the CLI uses KERNEL.

  • Replaces Kernel with KERNEL in user-facing vault text: command help, examples, flag usage, the VGS authorize/fill info lines, and the Shop Pay wallet spec error. Code comments are unchanged.
  • "Kernel-vault aliases" now reads "KERNEL vault aliases".
  • Adds TestVaultHelpWritesProductNameAsKERNEL, which walks the vaults and vault-provider-configs command trees and fails on Kernel in any Short, Long, Example or flag usage. It replaces the single-phrase assertion in the payment-methods help test. Runtime messages aren't covered by the walk.

go vet ./cmd/ and go test ./... pass. Checked that the new test fails when a Kernel is reintroduced.

@rgarcia
rgarcia requested a review from masnwilliams November 24, 2026 20:36

@masnwilliams masnwilliams left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM: the three wording changes and the test update are correct.

Optional, for this PR or soon after:

  • Other user-facing vault help still writes the product name as Kernel. Examples: cmd/vaults_commands.go lines 110, 255 and 261; cmd/vaults_help.go lines 20, 47-52, 73, 240 and 270-276; cmd/vault_provider_configs.go lines 54 and 102. It also shows up at runtime in cmd/vaults_output.go lines 743 and 745 and in the error message at cmd/vaults_wallet_spec.go:55.
  • To stop this coming back, add one test that walks newVaultsCommand() and fails on \bKernel\b in each command's Short, Long and Example text and in its flag usage. That would replace the single-phrase assertion. While you're in there, "Kernel-vault aliases" reads better as "KERNEL vault aliases".

@rgarcia rgarcia changed the title Use KERNEL for the product name in vault help Write KERNEL throughout vault help Nov 25, 2026
@rgarcia
rgarcia merged commit 94a3543 into main Nov 25, 2026
8 checks passed
@rgarcia
rgarcia deleted the hypeship/vault-help-kernel-caps branch November 25, 2026 02:22
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.

2 participants