parallel-pr-template-fork-duplicates-moved-sectionlisted
Install: claude install-skill wan-huiyan/agent-traffic-control
# Parallel-PR Template Fork Duplicates Moved Section
## Problem
Two PRs ship within hours of each other. Neither shows a textual merge
conflict. Both pass tests. Both deploy cleanly. After deploy, a user reports
"this section is appearing in two places now — that's wrong, right?"
The mechanism is structural, not textual:
- **PR #A (mover)**: relocates a `<section>...</section>` from template `X.html`
to template `Y.html`. `X` loses the block; `Y` gains it.
- **PR #B (forker)**: promotes / copies / forks `X.html` into a new template
`Z.html` (e.g., the route is moving up in the IA, or the page is being
split). The fork is literal — `Z.html` was authored as a near-copy of `X.html`
*as it existed before the mover landed*.
- The two PRs touch *different files* on disk. Squash-merge is "clean" by
git's textual measure: `X` lost a block (mover), `Y` gained it (mover), `Z`
was added (forker). No 3-way merge conflict.
- Reality: `Z` was forked from a snapshot of `X` that *still contained* the
section. So after both ship, the block lives in BOTH `Y` and `Z`.
The user sees the duplication immediately. Code review on each PR in isolation
wouldn't have caught it — each diff was correct against its own base.
## Trigger conditions
ALL of these are typically true:
1. Two PRs merged to main within a short window (hours / a day), authored
independently.
2. One PR's diff includes lines that look like "move section from X to Y" —
classic markers: deletion in one temp