Repository navigation
Keep Setup Security settings outside the Harness area - #600
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
Setup keeps Security in its own area after Harness settings, including when upgrading an older config or repairing an existing split. Configured values and comments survive the move.
Closes #597
Evidence
cargo test --test setup upgrading_setup_puts_security_after_all_harness_settings -- --exactfailed: Security appeared between Codex and agy.After: passes; fresh and upgraded configs place Security after all Harness sections.
cargo test --test setup setup_keeps_existing_security_outside_completed_harness_settings -- --exactalso failed.After: both pass. Security values, heading/key comments, and a second Setup run are covered.
cargo test: 1661 passed, 1 ignored, 0 failed.Test seams
thirdshift setupCLI: fresh defaults, upgrades with absent or existing Security settings, repair of an interleaved Security section, retained settings/comments, and idempotence.Review
Reviewed against
mainwiththirdshift-code-review. Standards: no findings. Spec: S1 reproduced and fixed; no outstanding findings. Both axes read every changed file (README.md,src/config.rs,src/setup.rs,tests/setup.rs). Changed files left unread: none.Unaddressed findings
Standards
None.
Spec
None; S1 was reproduced, fixed, and covered by a retained regression test.
Security
None. Completed a single-session guidance-mode source review against pinned merge base
f51d1596e85de96b3486151aefbd4228cdd57b22, covering all four changed files and supporting config validation, completion, serialization, Setup writes, credential handling, and Security flag consumers. Read the relevant attack-class guidance and ADR 0013's execution trust assumptions; no repositorySECURITY.mdor dedicated threat model was found. No introduced security boundary violation warranted a proof-of-concept test or fix. Tests were not rerun in this source review.Security review outcome
No unaddressed introduced findings.
Merge Danger
Door: two-way
Only config section placement changes; configured values and comments are retained.
Blast Radius: Setup
Built with codex · gpt-6.1-sol · high