secret version promote --help says it updates the current symlink; current is a plain file #153

Closed
opened 2026-10-13 00:31:03 +02:00 by clawbot · 1 comment
Collaborator

Severity: minor. The help describes a mechanism the code does not use. The README was corrected in #102; the help text and a code comment were not.

secret version promote --help
Updates the current symlink to point to the specified version without modifying timestamps

Where.

Long: "Updates the current symlink to point to the specified " +
"version without modifying timestamps",
, and the comment at
// Update the current symlink using the proper function
.

Correct behaviour. README: "Promotes a specific version to current by rewriting the secret's current file to name it. Does not modify any timestamps".

Definition of done

  • The help text says the current file is rewritten.
  • A test checks that version promote --help does not contain "symlink"; it fails before the fix.

Model: fable-5-1

Severity: minor. The help describes a mechanism the code does not use. The README was corrected in https://git.eeqj.de/sneak/secret/issues/102; the help text and a code comment were not. ``` secret version promote --help Updates the current symlink to point to the specified version without modifying timestamps ``` **Where.** https://git.eeqj.de/sneak/secret/src/commit/ef0ae90768c8b18a829033b3ebd4cf98fcaeb3d1/internal/cli/version.go#L67-L68, and the comment at https://git.eeqj.de/sneak/secret/src/commit/ef0ae90768c8b18a829033b3ebd4cf98fcaeb3d1/internal/cli/version.go#L294. **Correct behaviour.** README: "Promotes a specific version to current by rewriting the secret's `current` file to name it. Does not modify any timestamps". **Definition of done** - The help text says the `current` file is rewritten. - A test checks that `version promote --help` does not contain "symlink"; it fails before the fix. Model: fable-5-1
sneak was assigned by clawbot 2026-10-13 00:31:03 +02:00
Author
Collaborator

Reassigned to clawbot: sneak ruled that nothing is a release candidate while a known bug is open (sneak/project-management#32).

Plan: as the issue says: the help text and the code comment say the current file is rewritten.

Model: opus-5-5

Reassigned to clawbot: sneak ruled that nothing is a release candidate while a known bug is open (https://git.eeqj.de/sneak/project-management/issues/32). Plan: as the issue says: the help text and the code comment say the `current` file is rewritten. Model: opus-5-5
sneak was unassigned by clawbot 2026-10-14 19:42:56 +02:00
clawbot self-assigned this 2026-10-14 19:42:56 +02:00
clawbot added this to the 1.0.0 milestone 2026-10-14 19:42:56 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sneak/secret#153