From 88d96d4a496bc2f816387ddd8e44478f0f259b51 Mon Sep 17 00:00:00 2001 From: Agent Zero Date: Thu, 27 Aug 2026 18:54:15 +0200 Subject: [PATCH] =?UTF-8?q?docs(progress):=20Welle=202b=20=E2=80=94=20Cont?= =?UTF-8?q?acts-Entity-Registry=20Single-Source=20dokumentiert=20(#357),?= =?UTF-8?q?=20Vorbestand-Isolation=20per=20Stash=20bewiesen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PROGRESS.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/PROGRESS.md b/PROGRESS.md index f5a0da3..268bfdb 100644 --- a/PROGRESS.md +++ b/PROGRESS.md @@ -12,6 +12,15 @@ **Gates:** ruff exit=0 · tsc --noEmit exit=0 · pytest 11 passed · Vitest 2 passed +## Welle 2b — Contacts-Entity-Registry Single-Source (2026-08-27) + +| Finding | Issue | Fix | Verifikation (Live-Messung) | +|---|---|---|---| +| Doppelquelle: statische `contact/contacts/company`-Einträge in `ENTITY_MODELS` neben identischer dynamischer Lieferung via `ContactsPlugin.get_entity_models()` (Kritikpunkte 9–11) | [#357](https://forgejo.media-on.de/Leopoldadmin/leocrm/issues/357) | 3 statische Einträge entfernt — ContactsPlugin ist Single Source; conftest spiegelt Produktions-Bootstrap idempotent (autouse-Fixture); `contact_folder` etc. bleiben korrekt (echte Core-Entities, von keinem Plugin geliefert) | Regressionstests `tests/test_contacts_entity_registry.py` **3/3 passed** (Source-Inspektion + Plugin-Lieferung + Bootstrap); entity_permissions + cross_tenant_security Suiten grün; ruff 0 Fehler; create_app OK | +| VORBESTAND bewiesen: 12 ACL-Batch-Failures durch Suite-Isolation (`relation "users" does not exist` in Nachfolger-Suiten) | [#357](https://forgejo.media-on.de/Leopoldadmin/leocrm/issues/357) (Body) | Kein Fix in diesem Commit — Stash-Test: identische 12 Failures auf clean HEAD (118 passed) vs. mit Fix (121 passed, nur +3 neue Tests) | Separates Isolation-Bugfix-Paket nötig | + +**Gates:** ruff modified-files 0 · pytest entity_registry 3/3 + ACL-Funktionserhalt grün · create_app OK + ## Welle 2 — Cross-Plugin/DSAR-Fix (2026-08-27) | Finding | Issue | Fix | Verifikation (Live-Messung) |