Skip to content

Keep a Shared Dirty Branch Until Every Upstream Pull Request It Feeds Ends #4016

Closed

Description

@ptr727

Consolidated from the per-unit trackers a carrier's resync filed on 2026-11-09. CodeRabbit raised each finding against a byte-identical carried copy at hub c175d557. Each was re-checked against hub main at 42f2155b, and the defect still stands there. Source: #3968, from ptr727/NxWitness#670.

Defect

upstream-contribution-workflow allows "One dirty branch may feed several clean branches". Its closing paragraph is singular: "The contribution ends when upstream merges or declines the upstream PR. Only then close the iteration PR ... and delete the dirty and clean branches."

Failure

Constructed case: one dirty branch feeds two upstream pull requests, and upstream merges the first. Read literally, the skill deletes the shared dirty branch and closes its iteration pull request. The second upstream pull request then has no iteration branch to take reviewer fixes through.

Fix Site

.agents/skills/upstream-contribution-workflow/SKILL.md, "The iteration PR is never merged": the dirty branch and its iteration pull request end when the last clean branch fed from it ends.

🤖 Generated with Claude Code

Activity

  1. added
    bug
    skills
    on Nov 9, 2026
  2. ptr727 commented on Nov 13, 2026

    @ptr727
    OwnerAuthor

    Backlog burndown claim (away run 2026-11-13, round 4). Branch: burndown/spec-registry-upstream-fixes. Issues: #4050, #4016, plus one unfiled defect (below). Tier: frontier (carried spec/ data and a carried skill).

    Predicted file set:

    • registry/repos.json
    • spec/host-tools.json
    • .agents/skills/upstream-contribution-workflow/SKILL.md
    • .github/skills/upstream-contribution-workflow/SKILL.md
    • .claude-plugin/fleet-skills/skills/upstream-contribution-workflow/SKILL.md
    • .claude-plugin/fleet-skills/.source-digests/upstream-contribution-workflow

    Done when:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugskills

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions