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
[BUG] SECURITY.md and COMMIT_MESSAGE_STANDARD.md render without regard to DEVKIT_FEATURES_DISABLED / DEVKIT_REFS_POLICY #1910
Two managed files render text that contradicts the repo's own .vig-os:
SECURITY.md ("Security Practices") states "OpenSSF Scorecard runs weekly" and "CodeQL static analysis scans the project and GitHub Actions workflows", and ships an "OpenSSF Scorecard accepted findings" section. With the scanning group disabled (codeql.yml / scorecard.yml are not scaffolded) neither claim is true — a published security policy promising scans that do not exist.
docs/COMMIT_MESSAGE_STANDARD.md says the Refs: line is "Mandatory for most types", "At least one reference to a GitHub issue must be present", and the Exemptions section lists only chore. With DEVKIT_REFS_POLICY=optional (or DEVKIT_REFS_OPTIONAL_TYPES) the hook and CI validate-commit-range accept every type without Refs:, so the document describes a different policy than the one enforced. (It does say "This section documents the stock default", but the rest of the text is unconditional.)
Both files are copied verbatim, so the render ignores DEVKIT_FEATURES_DISABLED / DEVKIT_REFS_POLICY.
Why a consumer can't fix it durably
Neither file is in PRESERVE_FILES (assets/init-workspace.sh), so both are managed: the banner says "local edits are lost", install.sh --force rewrites them, and the ci.ymlScaffold Drift job (re-scaffold + git diff --cached) goes red on any local edit. The only seams are DEVKIT_UPGRADE_EXCLUDE (covers the devkit-upgrade workflow only, not manual --force and not the drift job) and DEVKIT_DRIFT_CHECK=false (switches off the whole gate).
Suggested fix
Render both files from the manifest: drop the scan lines/section from SECURITY.md when scanning is disabled, and make the Refs: wording/Exemptions section follow DEVKIT_REFS_POLICY / DEVKIT_REFS_OPTIONAL_TYPES (as is already done for the hook). Alternatively make them preserved-class, or let DEVKIT_UPGRADE_EXCLUDE also be honored by the drift job.
Activity
test(scaffold): cover managed documentation review regressions
fix(scaffold): align managed policies with optional features
fix(scaffold): correct commit-standard renders for none and custom types
fix(security): reconcile expired vulnix exceptions (#1912)
test(scaffold): cover manifest-aware managed documentation
fix(scaffold): render managed docs from manifest settings
test(scaffold): cover managed documentation review regressions
fix(scaffold): align managed policies with optional features
fix(scaffold): correct commit-standard renders for none and custom types
fix(scaffold): render managed docs from manifest settings (#1911)
fix(release): carry plan-limited promotion approval rules into hotfix (…
chore: release 1.19.0 (#2033)