fix(scripts): repoint remaining rewind --list callers to checkpoint list --pending --json · Entire
fix(scripts): repoint remaining rewind --list callers to checkpoint list --pending --json
e1ceb99→main·
suhaanthayyil·2d ago·2 files·+3 added/-3 removed
The rewind --list surface was removed in favor of checkpoint list --pending --json, and the SKILL.md prose reference was migrated, but two executable callers were missed: the test-repo harness list-rewind-points action and the attribution e2e script (steps 9 and 15). They invoked the removed --list flag, which now fails with "unknown flag".
Repoint both to the drop-in replacement (identical JSON output) so the dev harnesses keep working.
Changes
2
.claude/skills/test-repo
Mtest-harness.sh+1/-1
scripts
Mtest-attribution-e2e.sh+2/-2
150 unmodified lines
151
152
153
154
154
155
156
157
150 unmodified lines
echo "==> Listing rewind points..."
cd "$REPO_DIR"
"$BIN_PATH" rewind --list
"$BIN_PATH" checkpoint list --pending --json
;;
create-changes)
M.claude/skills/test-repo/test-harness.sh+1/-1
143 unmodified lines
144
145
146
147
147
148
149
150
106 unmodified lines
257
258
259
260
260
261
262
263
143 unmodified lines
# Check rewind points
echo -e "${BLUE}=== Step 9: Check rewind points ===${NC}"
entire rewind --list || true
entire checkpoint list --pending --json || true
# Show session state (includes PromptAttributions for debugging)
echo ""
106 unmodified lines
# Show rewind points summary
echo ""
echo -e "${BLUE}=== Step 15: Rewind points summary ===${NC}"
entire rewind --list | jq -r '.[] | " \\(.id[0:8])... - \\(.message[0:60])"' 2>/dev/null || echo " (no rewind points)"
entire checkpoint list --pending --json | jq -r '.[] | " \\(.id[0:8])... - \\(.message[0:60])"' 2>/dev/null || echo " (no rewind points)"
# Final summary
echo ""
Mscripts/test-attribution-e2e.sh+2/-2