Skip to content

Templates stop advertising ML threat inference; pin the shipped surface (Part of #8430) - #9107

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/8430-20261123T1215Z
Nov 23, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/8430-20261123T1215Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

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: the full_precision input 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 dead XGBClassifier real-model-test trap (the test is deleted).
  • New 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 no Inference Ran/ai_threat/is_malware keys. Test run from /tmp passes (9 new + shipped pip pins); audit_check.py all clear. No parsing code touched, so no golden bless. Not run: full suite, pr_gates (draft).

Remaining slices / Sibling gaps

  • Lockfile (core): templates/requirements/full.in pins gitgalaxy[full]==2.11.0 and full.txt still 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_PACKAGES xgboost in tests/tools/pin_requirements.py:34, tests/core_engine/test_ci_install_pins.py:201,306.
  • Generated wiki pages (~162 under 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.
  • Hygiene: [ERROR] XGBoost model missing filter in tests/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 --help does not print help: it runs and rewrites GG_REF in the templates to --help. Revert with git checkout and never pass --help.

Checklist: partial -- lockfile relock and generated wiki pages remain (see above)

🤖 Generated with Claude Code

@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 23, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 23, 2026 12:22
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 23, 2026 12:26
@squid-shepherd
squid-shepherd Bot merged commit c7f4a83 into main Nov 23, 2026
65 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/8430-20261123T1215Z branch November 23, 2026 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant