Repository navigation
Templates stop advertising ML threat inference; pin the shipped surface (Part of #8430) - #9107
Merged
Merged
Conversation
…ce (Part of #8430) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
This was referenced Nov 23, 2026
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.
Part of #8430
What
Slices 1 and the doc slices of #8430 already merged (#8704, #8801, #8813, #8819, #8825, #8833, #8836). This PR clears the remaining live claims in the shipped surface.
templates/scan.yml,templates/gitlab/scan.yml: thefull_precisioninput description no longer says "ML Threat Inference"; it names the optional engines (tiktoken, pyyaml). The input stays..claude/rules/python-test-traps.md: dropped the deadXGBClassifierreal-model-test trap (the test is deleted).tests/core_engine/test_no_ml_claims_in_shipped_surface_8430.py: no shipped CI file (action, templates, repo-root pipelines, gitgalaxy.yml) names--fail-on-malware, "ML Malware Gate", "ML Threat Inference" or xgboost.Class
Every place the removed classifier is still described as live in the shipped surface. Siblings checked: action.yml (already clean), pipeline templates and root pipelines (clean), the two scan templates (fixed here).
Facts checked
git grep -i "xgboost|fail-on-malware|gitgalaxy_malware_xgb": only removed-notes, negative tests, ML-import detection patterns, and the blocked items below remain. Goldens carry noInference Ran/ai_threat/is_malwarekeys. Test run from /tmp passes (9 new + shipped pip pins);audit_check.pyall clear. No parsing code touched, so no golden bless. Not run: full suite, pr_gates (draft).Remaining slices / Sibling gaps
templates/requirements/full.inpinsgitgalaxy[full]==2.11.0andfull.txtstill hash-pins xgboost/scikit-learn/pandas. Needs a PyPI release newer than 2.11.0 (v2.12.0 tag is not on PyPI). In the same PR drop the xgboost ignore in.github/dependabot.yml:49,MULTIVERSION_PACKAGESxgboost intests/tools/pin_requirements.py:34,tests/core_engine/test_ci_install_pins.py:201,306.docs/wiki/agents/,docs/wiki/LLM-reports/) still say "XGBoost Threat Intelligence ... no malicious artifacts"; generated from scan output outside this repo, needs an owner call on the generator and wording.[ERROR] XGBoost model missingfilter intests/tools/doom_speedrun/doom_scorer.py:100/test_doom_speedrun.py:61.None is needed by a burned-estate program.
Lessons for agents
python tests/tools/stamp_template_pins.py --helpdoes not print help: it runs and rewritesGG_REFin the templates to--help. Revert withgit checkoutand never pass--help.Checklist: partial -- lockfile relock and generated wiki pages remain (see above)
🤖 Generated with Claude Code