Skip to content

✨ Transition issue after successful plan - #77

Merged
monkut merged 1 commit into
mainfrom
feature/70-plan-transition
Apr 13, 2026
Merged

✨ Transition issue after successful plan#77
monkut merged 1 commit into
mainfrom
feature/70-plan-transition

Conversation

@monkut

@monkut monkut commented Apr 13, 2026

Copy link
Copy Markdown
Owner

Closes #70

Summary

  • On successful plan action, askcc now transitions the issue labels (action:plan -> action:develop) and moves the project board Status to ready/todo, using the existing _swap_issue_labels and _transition_project_fields helpers.
  • Failing plan runs do not trigger any transitions.
  • No changes to prepare or develop transition behavior.

Changes

  • askcc/settings.py: add PLAN_LABEL and READY_STATUS_OPTIONS constants.
  • askcc/functions.py: add transition_issue_to_development (mirrors transition_issue_to_review).
  • askcc/cli.py: call transition_issue_to_development on successful plan.
  • tests/test_askcc.py: unit tests for success path labels, success path project transition, failure path no-op, and no-project handling.

Test plan

  • uv run pytest (128 passed)
  • uv run ruff check
  • uv run pyright

Add post-plan transition: swaps action:plan -> action:develop and
moves project status to ready/todo, mirroring the existing prepare
and develop transitions. No-op on failure or missing project board.
@monkut monkut mentioned this pull request Apr 13, 2026
7 tasks
@monkut
monkut merged commit d4d4630 into main Apr 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add transition after plan success

2 participants