feat(audit): publish sequenced heartbeat and reconciliation evidence

Assistant: codex
Assistant-Model: gpt-6-astra
Assistant-Session: 01a06ec5-7e2b-7743-ac08-719e1b0f42e2
This commit is contained in:
tegwick 2026-09-05 01:39:48 +02:00
parent fce60099c4
commit b9349782f4
32 changed files with 839 additions and 111 deletions

View file

@ -14,7 +14,9 @@ def _client(handler) -> TenantEngineClient:
def test_active_roles_returns_roles_on_200() -> None:
def handler(request: httpx.Request) -> httpx.Response:
assert request.url.path == "/tenants/tenant:friendly:binky/roles/live"
return httpx.Response(200, json={"tenant_id": "tenant:friendly:binky", "roles": ["VEN", "CUS"]})
return httpx.Response(
200, json={"tenant_id": "tenant:friendly:binky", "roles": ["VEN", "CUS"]}
)
roles = _client(handler).active_roles("tenant:friendly:binky")