Skip to content

feat: add replay phase measurement adapter - #81

Merged
kim-em merged 1 commit into
masterfrom
feat/replay-phase-metrics
Aug 23, 2026
Merged

feat: add replay phase measurement adapter#81
kim-em merged 1 commit into
masterfrom
feat/replay-phase-metrics

Conversation

@kim-em

@kim-em kim-em commented Aug 23, 2026

Copy link
Copy Markdown
Contributor

Adds an opt-in trusted measurement adapter around the existing Landrun boundary. The adapter receives fixed build labels for the untrusted solution build/export and checker labels for external kernels, while challenge preparation and the built-in kernel remain unmeasured. With no adapter, Comparator follows its existing direct-Landrun path. Empty adapter commands fail closed.\n\nThis is needed by LeanEval authoritative replay to record separate build and reference-checker wall-time/retired-instruction statistics without giving untrusted Lean access to the measurement store.\n\nValidation:\n- lake build comparator (warning-free)\n- focused integration tests for phase order and empty-command rejection\n- full upstream suite delegated to PR CI because this host has no Cargo/nanoda binary

@kim-em
kim-em merged commit e45f3b8 into master Aug 23, 2026
2 checks passed
@kim-em
kim-em deleted the feat/replay-phase-metrics branch August 23, 2026 05:01
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