Repository navigation
docs(changelog): one change, one line, one section; Highlights only at release - #3914
Merged
Daniel Meppiel (danielmeppiel) merged 2 commits intoNov 19, 2026
Conversation
…t release The rule asked for Highlights + "Breaking changes and upgrade notes" + type sections, so one change landed in several sections (#3875 nine times in [Unreleased]). Each user-visible change now appears exactly once: breaking and must-act changes (including deprecations that need action) only under upgrade notes, everything else in one type section. PRs never write Highlights; cut-release adds 2-4 pointers at release. A PR with several fixes groups them by theme. Adds a good/bad example of the cross-section duplication. Updates the rule source and its generated copy, cut-release (SKILL, entry-sanitizer, pr-body-template), the delivery and merge worker assets, pr-description-skill, CONTRIBUTING.md, the PR template and the development guide. Generated .agents/ copies and lock hashes re-synced. Rewrites [Unreleased] to that shape: 67 -> 44 lines (47 -> 30 entries), Highlights removed, cross-section duplicates merged, #3865 grouped from 13 lines to 8. Every PR ref, external credit and caveat is kept. Co-authored-by: Copilot App <[email protected]>
Daniel Meppiel (danielmeppiel)
requested a review
from Sergio Sisternes (sergio-sisternes-epam)
as a code owner
November 19, 2026 10:50
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The changelog gives misleading migration guidance by implying the compilation.target warning supplies a replacement targets: value instead of distinguishing removal of the ignored key from singular target: migration.
1 open issue
What changed in this PR
This follow-up to #3903 standardizes changelog guidance across contributor documentation and automation: one change, one line, one section, with Highlights added only at release time.
Changes:
- Clarifies section placement, deduplication, and migration-note requirements.
- Updates release, delivery, merge, and PR-description guidance, including generated copies and lock hashes.
- Consolidates
[Unreleased]entries and removes PR-written Highlights.
| File | Description |
|---|---|
packages/pr-description-skill/SKILL.md |
Checks section uniqueness and excludes Unreleased Highlights. |
packages/autopilot/autopilot-pr-merge-worker/assets/worker-prompt.md |
Aligns merge-worker changelog guidance. |
packages/autopilot/autopilot-pr-merge-worker/assets/conflict-resolution-prompt.md |
Requires duplicate entries to merge into one section. |
packages/autopilot/autopilot-issue-delivery-worker/.apm/skills/autopilot-issue-delivery-worker/assets/task-implement-prompt.md |
Aligns delivery-worker changelog guidance. |
docs/src/content/docs/contributing/development-guide.md |
Places flag-graduation notes in one appropriate section. |
CONTRIBUTING.md |
Adds the one-section requirement. |
CHANGELOG.md |
Consolidates Unreleased entries and upgrade notes. |
apm.lock.yaml |
Refreshes generated-content hashes. |
.github/pull_request_template.md |
Updates the changelog checklist. |
.github/instructions/changelog.instructions.md |
Synchronizes generated changelog rules. |
.apm/skills/cut-release/SKILL.md |
Defines cross-section deduplication and release-only Highlights. |
.apm/skills/cut-release/assets/pr-body-template.md |
Updates the release-summary template. |
.apm/skills/cut-release/assets/entry-sanitizer.md |
Aligns grouping, section selection, and Highlights guidance. |
.apm/instructions/changelog.instructions.md |
Defines the canonical rules and examples. |
.agents/skills/pr-description-skill/SKILL.md |
Synchronizes generated PR-description guidance. |
.agents/skills/cut-release/SKILL.md |
Synchronizes generated release guidance. |
.agents/skills/cut-release/assets/pr-body-template.md |
Synchronizes the generated release template. |
.agents/skills/cut-release/assets/entry-sanitizer.md |
Synchronizes generated sanitization guidance. |
.agents/skills/autopilot-pr-merge-worker/assets/worker-prompt.md |
Synchronizes generated merge-worker guidance. |
.agents/skills/autopilot-pr-merge-worker/assets/conflict-resolution-prompt.md |
Synchronizes generated conflict-resolution guidance. |
.agents/skills/autopilot-issue-delivery-worker/assets/task-implement-prompt.md |
Synchronizes generated delivery-worker guidance. |
Review effort: Balanced
Co-authored-by: Copilot App <[email protected]>
Daniel Meppiel (danielmeppiel)
deleted the
danielmeppiel-changelog-one-line-one-section
branch
November 19, 2026 11:17
Daniel Meppiel (danielmeppiel)
added a commit
that referenced
this pull request
Nov 19, 2026
Co-authored-by: Copilot App <[email protected]>
Daniel Meppiel (danielmeppiel)
added a commit
that referenced
this pull request
Nov 19, 2026
* fix(install): reuse an apm_modules copy only when it matches the lock (#3884) The resolver gate (drift.should_force_ref_recheck) compared only the manifest ref with the lock, so a package copy left by an older lock was read during resolution: its outdated apm.yml widened a locked skill subset and the first `apm install --frozen` failed with "dependency selections differ", while integrate later re-downloaded the copy and a second run passed. drift.locked_copy_proof now owns "does this copy hold the locked content": git HEAD, then the .apm-pin marker naming the locked resolved_commit, then the content-hash fallback (rows without a commit or copies without a marker). The resolver gate, the parallel pre-download skip and the integrate skip all consume it. Guarded by install-deployment-locked-copy-validity. apm-spec-waiver: cache-reuse correctness fix inside the existing resolver gate; no OpenAPM contract change Co-authored-by: Copilot App <[email protected]> * fix(install): adopt locked skill output after an apm.yml ref change (#3883) On a fresh clone without deployment receipts, `apm install` after an apm.yml ref bump (the Renovate flow) refused every file of a changed skill with "no trustworthy local deployment baseline", although the committed files are byte-identical to what the currently locked version renders. The locked-source baseline from #3638 was gated on `apm update` only. skill_adoption now supplies that baseline whenever a lock entry exists and the commit being installed (installing_commit) differs from it, and skips the redundant download when they match. Lockfile hashes are still never trusted and edited files still fail closed. A new install-deployment-skill-adoption-baseline guard pins the owner. apm-spec-waiver: receipt-less skill adoption is APM deployment-state behavior with no OpenAPM requirement Co-authored-by: Copilot App <[email protected]> * fix(mcp,lsp): record ${CLAUDE_PLUGIN_ROOT} portably so frozen replay works in any clone MCP and LSP servers from Claude plugins were recorded with the placeholder expanded to the absolute apm_modules path, in apm.lock.yaml and in committed native configs. A clone at another path failed `apm install --frozen` and `apm audit --ci`, and an ordinary install rewrote committed files (#3825). - APMPackage keeps the authored placeholder in MCP/LSP declarations and binds the package root (deps/plugin_root_render.py, new owner); the lock write, --frozen comparison, audit config-consistency and native receipts all use the portable form. The extraction-time expansion path is removed. - Only target renders expand it: ${CLAUDE_PROJECT_DIR:-.} in the shared root .mcp.json (Claude Code, Copilot CLI), ${workspaceFolder} for Cursor and VS Code, ${CLAUDE_PROJECT_DIR} in the Claude LSP plugin; other targets and user scope keep the absolute path. - A lock from an earlier release holding the expanded value is equivalent (same root, or another clone's root with the same install path), so upgrades replay --frozen; the next install rewrites it once, refreshing the native receipt. - Owner registered with mutation_writes.plugin_root_render and a mutation case. Closes #3825 scope: #3825 (comment) Co-authored-by: Copilot App <[email protected]> * docs(changelog): note lock-derived expected state fixes (#3900) Co-authored-by: Copilot App <[email protected]> * fix(install): keep .apm-pin trust honest (#3884 panel folds) Folds the lean panel on #3900: - a readable .git HEAD decides alone; the marker cannot outrank it (python-architect A1); - for deployment reuse a marker counts only on rows whose content_hash is verified before the bytes are reused, so commit-only rows keep main's re-download (supply-chain S2, test-coverage T2); - sync_markers_for_lockfile stamps only copies the copy-validity owner proves (or legacy unmarked, unhashed copies), so a copy left by an older lock is never marked as current (supply-chain S1, T3); - staleness needs contradicting evidence (hash, marker or .git), so legacy unmarked, unhashed copies keep main's no-network replay (spec req-rs-015 frozen short-pin contract); - unit coverage for every owner branch, the integrate marker paths and the marker writer (T1, T2), each mutation-broken. Co-authored-by: Copilot App <[email protected]> * fix(mcp): keep pre-#3825 MCP state replayable and removable; refuse plugin-root agent export Review follow-ups for #3825 on #3900: - Ownership keeps the recorded baseline. A lock written before #3825 holds ${CLAUDE_PLUGIN_ROOT} expanded; normalizing it to the portable declaration made an unfingerprinted Claude or Cursor entry look foreign, so install reported a collision instead of migrating it. The stored baseline now proves the old write, and the install rewrites it in the portable form. - `apm install --frozen` replays a legacy-equivalent server at its recorded root (CurrentMcpConfigView.replay_recorded_roots), so native files keep matching their lock receipts and an immediate uninstall can remove them. - The legacy match accepts only a normalized absolute root (no empty, "." or ".." segments), since --frozen now writes the recorded value. - `apm pack --format agent-plugin` refuses an MCP server using ${CLAUDE_PLUGIN_ROOT}: Agent Plugins do not resolve it and the bundle does not include the plugin's files. Co-authored-by: Copilot App <[email protected]> * fix(install): .apm-pin never proves bytes about to be deployed The pre-download skip trusted a matching marker on a tampered copy and left the re-download to integrate's sequential path, which classifies a Claude plugin differently and rewrote package_type in apm.lock.yaml (test_plugin_redownload_and_update_restamp_verify_on_fresh_clone). Deployment reuse now needs the git HEAD or the verified content hash, as on main; the marker only gates resolution freshness and staleness. Co-authored-by: Copilot App <[email protected]> * fix(install): strict-by-default copy proof; marker writer asks the owner Delta panel folds on #3900: - locked_copy_proof never consults .apm-pin unless trust_marker=True, so a new deployment caller cannot trust the marker by omission; only locked_copy_is_stale (resolution freshness) opts in, and the guard rejects trust_marker=True in download/integrate (python-architect). - sync_markers_for_lockfile now asks locked_copy_is_stale instead of a second legacy rule, so a checkout whose git HEAD contradicts the lock is never stamped (python-architect, supply-chain). - Owner record text updated; unit traps for the .git staleness clause and the marker writer, each mutation-broken (test-coverage). Co-authored-by: Copilot App <[email protected]> * fix(mcp): --frozen never writes a lock-sourced plugin root A pre-#3825 lock records ${CLAUDE_PLUGIN_ROOT} expanded, and the moved-clone match accepts any normalized absolute prefix ending in the install path. The frozen replay rendered native MCP commands at that root, so lock text chose the absolute path a command runs (for example a rebuilt, uncommitted .cursor/mcp.json), and audit --ci accepted it. - replay_recorded_roots no longer renders the recorded root. It marks the server so --frozen keeps a native entry that already equals the recorded render (no new path; its lock receipt stays the uninstall proof), and every other entry gets this project's own portable render. - Ownership accepts an entry that is exactly this project's portable render of a recorded other-clone baseline (portable_rewrite_equivalent), so the portable entries a frozen install writes stay removable without a receipt. Co-authored-by: Copilot App <[email protected]> * docs(changelog): one line per #3900 change, caveat inline (#3914 rule) Co-authored-by: Copilot App <[email protected]> --------- Co-authored-by: danielmeppiel <[email protected]> Co-authored-by: Copilot App <[email protected]>
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.

Description
Follow-up to #3903. The rule still asked for Highlights, then "Breaking changes and upgrade notes", then the type sections, so a single change ended up in several sections. In
[Unreleased]on main, #3875 appeared 9 times; #3769, #3788 and #3765/#3818 appeared 3 times each (Highlights + upgrade notes + Changed); #3865 had 13 lines.New rule, approved by Daniel Meppiel (@danielmeppiel): one change, one line, one section; Highlights only at release.
### Breaking changes and upgrade notes, with**BREAKING:**where breaking and the migration in the same line. They are never repeated underAdded,ChangedorDeprecated.### Highlights.cut-releaseremoves any a PR added and writes 2-4 short pointers when it cuts the release. Highlights are the only allowed repeat of a change.Updated: the rule source
.apm/instructions/changelog.instructions.mdand its generated.github/copy, and every consumer changed in #3903:SKILL.mdPhase 3,assets/entry-sanitizer.md(section mapping, consolidation, Highlights),assets/pr-body-template.mdtask-implement-prompt.mdworker-prompt.md,conflict-resolution-prompt.mdpr-description-skill,CONTRIBUTING.md, the PR template, the development guideGenerated
.agents/copies andapm.lock.yamlhashes are regenerated withapm install.CHANGELOG.md[Unreleased], rewritten to the new shape:@MohammedAlkindicredits are kept, along with the caveats (Copilottoolsallow-lists do not apply to Claude, VS Code Local mode, tokens never reported, existing JetBrains MCP config).[0.36.1]down matches main byte for byte.Issue and approved scope
Issue: N/A (maintainer request)
Human scope-approval comment: Daniel Meppiel (@danielmeppiel): "somehow our changelog instructions end up generating a lot of duplicated information ... The unreleased stuff is so messy". He approved "one change, one line, one section; Highlights only at release" (relayed by the coordinator, 2026-11-19).
Does this PR complete the issue, or what remains? It completes the request.
Type of change
Testing
Commands run and their results:
uv run --frozen --extra dev apm install --force: re-synced 7 generated copies andapm.lock.yaml(the lock diff is hash lines only).uv run --frozen --extra dev apm audit --ci: all 10 checks passed.uv run --frozen --extra dev pytest -q -p no:xdist tests/unit/test_triage_advisory.py tests/unit/test_shepherd_driver_evals.py tests/unit/test_workflow_actor_contract.py tests/unit/test_tls_docs_scope.py tests/unit/test_devcontainer_feature_retired.py: 58 passed.Changelog
## [Unreleased]inCHANGELOG.md:user-visible effect first, 25 words or fewer, ending with
(#PR);breaking changes only under upgrade notes; no Highlights; see
.github/instructions/changelog.instructions.md.Spec conformance (OpenAPM v0.1)
If this PR changes behaviour that an OpenAPM v0.1
req-XXXcovers,confirm the three-step ritual in the
development guide:
docs/src/content/docs/specs/openapm-v0.1.mdupdated(new/changed
<a id="req-XXX"></a>anchor + prose + Appendix Crow).
docs/src/content/docs/specs/manifests/openapm-v0.1.requirements.ymlupdated.
@pytest.mark.req("req-XXX")test undertests/spec_conformance/added or extended.CONFORMANCE.{md,json}regenerated viauv run --extra dev python -m tests.spec_conformance.gen_statementand committed.