Skip to content

refactor(roadmap): delete the git settings scan check_settings - #6646

Merged
dan-petty merged 3 commits into
mainfrom
refactor/6638-delete-check-settings
Nov 21, 2026
Merged

dan-petty merged 3 commits into
mainfrom
refactor/6638-delete-check-settings

Conversation

@dan-petty

@dan-petty dan-petty commented Nov 21, 2026 •

Copy link
Copy Markdown
Owner

Delete check_settings and refused_settings: the scan of the git settings of the checkout before each token call of OriginGit and after each agent turn. The scan protected no call. OriginGit runs each fetch and push in a new git folder with GIT_CONFIG_GLOBAL=/dev/null and GIT_CONFIG_NOSYSTEM=1, so git reads none of the scanned settings. The scan also started a core.fsmonitor program before it refused it, and it refused blobless clones and the --shared evaluation clone. The owner approved this removal (AGENTS.md rule 5).

OriginGit, its sweeps, the shallow file handling and the URL pin stay until #3700. GitSettingsError and the class git_config stay for a link at the shallow file. New tests show that an insteadOf, a pushInsteadOf and 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/

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.
@dan-petty dan-petty added type/refactor Type refactor: a new structure, same behavior scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them labels Nov 21, 2026
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
dan-petty marked this pull request as ready for review November 21, 2026 17:32
@dan-petty
dan-petty merged commit 40edae3 into main Nov 21, 2026
35 checks passed
@dan-petty
dan-petty deleted the refactor/6638-delete-check-settings branch November 21, 2026 17:46
dan-petty added a commit that referenced this pull request Nov 21, 2026
With the settings scan gone (#6646), a setting that tier 1 writes into the clone changes no push in a runner Job either. The test of the push runs with roadmap.implement.in_runner true, and the scenario names the runner Job.

Refs #6618
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>
dan-petty added a commit that referenced this pull request Nov 21, 2026
With the settings scan gone (#6646), a setting that tier 1 writes into the clone changes no push in a runner Job either. The test of the push runs with roadmap.implement.in_runner true, and the scenario names the runner Job.

Refs #6618
dan-petty added a commit that referenced this pull request Nov 21, 2026
With the settings scan gone (#6646), a setting that tier 1 writes into the clone changes no push in a runner Job either. The test of the push runs with roadmap.implement.in_runner true, and the scenario names the runner Job.

Refs #6618
dan-petty added a commit that referenced this pull request Nov 21, 2026
With the settings scan gone (#6646), a setting that tier 1 writes into the clone changes no push in a runner Job either. The test of the push runs with roadmap.implement.in_runner true, and the scenario names the runner Job.

Refs #6618
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them type/refactor Type refactor: a new structure, same behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

refactor(roadmap): delete the git settings scan check_settings

1 participant