You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add a File-Naming Audit Check and Secret-Stem Casing #3141
Depends on #3140, which states the rule this check measures.
Problem
The audit does not check file names. The runtime-secrets check confirms that a .secrets/ directory exists, that each secret has a .example file, and that the README catalogs it. It never checks the stem's casing, so a repository whose secret files mix db-root-password and mail_relay.env passes.
Work
Add a file-naming check to AUDIT.md with a matching spec/ entry. It is mechanical where a per-extension pattern plus the exemption list decides it: .py snake_case, .sh, .ps1, .cmd, and .bat lowercase-hyphenated, an extensionless executable with a shebang lowercase-hyphenated, and the wrapper and externally fixed exemptions from State the Fleet Standard for Script and Utility File Names #3140. A file the patterns cannot decide is reported for judgment rather than failed.
Extend runtime-secrets to check that each secret file stem is lowercase snake_case.
Cover both checks with tests, using constructed trees that carry each conforming and failing shape.
#3219 renames the carried hook helper to hub_fetch_run.py. Carriers that copied it earlier still hold hub-fetch-run.py, and nothing mechanical carries the helper, so this check is the one that will report a carrier left on the hyphenated name or holding both. The two-name sets in spec/audit.py (CARRIED_PYTHON_HELPERS) and the python-directories action (CARRIED_HELPERS) keep the former name only for Python-type discovery, so this check should not reuse them as a naming exemption.
Activity
ptr727 commentedon Oct 19, 2026
#3219 renames the carried hook helper to
hub_fetch_run.py. Carriers that copied it earlier still holdhub-fetch-run.py, and nothing mechanical carries the helper, so this check is the one that will report a carrier left on the hyphenated name or holding both. The two-name sets inspec/audit.py(CARRIED_PYTHON_HELPERS) and the python-directories action (CARRIED_HELPERS) keep the former name only for Python-type discovery, so this check should not reuse them as a naming exemption.Rename the Carried hub-fetch-run.py Snippet to hub_fetch_run.py (#3219)
Add a File-Naming Audit Check and Check Secret-File Stem Casing (#3253)