Repository navigation
docs(changelog): enforce one-line entries in agent and contributor guidance - #3903
Merged
Daniel Meppiel (danielmeppiel) merged 4 commits intoNov 19, 2026
Merged
Daniel Meppiel (danielmeppiel) merged 4 commits into
Daniel Meppiel (danielmeppiel) merged 4 commits into
Conversation
…idance Make the changelog rule concrete in its single source (.apm/instructions/changelog.instructions.md): one line, user-visible effect first, 25 words or fewer, ending with (#PR); breaking changes in "Breaking changes and upgrade notes" with a one-line migration; never a second line for the same change; no entry for internal-only PRs; two good and two bad examples from the current changelog. cut-release now re-sanitizes the whole [Unreleased] block at release time (dedupe, condense, Highlights, upgrade notes, ref/credit check). The delivery and merge autopilot workers, pr-description-skill, CONTRIBUTING.md, the PR template and the development guide point at the rule. Generated .github/ and .agents/ copies and apm.lock.yaml hashes are re-synced with apm install. Clean the current [Unreleased] block into that shape: drop the long duplicates of #3765/#3818, #3769, #3788, #3865, #3867, #3873, #3875, #3882 and the spec lines, fold their user-relevant caveats into the short lines, and drop test-only #3877. 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 08:08
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Requiring every user-visible task to edit CHANGELOG.md conflicts with wave-gate restrictions, preventing independent tasks in the same wave from both complying and passing integration.
2 open issues
What changed in this PR
This documentation-only PR carries the concise changelog style from #3886 into APM's contributor and agent workflows, and cleans up the current [Unreleased] block.
Changes:
- Establishes one-line, effect-first entries with a 25-word limit, deduplication rules, and migration guidance.
- Updates release preparation, delivery, merge, and PR-description guidance; synchronizes generated copies and lock hashes.
- Consolidates changelog duplicates while retaining user-facing caveats, references, and contributor credits.
| File | Description |
|---|---|
packages/pr-description-skill/SKILL.md |
Requires changelog checks before drafting PR descriptions. |
packages/autopilot/autopilot-pr-merge-worker/assets/worker-prompt.md |
Applies concise-entry rules during review fixes. |
packages/autopilot/autopilot-pr-merge-worker/assets/conflict-resolution-prompt.md |
Consolidates conflicting entries describing the same change. |
packages/autopilot/autopilot-issue-delivery-worker/.apm/skills/autopilot-issue-delivery-worker/assets/task-implement-prompt.md |
Adds task-level changelog instructions. |
packages/autopilot/autopilot-issue-delivery-worker/.apm/skills/autopilot-issue-delivery-worker/assets/implement-feature.md |
Links feature delivery to the changelog contract. |
docs/src/content/docs/contributing/development-guide.md |
Clarifies flag-graduation entries and migration notes. |
CONTRIBUTING.md |
Links contributors to changelog rules. |
CHANGELOG.md |
Condenses and deduplicates unreleased entries. |
apm.lock.yaml |
Refreshes source and deployed-file hashes. |
.github/pull_request_template.md |
Adds a changelog checklist. |
.github/instructions/changelog.instructions.md |
Synchronizes generated changelog rules. |
.apm/skills/cut-release/SKILL.md |
Requires sanitizing the entire unreleased block. |
.apm/skills/cut-release/assets/pr-body-template.md |
Describes the release changelog cleanup. |
.apm/skills/cut-release/assets/entry-sanitizer.md |
Revises formatting, preservation rules, and examples. |
.apm/instructions/changelog.instructions.md |
Defines the canonical concise-entry contract. |
.agents/skills/pr-description-skill/SKILL.md |
Synchronizes deployed PR-description guidance. |
.agents/skills/cut-release/SKILL.md |
Synchronizes deployed release instructions. |
.agents/skills/cut-release/assets/pr-body-template.md |
Synchronizes the deployed release PR template. |
.agents/skills/cut-release/assets/entry-sanitizer.md |
Synchronizes deployed sanitizer guidance. |
.agents/skills/autopilot-pr-merge-worker/assets/worker-prompt.md |
Synchronizes deployed merge-worker guidance. |
.agents/skills/autopilot-pr-merge-worker/assets/conflict-resolution-prompt.md |
Synchronizes deployed conflict-resolution guidance. |
.agents/skills/autopilot-issue-delivery-worker/assets/task-implement-prompt.md |
Synchronizes deployed task instructions. |
.agents/skills/autopilot-issue-delivery-worker/assets/implement-feature.md |
Synchronizes deployed feature-delivery guidance. |
Review effort: Balanced
…lmeppiel-changelog-style-enforcement
…horten sanitizer example Address review: only the task whose files_hint owns CHANGELOG.md edits it (wave gate forbids shared-file edits across task branches), and the worked example now fits rule 2 while keeping its caveat and four refs. Co-authored-by: Copilot App <[email protected]>
Keep the one-line [Unreleased] block; add #3898 and #3905 one-line entries. Co-authored-by: Copilot App <[email protected]>
Daniel Meppiel (danielmeppiel)
deleted the
danielmeppiel-changelog-style-enforcement
branch
November 19, 2026 09:06
5 of 14 tasks
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
PRs merged after #3886 went back to long, old-style CHANGELOG entries, and some PRs ended up listed twice in
[Unreleased]. This PR makes the #3886 style the written rule everywhere agents and contributors are told how to write changelog lines, and cleans the current block..apm/instructions/changelog.instructions.md. It now says: one line, user-visible effect first, 25 words or fewer, ending with(#PR), no implementation detail. Breaking changes go under### Breaking changes and upgrade noteswith a one-line migration. If a line already describes your change, edit it instead of adding another. Internal-only PRs (CI, tests, refactors, maintainer skills) get no entry. It includes two good and two bad examples from the current changelog. The.github/copy is regenerated.assets/entry-sanitizer.mdnow re-sanitize the WHOLE[Unreleased]block at release time. That means deduping, condensing lines that run long, grouping related PRs, writing Highlights and upgrade notes, and checking that every PR ref and credit survives. The old "two-sentence cap" and "keep the longer prose" guidance is gone, and the credit format now matches (-- by @user). The worked example is now v0.36.1.autopilot-issue-delivery-worker(task-implement-prompt.md,implement-feature.md),autopilot-pr-merge-worker(worker-prompt.mdfold step,conflict-resolution-prompt.md) andpr-description-skillnow point at the rule and repeat its short form.CONTRIBUTING.md,.github/pull_request_template.md(new Changelog checkbox) and the development guide's flag-graduation note now point at the rule.CHANGELOG.md[Unreleased]:--targetprompt on init, dev MCP servers audited.@MohammedAlkindicredits are kept.Issue and approved scope
Issue: N/A (maintainer request)
Human scope-approval comment: Daniel Meppiel (@danielmeppiel) asked that "the cut-release skill should make sure we use best practices for changelog as we did, and whatever autopilot skill or pr opener script should be adjusted to add lines in the proper way" (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 the 9 generated copies andapm.lock.yaml(the lock diff is hash lines only).uv run --frozen --extra dev apm audit --ci: all 10 checks passed, no drift.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.uv run --frozen --extra dev ruff check src/ tests/andruff format --check src/ tests/: clean (no Python changed).CHANGELOG.mdhas older non-ASCII text in pre-0.36 sections; this PR adds none).docs.yml); CI runs it.Note:
apm installwithout--extra devfails on current main withNo module named 'packaging'. Thepackagingimport comes fromsrc/apm_cli/install/mcp/retired_destinations.py(#3899) and is not a declared runtime dependency. This PR does not fix that.Changelog
## [Unreleased]inCHANGELOG.md: user-visibleeffect first, 25 words or fewer, ending with
(#PR); 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.