Repository navigation
fix(publish): name every stale requirement in a conflict - #223
Merged
TornquistK merged 3 commits intoDec 1, 2026
Merged
Conversation
A publication conflict named only the first stale requirement and chose its remedy from it, so a removal before a modification offered a resubmit that submit then refused. The chain now collects every stale part, the remedy uses submit's own acceptance rule, and --json adds conflicts.
TornquistK
force-pushed
the
workset/name-every-stale-requirement-in-a-conflict
branch
from
December 1, 2026 22:46
83f2d1e to
3723714
Compare
A modification of a requirement removed on the default branch got "submit it again unchanged" or was "also accepted" by resolve, yet OpenSpec cannot apply it, so the next publish failed. Also drop the stale failure's redundant first part and tighten comments.
…ale-requirement-in-a-conflict # Conflicts: # packages/mate-core/src/tools/setup/__snapshots__/runtime-surface-golden.test.ts.snap
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
A publication conflict named only the first stale requirement and picked its remedy from it. When that first one was a removal and a later one a modification, the message said "submit it again unchanged", which submit then refused.
A part whose requirement was removed on the default branch always gets "fix the delta": OpenSpec cannot apply a delta to a missing requirement, so neither an unchanged resubmit nor
resolvegets past it.mate-publish-artifactnow follows the remedy the message gives and offers "submit unchanged" only when the message does.mate-submit-changerelays a failed check's remedy as given.reference/commands.mdxis updated to match.Evidence
Widget sizesand modifiesWidget renders, both changed on main since its delta base → message names onlyWidget sizesand offers "submit it again unchanged"; that resubmit fails with the same conflict. Reproduced in the real CLI at3bb80c70(verify-mate baseline run).After:
publishSubmitted > a stale removal beside a stale modification is reported whole, with resolve as the remedypasses: message names both,conflictshas two entries,conflict === conflicts[0], remedy ismate artifact resolve … --requirement 'Widget renders', no "submit it again unchanged". Driven in the real CLI too: same message and JSON; following the remedy (resolve, then publish) lands the group on main.failureRemedy > resolves a stale modification beside a stale removal instead of resubmitting(unit) passes; fails under the old first-part logic.failureRemedy > asks for a delta fix for a modification of a requirement removed on the default branchpasses; fails with the upstream-removed check taken out.bun run testinpackages/mate-core(7002 pass, 0 fail) and typecheck pass ona48ce397(merged with main); lint, format check and docs check passed on the chain's final diff.Merge Danger
Door: two-way
Blast Radius: messages
Message text and the recorded
blocked.reasonchange, so an already-blocked change gets one extra pending-branch commit with the new reason.--jsononly addsconflicts;conflictkeeps its shape.