feat(binjovi): track binjovi-claude-code as a GitOps registrar Job #699
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/claude-code-oauth-registrar"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
binjovi-claude-code(this session's own MCP OAuth client:authorization_code+refresh_token, public, loopback redirect) was registered by hand directly against Hydra's admin API and had no manifest anywhere in this repo, unlike every other Hydra client in the fleet (argocd, forgejo, the release CLI, the companion agents), each a tracked idempotent registrar Job.Its live scope was also missing
binjovi.repository.create, even though theBINJOVI_MCP_POLICYbinding for identity{namespace: ory, name: sean}already grants it (sean/binjovimanifests/workload.yaml) — a client's registered scope is the ceiling on what any token it issues can ever carry, independent of what the policy grants. Patched the live client directly to add the scope and unblock the current session, then wrote this Job so the registration itself stops being untracked and self-heals on the daily Job re-converge.Test plan
bash tests/binjovi.sh— greentests/run-all.sh(full local run) — the only failures are pre-existing/environmental (no localdocker, no direct network path to cluster hostnames, a staleGITHUB_TOKEN), none touch the changed fileshttps://claude.ai/code/session_01JGe4pyhQ36AhgDfPJry4d3
binjovi-claude-code (this session's own MCP OAuth client: authorization_code + refresh_token, public, loopback redirect) was registered by hand directly against Hydra's admin API and had no manifest anywhere in this repo, unlike every other Hydra client in the fleet (argocd, forgejo, the release CLI, the companion agents), each a tracked idempotent registrar Job. Its live scope was also missing binjovi.repository.create, even though the BINJOVI_MCP_POLICY binding for identity {namespace: ory, name: sean} already grants it (sean/binjovi manifests/workload.yaml) — a client's registered scope is the ceiling on what any token it issues can ever carry, independent of what the policy grants. Patched the live client directly to add the scope and unblock the current session, then wrote this Job so the registration itself stops being untracked and self-heals on the daily Job re-converge. Claude-Session: https://claude.ai/code/session_01JGe4pyhQ36AhgDfPJry4d3