Prompt router stops sending feature requests to your bug-fix skill (#4694)

The prompt hook no longer treats a feature request as a bug report just
because its body mentions an error, so your bug-fix skill isn't named
for "Add …", "Support …" or "[Feature]: …" requests.

Why: in our eval runs, 13 of 27 feature-titled tasks were routed to the
bug-fix skill, so the model started a bug-fix workflow on a feature.

Nothing to do: the change is in the hook's scoring. This builds on #4674
and should land after it.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/specialist-batched#1 reader=red-team
Review-Finding: v1/outside-voice#1 reader=outside-voice
Review-Finding: v1/outside-voice#2 reader=outside-voice
Review-Finding: v1/outside-voice#6 reader=outside-voice
Review-Finding: v1/adversarial-native#1 reader=adversarial-native
Review-Finding: v1/adversarial-native#2 reader=adversarial-native
This commit is contained in:
Garry Tanandcapy-ai[bot] authored and GitHub committed 2026-11-22 12:47:36 +00:00
1 parent b3323f47b8
commit 596ff8a7cc
6 files changed
+337 -10

No files matched your search

+1
View File
@@ -256,6 +256,7 @@ export const FREE_FIXTURES: Readonly<Record<string, readonly string[]>> = {
'test/fixtures/skill-contract/**': ['test/skill-contract-codex.test.ts', 'test/skill-contract-stop-hook.test.ts', 'test/skill-contract.test.ts'],
'test/fixtures/skill-evals/**': ['test/skill-eval-checks.test.ts', 'test/skill-eval-tasks.test.ts'],
'test/fixtures/skill-md-size-allowlist.json': ['test/skill-md-size-guard.test.ts'],
'test/fixtures/skill-route-feature-title-probes.json': ['test/skill-route.test.ts'],
'test/fixtures/skill-route-plain-prompts.txt': ['test/skill-route.test.ts'],
'test/fixtures/skill-route-synthetic-first-draft.json': ['test/skill-route.test.ts'],
'test/fixtures/skill-route-synthetic-prompts.json': ['test/skill-route.test.ts'],