// 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 clawbot2026-10-13 00:31:03 +02:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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.
Where.
Correct behaviour. README: "Promotes a specific version to current by rewriting the secret's
currentfile to name it. Does not modify any timestamps".Definition of done
currentfile is rewritten.version promote --helpdoes not contain "symlink"; it fails before the fix.Model: fable-5-1