Agent Zero
5d8c48a08f
fix(i-b): Cross-Tenant-Suite 10/10 gruen — echte RLS-Verifikation statt Vakuum-Tests
...
Root-Causes und Fixes: (1) conftest.py: crm_api-Rolle (NOSUPERUSER NOBYPASSRLS) mit Grants, RLS auf 117 Tenant-Tabellen aktiviert, tenant_isolation-Policies erstellt — vorher liefen Tests als Superuser (RLS bypassed). (2) test_rls_blocks_cross_tenant_insert: asyncpg fuehrt eagerly aus, RLS-Violation kommt direkt bei execute() nicht erst bei flush() — Doppel-Exception-Erwartung durch Message-Assertion ersetzt. (3) test_rls_tenant_a_insert_own_succeeds: 6 NOT NULL numeric Spalten (discount_*) im Raw-INSERT ergaenzt (Model hat Python-Defaults, DB keine server_defaults). (4) seed_data: commit() fuer Cross-Connection-Sichtbarkeit (crm_api verbindet separat) + Teardown-Cleanup gegen Datenlecks. (5) admin_session: ohne conn.begin() — sonst conditional_savepoint und commit() wirkungslos. (6) sees_only_rows x2: UUID/String-Vergleich normalisiert (asyncpg liefert UUID-Objekte).
Vorher: 9 von 10 Tests vakuum-trivial gruen (leere DB, Superuser). Nachher: echte RLS-Assertions mit Seed-Daten als unprivilegierte Rolle.
2026-08-25 17:06:24 +02:00
..
2026-06-29 08:02:14 +02:00
2026-08-25 17:06:24 +02:00
2026-08-06 22:05:15 +02:00
2026-07-29 12:28:08 +02:00
2026-08-17 16:11:26 +02:00
2026-08-16 01:17:18 +02:00
2026-08-16 01:30:02 +02:00
2026-08-17 16:40:55 +02:00
2026-08-21 20:54:46 +02:00
2026-08-16 01:30:02 +02:00
2026-08-16 01:30:02 +02:00
2026-08-24 07:57:27 +02:00
2026-07-23 20:41:45 +02:00
2026-08-16 01:30:02 +02:00
2026-08-16 01:17:18 +02:00
2026-08-23 21:44:01 +02:00
fix: connect 10 unconnected backend modules to real code paths (context_builder→agent_runner, agent_permissions→agent_runner, agent_tools→agent_runner, data_policy→agent_runner, oversight→agent_runner+migration 0128, transparency→agent_runner, agent_stream→agent_routes SSE endpoint, agent_memory AI-module deleted, decision_guard→engine, require_approval→agent_runner), 11 integration tests passing
2026-08-19 16:25:20 +02:00
2026-08-24 13:55:25 +02:00
2026-07-25 21:03:46 +02:00
2026-07-24 01:32:08 +02:00
2026-08-16 01:30:02 +02:00
2026-08-16 01:17:18 +02:00
2026-08-24 21:16:08 +02:00
2026-08-16 01:30:02 +02:00
2026-07-25 21:03:46 +02:00
2026-08-16 01:30:02 +02:00
2026-08-16 01:17:18 +02:00
2026-08-16 01:30:02 +02:00
2026-08-13 21:33:14 +02:00
2026-08-25 17:06:24 +02:00
2026-08-20 13:34:27 +02:00
2026-08-16 01:17:18 +02:00
2026-08-16 01:30:02 +02:00
2026-08-16 01:30:02 +02:00
2026-08-12 20:47:43 +02:00
2026-08-16 01:30:02 +02:00
2026-06-29 20:48:58 +02:00
2026-08-16 01:30:02 +02:00
2026-08-16 01:30:02 +02:00
2026-08-12 20:47:43 +02:00
2026-08-13 21:33:14 +02:00
2026-08-16 01:17:18 +02:00
2026-08-23 14:17:02 +02:00
2026-08-13 21:33:14 +02:00
2026-08-16 01:17:18 +02:00
2026-07-01 23:15:35 +02:00
2026-07-26 23:15:34 +02:00
2026-08-13 22:43:33 +02:00
2026-08-13 20:54:15 +02:00
2026-08-13 16:22:05 +02:00
2026-08-12 20:47:43 +02:00
2026-07-26 23:15:34 +02:00
2026-08-16 01:17:18 +02:00
2026-07-23 23:02:07 +02:00
2026-08-16 01:17:18 +02:00
2026-08-13 17:39:22 +02:00
2026-07-01 23:15:35 +02:00
2026-08-16 01:17:18 +02:00
2026-08-13 21:19:41 +02:00
2026-08-16 01:30:02 +02:00
2026-08-13 21:33:14 +02:00
2026-08-02 23:47:29 +02:00
2026-08-03 15:20:06 +02:00
2026-08-21 10:02:50 +02:00
2026-07-25 21:03:46 +02:00
2026-08-12 20:47:43 +02:00
2026-08-20 13:56:52 +02:00
2026-08-22 07:56:50 +02:00
2026-08-12 20:47:43 +02:00
2026-08-23 15:04:51 +02:00
2026-08-18 11:11:50 +02:00
2026-08-20 23:33:29 +02:00
2026-08-18 23:17:33 +02:00
2026-08-21 01:34:48 +02:00
2026-08-21 01:58:46 +02:00
2026-08-24 21:12:58 +02:00
2026-08-01 23:29:20 +02:00
2026-08-12 20:47:43 +02:00
2026-08-13 17:51:04 +02:00
2026-08-25 12:57:52 +02:00
2026-06-30 01:12:33 +02:00
2026-08-13 16:25:17 +02:00
2026-08-12 20:47:43 +02:00
2026-08-04 14:34:06 +02:00
2026-08-16 01:17:18 +02:00
2026-07-31 02:05:16 +02:00
2026-08-16 01:30:02 +02:00
2026-07-26 23:15:34 +02:00
2026-08-13 20:39:32 +02:00
2026-08-17 16:40:55 +02:00
2026-08-19 00:05:42 +02:00
2026-08-19 00:13:43 +02:00
2026-08-13 16:32:24 +02:00
2026-08-16 01:30:02 +02:00
2026-08-16 01:30:02 +02:00
2026-08-16 01:30:02 +02:00
2026-08-13 21:04:46 +02:00
2026-08-14 01:34:58 +02:00
2026-08-12 20:47:43 +02:00
2026-08-17 18:51:22 +02:00
2026-08-12 20:47:43 +02:00
2026-08-16 01:17:18 +02:00
2026-08-17 16:02:17 +02:00
2026-07-26 23:15:34 +02:00
2026-08-16 01:30:02 +02:00
2026-08-16 01:17:18 +02:00
2026-08-13 16:43:54 +02:00