| title | gs checkpoint-clear | ||
|---|---|---|---|
| summary | Clear both persistent checkpoint selectors so the next process performs a cold audit. | ||
| rests_on |
|
Clears the two repository-local selectors for the signed verification checkpoint. The next new process audits the sequence from genesis and, if it has sequencer custody, publishes a fresh checkpoint.
| flag | default | meaning |
|---|---|---|
--repo |
. |
The repository holding the workroom. |
REPO="$(mktemp -d)/project"
git init -q "$REPO"
gs init --repo "$REPO" --operator alice >/dev/null
gs status --repo "$REPO" >/dev/null
gs checkpoint-clear --repo "$REPO"{
"checkpoint": "cleared",
"genesis": "55214fa4cdf843c1c3b2edd227cc2d73a8e48da7"
}
The command removes
.git/gitseq/checkpoints/<genesis>.json and rewinds
refs/gitseq/checkpoints/<genesis> to genesis. It does not change the durable
sequence, delete actor-signed events, or require an actor identity. Its JSON
result names the genesis and reports "checkpoint":"cleared".
Stop a resident before running the command if that resident must restart cold. The command cannot erase another process's already verified memory.
Set GITSEQ_CHECKPOINT=off on a command or resident process to disable both
checkpoint loading and checkpoint publication without changing either
persistent selector. gs verify is always a cold audit and does
not need the switch.
The local Git ref is also the garbage-collection root for the checkpoint object. The JSON file is only an application-owned selector. Neither is authority: every selected object still passes the full checkpoint identity, history, payload, key-rotation, and sequencer-signature checks.