Skip to content

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

Closed

Description

@dan-petty

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-files and git check-attr in the checkout, so a core.fsmonitor program runs before the scan refuses it.
  • It refuses blobless clones, Git LFS repositories and the --shared evaluation 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 OriginGit tests still show that an insteadOf, a pushurl, 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

Source

Source: #3702

Activity

  1. added
    type/refactor
    source/agent
    scope/roadmap
    status/new
    value/medium
    effort/medium
    on Nov 21, 2026
  2. dan-petty commented on Nov 21, 2026

    @dan-petty
    OwnerAuthor
  3. added
    priority/p2-medium
    owner/agent
    status/in-progress
    status/in-review
    and removed
    status/new
    status/in-progress
    on Nov 21, 2026
  4. removed
    status/in-review
    owner/agent
    on Nov 21, 2026
  5. devops-cli-service commented on Nov 21, 2026

    @devops-cli-service
    Contributor
  6. devops-cli-service commented on Nov 21, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-21 18:18 UTC

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/mediumpriority/p2-mediumscope/roadmapsource/agenttype/refactorvalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions