fix(werkbank): bind registry API keys to their tenant on the runner API #248

Merged
sharang merged 1 commits from fix/runner-key-tenant-binding into main 2026-09-12 09:17:17 +00:00
Owner

Isolation (§8.7): a bp_ runner key verified through the registry is tenant-scoped, but the runner API let the request name any tenant. The middleware now stores the key's tenant and every lease/heartbeat/complete/enqueue rejects a different tenant with 403. Static-token deployments are unchanged.

🤖 Generated with Claude Code

https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB

Isolation (§8.7): a `bp_` runner key verified through the registry is tenant-scoped, but the runner API let the request name any tenant. The middleware now stores the key's tenant and every lease/heartbeat/complete/enqueue rejects a different tenant with 403. Static-token deployments are unchanged. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
sharang added 1 commit 2026-09-12 09:10:23 +00:00
fix(werkbank): bind registry API keys to their tenant on the runner API
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 / Check (pull_request) Successful in 5m58s
7e17f197e8
A bp_ key is tenant-scoped; every lease/heartbeat/complete/enqueue must
name that tenant (403 otherwise). The static runner token keeps its
legacy multi-tenant behaviour.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
sharang merged commit cf08ab222d into main 2026-09-12 09:17:17 +00:00
sharang deleted branch fix/runner-key-tenant-binding 2026-09-12 09:17:17 +00:00
Sign in to join this conversation.