feat(mcp,cli): phase inventory tools and CLI parity#282
Merged
adriannoes merged 5 commits intoJun 11, 2026
Merged
Conversation
This was referenced Jun 3, 2026
d3deee2 to
a5f7517
Compare
gbrlcustodio
left a comment
Collaborator
There was a problem hiding this comment.
Two CLI naming notes on the new phase commands.
gbrlcustodio
left a comment
Collaborator
There was a problem hiding this comment.
One blocker (test fails to collect on this PR in isolation) and one duplication nit.
Add get_phase_cards, get_phase_cards_count, get_phase_allowed_move_targets; phase cards/cards-count/allowed-moves CLI commands; clamp --first to 1-500; label hex validation on create_label/update_label via shared planner.
Move _merge_phase_and_start_form_field_values coverage to the create-card PR where the helper lands. Rename CLI commands to phase count and phase targets per review (action verb and returned entity naming).
a5f7517 to
d096020
Compare
Collaborator
Author
|
Thanks @gbrlcustodio — addressed in |
Danielmoraisg
approved these changes
Jun 11, 2026
Map get_phase not-found ValueErrors to NOT_FOUND in MCP and CLI phase count; dedupe cards page-size validation via shared helper; fix docstrings and registry comment.
2982b07
into
feat/card-phase-erg/2-sdk-phase-and-pipe
2 checks passed
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.
Analytics pipe seeding (
306996636) requiredexecute_graphqlfor phase inventory and phase-local creates. Spec:.cursor/dev-planning/specs/archive/card-phase-ergonomics/— Stack after #277 (closed).Depends on: #281
Objective
Expose SDK phase reads on MCP + CLI so agents can audit/move without GraphQL:
get_phase_cards,get_phase_cards_count,get_phase_allowed_move_targetspipefy phase cards,cards-count,allowed-movesphase cards --firstto 1–500 (F5)create_label/update_labelhex via planner (needs PR1)Improvements
move_card_to_phasefails.get_cardstitle search.