Record effective guard state in campaign provenance - #313
Merged
Conversation
Record the post-preflight guard state in conditions and carry it through dispatch, aggregate benchmarks, and promoted baselines. Preserve historical absence as unknown and document the artifact contract.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
guard_armedvalue inconditions.json.dispatch.json.guardfrom that recorded value and carry it intobenchmark.json.true,false, orunknownin promotedBASELINE.mdfiles.Rationale
Published benchmark and baseline provenance names the harness, model, codebase, and skill, but did not say whether the eval guard was active. This makes that validity boundary explicit while leaving enforcement authority and expanded per-task policy in
dispatch.json.Artifact contract
Before:
{ "harness": "codex" }After:
{ "harness": "codex", "guard_armed": true }Historical conditions without the field remain readable. Their benchmark omits the field, and promotion renders
Guard armed | unknown; absence is not treated asfalse.Implementation notes
ConditionsRecord.guard_armedandBenchmark.guard_armedare optional for compatibility, but every newly prepared iteration recordstrueorfalse.run --helpandeval-magic docs guarddescribe the provenance contract.RunArgsand the new provenance tests moved to focused modules to keep their long owner files navigable.Verification
cargo fmt --checkcargo buildcargo test --quiet(953 library, 218 CLI, and 208 run tests)cargo clippy --all-targets -- -D warningsgit diff --checkCloses #306