# reword checkpoint policy help to write-guard semantics

`cf28d62`→[main](/content/gh/entireio/cli/commits/main/index.html)·

pfleidi·2w ago·2 files·+2 added/-2 removed

Nothing selects a checkpoint metadata format from the policy's checkpoint_version anymore; it only gates checkpoint-data writes. Align the hidden policy command's help text with the architecture doc's write-guard wording.

## Sessions

582cbad18eceView transcript

## Changes

2

- cmd/entire/cli

- Mcheckpoint_policy.go+1/-1
  
  - Mcheckpoint_policy_test.go+1/-1

```
27 unmodified lines

28
29
30
31
31
32
33
34

27 unmodified lines

Short: "Inspect and update checkpoint policy",
		Long: `Inspect and update checkpoint policy.

checkpoint_version selects the checkpoint metadata format used for new writes.
checkpoint_version is a checkpoint-data write guard.
If no policy is configured, Entire uses the CLI default.
If another client configures a checkpoint_version this CLI cannot write,
commands that create checkpoint data fail until the CLI is upgraded. Other commands warn and
```

Mcmd/entire/cli/checkpoint_policy.go+1/-1

```
38 unmodified lines

39
40
41
42
42
43
44
45

38 unmodified lines

require.NoError(t, err)

help := stdout.String()
	require.Contains(t, help, "checkpoint_version selects the checkpoint metadata format used for new writes")
	require.Contains(t, help, "checkpoint_version is a checkpoint-data write guard")
	require.Contains(t, help, `If another client configures a checkpoint_version this CLI cannot write`)
	require.Contains(t, help, "commands that create checkpoint data fail until the CLI is upgraded")
	require.Contains(t, help, "checkpoint_min_version is an upgrade nudge")
```

Mcmd/entire/cli/checkpoint_policy_test.go+1/-1
