Skip to content

feat(harness): add reusable advisory Oracle evidence with incremental CI audit #1081

Closed

Description

@Astro-Han

Goal

Make Oracle evidence a reusable, low-frequency quality signal for the shared evaluation infrastructure without making it a prerequisite, selection gate, or hidden cost of ordinary A/B runs.

The current qualification loop couples two different operations: it executes Oracle candidates and stops once it has selected 30 passes. Existing evidence therefore inspected only the first 34-35 tasks in an 89-task frozen corpus, and a new run can repeat expensive Oracle work even when its relevant inputs are unchanged.

Contract

Separate three concepts:

  1. immutable per-task Oracle evidence;
  2. a CI-issued registry snapshot over a frozen corpus;
  3. an A/B selection policy that is independent of Oracle status.

Oracle evidence is advisory. Missing or stale evidence emits a warning but does not block execution, change task selection, or remove results from effectiveness/economy statistics.

Reuse model

A per-task qualification key must bind every input that can change the meaning of the result, including:

  • task and reference-solution identity;
  • verifier implementation and policy;
  • resolved task/container environment;
  • relevant toolchain/runtime identity.

CI performs one exhaustive 89-task baseline audit. Later audits resolve the current keys against the registry and execute only missing or changed entries. Ordinary A/B runs never invoke Oracle implicitly.

Acceptance criteria

  • The first controlled CI audit inspects the full frozen corpus and publishes immutable per-task outcomes plus a registry snapshot.
  • A second audit with identical resolved fingerprints performs zero Oracle executions.
  • Changing one task/verifier/environment identity reruns only affected entries.
  • Team members can consume the CI-issued lightweight evidence across machines without copying raw job directories.
  • A/B task selection is frozen independently of Oracle status.
  • Missing, stale, passed, failed, and timed-out Oracle states are recorded as annotations in the manifest/report.
  • Missing or failed Oracle evidence produces a visible warning but does not block the run or alter statistical inclusion.
  • Legacy manifests preserve their historical Oracle-gated selection semantics.
  • Evidence validation rejects mismatched or tampered identities.

Related context: #1021. This is an evaluation-infrastructure enhancement, not a prerequisite for fixing #1021's incomplete-report lifecycle bug.

Activity

  1. added
    enhancement
    on Jul 16, 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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions