Repository navigation
FEAT-LOOP-2026-0249: changelog fragments so concurrent PRs stop conflicting - #3566
Merged
Merged
Conversation
Every CHANGELOG.md writer appends at one insertion point, so two open PRs conflict as soon as one merges, and a conflicted PR gets no CI run. Draft an opt-in changelog.d/ flow: one gate, seven units plus the close. Status stays planned; nothing is armed. Refs #3563. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Feature: FEAT-LOOP-2026-0249
Feature: FEAT-LOOP-2026-0249
Feature: FEAT-LOOP-2026-0249/T01
Feature: FEAT-LOOP-2026-0249/T02
Feature: FEAT-LOOP-2026-0249/T03
Feature: FEAT-LOOP-2026-0249/T04
Feature: FEAT-LOOP-2026-0249/T05
…2026-0249/T06 — awaiting_review Feature: FEAT-LOOP-2026-0249
changelog_fragments now calls append_entry, so the ratchet reported a stale BASELINE entry and halted gate 1 at T06's re-probe. Reopen the gate. Refs #3563. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Feature: FEAT-LOOP-2026-0249
Feature: FEAT-LOOP-2026-0249/T06
Feature: FEAT-LOOP-2026-0249/T07
Feature: FEAT-LOOP-2026-0249
…inal gate) Feature: FEAT-LOOP-2026-0249
A caller staging release()'s returned list would miss the deletions, and the next release would fold the same fragments again. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nblocked Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Feature: FEAT-LOOP-2026-0249
Feature: FEAT-LOOP-2026-0249
Feature: FEAT-LOOP-2026-0249/G1-CLOSE
Feature: FEAT-LOOP-2026-0249
Feature: FEAT-LOOP-2026-0249
Feature: FEAT-LOOP-2026-0249
…vent Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 3, 2026
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
Two open PRs that each add a changelog entry no longer conflict when one merges, in any project that opts in, and every entry still reaches the released section. Closes #3563.
changelog.mode: single|fragmentsin.specfuse/layout.yml. Defaultsingle; those projects keep the same read and write path.python3 -m specfuse.loop.changelog_fragmentswithadd,collateandcheck.close-k,specfuse lint --closingand the terminal auto-close guard all accept an entry in a fragment or inCHANGELOG.md. A malformed fragment does not count.scripts/bump_version.pyrelease()folds fragments before stamping, deletes them, and reports the deletions in its returned list.changelog-fragmentsverification gate;/fix-bugand close-discipline §3 now call the writer.Review notes
changelog.pyandchangelog_fragments.pyalso joined the judge module list, so future edits to them trigger the same stop.dfbed42, sorelease()reports removed fragments. A caller staging its list would otherwise miss the deletions and fold them again next release.specfuse:post-merge". They were not:post_merge_issuedefaults off,followups_recordedshowsfiled: 0, and the checklist lives in the archived roadmap section by design.Verification
python3 -m unittest tests.test_changelog_fragments -v -b: 28 tests pass, no skips.met.CHANGELOG.mdhas no entry for this feature; the close passed on fragments alone.Not verified by the loop:
git merge)collatespecfuse upgradePending learnings (needs promotion)
BASELINEin the same unit. T01 madeappend_entrya real caller target, which shrank the baseline, andtest_the_baseline_has_not_silently_shrunkwent red. Its narrow tier did not select that repo-wide test, so T01 passed and the failure surfaced at T06's baseline probe, attributed to T06, as apreexisting_gate_failurehalt that needed a human. Rule: when a unit wires up previously uncalled code, name the ratchet update in its acceptance and runtests.test_caller_check_ratchetin its verification; a green narrow tier does not cover repo-wide ratchets.To promote: read each entry in
LEARNINGS-pending.md, copy accepted ones into.specfuse/LEARNINGS.md, leave rejected ones with a note; planning never reads the pending file directly.🤖 Generated with Claude Code