Skip to content

fix(specgit): target delivery pull requests at dev - #535

Merged
LeXwDeX merged 3 commits into
devfrom
feat/528-specgit-pr-base-dev
Sep 3, 2026
Merged

fix(specgit): target delivery pull requests at dev#535
LeXwDeX merged 3 commits into
devfrom
feat/528-specgit-pr-base-dev

Conversation

@LeXwDeX

@LeXwDeX LeXwDeX commented Sep 3, 2026

Copy link
Copy Markdown
Owner

Closes #528

Why

SpecGit creates delivery pull requests against the repository default branch, while this fork requires all delivery branches to enter through dev.

What changed

  • after a successful specgit issue, discover the unique bound PR from .specgit.yaml
  • verify baseRefName, correct a wrong base with gh pr edit --base dev, and re-verify before exit 0
  • fail closed on missing, ambiguous, malformed, unreadable, unavailable, edit-failed, or unverifiable PR state while retaining the successful binding for retry
  • add hermetic gh stubs and coverage for all success/failure paths without network access

Evidence

  • delivery DAG: verification PASS, review ACCEPT; parent correction wave closed the missing-PR exit-0 path
  • bash script/specgit-bootstrap.test.sh: 275 passed, 0 failed
  • sh -n / bash -n / shellcheck: passed
  • commit hook: root lint and full workspace typecheck passed

Checklist

@LeXwDeX LeXwDeX changed the title Delivery specgit-pr-base-dev fix(specgit): target delivery pull requests at dev Sep 3, 2026
@LeXwDeX
LeXwDeX changed the base branch from main to dev September 3, 2026 16:13
@LeXwDeX
LeXwDeX marked this pull request as ready for review September 3, 2026 17:34
@LeXwDeX
LeXwDeX merged commit 62a30ef into dev Sep 3, 2026
12 checks passed
@LeXwDeX
LeXwDeX deleted the feat/528-specgit-pr-base-dev branch September 3, 2026 18:05
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.

fix(specgit): target delivery pull requests at dev

1 participant