Skip to content

feat(benchmark): run identity suites with explicit providers - #714

Merged
zzwong merged 6 commits into
mainfrom
zzwong/offline-mammoth-identity
Nov 10, 2026
Merged

zzwong merged 6 commits into
mainfrom
zzwong/offline-mammoth-identity

Conversation

@zzwong

@zzwong zzwong commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Run offline report-identity fixtures through cr benchmark run identity.yml, using either --provider NAME --model ID or --candidate NAME. Strict suite configuration names the adapter, endpoint and credential-store reference; a saved candidate binds a model to its provider. Selection is explicit, with no inferred provider, model or paid fallback.

Support System One-compatible services, including Jev, OpenAI Decisions and Cloudflare Clef through shared prompts, pair preparation, budgets, receipts and deterministic replay. Clef requires explicit acknowledgement that complete-context consumption is unverified. Adapter clients contain no identity prompt or price policy. Existing PR-review suites keep their format and behavior.

The shared executor, selected-store credential resolution and complete serialized-fixture preflight are included from #715, #716, #718 and #719. Retained original records and resolved provider/model provenance are hash-bound; missing prices or uncertain cache usage keep cost unknown. Unshipped model-specific commands are replaced without aliases. This is an offline experiment path; live reviews and posting are unchanged.

Validation

  • Full tests, lint, module tidy and build passed on the provider stack. Hermetic command and adapter checks cover direct/saved selection, strict YAML, routing before credential lookup, refusals, cache uncertainty, complete budget rejection and failure retention.
  • Compiled CLI checks use zero provider calls to verify resolved provenance, original-record retention, private permissions, manifest hashes and independent replay. Serialized-size boundary tests include decision growth and Unicode/HTML escaping.
  • Saved Jev and Decisions prepared-request hashes remain unchanged. Historical synthetic adapter smokes are reused; no new inference calls or full matrix were run. Clef's live transport smoke remains pending.
  • The integration includes the current main-branch workspace layout and cleanup behavior, with generic test fixtures.

Add an explicit provider command for caller-owned cohort and prior-thread fixtures, with all-pair preflight and retained replay artifacts. Keep provider access isolated from live reviews and record partial failures, usage, and cost estimates without credentials.
Separate the reusable choice client from report identity prompts and make model, endpoint, authentication, limits and prices explicit caller settings. Preserve private replay artifacts and distinguish unknown costs from known zero.
@zzwong zzwong changed the title feat(benchmark): infer identity decisions with Mammoth feat(benchmark): add System One identity inference Nov 7, 2026
Exercise TypeSafe authentication and resolved model handling with the shared identity adapter. Add small synthetic cohort and prior-thread fixtures for provider smoke checks.
@zzwong zzwong changed the title feat(benchmark): add System One identity inference feat(benchmark): run identity suites with explicit providers Nov 7, 2026

@zzwong zzwong left a comment •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Runtime credential resolution bypasses the selected store, retained fixtures can exceed replay's reader limit, and the cohort command test does not verify which records each request contains. Details inline.

Add Decisions request and answer handling to provider-driven identity experiments while preserving refusals, cache uncertainty and original evidence. Include shared provider execution, selected-store credentials and replay contract enforcement.
@zzwong
zzwong marked this pull request as ready for review November 10, 2026 15:00
@zzwong
zzwong merged commit d65f76a into main Nov 10, 2026
12 checks passed
@zzwong
zzwong deleted the zzwong/offline-mammoth-identity branch November 10, 2026 15:06
@zzwong
zzwong restored the zzwong/offline-mammoth-identity branch November 10, 2026 15:07
@zzwong
zzwong deleted the zzwong/offline-mammoth-identity branch November 10, 2026 15:15
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.

1 participant