Urgent.News

What's breaking now, across hundreds of outlets.

Tech

How a shipped change came back to the board

First published on openspec-ui.dev . On 10 October 2026, the change that put the CLI on the Workbench homepage moved to the OpenSpec archive. Eight minutes later, another pull request added the same change back under openspec/changes/ , with all its boxes open. The merge gate passed. The Pipeline drew a card for unfinished work that had already shipped. An OpenSpec change can be valid in…

On 10 October 2026, the OpenSpec archive experienced a peculiar incident when a shipped change found its way back to the main branch. Initially published on openspec-ui.dev, the change that placed the CLI on the Workbench homepage was then moved to the OpenSpec archive. Eight minutes later, a pull request reintroduced the same change under openspec/changes/, with all its associated boxes open. The merge gate passed, allowing the change to resurface despite its prior archival status.

The challenge arose when the Pipeline drew a card for unfinished work that had already been shipped. This highlighted an inconsistency between the active change and the history on the target branch, indicating that the history was missing from the equation.

When the merge gate compared the change with its base, it not only checked the recorded people and history against the pull request's base but also compared the active change IDs in the proposed tree with the archived IDs on the base. When a match was found, the change and its archive folder were identified, allowing for a usual archive pull request. In this case, the base still held the active change, prompting the proposed tree to move it into the archive.

This phenomenon could also be replicated locally by refreshing the base ref with recent archives. To do this, the command `git fetch origin openspec-ui-cli validate changes --base origin/main --format text` could be executed. A second copy of the shipped change could emerge from a checkout, leading to a detached worktree left behind after an upstream check.

The commit from this worktree was already reachable from the default branch, and the Pipeline recognized the extra copy on disk, offering it for removal under "Left behind."

A detached directory at the default branch's tip could also signify a workspace prepared by someone. If a shipped card reappeared, it was crucial to inspect its checkout to determine if the stale directory called for a worktree decision. In either scenario, a pull request bringing the folder back would require a correction to the proposed tree. The two incidents involving the shipped change were meticulously recorded in the merge-gate change and the detached-worktree change.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Tech

More from Wednesday 25 November →