Skip to content

docs(openspec): plan #2175 delete five dead definitions from src - #2983

Merged
dan-petty merged 1 commit into
mainfrom
refactor/2175-the-five-functions-and-properties-that
Nov 1, 2026
Merged

dan-petty merged 1 commit into
mainfrom
refactor/2175-the-five-functions-and-properties-that

Conversation

@devops-cli-service

Copy link
Copy Markdown
Contributor

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/

@devops-cli-service
devops-cli-service Bot marked this pull request as ready for review November 1, 2026 06:32
@dan-petty
dan-petty merged commit 1969ab0 into main Nov 1, 2026
18 checks passed
@dan-petty
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant