Proofline

`Hold` moves `.proofline-test-only` before checking its contents.

khan-dev-labs/cli#1Reviewed commit b1d0424

Warning · Authorization

If the token mismatches and restoration is skipped or fails, `finally` deletes the unvalidated marker.

Impact

The rightful holder loses its marker and cannot acquire the test lock with it.

Recommended action

Validate the marker before moving it, revalidate after the atomic claim, and delete only a validated claim.

Cited code

Checked
Pull request code. The environment was not checked.
Status
Completed
Started
Completed