Skip to content

fix(harness): tighten skill routing and auth gating - #207

Merged
dcramer merged 2 commits into
mainfrom
dcramer/fix/harness-skill-routing
Apr 17, 2026
Merged

dcramer merged 2 commits into
mainfrom
dcramer/fix/harness-skill-routing

Conversation

@dcramer

@dcramer dcramer commented Apr 17, 2026

Copy link
Copy Markdown
Member

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

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]>
@vercel

vercel Bot commented Apr 17, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
junior-docs Ready Ready Preview, Comment Apr 17, 2026 4:11am

Request Review

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]>
@dcramer
dcramer marked this pull request as ready for review April 17, 2026 15:18
@dcramer
dcramer merged commit 0520b05 into main Apr 17, 2026
13 checks passed
@dcramer
dcramer deleted the dcramer/fix/harness-skill-routing branch April 17, 2026 15:29

This branch was successfully deployed

1 active deployment
Preview – junior-docs — 64e55fb3 Deployed Apr 17, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant