molecule-ai-workspace-runtime/molecule_runtime/scripts
Hongming Wang 2d514612a2 fix(pre-commit): align SECRET_PATTERNS with molecule-core canonical (add sk-cp-)
The bundled pre-commit hook is the runtime-side mirror of
molecule-core's canonical .github/workflows/secret-scan.yml SECRET_PATTERNS
array. They drifted: canonical added the MiniMax sk-cp- pattern
(F1088 vector — caught only after the fact) but this side wasn't
updated. Result: a workspace developer's local pre-commit would let
through a sk-cp- token that the org-wide CI scan would then refuse —
useless friction.

This brings the two sides back into byte-aligned-on-the-pattern-list
state. The drift is exactly the maintenance gap that task #139's
upcoming molecule-core CI lint is designed to surface automatically;
this PR clears the gap so the lint passes from day 1.

Refs: task #139.
2026-04-28 15:21:13 -07:00
..
molecule-gh-token-refresh.sh feat: ship GitHub credential-helper inline in runtime (fixes #1933 class) 2026-04-24 00:41:32 -07:00
molecule-git-token-helper.sh feat: ship GitHub credential-helper inline in runtime (fixes #1933 class) 2026-04-24 00:41:32 -07:00
pre-commit-checks.sh fix(pre-commit): align SECRET_PATTERNS with molecule-core canonical (add sk-cp-) 2026-04-28 15:21:13 -07:00