The unknown client rejection has no test #250
Labels
No labels
bug
cannot reproduce
duplicate
enhancement
help wanted
invalid
need info
need triage
need verification
not a bug
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
claudiomaradonna/agent-foundry#250
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Defect
client()'sunknown clientrejection has no test at any level, sono grading shows a maintainer dropping or widening it.
Location
evals/evidence.py,client(): the check at lines 88-89 raisingEvidenceError("unknown client").Evidence
Searching
tests/for the string finds it only inevidence.py. Thegrader cases exercise the accepted values — all four clients' evidence
paths pass through the check — and none asserts the rejection. Seen at
main
09e9524, still true atf121a4bof #248.Scenario
The rejection is the whole of what separates a graded attempt from a
rejected one, and #248 widened the allowlist it guards from
claude|codextoclaude|codex|opencode. A maintainer relaxing thecheck keeps every suite green while an attempt whose
clientfile iscorrupted or names a client with no reader is graded by the wrong
reader instead of failing closed.
Smallest fix
One case in
tests/agent-config/evals-graders.sh: write aclientfile naming an unknown value into an attempt and assert that
python3 evals/evidence.py client <attempt>exits 1 printingevidence: unknown client.