Repository navigation
docs(openspec): fix plan #2747 refuse two probed keys - #3079
Merged
Merged
Conversation
… key The family pattern NPM_CONFIG_* refused the keys that devops install-tools sets, and it broke two tests. The plan now refuses PYTEST_ADDOPTS and npm_config_logs_dir, keeps npm_config_cache accepted with the reason, and holds the probe output, the test file of the file-write keys, and a spec delta that modifies the base requirements.
Owner
Author
Changes
Evaluation of PR #2870The evaluation findings were leads. I checked each one against origin/main. The fix stage confirmed the two probed keys. A script found no missing path in the plan. Point for the ownerThe refine acceptance criterion of the issue says to refuse the whole npm_config_* family. The plan does not do this, because it cannot be built without a code change. The issue body allows it: "or the design names each such key that it accepts and the reason". A stricter choice exists. Refuse npm_config_cache too, and change install_npm_tool to pass --cache as an argument. This adds a code change. The design rejected it. Verification
|
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.
This pull request corrects the plan for issue #2747. The Service staged the plan in pull request #2870.
The corrected plan makes the subprocess environment guard refuse two more keys: PYTEST_ADDOPTS and npm_config_logs_dir. Probes showed these keys. No caller sets them.
The plan keeps npm_config_cache and the rest of the npm_config_* family accepted. It now states the reason. The install_npm_tool function sets npm_config_cache, so a refusal would need a code change.
The change touches only the plan folder. It changes no code and no test.
Plans #2747