Repository navigation
Approve proposed Eval tasks from the CLI and Console - #1273
Merged
Merged
Conversation
This was referenced Oct 24, 2026
JacobStephens2
added a commit
that referenced
this pull request
Oct 24, 2026
Keep the Trial-input preflight and Spec-review sandbox documentation alongside the incoming CLI and Console Eval-task approval documentation. Validation: cargo check, cargo fmt --all -- --check, 44 site tests, three Console Experiment browser tests, and all 171 tests in evals, experiments, trial and console passed (three skipped). The affected-tests selector stopped after 400 Rust passes on release::an_interrupted_release_resumes_the_same_experiment, matching the intermittent failure documented in upstream PR #1273. Its isolated cargo test and nextest reruns both passed, and it passed again in the 171-test targeted run. The selector took 432.74s including compilation; the targeted run took 190.67s.
Merged
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
Approval preserves inputs and comments, starts no work, and leaves existing
Experiments fixed on resume. Unapproved proposals remain excluded.
Closes #1021
Test seams
Evidence
Before:
cargo test --test evals approval_makes_a_proposed_task_eligible_without_changing_its_inputsfailed becauseapprovewas unavailable.After: passed; the test checks listing, preservation, repeated approval and preparation.
Console approval matches CLI state changes, requires CSRF, filters proposals by suite, and works at 390 px. Experiment coverage checks that unapproved proposals receive no Trials and approval only affects future Experiments.
The exact Standards Session
--jsonreproduction failed as reported. Added the JSON form and retained raw-log/Session-trace parity assertions. Shared the repeated Trial-cell traversal.Passed focused Eval CLI tests (16), Experiment exclusion/approval regression (1), Console Experiment HTTP tests (3), phone browser tests (3), and typechecking. Both reviewers' exact Session parity commands and the standalone JSON reproduction pass after the fixes.
CI passed on final commit
a0f610b9, including the full Rust test job, Console browsers and site checks. Localcargo fmt --all -- --check,cargo clippy --all-targets -- -D warningsand all 3 Console browser tests also passed on that commit.Local
/usr/bin/time -p scripts/affected-tests issue-977passed all 44 site tests, then stopped atrelease::an_interrupted_release_resumes_the_same_experiment: a model Grader failed after interruption/resume (398 Rust tests passed, 1 failed; 58 skipped, remaining tests not run). Total wall time was 790.95 s, including a 60 s Rust compile and site checks. The exact isolated command below then passed twice (10.45 s and 10.68 s). No code change was made for this intermittent local failure; successful CI covers the exact final head, so the full suite was not repeated after it passed.cargo test --test experiments release::an_interrupted_release_resumes_the_same_experiment -- --exact --nocaptureMerge Danger
Door: two-way
Approval changes a private manifest's state; it can be set back to proposed.
It does not rewrite an existing Experiment or start a Trial.
Blast Radius: Evals
CLI approval, Console Experiment pages and retained Session evidence.
Review coverage
Independent Standards and Spec reviews used
git diff issue-977...HEAD, withthe local fixed point pinned to
298b6b8b9cc60b876dce971dd027ce60b6f27155.This includes inherited #1020 work; this implementation started from
3e823621, the fetchedorigin/issue-977head.Both axes read all 34 changed files, including generated documentation hunks,
and inspected the final review fixes. No generated-output exclusions or unread
changed files remain. Reports are retained in the Session's
.thirdshift-review-nX6yu9/standards.mdandspec.md.Unaddressed findings
Standards: None. Both findings addressed; the follow-up test defect was reproduced and corrected.
Spec: None. No product findings; the follow-up test defect was reproduced and corrected.
Security: None. Guidance-mode review of
git diff 3e823621...HEAD(approval CLI, Console approve route, Session JSON change, render refactor) against web/auth, traversal, injection and state-machine classes found no introduced issue: approval names are allowlisted at list and approve time, the approve POST sits behind the Console session guard with CSRF enforcement (committed test asserts 403 without a token), encoded..//probes return 400 with no escape or state change, and unapproved proposals stay excluded from preparation and Experiments.Built with codex · gpt-6.1-sol · xhigh
Security review outcome
No unaddressed introduced findings.