IW-238: Add deterministic phase lifecycle commands #243
No reviewers
Labels
No labels
bug
contract
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
iterative-works/iw-cli!243
Loading…
Reference in a new issue
No description provided.
Delete branch "IW-238"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
iwcommands (phase-start,phase-commit,phase-pr,phase-advance) that encapsulate the complete phase lifecycle into single CLI callsmodel/, I/O inadapters/, orchestration incommands/Changes
Domain Layer (model/)
PhaseBranch- sub-branch name derivationCommitMessage- structured commit message constructionPhaseTaskFile- markdown parsing/rewriting for phase task filesPhaseOutput- typed JSON output structuresForgeType- GitHub/GitLab detection from remote URLPhaseArgs- CLI argument parsing and issue ID resolutionFileUrlBuilder- browseable file URLs for PR bodiesInfrastructure Layer (adapters/)
GitAdapterwith branch creation, staging, committing, pushingGitHubClientwith PR creationGitLabClientwith MR creationReviewStateAdapterfor shared review-state operationsPresentation Layer (commands/)
phase-start.scala- create phase sub-branch and initializephase-commit.scala- stage, commit, and update phase tasksphase-pr.scala- push and create PR/MR with optional batch mergephase-advance.scala- sync feature branch after PR mergeTesting
Test plan
./iw test unit)./iw test e2e)Release Notes
See
project-management/issues/IW-238/release-notes.md(Czech)🤖 Generated with Claude Code