Repository navigation
feat(checkpoints): add rc checkpoints list - #194
Merged
Merged
Conversation
RosieWatson
marked this pull request as ready for review
October 14, 2026 08:07
joshdholtz
approved these changes
Oct 14, 2026
…s-via-the-cli # Conflicts: # docs/specs/cli-coverage.yaml # docs/specs/v2-beta-overlay.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
rc checkpoints list. You need a Checkpoint's ID to create a Checkpoint rule, and this is the first way to find one from the CLI.app_open), how it was created, and when.--limit/--cursorpaginate, with the usual next-page hint.--jsonreturns the raw page.Notes
GET /projects/{project_id}/checkpointsis development-status (with gatekeeping off), so I added it tov2-beta-overlay.yamlandcli-coverage.yaml.make genonly addedpathCheckpoints.project_configuration:targeting_rules:readscope, the same as the Targeting rules endpoints.rc --helpuntil Checkpoint rules roll out, but still runnable and listed inrc commands/rc schema. Grouped under "catalog", wheretargetingwill also go.Testing
go test ./internal/api/ ./internal/cli/(new tests: the pagination query, table output and next-page hint, and the--jsonshape)golangci-lint run,gofmtNote
Low Risk
Read-only list against a development API endpoint; no writes or auth changes, following the same experimental CLI pattern as flows.
Overview
Adds experimental
rc checkpoints listso you can discover Checkpoint IDs and app identifiers (e.g.app_open) before creating Checkpoint rules. The command is read-only, supports--limit/--cursorand--json, and is hidden fromrc --helpuntil the feature ships (still inrc commands/rc schemaunder the catalog group).Wires
GET /projects/{project_id}/checkpointsthrough a newCheckpointsServiceon the API client, documents the development endpoint in the beta overlay and CLI coverage spec, and adds integration tests for pagination, table output, and JSON shape.Reviewed by Cursor Bugbot for commit 5c24db7. Bugbot is set up for automated code reviews on this repo. Configure here.