Repository navigation
fix(harness): tighten skill routing and auth gating - #207
Merged
Merged
Conversation
Route generic harness behavior through skill-first rules instead of provider or product guesses. Harden jr-rpc capability issuance so authenticated work only starts from skills that declare the requested capability, and clarify GitHub versus Sentry ownership for repo-backed tasks. Add unit and eval coverage for wrong-skill auth prompts, repo-evidence answers, and GitHub push auth sequencing. Remove the stale AGENTS.md instruction that forced commits on main. Fixes #188 Fixes #203 Refs #171 Refs #165 Co-Authored-By: Codex <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Update the OAuth reconnect integration test to issue credentials from a skill that declares eval-oauth.read. This keeps the reconnect callback coverage intact while matching the new hard gating for jr-rpc issue-credential. Refs #188 Refs #203 Co-Authored-By: Codex <[email protected]>
This branch was successfully deployed
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.
Keep the core harness prompt generic while making skill routing and credential use less speculative.
This hardens jr-rpc issue-credential so it only works when the active skill declares the requested capability, exposes provider and capability metadata in the prompt for already-selected skills, and adds generic routing language that tells the agent to choose skills by requested operation rather than incidental nouns. Domain-specific guidance for source-code investigation and pre-push auth sequencing lives in the GitHub skill, while the Sentry and jr-rpc skills now state their boundaries more explicitly.
This is aimed at the cases where the assistant guessed, used the wrong provider, or answered from memory instead of loading the right skill and verifying with tools. It also removes the stale AGENTS.md instruction that required commits on main, since this repo now uses normal branch and draft PR flow.
Fixes #188
Fixes #203
Refs #171
Refs #165