Repository navigation
docs(openspec): plan #2175 delete five dead definitions from src - #2983
Merged
dan-petty merged 1 commit intoNov 1, 2026
Merged
Conversation
4 tasks
dan-petty
deleted the
refactor/2175-the-five-functions-and-properties-that
branch
November 1, 2026 10:19
dan-petty
added a commit
that referenced
this pull request
Nov 1, 2026
This pull request corrects the plan for issue #2175 in place. The plan is the change folder `openspec/changes/2175-the-five-functions-and-properties-that/`. An evaluation of the staged plan (pull request #2983) found defects. The old tasks added a test for each deleted name. That test holds the name, so the `git grep` check of the same group could not pass. Such a test also pins a deleted name for ever, which issue #1871 removed as a pattern. The old spec delta had no use, because the change keeps all visible behavior. The corrected plan: - Adds no test and no spec delta, and sets `skip_specs: true`. - Quotes the `git grep` output on `origin/main` in Feasibility, with current line numbers. - Adds the dead code in `network.py` that only the deleted method used. - Names a verification command for each group, and merges five groups into four. - Records the decisions and the rejected alternatives in `design.md`. This pull request changes no code and no test. Plans #2175
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 #2175
Delete five dead-code definitions from src/. Each has no caller, no registering decorator, and no library override. The names are StreamingTokenProcessor.thinking_detected, LLMClient._get_ollama_semaphore, ThinkingStreamProcessor.unique_thinking, _validation_error_key, and Dashboard.grid_width. The issue confirms each is dead by git grep at b170358. Remove any exclusive import or constant with its definition. Remove any test that only calls a deleted name and name it in the pull request. This is the remainder of the dead-code audit of 2026-10-24. Issue #1910 deletes the other 17 names.
Change:
openspec/changes/2175-the-five-functions-and-properties-that/