Files
pruefwerk/compliance-agent/src
Sharang ParnerkarandClaude Opus 5.5 469b666bfb
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Agent integration (pull_request) Successful in 5m18s
CI / Check (pull_request) Successful in 21m59s
feat(registry): connections between workspaces in the registry client (#1028)
The Prüfwerk side of tenant-registry#138, built against its spec with a
fake registry in the tests (the registry part has not started):

- `RegistryClient::active_connections(tenant)`:
  `GET /v1/internal/tenants/{id}/connections?state=active`, not cached, so
  a connection just ended is never offered;
- `RegistryClient::connection(id)`: `GET /v1/internal/connections/{id}`,
  404 as none;
- `ConnectionState::peer_of(tenant)`: the other side while the connection
  is active and the tenant is one of exactly two distinct sides; what a
  delivery asks right before it writes to another tenant's database;
- `GET /api/v1/connections`: the workspace's active connections by id and
  the other workspace's display name, by name, never the other tenant's id
  (for choosing whom to release to); none without a registry, 503 when it
  cannot be asked.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9
2026-11-19 12:49:25 +01:00
..