Skip to content

ci(release): CHANGELOG fragments and per-row bug ledger (merge-queue v2 step 2) - #4599

Merged
Daniel Meppiel (danielmeppiel) merged 6 commits into
mainfrom
p-mq2-changelog-fragments
Nov 21, 2026
Merged

Daniel Meppiel (danielmeppiel) merged 6 commits into
mainfrom
p-mq2-changelog-fragments

Conversation

@danielmeppiel

Copy link
Copy Markdown
Collaborator

Description

Merge-queue v2 step 2: hotspot de-confliction. CHANGELOG.md [Unreleased] and tests/fixtures/lifecycle_bug_ledger.json are the top mechanical-conflict hotspots: concurrent PRs collide in either order. This PR removes both.

CHANGELOG fragments

  • changelog.d/<pr>.<section>.md holds one bullet, with today's wording rules, ending (#<pr>). <section> is the full hyphenated heading slug (for example breaking-changes-and-upgrade-notes). There is no Highlights fragment. changelog.d/README.md documents the format.
  • The tool .apm/skills/cut-release/scripts/changelog_fragments.py (plus its deployed copy) is the single owner of [Unreleased] parsing:
    • check: name, section, one-line, ASCII and (#N) rules;
    • render: today's ### Section block format;
    • assemble --version --date: writes the version block and deletes the fragments;
    • check-unreleased --base-ref: fails only on a NET-NEW [Unreleased] bullet, so in-flight PRs that edit an existing bullet still pass.
  • Updated to match: cut-release (it assembles fragments plus any legacy [Unreleased] bullets during migration), changelog.instructions.md (source and deployed; applyTo now also covers changelog.d/**), the PR template, CONTRIBUTING, the development guide, the release-acceptance skill, and the autopilot delivery and merge-worker prompts.
  • The lint step is NOT wired into ci.yml here, to avoid conflicting with ci(merge-train): exact-SHA train proof with train-gate (merge-queue v2 step 1) #4582 and ci(main): run the PR gate suite on every push to main (S28) #4595, which rewrite ci.yml's Lint job into a composite action. A follow-up adds it to .github/actions/lint-chain once ci(merge-train): exact-SHA train proof with train-gate (merge-queue v2 step 1) #4582 lands.

Per-row bug ledger

  • tests/fixtures/lifecycle_bug_ledger.json (4784 lines) is now 338 row files under tests/fixtures/lifecycle_bug_ledger/.
  • The single reader scripts/lifecycle_ledger.py (read_ledger) accepts both layouts. That includes candidate_contract, which reads a pre-split base revision.
  • The native-lifecycle-evidence owner entry now selects the directory and the reader. No workflow names the fixture.

Issue and approved scope

Issue: Fixes #4583

Human scope-approval comment: the apm-scope:v1 record is in the issue body. The merge-queue v2 design and plan were approved by the regent on Daniel's behalf on 2026-11-21, and the work is owned by Ops.

Does this PR complete the issue, or what remains? It completes #4583's done-when, apart from wiring the lint step into CI, which follows #4582.

Type of change

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

Testing

All guarded, with no xdist:

  • Tested locally:
    • the new changelog tests: 34 passed;
    • the ledger tests (test_lifecycle_ledger.py, test_lifecycle_ledger_layouts.py, test_lifecycle_bug_ledger.py): 12 passed;
    • test_architecture_native_lifecycle_evidence.py plus test_test_taxonomy.py: passed;
    • skill-adjacent contracts: 91 passed;
    • ruff 0.15.12 clean; taxonomy --changed ok; complexity ratchet clean; architecture boundaries exit 0;
    • apm audit --ci (tree apm): 15/15.
  • Acceptance:
    • fragments from two branches merge without conflict in both orders;
    • render of a fixture set equals today's format;
    • on the real repo, render reproduces the current [Unreleased] block byte for byte.
  • All existing tests pass (CI): 2 child source-identity probes in test_lifecycle_evidence.py failed locally only because the shared venv imported another worktree's src. They do not touch the ledger.
  • Added tests for new functionality

Changelog

  • One line in one section under ## [Unreleased] in CHANGELOG.md
  • N/A -- internal-only change (CI, tests, refactor).

Spec conformance (OpenAPM v0.1)

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

tests/fixtures/lifecycle_bug_ledger.json was a merge hotspot: almost every
bug-fix PR appended to the same array. The ledger now lives under
tests/fixtures/lifecycle_bug_ledger/ as one JSON file per row, named by
its stable id (bugs/<issue>.json, property_catalog/<id>.json,
known_gaps/<id>.json, lifecycle_contracts/<id>.json) plus ledger.json for
the header, so concurrent row additions merge in either order.

scripts/lifecycle_ledger.py is the one reader. It reads the directory if
present, else the legacy file, and reads a committed revision in either
layout, so lifecycle_contracts.candidate_contract still compares against a
pre-split base. Every consumer (lifecycle_contracts, the lifecycle oracle
and spine kit, the ledger and taxonomy quality tests) routes through it,
and the legacy file is removed. The native-lifecycle-evidence owner record
and the apm-lifecycle-tests skill name the new layout.

Co-authored-by: Copilot App <[email protected]>
CHANGELOG.md [Unreleased] was the top merge hotspot: almost every PR
edited the same lines, so concurrent PRs conflicted in either merge
order. A user-visible PR now adds one fragment,
changelog.d/<pr>.<section>.md, holding exactly one entry line; <section>
is the hyphenated, lowercase name of an allowed CHANGELOG section.

.apm/skills/cut-release/scripts/changelog_fragments.py owns the format:
- check: fragment name, section, one ASCII bullet line, and a trailing
  PR reference matching the file's PR number;
- render: the release block in cut-release's format (legacy [Unreleased]
  bullets first, then fragments by PR, in section order);
- assemble --version --date: writes the block under an empty
  [Unreleased] and deletes the fragments;
- check-unreleased --base-ref: fails only on a net-new [Unreleased]
  bullet since the merge base, so PRs already in flight that edit an
  existing bullet keep passing. Not wired into ci.yml yet.

cut-release Phase 3 assembles before it sanitizes. The changelog
instructions, PR template, CONTRIBUTING, the development guide and the
autopilot delivery and merge-worker prompts point at fragments; deployed
copies and apm.lock.yaml hashes are regenerated with apm install.

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.

🟢 Approval recommended

No active review issues block the changelog and lifecycle-ledger file split.

No open issues 🎉

What changed in this PR

This PR reduces shared-file merge conflicts for merge-queue v2 (#4583) by moving changelog entries and lifecycle regression records into separate files. Changelog lint integration is deferred until the shared lint action from #4582 lands.

Changes:

  • Introduces changelog fragments and updates contributor guidance, release planning, and release templates.
  • Splits lifecycle ledger data into individual property, known-gap, and bug records.
  • Routes ledger validation through the shared reader and updates documentation-only references in lifecycle tests.
File Description
tests/​quality/​test_lifecycle_bug_ledger.py Loads ledger data through the shared reader.
tests/​lifecycle/​security/​test_origin_and_credentials.py Updates the ledger citation in its docstring.
tests/​lifecycle/​security/​test_egress.py Updates the ledger citation in its docstring.
tests/​lifecycle/​scenarios/​test_ownership_siblings.py Updates the ledger citation in its docstring.
tests/​lifecycle/​scenarios/​test_cache_presence.py Updates the ledger citation in its docstring.
tests/​integration/​test_policy_install_enforcement_lifecycle.py Updates the ledger citation in its docstring.
tests/​integration/​test_policy_cache_pin_lifecycle.py Updates the ledger citation in its docstring.
tests/​integration/​test_lock_parked_exec_status_lifecycle.py Updates the ledger citation in its docstring.
tests/​fixtures/​lifecycle_bug_ledger/​property_catalog/​transaction.failed_command_preserves_state.json Separates the failed-command state-preservation law.
tests/​fixtures/​lifecycle_bug_ledger/​property_catalog/​source.ref_cache_coherent.json Separates the source/cache coherence law.
tests/​fixtures/​lifecycle_bug_ledger/​property_catalog/​routing.authorized_targets_only.json Separates the authorized-target routing law.
tests/​fixtures/​lifecycle_bug_ledger/​property_catalog/​portability.byte_deterministic.json Separates the portable deterministic-output law.
tests/​fixtures/​lifecycle_bug_ledger/​property_catalog/​ownership.preserve_unowned.json Separates the unowned-state preservation law.
tests/​fixtures/​lifecycle_bug_ledger/​property_catalog/​outcome.status_matches_state.json Separates the truthful-outcome law.
tests/​fixtures/​lifecycle_bug_ledger/​property_catalog/​lockfile.version_monotonic.json Separates the lockfile-version monotonicity law.
tests/​fixtures/​lifecycle_bug_ledger/​property_catalog/​lockfile.frozen_preserves_bytes.json Separates the frozen-lockfile preservation law.
tests/​fixtures/​lifecycle_bug_ledger/​property_catalog/​idempotency.byte_stable.json Separates the byte-stable repetition law.
tests/​fixtures/​lifecycle_bug_ledger/​property_catalog/​filesystem.open_world_observation.json Separates the declared-write-set law.
tests/​fixtures/​lifecycle_bug_ledger/​property_catalog/​cache.successful_reads_refresh_recency.json Separates the cache-read recency law.
tests/​fixtures/​lifecycle_bug_ledger/​property_catalog/​auth.credentials_isolated.json Separates the credential-isolation law.
tests/​fixtures/​lifecycle_bug_ledger/​ledger.json Holds ledger schema and scope metadata.
tests/​fixtures/​lifecycle_bug_ledger/​known_gaps/​partial-uninstall-deletion.json Separates the partial-deletion known gap.
tests/​fixtures/​lifecycle_bug_ledger/​known_gaps/​late-lock-write-atomicity.json Separates the late-lock-write known gap.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4517.json Extracts the dropped-target frozen-install record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4502.json Extracts the Cowork destination-summary record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4492.json Extracts the pending-bundle transaction record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4484.json Extracts the marketplace dry-run cache record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4477.json Extracts the MCP collision audit record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4476.json Extracts the invalid-policy refresh record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4467.json Extracts the edited-file uninstall record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4460.json Extracts the no-op prune diagnostic record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4458.json Extracts the no-change update policy record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4456.json Extracts the offline policy-cache record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4455.json Extracts the dry-run policy-block record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4454.json Extracts the executable-retirement preview record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4453.json Extracts the missing-hash audit advisory record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4451.json Extracts the symlinked-member uninstall record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4447.json Extracts the local-content audit parity record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4446.json Extracts the survivor executable-retirement record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4445.json Extracts the denied native-plugin update record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4444.json Extracts the changed plugin-definition record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4441.json Extracts the parked-bundle update diagnostic record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4439.json Extracts the adopted-file remediation record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4437.json Extracts the content-bound bundle approval record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4436.json Extracts the bundle approval-remedy record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4432.json Extracts the offline Codex installation record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4430.json Extracts the marketplace provenance commit record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4422.json Extracts the duplicate parked-MCP notice record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4397.json Extracts the Windows Git-path limit record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4390.json Extracts the Git-config failure diagnostic record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4389.json Extracts the locked-copy audit parity record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4365.json Extracts the user-scope lifecycle-script record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4363.json Extracts the update mismatch diagnostic record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4353.json Extracts the failed-install package-preservation record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4334.json Extracts the verbose package-identification record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4331.json Extracts the duplicate uninstall-output record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4330.json Extracts the non-ASCII path-output record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4323.json Extracts the credential-file packing record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4322.json Extracts the partial marketplace-install record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4321.json Extracts the plugin skill-subset audit record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4320.json Extracts the registry CI-notice record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4319.json Extracts the lifecycle-script lock-commit record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4318.json Extracts the local-bundle update guidance record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4309.json Extracts the frozen-install untracked-file record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4308.json Extracts the piped installer-color record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4307.json Extracts the duplicate policy-violation record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4293.json Extracts the frozen tag-display record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4291.json Extracts the duplicate pack-notice record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4290.json Extracts the repeated Azure authentication-trace record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4289.json Extracts the shared-config MCP diagnostic record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4288.json Extracts the runtime-specific MCP failure record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4287.json Extracts the structured audit-failure record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4278.json Extracts the registry mirror-replay record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4277.json Extracts the dependency depth-limit record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4267.json Extracts the repeated blocking-policy record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4263.json Extracts the undeclared-package update record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4262.json Extracts the approve usage-exit record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4261.json Extracts the lockfile vendor-extension record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4260.json Extracts the dependency vendor-extension record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4257.json Extracts the LSP-only package-validation record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4256.json Extracts the repeated frozen trust-notice record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4253.json Extracts the policy hash-prefix record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4251.json Extracts the vendor-target identifier record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4249.json Extracts the repeated policy-status record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4246.json Extracts the policy denial-remedy record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4245.json Extracts the marketplace approval-identity record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4244.json Extracts the registry-identifying progress record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4243.json Extracts the repeated hook-summary record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4242.json Extracts the repeated MCP key-warning record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4241.json Extracts the repeated policy-bypass warning record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4237.json Extracts the denied-LSP wording record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4233.json Extracts the unsupported-lockfile remedy record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4232.json Extracts the lockfile-version preservation record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4224.json Extracts the structured audit stderr record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4223.json Extracts the bundle deployment-receipt record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4221.json Extracts the pending bundle-approval listing record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4219.json Extracts the survivor integration-output record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4215.json Extracts an LSP-only survivor regression record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4214.json Extracts an LSP-only survivor regression record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4213.json Extracts the parked executable-status record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4212.json Extracts the marketplace read-only pin record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4211.json Extracts the multi-target destination-summary record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4210.json Extracts the target-source diagnostic record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4209.json Extracts the intentional empty-compilation record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4208.json Extracts the duplicate update-plan record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4207.json Extracts the duplicate skill-summary record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4206.json Extracts the unmatched-skill remedy record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4205.json Extracts the unknown-script guidance record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4204.json Extracts the inaccurate hook-reconciliation record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4203.json Extracts the JSON pack-warning record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4202.json Extracts the packed-skill target-root record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4201.json Extracts the local marketplace-source record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4198.json Extracts the discovered-dependency locking record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4196.json Extracts the repeated MCP-target announcement record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4195.json Extracts the frozen package-header record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4194.json Extracts the failed marketplace-install pin record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4193.json Extracts the cleanup path-reporting record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4192.json Extracts the bundle destination-output record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4191.json Extracts the advisory audit-severity record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4190.json Extracts the manifest-path diagnostic record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4188.json Extracts the hook approval-pin parity record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4187.json Extracts the package-hash audit parity record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4185.json Extracts the uninstall refusal-atomicity record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4182.json Extracts the command-frontmatter notice record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4180.json Extracts the contradictory policy-block output record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4179.json Extracts the MCP policy-refusal diagnostic record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4178.json Extracts the repeated policy-fetch warning record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4176.json Extracts the orphaned deployment-receipt record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4175.json Extracts the disabled-registry guidance record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4173.json Extracts the retired-hook diagnostic record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4171.json Extracts the credential-output redaction record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4169.json Extracts the unknown-version MCP migration record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4168.json Extracts the symlinked-lockfile refusal record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4166.json Extracts the ref-less update-idempotency record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4162.json Extracts the user-content uninstall record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4161.json Extracts an LSP-only survivor regression record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4160.json Extracts the unattributed survivor-output record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4159.json Extracts the failed-install target-root record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4153.json Extracts the transitive local-path resolution record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4140.json Extracts the malformed-policy type record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4132.json Extracts the target-root preservation record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4125.json Extracts the unchanged registry-hash record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4120.json Extracts the CI shard-collection record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4119.json Extracts the architecture-parser caching record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4118.json Extracts the CLI startup-import record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4115.json Extracts the Windows PR-coverage record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4091.json Extracts the lifecycle-trust serialization record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4087.json Extracts the user-scope policy-source record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4084.json Extracts a policy-outcome consistency record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4079.json Extracts the audit/script policy-routing record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4073.json Extracts the removed-init-flags record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4050.json Extracts the empty-manifest frozen-install record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4033.json Extracts the root-only hook-audit record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​4011.json Extracts the orphan-removal ownership record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3995.json Extracts the user-bundle scope record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3993.json Extracts the required-package host-identity record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3992.json Extracts the refusal stderr-routing record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3967.json Extracts the retired-target preview record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3966.json Extracts the pack MCP-ownership record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3965.json Extracts the pack deprecation-warning record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3960.json Extracts the object-form marketplace preview record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3959.json Extracts the rebound marketplace-alias record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3957.json Extracts the layered-denial remediation record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3956.json Extracts the bundle MCP-retirement record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3928.json Extracts the object-form marketplace uninstall record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3925.json Extracts the package MCP executable-gate record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3924.json Extracts the denied-hook retirement record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3912.json Extracts the marketplace origin-evidence record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3911.json Extracts the marketplace lock-replay record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3901.json Extracts the external user-home audit record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3878.json Extracts the IDE-target refusal record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3874.json Extracts the failed multi-package install record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3870.json Extracts the user-target bootstrap record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3858.json Extracts the manifest-anchor rejection record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3857.json Extracts the target reinitialization record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3781.json Extracts the global service-only audit record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3764.json Extracts the MCP transport-policy record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3753.json Extracts the Azure CLI failure-diagnostic record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3711.json Extracts the Antigravity MCP-format record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3710.json Extracts the replacement approval-identity record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3701.json Extracts the file deployment-receipt record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3700.json Extracts the bundle hook-gating record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3693.json Extracts the duplicate dependency-declaration record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3692.json Extracts the unquoted lockfile-version record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3688.json Extracts the audit project-root record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3682.json Extracts the user-collision audit-classification record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3671.json Extracts the listed uninstall-key record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3668.json Extracts the retained transitive-dependency record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3667.json Extracts the contained-link audit record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3665.json Extracts the removed hook-event record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3664.json Extracts the pruned-runtime MCP-cleanup record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3663.json Extracts the unhashed cleanup-authority record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3662.json Extracts the undeclared frozen-package record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3661.json Extracts the profile-scoped uninstall record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3656.json Extracts the refused-uninstall lockfile record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3655.json Extracts the hand-authored context-preservation record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3640.json Extracts the SSH cache-transport record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3630.json Extracts the manifest bootstrap-metadata record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3625.json Extracts the receipt-less update record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3604.json Extracts the mixed package-shape audit record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3601.json Extracts the prerelease version-selection record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3556.json Extracts the carried-license lifecycle record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3534.json Extracts the marketplace producer-consumer record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3502.json Extracts the targeted-install dependency-cleanup record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3499.json Extracts the Claude plugin MCP-shape record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3493.json Extracts the slashed MCP-name cleanup record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3471.json Extracts the registry-only proxy-replay record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3457.json Extracts the Git object-link materialization record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3443.json Extracts the directory-install classification record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3441.json Extracts the empty skill-directory record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3433.json Extracts the revision-pin stability record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3424.json Extracts the cross-profile ownership record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3408.json Extracts the packed-plugin determinism record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3391.json Extracts the fresh-clone skill-adoption record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3382.json Extracts the subdirectory version-replay record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3319.json Extracts the marketplace catalog-path record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3270.json Extracts the Git line-ending portability record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3204.json Extracts the unmatched persisted-skill record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3151.json Extracts the project-self audit-routing record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​3035.json Extracts the transitive dry-run preview record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​2944.json Extracts the user-hook home-migration record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​2926.json Extracts the skill-pruning ownership record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​2867.json Extracts the home-path alias record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​2856.json Extracts the negative cache-prune age record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​2855.json Extracts the partial prune-failure record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​2854.json Extracts the cache-prune outcome record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​2853.json Extracts the cache-clean failure-status record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​2852.json Extracts the shared-dependency uninstall record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​2851.json Extracts the HTTP cache-recency record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​2850.json Extracts the Git checkout-recency record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​2821.json Extracts the user-hook home-reference record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​2800.json Extracts the unknown-host install-refusal record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​2759.json Extracts the Git-hook install-isolation record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​2744.json Extracts the legacy cached-plugin upgrade record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​2637.json Extracts the marketplace category round-trip record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​2624.json Extracts the manifest line-ending stability record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​2602.json Extracts the TLS trust-guidance record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​2558.json Extracts the global hook-uninstall record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​2524.json Extracts the marketplace metadata-outage record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​2506.json Extracts the Cursor user-scope record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​2484.json Extracts the aliased-ref cache-coherence record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​2390.json Extracts the MCP-only lockfile record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​2380.json Extracts the unrecorded deployment-drift record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​2379.json Extracts the frozen lockfile-rewrite record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​2362.json Extracts the package-target hook-routing record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​2329.json Extracts the cold-cache CI-audit record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​2310.json Extracts the removed-target deployment record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​2306.json Extracts the repeated-install byte-stability record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​2000.json Extracts the manifest formatting-preservation record.
tests/​fixtures/​lifecycle_bug_ledger/​bugs/​1918.json Extracts the registered marketplace-ref record.
docs/​src/​content/​docs/​contributing/​development-guide.md Directs feature-flag changes to changelog fragments.
CONTRIBUTING.md Replaces direct changelog-edit guidance with fragments.
.github/​pull_request_template.md Updates the changelog checklist for fragments.
.apm/​skills/​release-acceptance/​SKILL.md Includes fragments in release-risk planning.
.apm/​skills/​cut-release/​assets/​semver-rubric.md Includes fragments in breaking-change detection.
.apm/​skills/​cut-release/​assets/​pr-body-template.md Describes fragment assembly in release PRs.
.apm/​skills/​apm-lifecycle-tests/​assets/​templates.md Documents one file per bug-ledger row.
.agents/​skills/​release-acceptance/​SKILL.md Mirrors fragment-aware release-risk planning.
.agents/​skills/​cut-release/​assets/​semver-rubric.md Mirrors fragment-aware version assessment.
.agents/​skills/​cut-release/​assets/​pr-body-template.md Mirrors the fragment-assembly release description.
.agents/​skills/​apm-lifecycle-tests/​assets/​templates.md Mirrors per-row bug-ledger guidance.

Review effort: Balanced

…line inventory (#4583)

Windows: fragment and CHANGELOG fixtures written in text mode carry CRLF,
and changelog_fragments.py rejected them as multi-line. The tool now reads
a fragment through fragment_line(), which accepts CRLF or LF and drops one
trailing newline, so a Windows editor's fragment passes check; assemble
writes CHANGELOG.md with LF only. The ledger writer also pins LF. New
tests cover CRLF, LF and no-EOL fragments and a CRLF-free assemble.

Quality baselines: the AQ003 scan flagged component tests that asserted
only on return values. They now observe CLI output (check and render via
main with capsys) or the files left behind; the pure [Unreleased] rule
tests move to a unit module. No baseline grows.

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

# Conflicts:
#	tests/fixtures/lifecycle_bug_ledger.json
@danielmeppiel
Daniel Meppiel (danielmeppiel) merged commit 88c4732 into main Nov 21, 2026
44 checks passed
@danielmeppiel
Daniel Meppiel (danielmeppiel) deleted the p-mq2-changelog-fragments branch November 21, 2026 15:51
Daniel Meppiel (danielmeppiel) added a commit that referenced this pull request Nov 21, 2026
Rebased onto main 2de15af: the #4570 bug-ledger row moves to
tests/fixtures/lifecycle_bug_ledger/bugs/4570.json (per-row ledger, #4583),
and the two [Unreleased] bullets become one fragment (#4599).

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

D5 signed: the 0.1.75 row, the statement-count sentence, the adoption
paragraph and the requirements-manifest note now record adoption by editor
decision (#4001 issuecomment-7065857135). The [Unreleased] bullet moves to
changelog.d/4001.added.md (#4599).

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.

Merge queue v2 step 2: CHANGELOG fragments and per-row bug ledger (hotspot de-confliction)

2 participants