Repository navigation
Key rejected ≠ gateway unreachable; deleted-workspace notice (gsc#1693) - #5
Merged
Merged
Conversation
…ect#1693) A 401/403 from /govern/tool-use meant this machine's key was revoked, mistyped or from a deleted workspace, but the hook reported it as 'gateway unreachable'. Users read that as our outage and kept running ungoverned. Interactive sessions still fail open and log the lapse, unattended tiers still deny, but the message now names ~/.acp/credentials and the fix. A 401 with code workspace_deleted says once per session (24h when there is no session id) that the workspace is gone and how to uninstall, then proceeds silently. 5xx, timeouts and network errors keep the outage posture. Ported from claude-code-acp-plugin 0.29.3.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ports two behaviours from claude-code-acp-plugin 0.29.3 ((internal tracker)).
1. A 401/403 is a credential failure, not an outage
2. Deleted workspace
code: "workspace_deleted"((internal tracker), live after promote), interactive sessions get one notice naming the deletion and how to remove ACP (acp-uninstall, with a curl fallback). Later calls proceed silently, and the lapse is still logged every call.Tests: new key-rejected suite with a temp HOME; full suite green. Patch version bumped.