You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cli.py:228-232 — Only prepare and develop trigger issue transitions. When plan completes successfully, no label swap or project board update occurs. The issue remains in the same state it was after prepare.
This is related to the action:plan label addition (see sibling issue), but can be implemented independently using existing labels.
Swaps action:plan → action:develop (or just adds action:develop if action:plan doesn't exist yet)
Moves project board status to "ready" or "todo"
Acceptance Criteria
On successful plan action (return code 0), askcc transitions the issue labels so that action:develop is present and any action:plan label is removed. If neither label is present initially, action:develop is added.
The transition uses the existing _swap_issue_labels helper pattern (consistent with the develop → action:review transition), not a new ad-hoc implementation.
On successful plan action, the issue's project board status is transitioned using the existing _transition_project_fields helper (same pattern used by prepare/develop). If the issue is not in any project, the step is skipped cleanly.
Failing plan runs (non-zero return code) do NOT trigger any label or project transitions.
Unit tests cover: success path transitions labels, success path invokes project transition, failure path performs no transitions, and the no-project case is handled without error.
uv run pytest, uv run ruff check, and uv run pyright all pass.
No changes to the prepare or develop transition behavior.
Dependencies
None. Uses existing action:develop label and existing transition helpers.
Rationale
Without a transition after plan, there's no automated signal that planning is complete and the issue is ready for development. The workflow gap means issues can sit untracked between plan and develop.
Context
cli.py:228-232— Onlyprepareanddeveloptrigger issue transitions. Whenplancompletes successfully, no label swap or project board update occurs. The issue remains in the same state it was after prepare.This is related to the
action:planlabel addition (see sibling issue), but can be implemented independently using existing labels.Proposal
Add a plan transition in
cli.py:Where the transition:
action:plan→action:develop(or just addsaction:developifaction:plandoesn't exist yet)Acceptance Criteria
planaction (return code 0),askcctransitions the issue labels so thataction:developis present and anyaction:planlabel is removed. If neither label is present initially,action:developis added._swap_issue_labelshelper pattern (consistent with thedevelop→action:reviewtransition), not a new ad-hoc implementation.planaction, the issue's project board status is transitioned using the existing_transition_project_fieldshelper (same pattern used byprepare/develop). If the issue is not in any project, the step is skipped cleanly.planruns (non-zero return code) do NOT trigger any label or project transitions.uv run pytest,uv run ruff check, anduv run pyrightall pass.prepareordeveloptransition behavior.Dependencies
None. Uses existing
action:developlabel and existing transition helpers.Rationale
Without a transition after plan, there's no automated signal that planning is complete and the issue is ready for development. The workflow gap means issues can sit untracked between plan and develop.