Skip to content

The publisher commits in a worktree of its own - #4500

Merged
gHashTag merged 1 commit into
masterfrom
fix/publisher-isolation
Sep 21, 2026
Merged

gHashTag merged 1 commit into
masterfrom
fix/publisher-isolation

Conversation

@gHashTag

Copy link
Copy Markdown
Owner

Closes #4499

#4338 passed every required check and could not merge — CONFLICT (add/add) in tools/queen/publish.py, a file its boundary never named. The publisher had switched branches in place from a checkout carrying its own copy.

It now cuts a fresh worktree from the bee's branch, commits and pushes from there, and removes it. Verified on #4498: the diff is the bee's one file plus the entry, and the calling checkout is untouched.

That same publish found the next trap — a bee branch that adds a workflow moves the census and the gate-topology ledger, both of which have turned master red before (#4303, #4319). The publisher now refuses such a branch and says why.

🤖 Generated with Claude Code

#4338 passed every required check and could not merge: CONFLICT (add/add) in
tools/queen/publish.py. Its issue's boundary named one spec. The publisher had
run from a checkout carrying its own copy of publish.py, `git checkout -B`
switched branches in place, and the file travelled into the bee's branch.

It now cuts a fresh worktree from the bee's branch, writes the entry there,
commits and pushes from there, and removes it. Verified on the next real
publish (#4498): the diff is the bee's one file and the entry, and the
checkout the publisher ran from was untouched.

That publish found the next trap: the branch adds a workflow, which moves the
census and the gate-topology ledger - both have turned master red before
(#4303, #4319). The publisher now refuses such a branch and says why.

Closes #4499

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

📓 NotebookLM Notebook linked to this PR

This notebook contains session context, decisions, and artifacts for this work.

@gHashTag
gHashTag enabled auto-merge (squash) September 21, 2026 05:09
@github-actions

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-09-21 05:09:11 UTC

Summary

Status Count
Total Open PRs 21
PRs with Failing Checks 18
PRs with All Checks Green 3
READY 2
FAILING 18
PENDING 0
NO CHECKS YET 0

These columns do not partition: 2 + 18 + 0 + 0 = 20, and there are 21 open PRs. A PR is being counted twice or not at all.

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=403499176a5d != manifest seal=87e5cbd3ad94.
    The committed NMSE numbers were certified against an older compiler.rs.
    Run scripts/reseal-check.sh locally for the two-step reseal command (advisory; not a merge gate).

@gHashTag
gHashTag merged commit a5df7c2 into master Sep 21, 2026
31 of 33 checks passed
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.

The publisher switched branches in place and carried its own file into a bee branch

2 participants