Skip to content

docs(changelog): make 0.36.0 onwards legible and concise - #3886

Merged
Daniel Meppiel (danielmeppiel) merged 4 commits into
mainfrom
docs/changelog-legible-0.36
Nov 19, 2026
Merged

Daniel Meppiel (danielmeppiel) merged 4 commits into
mainfrom
docs/changelog-legible-0.36

Conversation

@danielmeppiel

@danielmeppiel Daniel Meppiel (danielmeppiel) commented Nov 19, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Rewrites CHANGELOG.md [Unreleased], [0.36.1] and [0.36.0] for readers, per Keep a Changelog:

Size of the three sections: 7,095 words before, 2,398 after (66% shorter). By lines it's 171 before and 192 after, because the new headings and blank lines add lines while every entry got shorter. The whole file goes from 3,309 to 3,330 lines.

Issue and approved scope

Issue: N/A (maintainer request)

Human scope-approval comment: Daniel Meppiel (@danielmeppiel) asked to "make the changelog more legible and less verbose, per state of the art best practices, for 0.36 onwards" (relayed by the coordinator, 2026-11-19).

Does this PR complete the issue, or what remains? It completes the request. The 0.37 follow-up PRs will add entries in the new style.

Type of change

  • Bug fix
  • New feature
  • Documentation
  • Maintenance / refactor

Testing

  • Tested locally
  • All existing tests pass
  • Added tests for new functionality (if applicable)

Documentation only. I checked by script that no PR reference or contributor credit was lost beyond the intentional drops listed above, that the new text is ASCII only, and that sections from [0.35.1] down are untouched.

Spec conformance (OpenAPM v0.1)

  • N/A -- this PR does not change OpenAPM-observable behaviour.

