Repository navigation
Fall back to the default Harness when a Security review cannot start - #1116
Merged
Merged
Conversation
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
Claude Code and Codex check sign-in with their non-billed status commands. Fallback uses the default Harness's configured Model and Effort; each attempt keeps its own records and email attribution. The guide, glossary, ADR and hand-written site pages describe the new behavior.
Closes #975
Evidence
After: focused regressions pass for sign-in, preflight fallback and per-Ticket fallback. The review suite also covers no retry after turns/tokens, no retry on the default, and records/email for both attempts.
After:
cargo test --test security_review an_agy_review_after_a_reported_turn_is_not_retried -- --exactpasses; both regression tests are retained.13495a7, including the full Linux and macOS Rust suites, formatting, clippy, Python, site, Console and builds.cargo check --testsand focused Harness/Pickup regressions also pass locally.NEXTEST_TEST_THREADS=8 /usr/bin/time -p scripts/affected-tests main: all 43 site tests pass. Rust stopped after 513 passing tests onotlp_endpoint::a_stalled_receiver_cannot_delay_a_session_by_its_span_count: baseline 6.159s, stalled 8.414s, 0.26s beyond its allowance. Its exact isolated command,cargo test --test otlp_endpoint a_stalled_receiver_cannot_delay_a_session_by_its_span_count -- --exact, passes. The test and OTLP sender matchmain; no timing thresholds changed. Selector wall time was 601.11s, compilation included; Rust execution took 480.223s. Successful CI for this exact head supplies full Rust coverage, so the full suite was not repeated afterward.Seams under test: the thirdshift CLI with fake external Harness commands (preflight, Security review execution, Spec Ticket dispatch, records and email); Harness interpretation of external session streams.
Review against
mainpinned at99417ee: Standards found two P3 maintainability issues, both addressed; Spec found one P2 Agy turn-count issue, reproduced and fixed. Both reviewers inspected the initial 27 changed files, including generated HTML. A late CI-driven test-only update addstests/pickup_run.rs: that file was left unread by both Standards and Spec after their one coverage follow-up. The changed-file total is 28. Generated-output exclusions: none.Merge Danger
Door: two-way
Blast Radius: Runs
Harness preflight now rejects signed-out Claude Code/Codex. Requested Security reviews also run on Tickets, adding those review sessions. Only a non-default review's startup Harness error receives one fallback; other sessions keep their Harness.
Unaddressed findings
Standards
None.
Spec
None.
Security
None. Reviewed the Harness fallback change against
99417ee: sign-in checks run fixed argv with no shell, the review retry happens once, before the first turn, and never on a safeguard refusal, and the fallback re-checks the default Harness. No introduced findings.Built with codex · gpt-6.1-sol · xhigh
Security review outcome
No unaddressed introduced findings.