Skip to content

doc_profile_check.sh --detect-profile-change (ADR-218 OQ-4 / Challenger #7) #294

@achimdehnert

Description

@achimdehnert

Adressiert: ADR-218 §Open Questions OQ-4 + /adr-challenger Finding #7 „Profil-Wechsel-Enforcement"

Problem

ADR-218 §Confirmation sagt: „Profil-Wechsel = ADR-Trigger" (Cross-Cutting). Aber: kein Mechanismus erzwingt das. Ein Repo kann profile: lra-pilotprofile: saas im PR ändern, ohne ADR-Link.

Akzeptanz-Kriterien

  • Script-Modus --detect-profile-change der git diff origin/main…HEAD -- docs/doc-profile.yaml prüft
  • Bei profile:-Wert-Wechsel: FAIL mit „ADR-Pflicht — bitte mit ADR-NNN-Link in PR-Body verlinken"
  • Override via PR-Label adr-exempt-profile-change für Tippfehler-Korrektur
  • PR-Hook-Integration (GitHub Actions oder Pre-Commit)

Refs

  • ADR-218 OQ-4
  • ADR-218 §Confirmation Schritt 4

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions