Skip to content

Implement enhanced branch pr#15

Merged
adamw merged 2 commits into
masterfrom
implement-enhanced-branch-pr
Jun 12, 2026
Merged

Implement enhanced branch pr#15
adamw merged 2 commits into
masterfrom
implement-enhanced-branch-pr

Conversation

@adamw

@adamw adamw commented Jun 12, 2026

Copy link
Copy Markdown
Member

No description provided.

adamw and others added 2 commits June 12, 2026 14:50
Reworks examples/implement-enhanced.sc into a prompt-driven branch + PR
flow, mirroring issue-pr-bugfix.sc's structure without the
failing-test/CI stages. The plan/review/brief/implement backbone and
cargo tooling are unchanged.

- Fresh run stashes WIP, has haiku name an `orca/`-prefixed branch via a
  structured BranchName result, and switches to it.
- After the task loop finishes it pushes and opens a PR, with title/body
  from summarisePr over the merge-base branch diff.
- Resume-safe: a `Plan.recover` guard skips the stash/name/checkout when
  resuming, so haiku's non-determinism can't spawn a second branch.
- Idempotent: createPr's recoverable PrAlreadyExists is tolerated, so
  re-running a finished flow is a no-op.

FlowCompilesTest gains a branchAndPrSurface canary pinning the
newly-relied-on DSL surface (Plan.recover, the branch ops, createPr's
Either + PrAlreadyExists, diffVsBase/defaultBase).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Pre-existing line-wrap drift surfaced by scalafmtAll.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@adamw adamw merged commit b9c830b into master Jun 12, 2026
4 checks passed
@adamw adamw deleted the implement-enhanced-branch-pr branch June 12, 2026 15:03
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.

1 participant