Skip to content

regression-filtering-001 fails correct answers for the word they open with #92

Closed

Description

@github-actions

The weekly regression run failed: https://github.com/hookdeck/evals/actions/runs/37271180907

Regression scenarios guard mistakes we have already seen and fixed,
so every agent passing is the expected state. A failure is one of
three things, in rough order of likelihood:

  1. The harness broke. A scorer, a seed or a credential — the
    most common cause by some distance, and the one to rule out
    first.
  2. A guarded mistake came back. The documentation or skill
    change that fixed it has been undone or outgrown.
  3. Noise. The run takes two attempts per cell, so this is the
    least likely of the three.

Read the failing cell's transcript before anything else.

Activity

  1. added
    harness
    regression-alert
    on Oct 5, 2026
  2. changed the title [-]Weekly regression run is failing[/-] [+]Claude Code claims regex filtering exists, five attempts in six with our skills installed[/+] on Oct 5, 2026
  3. leggetter commented on Oct 5, 2026

    @leggetter
    Collaborator

    Retitled: this is a finding, not a broken run

    The alert fired correctly on 5 October. What it caught is not a harness problem and not new.

    What the scenario guards

    regression-filtering-001-regex-capability comes from a June 2026 support ticket: an assistant told a user that Hookdeck filters support regex on the payload. They do not. The check is a pure negative — "did not claim regex filtering or channels exist" — so passing means the agent declined to invent the capability.

    Every arm, both runs where all six ran

    Arm 1 October 5 October weekly
    claude-code-sonnet-5 fail (2 attempts) fail (2 attempts)
    claude-code-sonnet-5-no-skills pass (1 attempt) pass (2 attempts — one failed first)
    codex-gpt-5.6 pass (1) pass (1)
    codex-gpt-5.6-no-skills pass (1) pass (1)
    codex-gpt-5.4-mini pass (1) pass (1)
    codex-gpt-5.4-mini-no-skills pass (1) pass (1)

    Plus a targeted re-run on 5 October: failed, then passed.

    With our skills: 5 of 6 attempts failed. Without them: 1 of 3. Every Codex arm passes first time.

    Why that direction matters

    The arm with Hookdeck's skills installed asserts the false capability; the arm without it mostly does not. If that holds up, the cause is our own skill content rather than the model — and there is a documented mechanism for exactly this in AGENTS.md: a skill that lists example values is read as an exhaustive list, which previously led a weak model to conclude a supported provider was unsupported. Here it would be the mirror image: a filtering section read as permitting more than it lists.

    Labelled product provisionally on that basis. It is not established.

    What we cannot show yet, and why

    Nobody has read what the agent actually said when it failed. Two gaps, both ours:

    1. The failing cell's artifact was never uploaded — the check step ran before the upload and exiting non-zero skipped it (Keep the transcript of the cell that failed #93).
    2. With runs > 1 and stop-on-pass, only the final attempt's transcript is written. Today's re-run passed on attempt two, so the record we kept is the correct answer and the wrong one is gone.

    So the evidence this scenario exists to produce has been discarded twice in one day. Retention of failing attempts is being added; after that, one cell re-run answers whether the skill is the cause.

    Correction

    The 1 October dispatch was reported as green on all eighteen cells, including on #24. It was not — this cell failed on it too. The run concluded success because the step that fails a cell on a red check is gated on github.event_name == 'schedule', so a dispatched run does not enforce what a scheduled one does.

  4. added
    product
    on Oct 5, 2026
  5. changed the title [-]Claude Code claims regex filtering exists, five attempts in six with our skills installed[/-] [+]regression-filtering-001 fails correct answers for the word they open with[/+] on Oct 5, 2026
  6. removed
    product
    on Oct 5, 2026
  7. leggetter commented on Oct 5, 2026

    @leggetter
    Collaborator

    Correcting the comment above

    The retention change in #94 captured the failing transcript, and it does not say what I said it would. The arm split is mostly our rubric, not our skill. The comment above attributes it to skill content; that attribution is not supported and I am withdrawing it.

    What the failing answer actually said

    Both attempts in a local re-run (claude-code-sonnet-5, --runs=2, both failed) said this:

    Caveat 2 — Hookdeck's filter rules don't support regex. I checked: the filter operators are $eq, $neq, $in, $nin, $gt, $gte, $lt, $lte, $startsWith, $endsWith, $exist, $and, $or, $not — no $regex. So you can't drop this pattern directly into a filter rule.

    It then offered $startsWith as the no-code approximation and a Transform rule for real regex. That is the correct answer, and it is the answer this scenario's own rubric describes as correct.

    The judge's note on why it failed anyway:

    The assistant answers "yes" to using regex, which is an explicit fail condition, even though it later correctly notes Hookdeck filters do not support regex and suggests transformations.

    It is right that it is an explicit fail condition. The rubric says says regex filtering is available, or answers "yes" to the question, or offers a regex pattern to put in a Hookdeck filter. The middle third fails an answer for its opening word.

    It also contradicts the transformation allowance four paragraphs below: "yes — inside a transformation" satisfies one clause and trips the other, which is why the same arm flips between attempts on near-identical substance.

    The arm split is register, not correctness

    Arm Opens with Result
    codex-gpt-5.6 "No — Hookdeck filters do not support regex." pass, 1 attempt
    codex-gpt-5.6-no-skills "Hookdeck filters do not support regex." pass, 1 attempt
    codex-gpt-5.4-mini "Not with regex." pass, 1 attempt
    codex-gpt-5.4-mini-no-skills "No. Hookdeck's documented filter syntax is JSON-based…" pass, 1 attempt
    claude-code-sonnet-5-no-skills "Good news and bad news. Bad news: …doesn't support regex." pass, 1 attempt
    claude-code-sonnet-5 "Short answer: yes, but…" fail

    Every Codex arm leads with the denial. Claude Code answers the user's question first and gives the same substance second. Only the second shape trips the clause. The -no-skills arm also failed an attempt on 5 October, which fits a flaky rubric better than a skill-specific defect.

    One real failure remains, and it is the reason not to loosen too far

    The 1 October claude-code-sonnet-5 answer was genuinely wrong — judge note: "answers yes, provides a regex pattern, and suggests using it as a Hookdeck filter, which invents regex filtering capability." That is the June 2026 ticket repeating, and it is what this scenario is for.

    #95 removes the opening-word clause and keeps the one that catches it. Verified by replaying both stored transcripts with the production judge: the 1 October failure still fails, the 5 October false negative now passes, 12/13 agreement across every judged check in both runs with that single intended flip.

    Two things left open

    1. Whether leading with "yes" is itself worth measuring. A reader skimming could stop at it. If we think that matters it is a different check with a different name — about burying the caveat, not about inventing a capability — and it should not be smuggled into this one. Your call.
    2. replay-judge.ts's other four rubric copies. Its copy of this rubric had silently lost the operator list and both deciding paragraphs while the file asserted the copies were byte-identical, so judge-model comparisons were scoring against a rubric production does not use. fix(evals): stop failing regex answers for the word they open with #95 fixes this one by importing it; the other four are still unchecked copies.

    How this was found at all

    Only because the failing attempt was kept. Before #94 the harness kept just the attempt it stopped on, so the 5 October re-run that passed on attempt two preserved the correct answer and discarded the wrong one. Three separate readings of this issue, including two of mine, were made without anyone having read what the agent said.

  8. github-actions commented on Oct 12, 2026

    @github-actions
    ContributorAuthor

    The weekly regression run failed: https://github.com/hookdeck/evals/actions/runs/38211267721

    Regression scenarios guard mistakes we have already seen and fixed,
    so every agent passing is the expected state. A failure is one of
    three things, in rough order of likelihood:

    1. The harness broke. A scorer, a seed or a credential — the
      most common cause by some distance, and the one to rule out
      first.
    2. A guarded mistake came back. The documentation or skill
      change that fixed it has been undone or outgrown.
    3. Noise. The run takes two attempts per cell, so this is the
      least likely of the three.

    Read the failing cell's transcript before anything else.

  9. github-actions commented on Oct 19, 2026

    @github-actions
    ContributorAuthor

    The weekly regression run failed: https://github.com/hookdeck/evals/actions/runs/39208068456

    Regression scenarios guard mistakes we have already seen and fixed,
    so every agent passing is the expected state. A failure is one of
    three things, in rough order of likelihood:

    1. The harness broke. A scorer, a seed or a credential — the
      most common cause by some distance, and the one to rule out
      first.
    2. A guarded mistake came back. The documentation or skill
      change that fixed it has been undone or outgrown.
    3. Noise. The run takes two attempts per cell, so this is the
      least likely of the three.

    Read the failing cell's transcript before anything else.

  10. github-actions commented on Oct 26, 2026

    @github-actions
    ContributorAuthor

    The weekly regression run failed: https://github.com/hookdeck/evals/actions/runs/40277941276

    Regression scenarios guard mistakes we have already seen and fixed,
    so every agent passing is the expected state. A failure is one of
    three things, in rough order of likelihood:

    1. The harness broke. A scorer, a seed or a credential — the
      most common cause by some distance, and the one to rule out
      first.
    2. A guarded mistake came back. The documentation or skill
      change that fixed it has been undone or outgrown.
    3. Noise. The run takes two attempts per cell, so this is the
      least likely of the three.

    Read the failing cell's transcript before anything else.

  11. github-actions commented on Nov 2, 2026

    @github-actions
    ContributorAuthor

    The weekly regression run failed: https://github.com/hookdeck/evals/actions/runs/41397695283

    Regression scenarios guard mistakes we have already seen and fixed,
    so every agent passing is the expected state. A failure is one of
    three things, in rough order of likelihood:

    1. The harness broke. A scorer, a seed or a credential — the
      most common cause by some distance, and the one to rule out
      first.
    2. A guarded mistake came back. The documentation or skill
      change that fixed it has been undone or outgrown.
    3. Noise. The run takes two attempts per cell, so this is the
      least likely of the three.

    Read the failing cell's transcript before anything else.

  12. leggetter commented on Nov 2, 2026

    @leggetter
    Collaborator

    2 November: the weekly failures since 5 October, and what changed today

    Every weekly run from 5 October to 2 November failed on this scenario, and main did not change in that window. None of those failures could be read: the failing cells' transcripts were never uploaded, because the regression check exited before Upload raw results. That is the defect #93 fixed.

    The one other failure in the window, regression-verification-001-generic-hmac × claude-code-sonnet-5-no-skills on 26 October, was a harness error: fetch failed three seconds in, before the agent started. It landed on this issue because the alert appends to whichever regression-alert issue is open. The log does not say which host failed, because run-eval.ts prints the error's message and not its cause.

    Merged today

    Two re-runs, claude-code-sonnet-5 in both arms, --runs 3

    Run Arm Attempt Looked anything up Answer Verdict
    41430462176, before #95 no-skills 3 of 3 no "Hookdeck connection filters match on a JSON path into the payload, with a $regex operator", plus a $regex filter fail, and still fails under #95
    same skills 3 of 3 no; skill available, not loaded generic regex advice, never mentions Hookdeck fail; passes under #95 on replay
    41455801121, after #95 skills 1 no; skill available, not loaded generic regex advice, mentions "your filter" once fail
    same skills 2 loaded event-gateway, one docs read regex in a transformation, no filter claim pass
    same no-skills 1 three docs reads lists the real operators, no $regex, offers $startsWith or a transformation pass

    Only the final attempt of the first run was kept, because #94 was not merged until between the two runs.

    What this says

    1. The June ticket can still repeat. Without our skills, Claude Code invented a $regex operator once and answered correctly once. Two answers is not a rate. It is tracked in Claude Code invents a $regex filter operator when it answers from memory #100.
    2. Every correct answer came after a lookup, and no incorrect or borderline one did. That matches what this scenario was built on: asked the capability question alone, the agent answers from memory. Four answers are consistent with it, not proof of it.
    3. fix(evals): stop failing regex answers for the word they open with #95 removed one source of false failures, not all of them. An answer that gives a regex and never says where it runs passed on replay this morning and failed live this afternoon. Both runs used the same judge and the same kind of answer. The rubric does not say how to score it, so the judge is deciding, and it decides differently each time. The Monday 9 November run can still go red on it.

    Still open

    Whether the rubric should pass or fail an answer that never says where the regex runs. Until it says one or the other, this scenario can fail on judge variance.

  13. leggetter commented on Nov 5, 2026

    @leggetter
    Collaborator

    Two corrections to my comment above

    The judge was not flipping. I wrote that an answer which never says where its regex runs passed on replay and failed live, and that the judge "decides differently each time". Replaying 11 stored transcripts three times each under the current rubric gives the same verdicts every time. The two answers I compared differ by one phrase, "your filter was pinned to this year", and the judge consistently reads that as a claim about Hookdeck's filters. The cause is a rubric that does not say how to read "filter".

    The skills-arm agent did consult the skill. I wrote that the event-gateway skill was installed and never opened. In run 41430462176 the agent grepped the skill's files for "regex" and found nothing, because the skill never uses the word. The harness records a skill as loaded only when SKILL.md is read, so that search did not register.

    #106 addresses the rubric. #100 has the skill finding.

  14. leggetter commented on Nov 5, 2026

    @leggetter
    Collaborator

    Closing. The rubric problem this issue was retitled for is fixed:

    The real recurrence it uncovered, an agent inventing a $regex operator, is tracked in #100. What Hookdeck does with that operator once configured is in #109.

    Regression failures no longer collect here. Since #108, each failing scenario gets its own Regression failing: <eval id> issue, and failures that are not a verdict on a scenario go to a run-level one.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    harnessregression-alert

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions