Repository navigation
docs(openspec): plan #2166 Remove dead imports and add F401 ratchet - #2981
Merged
Merged
Conversation
dan-petty
marked this pull request as ready for review
November 1, 2026 10:18
dan-petty
deleted the
refactor/2166-the-unused-run-subprocess-re-import
branch
November 1, 2026 10:19
This was referenced Nov 1, 2026
dan-petty
added a commit
that referenced
this pull request
Nov 1, 2026
This pull request corrects the OpenSpec plan for #2166. The Service staged the plan in PR #2981. An evaluation found two false claims. The re-imports in src are already gone, so the planned ruff.py task removed nothing. The check kind the plan wanted already exists as a ratchet. The corrected plan has two groups. Group 1 removes the _prepare_cmd alias. Group 2 sets the src noqa: F401 ratchet ceiling to 0. The plan changes no code and no test. Plans #2166
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.
Plans #2166
Remove the unused run_subprocess re-import in security/ruff.py and the private _prepare_cmd alias in core/process.py. Update the test fake and tests to use the public name prepare_tool_cmd. Add a devops ci row that runs ruff check --select F401 --ignore-noqa over src/ and fails when the finding count exceeds 14, the ceiling of sites owned by #1332. This adds the check kind that #1309 left out for noqa F401 re-imports.
Change:
openspec/changes/2166-the-unused-run-subprocess-re-import/