Scope CodeQL to smith's real languages and code paths (#27)
4d854d05ed52c575fd1b4e9a56e93f33d353eddd
Oliver Jan Krylow <oliver@bugabinga.net> ·
SSH signature · not checked
- Parent 1: b0c7ba9b5929
## What forced this Advanced-setup CodeQL ran on every push/PR and analyzed **Python** — which the repo doesn't contain (auto-detect error) — so a one-line markdown edit triggered a full multi-language scan of nothing. ## The call Drop Python; keep **Rust** (the product) and **Actions** (the ADW's own workflows — the real security surface). Path-filter the incremental triggers to `**/*.rs` + `.github/workflows/**` so docs/config PRs skip it, and exclude `prototypes/**` (disposable, SPEC §18) from the scan so findings track production source. The weekly schedule stays as the full backstop. ## What we deliberately didn't do Didn't add `javascript-typescript` yet — noted for when the Astro site lands under `site/`. Didn't disable CodeQL outright, since you chose advanced setup; `build-mode: none` means it needs no compilable workspace, so it's dormant-but-correct until production Rust exists. ## Evidence Matrix now `['actions', 'rust']`; trigger `paths` parse and expand via a YAML anchor. Safe to path-filter because CodeQL is not a required merge check — only `merge-gate` is. ## Surface touched `.github/workflows/codeql.yml` (triggers, language matrix, init config). ## If this ages badly Add languages/paths back as the codebase grows; the weekly scan is the net either way. --- _Generated by [Claude Code](https://claude.ai/code/session_01LABEHeVpg74oyZNtWLUWpB)_ --------- Co-authored-by: Claude <noreply@anthropic.com>