Repository navigation
Conversation
paulorha
marked this pull request as ready for review
November 12, 2026 12:21
paulorha
force-pushed
the
fix/copilot-replay-classification
branch
from
November 14, 2026 02:19
166205f to
26090fc
Compare
paulorha
force-pushed
the
fix/copilot-replay-classification
branch
from
November 15, 2026 08:48
26090fc to
e8b0712
Compare
Contributor
|
Thank you @paulorha! This landed on main through #99, which stacked the 23 reviewed labs PRs on current main so their shared files conflicted only once. Your commits are kept with your authorship; this PR's tip is 03f4f3b. To get it now: |
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.
Summary
Classify only Copilot's HTTP 401 message
input item does not belong to this connectionas invalid encrypted content, rather than an authentication failure. Mark it non-rotating and non-fallback so core can repair the rejected request without treating the account as exhausted.Related issue: #42
Provider-specific classification stays in
copilot/responses.py, following the ownership guidance.Changes
No proactive replay stripping, credential resolver change or new pool SDK dependency is introduced. The rebase preserves upstream's current reasoning payload and live-catalog behavior.
Required core companion and release ordering
Ship NousResearch/hermes-agent#154361 (
fix: repair classified encrypted replay before auth recovery) before distributing this plugin classification update. Both changes are required for complete rejection repair: this PR classifies the provider-specific rejection; the companion performs bounded, request-attributed repair before authentication recovery. Passing plugin checks against core main does not establish that the companion recovery is available there.The independent pool track is NousResearch/hermes-agent#154360 and #77; neither is a dependency of this classification change. If the two core PRs land separately, preserve classified-replay-before-auth handling and scoped-pool-or-legacy-profile selection when reconciling their shared recovery files. Earlier combined-track validation is historical, not a fresh integrated run on these rebased heads.
Any later catalog distribution must pin an actual merged Labs revision. This PR changes no catalog pin, installed plugin or saved account.
How to test
Set
COREto an absolute compatible core checkout andHERMES_PYTHONto its managed test interpreter. Fromgithub-copilot/, using an isolated home and cleared ambient credentials:Core must be on
PYTHONPATH; the standalone plugin does not supply theproviderspackage.Current validation
Labs head
e8b071277e9f7b67e0aa32e05a753b8088993cf9is rebased onto upstream Labs main46f6da9af0c4e9ad5a3c9444dfecfa5bf7debf76. The fix was not already upstream. Rebase was conflict-free andgit range-diffconfirms the original patch is unchanged;git diff --checkpasses.Fresh macOS validation, with isolated homes and ambient credentials cleared:
38279951d45d17ca1c724c99eb453af16ba2d044(based1b46d718ffe675427928eff7e5fff69bcb4519b): 182 passed, no skips; plugin validation passed.d1b46d718ffe675427928eff7e5fff69bcb4519b: 182 passed, no skips; plugin validation passed. This is classification compatibility, not proof of companion recovery on upstream core.These are separate runs of the same suite, not an additive test total. The local companion snapshot identifies exactly what was exercised; it does not assert the companion PR's eventual rebased publication SHA. Existing
copilot-acplive-client isolation remains in-process only.The original intermittent live rejection was not reproduced. Local tests use synthetic offline errors; no live-provider reproduction or whole-core-suite pass is claimed.
Hosted CI and review status
The exact-head workflow passed all 19 jobs, including the Copilot suite and validation on Linux, macOS and Windows. The workflow checks upstream core main, not the companion recovery branch, so the core-before-plugin release gate still applies.
No GitHub reviews, inline review comments or issue comments were present when updating this PR. No comments or review replies were posted.