Repository navigation
refactor(roadmap): delete the git settings scan check_settings - #6646
Merged
Merged
Conversation
OriginGit runs each call with the token in a new git folder with no global, system or clone configuration, so the scan protected no call. Delete check_settings, refused_settings, their constants and the scan after each turn. GitSettingsError and git_config stay for a link at the shallow file of the clone.
Delete the pushurl case, which OriginGit never reaches. Put back the Git LFS limit, rename the spec titles to the link at the shallow file, and make the texts of the design and of _commit true.
dan-petty
marked this pull request as ready for review
November 21, 2026 17:32
dan-petty-release Bot
added a commit
that referenced
this pull request
Nov 21, 2026
🤖 I have created a release *beep* *boop* --- ## [0.188.2](v0.188.1...v0.188.2) (2026-11-21) ### Code Refactoring * **roadmap:** delete the git settings scan check_settings ([#6646](#6646)) ([40edae3](40edae3)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
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.
Delete
check_settingsandrefused_settings: the scan of the git settings of the checkout before each token call ofOriginGitand after each agent turn. The scan protected no call.OriginGitruns each fetch and push in a new git folder withGIT_CONFIG_GLOBAL=/dev/nullandGIT_CONFIG_NOSYSTEM=1, so git reads none of the scanned settings. The scan also started acore.fsmonitorprogram before it refused it, and it refused blobless clones and the--sharedevaluation clone. The owner approved this removal (AGENTS.md rule 5).OriginGit, its sweeps, theshallowfile handling and the URL pin stay until #3700.GitSettingsErrorand the classgit_configstay for a link at theshallowfile. New tests show that aninsteadOf, apushInsteadOfand a hook in the clone get no request and do not run. A Git LFS repository still cannot use the Job.Closes #6638
Change:
openspec/changes/archive/2026-11-21-6638-delete-check-settings/