governance-reusable.yml — two jobs cannot fail, plus a redundant scanner
Surfaced by the nexia-list CI failure-path audit (2026-07-17). governance-reusable.yml is partly real — most of its jobs have genuine exit 1 paths (Check Workflow Staleness, Language/package anti-pattern, Security policy checks, Well-Known RFC 9116, Workflow security linter, Trusted-base, Licence consistency). These are fine and should be kept. But two jobs are theatre:
1. "Code quality + docs" — no path to non-zero
- trufflehog step:
continue-on-error: true
- editorconfig step:
continue-on-error: true
- everything else:
... | head -10 || true, || echo, ::warning::
Nothing in this job can make the check red. It reports success over any input.
2. "Guix primary / Nix fallback policy" — echo-only
Every branch echoes; the job terminates with echo "✅ Package policy check passed" and no exit 1. It cannot detect a policy violation.
3. Redundant secret scanner
This reusable's trufflehog overlaps secret-scanner-reusable (which, post-#500, is the real gitleaks gate). The secret-scanner reusable's own header even claims "Trufflehog removed as redundant" while governance still runs it — a self-contradiction across the same estate.
Task
Note: reusable changes are not self-tested in standards (callers pin a fixed SHA), so validate locally / in a consumer branch, not just by watching standards CI go green.
Refs: PR #500 (gitleaks real gate). Companion: the .gitleaks.toml allowlist follow-up.
governance-reusable.yml— two jobs cannot fail, plus a redundant scannerSurfaced by the nexia-list CI failure-path audit (2026-07-17).
governance-reusable.ymlis partly real — most of its jobs have genuineexit 1paths (Check Workflow Staleness, Language/package anti-pattern, Security policy checks, Well-Known RFC 9116, Workflow security linter, Trusted-base, Licence consistency). These are fine and should be kept. But two jobs are theatre:1. "Code quality + docs" — no path to non-zero
continue-on-error: truecontinue-on-error: true... | head -10 || true,|| echo,::warning::Nothing in this job can make the check red. It reports success over any input.
2. "Guix primary / Nix fallback policy" — echo-only
Every branch echoes; the job terminates with
echo "✅ Package policy check passed"and noexit 1. It cannot detect a policy violation.3. Redundant secret scanner
This reusable's trufflehog overlaps
secret-scanner-reusable(which, post-#500, is the real gitleaks gate). The secret-scanner reusable's own header even claims "Trufflehog removed as redundant" while governance still runs it — a self-contradiction across the same estate.Task
Note: reusable changes are not self-tested in
standards(callers pin a fixed SHA), so validate locally / in a consumer branch, not just by watchingstandardsCI go green.Refs: PR #500 (gitleaks real gate). Companion: the
.gitleaks.tomlallowlist follow-up.