Skip to content

docs(openspec): fix plan #2116 use the real test file - #3014

Merged
dan-petty merged 2 commits into
mainfrom
docs/2116-fix-plan
Nov 1, 2026
Merged

dan-petty merged 2 commits into
mainfrom
docs/2116-fix-plan

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

This change corrects the plan for #2116 in place. The first plan, staged in #2977, named a test path that is not on main. Its spec delta, its meta-test and its verify commands were wrong.

The corrected plan names the real file, tests/security/test_scanner_tool_executor.py. It replaces the shutil.which patch with executable stand-in files on PATH, the same way as scanner_fake. It drops the spec delta and sets skip_specs, because the change touches only a test fixture. Its verify commands now run on main.

The change touches only the plan folder. It changes no code and no test.

Plans #2116

@dan-petty dan-petty added type/docs Type docs: a change to the documents scope/openspec OpenSpec changes, specs and their checks labels Nov 1, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Changes to the plan

  • proposal.md, design.md and tasks.md now name the real file, tests/security/test_scanner_tool_executor.py.
  • The fixture scanners_installed writes executable stand-in files on PATH. It no longer patches shutil.which (line 85 on main).
  • The spec delta specs/review-tool-runs/spec.md is deleted. .openspec.yaml sets skip_specs: true.
  • The verify commands now run on main: git grep for shutil|subprocess, and uv run devops ci test on the file.

Evaluation findings (PR #2977)

  • Confirmed: the old plan named a path that is not on main.
  • Confirmed: the spec delta, the meta-test and the verify commands were wrong.
  • Confirmed: the premise is true. The fixture patches shutil.which and nothing newer removed it.
  • No finding was left unconfirmed.

Verification

  • openspec validate --strict: pass.
  • uv run devops openspec check: pass.
  • tests/invariants/test_change_folders.py: 16 passed.
  • A path script found every cited path on origin/main.
  • origin/main merged into the branch before the first push. No conflict.

Follow-ups (not in this PR)

  • The second copy of the fixture, in tests/security/test_review_tool_runs.py (line 75), has no open issue. The plan lists it under "Workflow follow-up".
  • docs/TESTING.md line 191 still cites stale test paths.

@dan-petty
dan-petty marked this pull request as ready for review November 1, 2026 12:16
@dan-petty
dan-petty merged commit 3aef108 into main Nov 1, 2026
19 checks passed
@dan-petty
dan-petty deleted the docs/2116-fix-plan branch November 1, 2026 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/openspec OpenSpec changes, specs and their checks type/docs Type docs: a change to the documents

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant