Skip to content

alerting-001 has run without the default delivery trigger since 19 August #117

Closed

Description

@leggetter

benchmark-alerting-001-delivery-alerts is designed around a project that already has Hookdeck's default delivery issue trigger. Since 19 August evals-ci has had none, and reset cannot put it back, so the scenario has been measuring something other than what it says.

What the project contains

The pristine snapshot lists four issue triggers. The project has three:

Trigger Type Created Live
it_ayecSXxpWrAxfC transformation 2026-08-07 10:46:14.347 yes
it_MG6NeNJn9TxeRa request 2026-08-07 10:46:14.347 yes
it_T7Z6hXLnlhazwM backpressure 2026-08-07 10:46:14.347 yes
it_N3Rae22hh3Ngyh delivery 7 August, time not recorded deleted 19 August

it_N3Rae22hh3Ngyh is the orphan described in #28: named fulfilment-delivery-failures, final_attempt, scoped to a connection that had already been deleted. It was deleted by hand as part of fixing that scorer.

It was probably the default, rewritten by a run

A new project gets exactly four issue triggers, created in one transaction, each with channels: { email: {} }. The default delivery trigger is { strategy: 'first_attempt', connections: '*' } with no name. That was read in the Event Gateway implementation, not inferred from the API.

The snapshot was captured at 16:07 on 7 August and lists exactly four. The three survivors share the project-creation timestamp. If an agent had created the orphan alongside the default, the snapshot would list five. So the likeliest history is that an early run rewrote the default delivery trigger before the snapshot was taken, and the rewritten version was then recorded as pristine.

Not proven: the orphan's created_at was never recorded anywhere this repo keeps, so it cannot be checked against the other three.

What alerting-001 has measured since

The scenario's own comments say it should test an agent "reasoning about the trigger that already exists, not creating one from scratch". The project has held that starting state for at most a few hours, on 7 August:

  • 7 to 19 August: a broken delivery trigger, enabled and emailing, scoped to nothing. Agents that found and repaired it gave the best answers in A leftover from a crashed run becomes permanent project state #28.
  • Since 19 August: no delivery trigger at all. Every agent creates an alert from nothing, which is a different and easier task.

Results either side of 19 August are not comparable, and neither period matches the design.

Why reset cannot fix it

FixedProjectSource.resetToPristine records resource ids and only deletes what the snapshot does not list. So it cannot:

  • recreate a default that a run deleted
  • notice a default that a run rewrote, because the id is unchanged
  • tell a rewritten default from an untouched one when a CI checkout captures a fresh snapshot

#28 is the other half of the same gap: there, a leftover gets adopted as pristine; here, a missing or altered default is never restored.

Options

Option What it does Trade-off
Do nothing Leave the project as it is alerting-001 keeps measuring "create an alert from scratch"
Recreate by hand Add a delivery trigger matching the default, with channels: {} Quick; drifts again the next time a run deletes or rewrites it
Declare the defaults Record the four defaults by content, like OUTPOST_GATEWAY_PRISTINE. Reset recreates any missing one and rewrites any changed one Fixes the cause and closes most of #28 for triggers. Changes what alerting-001 starts from, so it needs a measured re-run

Recommended: declare the defaults. Match on type and shape rather than id, keep channels: {} so they stay muted (#116), and restore on acquire, which is the guarantee.

Measuring it

This changes what the scenario measures, so it is an eval change:

  • re-run alerting-001 at three attempts across all six experiments
  • record that results before and after are not comparable

Follows from #28.

Activity

  1. added this to the 4. Trust the numbers milestone on Nov 6, 2026
  2. added
    scenario
    harness
    on Nov 6, 2026
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

    harnessscenario

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions