Skip to content

feat(headless): add advisory Oracle evidence registry - #1092

Merged
Astro-Han merged 13 commits into
mainfrom
feat/oracle-evidence-registry
Jul 16, 2026
Merged

Astro-Han merged 13 commits into
mainfrom
feat/oracle-evidence-registry

Conversation

@Astro-Han

@Astro-Han Astro-Han commented Jul 16, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Closes #1081.

  • add a content-addressed Oracle evidence registry with immutable per-task outcomes, exact incremental reuse, semantic validation, and per-entry execution provenance
  • make the frozen 89-task harness A/B profile consume pinned Oracle evidence as fail-open advisory annotations without invoking Oracle, changing selection, or destabilizing resume
  • bind qualification keys only to controlled task, Oracle policy, verifier/compose source, platform, and resolved image inputs; execute Oracle from Dockerfiles pinned to those exact image digests
  • add a manual GitHub-hosted workflow that audits only missing or changed tasks and publishes each complete snapshot as a new prerelease
  • remove the superseded Oracle-gated qualification producer while preserving historical manifest metadata as read-only data

Verification

  • npm run build:test — passed
  • npm --workspace @maka/headless test — 1053 passed, 0 failed
  • npm run typecheck — passed
  • npm run lint — passed
  • actionlint .github/workflows/oracle-evidence-audit.yml — passed
  • frozen Terminal-Bench revision d49e28f1e4ddd13d289e85a5f312a66750951932 — 89 task directories; no stage-alias FROM references
  • an earlier full plan produced 89 matrix entries without Oracle execution; the final plan-only recheck reached Docker Hub's anonymous 429 limit while resolving python:3.11
  • real 89-task Oracle audit workflow intentionally not triggered during implementation

Review corrections

  • advisory registry/image resolution now has a bounded 15-second fail-open deadline and aborts fetch/Docker work; resume retains its frozen evidence
  • one Oracle policy descriptor now owns JobConfig, verifier limits, compose selection, and watchdog semantics; the observed Harbor version must match the controlled version
  • unknown process/implementation failures abort audit jobs instead of becoming reusable infrastructure evidence
  • production incrementality exists only in plan + merge; the test-only reuse path, unused result/plan fields, fake task paths, and duplicate production fingerprint implementation were deleted
  • task states remain structured annotations/state counts and do not leak corpus-wide warning strings into canary reports
  • snapshot merge rejects missing, duplicate, mismatched, tampered, and out-of-plan entries
  • plan and entry artifacts are retained for seven days to support workflow recovery

Rollout

After merge, manually dispatch Oracle evidence audit for the first controlled baseline. Pin the resulting release asset URL and snapshot fingerprint when starting an A/B run.

@Astro-Han
Astro-Han force-pushed the feat/oracle-evidence-registry branch from 8c59bd3 to 0e5d8f8 Compare July 16, 2026 10:08
@Astro-Han
Astro-Han force-pushed the feat/oracle-evidence-registry branch from 0e5d8f8 to 3234f58 Compare July 16, 2026 11:09
@Astro-Han
Astro-Han merged commit fd6bd9e into main Jul 16, 2026
3 checks passed
@Astro-Han
Astro-Han deleted the feat/oracle-evidence-registry branch July 16, 2026 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

1 participant