Repository navigation
Description
Problem
check_settings (src/devops_cli/roadmap/implement/git_isolation.py:170) scans the git settings of a checkout before each token call of OriginGit, and in the implement step (implement_step.py:1982). It refuses config keys, attribute drivers and an alternates file, and the item stops with the class git_config.
The scan protects no token 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 has costs:
- It runs
git ls-filesandgit check-attrin the checkout, so acore.fsmonitorprogram runs before the scan refuses it. - It refuses blobless clones, Git LFS repositories and the
--sharedevaluation clone. - It adds a failure class (
git_config) that a developer flow does not have.
Change
Delete check_settings, refused_settings, their constants, the git_config stop paths in implement_run.py and implement_step.py, and the tests that cover only this code. Keep OriginGit and the process sweeps until #3700. Update docs/ERRORS.md, the spec roadmap-implement-runner and SECURITY.md where they name the scan.
Acceptance criteria
- No code in
src/scans git settings before a token call. - The
OriginGittests still show that aninsteadOf, apushurl, a credential helper and a hook of the clone get no token. - The documents name no scan.
Decision
The owner approved this removal of a security check on 2026-11-21 (AGENTS.md rule 5), after an audit of the git use of the roadmap Jobs.
Related
- feat(roadmap): add the three-container runner Job, policy and log reads #3700 removes
OriginGitand the sweeps when the agent runs in its own container. - feat(roadmap): run implement and fix-checks as prepare/agent/publish phases #3702 part C moves implement onto the plain issue-branch flow.
Source
Source: #3702
Activity
dan-petty commentedon Nov 21, 2026
Both address git security in the implement flow; #5265 restricts token scope to needed calls, while this candidate removes a redundant settings scan.devops-cli-service commentedon Nov 21, 2026
Released in v0.188.2: https://github.com/dan-petty/devops-cli/releases/tag/v0.188.2
devops-cli-service commentedon Nov 21, 2026
Live since 2026-11-21 18:18 UTC