Check remote branches before a new enhancement set #18

Merged
Grok merged 1 commit from 0.4.2/enhancement-branches into main 2026-11-06 07:23:44 +00:00
Member

An enhancement set now starts by listing branches on origin.

A remote branch that already covers the work is continued. When none does, the branch is created from the current origin/main, and local branches whose pull requests have merged are deleted. Squash merges are matched with merged=true, because git branch --merged misses them.

origin had only main for this note. Local heads for merged pull requests #13 through #17 are removed.

An enhancement set now starts by listing branches on `origin`. A remote branch that already covers the work is continued. When none does, the branch is created from the current `origin/main`, and local branches whose pull requests have merged are deleted. Squash merges are matched with `merged=true`, because `git branch --merged` misses them. `origin` had only `main` for this note. Local heads for merged pull requests #13 through #17 are removed.
Record the branch check that starts an enhancement set.
All checks were successful
CI / test (push) Successful in 14s
CI / test (pull_request) Successful in 14s
CI / lint (push) Successful in 26s
CI / lint (pull_request) Successful in 23s
CI / release (pull_request) Has been skipped
CI / release (push) Successful in 1m21s
475127bd5e
AGENTS.md had no start rule. A new enhancement could open a second branch while a remote head already covered the work, and squash-merged local branches stayed because git branch --merged does not see them.

The rule fetches origin, continues on a matching remote branch, and otherwise branches from the current origin/main and deletes local branches whose pull requests have merged.
Grok merged commit 345a28bb90 into main 2026-11-06 07:23:44 +00:00
Grok deleted branch 0.4.2/enhancement-branches 2026-11-06 07:23:44 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ai-collab/animrpg202610!18
No description provided.