Security hardening + evidence-based standards across portfolio templates#12
Merged
Conversation
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Two related threads, applied to this repo and standardized in the portfolio templates/spec/skill so every repo inherits them:
1. GitHub security baseline (supply-chain + code scanning)
codeql.yml, exactly three triggers (PR→main, weekly schedule,v*release tag — scans the released SHA), tailored matrix (repo languages ∩ CodeQL-supported-at-runtime), SHA-pinned, public-visibility gated.ci.ymlsecurityjob (fail-on-severity: high), omitted where a native vuln-gate already covers deps.2. Evidence-based framing + tight Makefiles
[EVIDENCE](spec) / "Why — Run the Data" (README) / evidence pointer (AGENTS.md) — each standard is now mapped to the research that justifies it: AI writes less secure code with false confidence (Stanford CCS 2023), individual speed ≠ delivery gains (DORA 2024), ~8× duplication (GitClear 2025), coverage ≠ verification (Google mutation testing), noisy analysis gets switched off (Google static analysis), self-report is unreliable (METR 2025). Pushes data-driven AI decisions + security best practice. Full playbook: https://www.nimblesite.co/ai-strategy/.[MAKE-TIGHT](spec + template) — anti-bloat rule: the standard 7 are a vocabulary not a quota; keep the public surface tight; non-standard targets are private (_-prefixed) by default; no dead targets.Test plan
make lint— clean (validates Playwright config).dotnet fsi dashboard/test-report.fsx) — 175/175 passed.[GITHUB-*],[TEST-RULES],[CI-DESLOP],[MARKER-CLEANUP],[MAKE-TIGHT]) resolve.🤖 Generated with Claude Code