Skip to content

spec(normative): adopt req-lk-024 deployment-evidence deletion (#3701) - #4186

Merged
Daniel Meppiel (danielmeppiel) merged 3 commits into
mainfrom
danielmeppiel-adopt-req-lk-024
Nov 20, 2026
Merged

Daniel Meppiel (danielmeppiel) merged 3 commits into
mainfrom
danielmeppiel-adopt-req-lk-024

Conversation

@danielmeppiel

Copy link
Copy Markdown
Collaborator

Description

Daniel decided to adopt amendment 0.1.69 (req-lk-024) as normative: a lockfile-driven deletion of a deployed file needs a matching local deployment receipt, or byte equality with the locked version's render. A lockfile hash alone never authorizes a deletion. #4049 implemented and landed the behavior, but it added the requirement as a proposal.

This PR removes the proposal markers. It changes no behavior and no requirement text.

  • openapm-v0.1.md:
    • drops the "PROPOSED amendment 0.1.69" note at the req-lk-024 anchor;
    • drops "(proposed)" from Sections 5.7, 10.7, 10.11 and 11.3.2;
    • Appendix D: the 0.1.69 row becomes an adopted amendment ("Proposed 2026-11-20; adopted 2026-11-20 in this Working Draft by editor decision recorded in issue [BUG] Stale cleanup still trusts a lockfile hash that matches a file APM never deployed #3701, without the Section 9.3 reviewer-panel approval and public comment period"), following the 0.1.61 to 0.1.65 adoption convention;
    • the Appendix D summary now lists 0.1.69 among the adopted amendments.
  • openapm-v0.1.requirements.yml: the req-lk-024 note now says "adopted" instead of "not adopted".
  • tests/spec_conformance/test_deletion_evidence_reqs.py: the docstring is updated to match.
  • The statement count stays at 149 (144 MUST, 5 SHOULD). CONFORMANCE.{md,json} were regenerated with no changes, and orphan_check reports 149 requirements aligned.

Spec slot renumbering follows the existing plan: #4006 renumbers at merge, and 0.1.69 keeps its slot.

Issue and approved scope

Issue: Refs #3701 (Part of #3701). #4049 has already completed the issue.

Human scope-approval comment: #3701 (comment). The 0.37 Stream H lead relayed the adoption decision.

Does this PR complete the issue, or what remains? Nothing remains. This PR records the adoption only.

Type of change

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

Testing

  • Tested locally. Static only: pytest tests/spec_conformance --collect-only (674 collected), gen_statement (no diff) and orphan_check (OK). CI validates the rest.
  • All existing tests pass (CI)
  • Added tests for new functionality (if applicable). N/A.

Changelog

Spec conformance (OpenAPM v0.1)

  • Spec edit: docs/src/content/docs/specs/openapm-v0.1.md updated (status only; the anchor, prose and Appendix C row are unchanged).
  • Manifest edit: docs/public/specs/manifests/openapm-v0.1.requirements.yml updated.
  • Test edit: the @pytest.mark.req("req-lk-024") tests in tests/spec_conformance/test_deletion_evidence_reqs.py are retained.
  • CONFORMANCE.{md,json} regenerated; no changes.

Daniel adopted amendment 0.1.69 as normative: a lockfile-driven deletion
needs a matching local deployment receipt or byte equality with the
locked render; a lockfile hash alone never authorizes it. Drop the
proposed markers, record the adoption in Appendix D, and align the
requirements manifest note and the conformance test docstring.

Part of #3701

Co-authored-by: copilot-swe-agent[bot] <[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 adoption citation incorrectly points to implementation authorization rather than the actual adoption relay, preventing readers from accurately tracing the decision to bypass Section 9.3.

1 open issue
What changed in this PR

This PR records amendment 0.1.69 (req-lk-024) as adopted in OpenAPM, formalizing the deployment-evidence deletion rule implemented in #4049. It changes status documentation only, not requirement text or runtime behavior.

Changes:

  • Removes proposal markers and records adoption in the specification's revision history.
  • Aligns the requirements manifest and conformance-test docstring with the adopted status.
  • Preserves the 149-statement count and existing conformance tests.
File Description
tests/​spec_conformance/​test_deletion_evidence_reqs.py Updates the docstring to reflect adoption.
docs/​src/​content/​docs/​specs/​openapm-v0.1.md Removes proposal markers and updates adoption history.
docs/​public/​specs/​manifests/​openapm-v0.1.requirements.yml Marks req-lk-024 as adopted in its notes.

Review effort: Balanced

@danielmeppiel
Daniel Meppiel (danielmeppiel) merged commit 2d575f7 into main Nov 20, 2026
36 checks passed
@danielmeppiel
Daniel Meppiel (danielmeppiel) deleted the danielmeppiel-adopt-req-lk-024 branch November 20, 2026 10:15
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