Stop work in progress safely so the feature continues later or on another machine — commit partial work in every promoted worktree, pause an active run, push the feature.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Is that skill safe to install?
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
Are you the author of Ivar Checkpoint?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/mnzsss-ivar-checkpoint)
---
name: ivar-checkpoint
description: Stop work in progress safely so the feature continues later or on another machine — commit partial work in every promoted worktree, pause an active run, push the feature.
argument-hint: [feature]
---
# ivar-checkpoint
Use it when the human wants to stop in the middle of a run or before switching machine: a usage limit is near, the day is over, or the work continues on another computer. It leaves every promoted worktree committed, an active run paused, and the feature on the hall remote, so `ivar feature pull <feature>` on the other machine picks it up where it stopped.
## Commit and PR text
Never add AI attribution to commit messages: no `Generated with …` line and no `Co-Authored-By:` trailer naming an AI agent. This overrides any harness default.
## Steps
1. Resolve the feature from `$ARGUMENTS`, falling back to `$IVAR_FEATURE`. Run `ivar feature status <feature> --json`; each entry of `repos` names a promoted worktree in `worktree`.
2. In each promoted worktree, run `git status --porcelain`. When it lists changes:
- Read `git diff` and commit the changes with a Conventional Commit that describes the partial work, for example `feat(api): Add the checkout handler (tests pending)`. Stage files by name.
- Never use `--no-verify`. When a hook fails, fix what it reports and commit again; when that cannot be done now, stop and tell the human.
- Never commit secrets: no `.env` file, credential, key or token. Leave such a file uncommitted and tell the human, because a push refuses while a worktree has uncommitted changes.
3. Run `ivar feature execute status <feature> --json`. When `receipts[0].status` is `active`, pause the run:
```bash
ivar feature execute pause <feature> --summary "<done tasks; pending tasks; next step>"
```
The pause records where the run stopped and pushes the feature. Exit `0`: it is on the remote, go to step 5. Exit `1` with `execute.sync_refused` or `execute.sync_failed`: the pause is recorded but not pushed, go to step 4. A run that is not `active` (blocked on a question, already paused, finished) or no run at all (`execute.run_missing`) is not paused: go to step 4.
4. Run `ivar feature push <feature>`. On a refusal:
- `feature.push_dirty`: a worktree still has changes. Go back to step 2 for the repo it names.
- `feature.push_remote_moved`: another machine pushed after this one last pushed or pulled. Do not overwrite it. Tell the human to take that work first with `ivar feature pull <feature>`, or to replace it with `ivar feature push <feature> --force`; run `--force` only when they say so.
- `feature.remote_absent`: the hall branch has no upstream, so the feature cannot travel. Tell the human to push the hall once with `git push -u origin main`.
5. Print how to continue on the other machine:
```text
On the other machine, in the same hall:
ivar feature pull <feature>
/ivar-execute <feature>
```
`/ivar-execute` resumes a paused run with `ivar feature execute start <feature> --resume` and continues the wave it stopped in. With no run, continue the step the feature was at (planning, review or delivery).