Rewrites [Unreleased], [0.36.1] and [0.36.0] as one short line per user-visible change, with Highlights and a Breaking changes and upgrade notes list per version, grouped PRs and internal-only entries dropped (#3637, #3771, #3794, #3796, #3877). Credits, PR references, the 0.36.1 issue closures and the live Azure DevOps caveat are kept. Sections from 0.35.1 down are unchanged. The changelog instructions now describe this style.

Co-authored-by: Copilot App <[email protected]>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The changelog omits important behavioral qualifiers, a warning about committing literal credentials, and required lockfile migration steps, leaving users with misleading or incomplete guidance.

5 open issues
What changed in this PR

This documentation-only PR makes APM’s changelog from 0.36.0 onward easier to scan and updates contributor guidance to maintain the shorter style.

Changes:

  • Condenses Unreleased, 0.36.1 and 0.36.0 entries, adding highlights and dedicated upgrade notes where applicable.
  • Removes selected internal-only entries while retaining other PR references, contributor credits and the live Azure DevOps caveat.
  • Aligns source and generated changelog instructions around concise, user-visible changes, migration guidance and ASCII formatting.
File Description
CHANGELOG.md Reorganizes and shortens recent release notes; leaves 0.35.1 and earlier unchanged.
.github/​instructions/​changelog.instructions.md Updates generated guidance for entry format, release structure and inclusion criteria.
.apm/​instructions/​changelog.instructions.md Defines the matching source guidance for future changelog entries.

Review effort: Balanced

Comment thread CHANGELOG.md Resolved
Comment thread CHANGELOG.md Resolved
Comment thread CHANGELOG.md Resolved
Comment thread CHANGELOG.md Resolved
Comment thread CHANGELOG.md Resolved
Restores the static env caveat for .mcp.json, the pack default-format
qualifier, Copilot CLI scope for COPILOT_HOME, the 0.36.1 frozen-lockfile
recovery step, and the bundle install --target qualifier.

Co-authored-by: Copilot App <[email protected]>
@danielmeppiel
Daniel Meppiel (danielmeppiel) merged commit 420f937 into main Nov 19, 2026
29 checks passed
@danielmeppiel
Daniel Meppiel (danielmeppiel) deleted the docs/changelog-legible-0.36 branch November 19, 2026 05:32
Daniel Meppiel (danielmeppiel) added a commit that referenced this pull request Nov 19, 2026
The main merge resurrected Fixed entries that #3886 rewrote; restore
main's CHANGELOG and add only this PR's line.

Co-authored-by: Copilot App <[email protected]>
Daniel Meppiel (danielmeppiel) added a commit that referenced this pull request Nov 19, 2026
Resolve the CHANGELOG conflict with #3886 by taking main's file: the
concise rewrite drops test-only entries (as it did for #3877), so this
test-only PR carries no CHANGELOG line.

Co-authored-by: Copilot App <[email protected]>
Daniel Meppiel (danielmeppiel) added a commit to MohammedAlkindi/apm that referenced this pull request Nov 19, 2026
main's changelog rule (microsoft#3886) asks for one short line per change, ideally
25 words or fewer; the merged entry was about 40.

Co-authored-by: Copilot App <[email protected]>
Daniel Meppiel (danielmeppiel) added a commit that referenced this pull request Nov 19, 2026
…3742)

* fix(approve): grant replacement source key for replaced dependencies

* fix(approve): route replaced-dependency grants through the approval-key owner

apm approve / deny / policy explain now resolve a dependency redirected by
replace: by its original or selected-source name and write the selected
source key the executable gate checks. The locked-row trust principal moves
into security/executables.locked_dependency_approval_identity, which the
approve scanner and the MCP/LSP views share, so an upstream grant never
unlocks the replacement anywhere. Consolidates the three duplicated
declaration lookups into one helper, extends the executable-trust guard,
and adds an installed-CLI lifecycle test (local path and fork).

Refs #3710

apm-spec-waiver: executable approval key routing for replaced dependencies, no spec contract change

Co-authored-by: Mohammed Alkindi <[email protected]>
Co-authored-by: Copilot App <[email protected]>

* docs(changelog): shorten #3742 entry to the new one-line rule

main's changelog rule (#3886) asks for one short line per change, ideally
25 words or fewer; the merged entry was about 40.

Co-authored-by: Copilot App <[email protected]>

* fix(approve): one owner for locked-row trust; tiered lookup; deny upstream

Folds the lean panel on #3742:
- security/executables.locked_dependency_approval now returns the whole
  trust principal (identity, version, original_identity), so approve.py no
  longer re-decides whether a row is replaced (python-architect FU).
- The install-deployment-executable-trust-context guard forbids a parallel
  locked-row derivation in approve.py and drops brittle owner-body tokens;
  a new mutation test proves it (python-architect FU).
- _find_declaration is typed and tiered: lockfile-derived names (approval
  key, replaced original identity) beat a package's self-declared apm.yml
  name, so a lookalike cannot capture approve/deny (supply-chain FU).
- apm deny <original> on a replaced dependency also denies the original
  identity, so removing the replace: rule cannot revive an old grant
  (supply-chain FU); the lifecycle test gains a deny leg and the fork
  key tuple gets a unit test (test-coverage FU).

Refs #3710

Co-authored-by: Copilot App <[email protected]>

* test(approve): trap upstream-allow drop and versioned original lookup

Folds the delta test-coverage findings on #3742: apm deny <original> on a
replaced dependency must remove an old upstream allow, and apm approve
acme/hooky#1.0.0 must still resolve the replaced row. Both tests fail when
the guarded line is removed. Documents the owner's legacy version override.

Refs #3710

Co-authored-by: Copilot App <[email protected]>

---------

Co-authored-by: danielmeppiel <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Daniel Meppiel (danielmeppiel) added a commit that referenced this pull request Nov 19, 2026
…3696) (#3895)

* fix(install): reject one owner/repo from two hosts before fetching (#3696)

apm_modules is host-blind, so acme/tool from github.com and
gitlab.example.com/acme/tool both map to apm_modules/acme/tool. Resolution
now claims each package directory through the materialization owner
(MaterializationSlots) before fetching or staging it, and fails with one
error naming both declarations, their hosts and the declaring parent,
instead of a race ("Path already has a replacement in progress") or a
silent reuse of the other host's copy. Same-identity refs and shared local
slots (#3401) are unaffected.

apm-spec-waiver: resolver pre-fetch rejection of a host-blind layout collision; no OpenAPM requirement changes

Co-authored-by: Copilot App <[email protected]>

* docs(changelog): note #3696 two-host collision fix

Co-authored-by: Copilot App <[email protected]>

* docs(changelog): match concise style for #3696 entry

Co-authored-by: Copilot App <[email protected]>

* docs(changelog): keep release-captain text, re-add #3696 line

The main merge resurrected Fixed entries that #3886 rewrote; restore
main's CHANGELOG and add only this PR's line.

Co-authored-by: Copilot App <[email protected]>

* fix(deps): route replacement slot collisions through MaterializationSlots

ReplacementIndex.bind kept its own apm_modules slot-occupancy check that
ran only when replace: rules exist, so the #3696 two-host collision gave a
different, replacement-worded error (and no local-slot exemption) depending
on an unrelated manifest field. Drop that half; MaterializationSlots owns
shared-directory rejection and labels the original identity. The bind
check keeps only same-unique-key identity ambiguity. The identity guard now
rejects slot occupancy in replacement.py. Lifecycle tests also cover a
shared alias: and apm update after a parent republish.

Addresses panel follow-ups (python-architect, test-coverage-expert).

apm-spec-waiver: resolver pre-fetch rejection of a host-blind layout collision; no OpenAPM requirement changes

Co-authored-by: Copilot App <[email protected]>

* fix(deps): claim only selected nodes' directories, not every root edge

The root preflight claimed every root declaration, including duplicate
declarations the resolver discards, so `acme/tool` declared with aliases
`primary` and `shared` beside `acme/other` aliased `shared` failed with a
false collision even though `acme/tool` installs to `primary`. Phase A
already claims each level's selected nodes before any fetch, so the root
preflight now only rejects nested declarations (#3699).

Addresses Copilot inline on src/apm_cli/deps/apm_resolver.py:1138.

apm-spec-waiver: resolver pre-fetch rejection of a host-blind layout collision; no OpenAPM requirement changes

Co-authored-by: Copilot App <[email protected]>

---------

Co-authored-by: danielmeppiel <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants