Skip to content

Evals: a J5-owned suite that offers J5's tools #936

Done

Description

@bryantderosier

The problem

Our evals can't check how models use J5's own tools. evals/mcp-tool-use/run.ts is upstream's harness, and it only gives the model upstream's toolkits: upstream's delegate_task with no persona, and no j5_send_message, j5_list_personas, j5_spawn_agent, j5_propose_crew or j5_request_crew_member. J5's standing instructions do reach the model through the system prompt, so the existing cases catch regressions in that text. But no case can check that an agent actually uses a J5 tool the way the guidance says.

This came up on #785. I wanted a guard case for "a blocked persona is never recreated as a custom worker; the agent escalates with escalation_id", and it can't be written, because the model can't pick a persona or send an ask in the harness.

Proposal

A J5-owned eval suite next to upstream's, reusing its runner where that's cheap, that offers J5's tools the way the real server does: J5's delegate_task in place of upstream's, plus the J5 toolkit. No edit to upstream's run.ts or its cases, so upstream's baselines stay comparable across syncs.

Cases worth having first:

Out of scope

  • Changing upstream's harness or its cases.
  • Running the suite in CI. The evals call paid models.

Activity

  1. added
    enhancement
    on Nov 6, 2026
  2. bryantderosier commented on Dec 1, 2026

    @bryantderosier
    CollaboratorAuthor

    Closing this, the suite exists now. evals/j5-cli (#1125) is J5-owned and offers J5's tools the way the real server does: J5's delegate_task and the J5 toolkit, on the real Claude Code and Codex CLIs. It leaves upstream's evals/mcp-tool-use harness and cases alone, so upstream's baselines stay comparable.

    The first case this issue wanted, from #785, is in evals/j5-cli/cases/persona-and-fork.ndjson:

    • j5-refused-persona-asks-the-person: a blocked persona escalates to the person, not to a custom worker.
    • j5-declined-persona-stays-blocked: it stays blocked after the person declines.

    The other four ideas (passing persona when one fits, a reviewer leaving the model out, replaces, suggesting a saved persona) aren't written. I'm not keeping a backlog of them here: per AGENTS.md, when we fix a model behavior bug we add a case that fails before the fix, so those get added when one of them actually goes wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions