Skip to content

docs: add command-first checkpoints v2 manual test guide#839

Open
pfleidi wants to merge 13 commits intomainfrom
feat/checkpoints-v2-validation
Open

docs: add command-first checkpoints v2 manual test guide#839
pfleidi wants to merge 13 commits intomainfrom
feat/checkpoints-v2-validation

Conversation

@pfleidi
Copy link
Copy Markdown
Contributor

@pfleidi pfleidi commented Apr 3, 2026

Summary

  • Add a command-first manual testing guide for checkpoints v2 under docs/guides/checkpoints-v2-manual-test-plan.md.
  • Include step-by-step setup/run/expected sections per impacted entire command, with practical custom-ref workflows for missing-local/remote-fetch scenarios.
  • Add explanatory comments for git inspection commands and a reusable checkpoint shard helper (function + executable helper recipe).

Rendered Guide (Branch Link)


Note

Low Risk
Low risk documentation-only change; no runtime code paths or data handling are modified.

Overview
Adds a new docs/guides/checkpoints-v2-manual-test-plan.md command-first manual QA guide for the checkpoints v2 rollout.

The guide documents v2 ref invariants and provides copy-paste setup/inspection steps and scenario-based validation for entire resume, explain, doctor, clean, migrate (future), attach (future), and a rewind regression check, including workflows to simulate missing-local/remote-present refs and collect evidence.

Reviewed by Cursor Bugbot for commit 0441abd. Configure here.

Copilot AI review requested due to automatic review settings April 3, 2026 00:06
@pfleidi pfleidi requested a review from a team as a code owner April 3, 2026 00:06
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a command-first manual QA guide for validating the “checkpoints v2” split-ref storage behavior and related workflows.

Changes:

  • Introduces a new manual test plan doc covering entire resume/explain/doctor/clean/migrate/status/rewind.
  • Adds shared Git inspection commands (refs, trees, archived generations) and a checkpoint shard-path helper recipe.
  • Documents missing-local/remote-present and checkpoint_remote scenarios.

@pfleidi pfleidi requested a review from Copilot April 3, 2026 00:53
@pfleidi
Copy link
Copy Markdown
Contributor Author

pfleidi commented Apr 3, 2026

Bugbot run

Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 3 comments.

Setup:
1. Ensure repository has at least one commit.
2. Ensure target session transcript exists on disk for the selected agent.
3. Ensure latest commit does not already contain `Entire-Checkpoint` trailer.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a blocker, but just noting this last step is misleading/not necessary - it's possible for multiple untracked sessions to be added. Already having a trailer does not block new sessions from being attached.

# Verify latest commit includes Entire-Checkpoint trailer
git log -1 --pretty=%B
# Verify checkpoint metadata exists on v1 branch
git show-ref --verify -- refs/heads/entire/checkpoints/v1
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This testing plan for attach seems to only cover regression testing for v1. I'm not so worried about v1: it's already been validated. I think we could run through this first scenario and that's fine if we want to regression test it.

Otherwise, the testing plan should cover that the attached sessions get added correctly to v2 refs.


## 3) `entire doctor`

- What it does: diagnoses and fixes disconnected `entire/checkpoints/v1` metadata branches and stuck sessions.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is doctor intentionally unneeded + not supported in v2?

- `--all` removes orphaned items and temporary files.
- `entire/checkpoints/v1` branch is preserved.

### Scenario 4: Single-session cleanup (`--session`)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this necessary to test for checkpoints v2? I don't think we touched this at all, did we? I wonder if we can omit this section?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I think we should omit that 👍

@pfleidi
Copy link
Copy Markdown
Contributor Author

pfleidi commented Apr 3, 2026

Bugbot run

Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit 0441abd. Configure here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants