You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
mcpx github failover: daemon call-path wiring + live activation (follow-on to #7948) #8017
Follow-on to #7948 (queue task 14308): the mcpauth failover machinery has landed (identity list config, soft/hard classification, rotator with durable state + rotation logging, App installation-token minter, pool resolves the current identity's credential at connection start). Two pieces remain before the github namespace fails over live:
Daemon call-path wiring: when a tools/call result from the github server carries a GitHub API soft block (the error text embeds the API status/body), translate it to mcpauth.APIError, run the call through Rotator.Do, respawn the github instance with the rotated identity's env, and retry — so the calling session never sees the soft block. Hard blocks surface unchanged.
Live activation: enroll the three GitHub App identities' private keys in the mcpx secret store (by name only), add the failover block to the github server's auth config with the user token last, and set the rotation state path.
Acceptance: a staged low-limit identity in front of the real one shows a session-visible success on a forced soft block in the live namespace, with the rotation log line naming both identities; hard-block behaviour unchanged.
Evidence the work remains: on laptop main (c4404b8), Rotator.Do in pkgs/mcpx/internal/mcpauth/failover.go has no non-test caller; pkgs/mcpx/internal/pool/pool.go resolveAuth uses the Rotator only via ResolveCurrent at connection start. So a mid-session soft block in a tools/call result is never translated to mcpauth.APIError, never rotated, and the github instance is never respawned/retried — exactly piece 1 of this issue. Piece 2 (live activation) is likewise not evidenced done.
First step: locate the tools/call dispatch for the stdio github server in pkgs/mcpx (pool/daemon), translate soft-block error text to mcpauth.APIError, run the call through Rotator.Do with respawn on rotation; oracle tests for soft-block retry and hard-block passthrough. Live activation afterwards, secrets by name only.
Acceptance: as in the issue body — staged low-limit identity in front of the real one shows session-visible success on a forced soft block in the live namespace, rotation log line naming both identities; hard-block behaviour unchanged.
Fix packet:repo-health:v1:fix:developing-today/code:issue:8017 → enqueued as task 20062 (queue repo-health-code-pilot, status queued; dedupe re-check returned the same task, no duplicate).
state: parked (openchamber scheduled lane code-g, worker repo-worker-code, task 20062, delay 1800s)
Picked up from queue; revalidated: issue OPEN, no hard-stop labels. Scope (call-path wiring in pkgs/mcpx + oracle tests + live activation + staged acceptance) exceeds this scheduled-lane window; no code changed yet. Resume: wire Rotator.Do into the github tools/call path with oracle tests first, then live activation with secret names only.
Merged work, still open. Every pull request that references this issue has merged (#8018, #11236) and none is open, but the issue kept status:in-review. Tasks that name it as a blocker have been waiting on it.
status:in-review is removed. Whoever takes this next: run the issue's done check against main. Close the issue if it passes; if not, list what is left here and carry on with it (AGENTS.md, "Finishing work").
Fresh source check:fleet secrets list exposes names including github-app.backup-app-id, github-app.developing-today-fleet.private-key, and github.developing-today-code-automation; the list does not establish three GitHub App identities with App IDs, installation IDs, and corresponding credential names. Values were not read.
Next: record a narrow decision not to invent the missing identity roster; leave activation work blocked on authoritative identity metadata, then continue the queue.
Decided: Do not configure or activate GitHub failover until an authoritative source identifies all three App identities, App IDs, installation IDs, and secret-store names. Why: The fresh fleet secrets list contains only names and did not expose a complete three-identity roster; the task requires these exact identities, and inventing a mapping would risk routing production GitHub calls to the wrong app. No secret values were read. Undo: Resume configuration when an authoritative inventory or secret-name mapping for all three identities is recorded; then verify the generated config path and staged acceptance. By: OpenChamber scheduled lane any-o.
Reason: Fresh names-only fleet secrets list did not establish a complete authoritative roster of three GitHub App identities with App IDs, installation IDs, and credential names. No secret values or live config were touched.
Decision: Do not invent production identity mappings; recorded on this issue with the missing authoritative roster as the resume condition.
Queue: task 20747 blocked; continue with other eligible work.
Activity
developing-today commentedon Nov 9, 2026
CODE-2367
dezren39 commentedon Nov 17, 2026
🤖 Agent note · picked up + triaged
task/small-fix· priority/normal · effort/m · kind/enhancement (labels applied this run, plus status/triaged)Rotator.Doin pkgs/mcpx/internal/mcpauth/failover.go has no non-test caller; pkgs/mcpx/internal/pool/pool.goresolveAuthuses the Rotator only viaResolveCurrentat connection start. So a mid-session soft block in a tools/call result is never translated tomcpauth.APIError, never rotated, and the github instance is never respawned/retried — exactly piece 1 of this issue. Piece 2 (live activation) is likewise not evidenced done.mcpauth.APIError, run the call throughRotator.Dowith respawn on rotation; oracle tests for soft-block retry and hard-block passthrough. Live activation afterwards, secrets by name only.repo-health:v1:fix:developing-today/code:issue:8017→ enqueued as task 20062 (queue repo-health-code-pilot, status queued; dedupe re-check returned the same task, no duplicate).dezren39 commentedon Nov 17, 2026
state: parked (openchamber scheduled lane code-g, worker repo-worker-code, task 20062, delay 1800s)
Picked up from queue; revalidated: issue OPEN, no hard-stop labels. Scope (call-path wiring in pkgs/mcpx + oracle tests + live activation + staged acceptance) exceeds this scheduled-lane window; no code changed yet. Resume: wire Rotator.Do into the github tools/call path with oracle tests first, then live activation with secret names only.
29 remaining items
dezren39 commentedon Nov 22, 2026
Merged work, still open. Every pull request that references this issue has merged (#8018, #11236) and none is open, but the issue kept
status:in-review. Tasks that name it as a blocker have been waiting on it.status:in-reviewis removed. Whoever takes this next: run the issue's done check against main. Close the issue if it passes; if not, list what is left here and carry on with it (AGENTS.md, "Finishing work").By: Claude, 2026-11-22 flow review.
Generated by Claude Code
dezren39 commentedon Nov 22, 2026
🤖 Agent note · picked up
fleet secrets listexposes names includinggithub-app.backup-app-id,github-app.developing-today-fleet.private-key, andgithub.developing-today-code-automation; the list does not establish three GitHub App identities with App IDs, installation IDs, and corresponding credential names. Values were not read.dezren39 commentedon Nov 22, 2026
Decided: Do not configure or activate GitHub failover until an authoritative source identifies all three App identities, App IDs, installation IDs, and secret-store names.
Why: The fresh
fleet secrets listcontains only names and did not expose a complete three-identity roster; the task requires these exact identities, and inventing a mapping would risk routing production GitHub calls to the wrong app. No secret values were read.Undo: Resume configuration when an authoritative inventory or secret-name mapping for all three identities is recorded; then verify the generated config path and staged acceptance.
By: OpenChamber scheduled lane any-o.
dezren39 commentedon Nov 22, 2026
🤖 Agent note · blocked
fleet secrets listdid not establish a complete authoritative roster of three GitHub App identities with App IDs, installation IDs, and credential names. No secret values or live config were touched.