Skip to content

Pull base worktree after guarded finish#664

Merged
NagyVikt merged 1 commit into
mainfrom
agent/codex/auto-pull-base-after-pr-merge-2026-06-29-23-02
Jun 29, 2026
Merged

Pull base worktree after guarded finish#664
NagyVikt merged 1 commit into
mainfrom
agent/codex/auto-pull-base-after-pr-merge-2026-06-29-23-02

Conversation

@NagyVikt

Copy link
Copy Markdown
Collaborator

Automated by gx branch finish (PR flow).

Why: keep local base checkouts from staying behind after Guardex finishes a merge.

Constraint: use git pull --ff-only with autostash disabled, so dirty local edits are preserved or Git refuses the refresh.

Tested: node --test --test-reporter=spec --test-name-pattern "dirty local base worktree" test/finish.test.js

Tested: bash -n templates/scripts/agent-branch-finish.sh

Tested: openspec validate agent-codex-auto-pull-base-after-pr-merge-2026-06-29-23-02 --type change --strict

Tested: openspec validate --specs

Not-tested: full test/finish.test.js is not green in this harness; failures observed in existing gh-host/protected-push/gitlink cases outside the targeted dirty-base refresh coverage.
@NagyVikt NagyVikt merged commit 34766f3 into main Jun 29, 2026
@NagyVikt NagyVikt deleted the agent/codex/auto-pull-base-after-pr-merge-2026-06-29-23-02 branch June 29, 2026 21:16
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