Skip to content

[feature-runner] PR creation and worktree cleanup #82

@orioltf

Description

@orioltf

This was generated by AI during triage.

Parent

docs/issues/feature-runner/PRD.md

What to build

Extend the skill so that when all issues in a feature are resolved, it opens a pull request targeting develop using the gh CLI. The PR title is derived from the feature slug and the PRD's title frontmatter field. The PR body references the feature PRD and lists all resolved issues. After the PR is opened successfully, the worktree is removed.

Blocked on failure handling (02) so the runner never reaches PR creation when an issue has failed.

Acceptance criteria

  • When all issues in the feature are resolved, gh pr create is called targeting develop
  • PR title is derived from the feature slug and the PRD's title frontmatter field
  • PR body includes a reference to docs/issues/<slug>/PRD.md and a list of all resolved issues
  • The worktree is removed after the PR is opened successfully
  • No PR is opened if the runner stopped due to a /tdd failure (failure handling from 02 prevents this)

Blocked by

#81


PRD: docs/issues/feature-runner/PRD.md
Migrated from: docs/issues/feature-runner/03-pr-creation.md (source removed after migration)
Touched by PRs: #25, #32

Metadata

Metadata

Assignees

No one assigned

    Labels

    closedPR has been mergedenhancementNew feature or requestfeature/feature-runnerIssues from the feature-runner feature

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions