Skip to content

docs(jules): stop a session before closing its PR - #12438

Merged
MarkusNeusinger merged 3 commits into
mainfrom
docs/jules-close-wakes-session
Oct 29, 2026
Merged

MarkusNeusinger merged 3 commits into
mainfrom
docs/jules-close-wakes-session

Conversation

@MarkusNeusinger

Copy link
Copy Markdown
Owner

Summary

Plan

N/A

Test plan

  • uv run python -m tools.changelog check --base origin/main
  • Docs-only diff under 20 lines: no Flash check (CLAUDE.md, delegation rule)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings October 29, 2026 09:04
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

A moderate active issue remains because the workflow may close a Jules PR before a follow-up watcher confirms the stop message was processed and the session can no longer push.

1 open issue
What changed in this PR

Updates the Jules workflow to stop a session before closing its losing or duplicate pull request, preventing it from waking and recreating its deleted branch.

Changes:

  • Documents the stop-before-close sequence for losing or duplicate Jules PRs.
  • Adds post-stop session settlement and branch cleanup guidance.
  • Adds a changelog entry describing the operational fix.
  • A moderate issue remains: the follow-up watcher must use --follow-up to ensure an already-settled session processes the stop request before the PR is closed.

This pull request requires changes.

File Description
changelog.d/​jules-close-wakes-session.md Documents the Jules session shutdown change.
.claude/​skills/​jules-task/​SKILL.md Updates instructions for stopping sessions and cleaning up losing or duplicate PR branches.

Review effort: Lite

Comment thread .claude/skills/jules-task/SKILL.md Resolved
Copilot review of #12438: without --follow-up the watcher reports a session
that was already COMPLETED as settled before it read the stop message.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@MarkusNeusinger
MarkusNeusinger merged commit 835a726 into main Oct 29, 2026
14 checks passed
@MarkusNeusinger
MarkusNeusinger deleted the docs/jules-close-wakes-session branch October 29, 2026 09:24
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.

2 participants