From 797ecbd5d540c58eee6c18b6020c8a70599d905c Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 26 Oct 2026 19:13:51 +0000 Subject: [PATCH] ci(dogfood): include .kyaml files in the dogfood gate's file scans #236 added the repo's first .kyaml file (the example attack profile), but the dogfood gate selected config files only by toml/yaml/yml/json. So the KYAML profile dropped out of the config inventory, the invisible-character (empty-linter) scan, and the VeriSimDB-integration probe, all of which covered its .yaml predecessor. Add *.kyaml to all three selectors. Raised by Codex review on #236. Checked: the edited inventory find now lists profiles/attack-profile.example.kyaml; actionlint v1.7.7 is clean on the workflow, as it was before. This file mirrors rsr-template-repo's dogfood-gate.yml; the same change belongs in the template so other repos pick it up. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01PFaqv6iBXrt3W5Akd1Fq5k --- .github/workflows/dogfood-gate.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/dogfood-gate.yml b/.github/workflows/dogfood-gate.yml index 241ab48..62a7c53 100644 --- a/.github/workflows/dogfood-gate.yml +++ b/.github/workflows/dogfood-gate.yml @@ -76,7 +76,7 @@ jobs: id: detect run: | COUNT=$(find . \( -name '*.k9' -o -name '*.k9.ncl' \) -not -path './.git/*' | wc -l) - CONFIG_COUNT=$(find . \( -name '*.toml' -o -name '*.yaml' -o -name '*.yml' -o -name '*.json' \) \ + CONFIG_COUNT=$(find . \( -name '*.toml' -o -name '*.yaml' -o -name '*.yml' -o -name '*.kyaml' -o -name '*.json' \) \ -not -path './.git/*' -not -path './node_modules/*' -not -path './.deno/*' \ -not -name 'package-lock.json' -not -name 'Cargo.lock' -not -name 'deno.lock' | wc -l) echo "k9_count=$COUNT" >> "$GITHUB_OUTPUT" @@ -133,7 +133,7 @@ jobs: -not -path '*/external_corpora/*' -not -path '*/.lake/*' \ -type f \( -name '*.rs' -o -name '*.ex' -o -name '*.exs' -o -name '*.res' \ -o -name '*.js' -o -name '*.ts' -o -name '*.json' -o -name '*.toml' \ - -o -name '*.yml' -o -name '*.yaml' -o -name '*.md' -o -name '*.adoc' \ + -o -name '*.yml' -o -name '*.yaml' -o -name '*.kyaml' -o -name '*.md' -o -name '*.adoc' \ -o -name '*.idr' -o -name '*.zig' -o -name '*.v' -o -name '*.jl' \ -o -name '*.gleam' -o -name '*.hs' -o -name '*.ml' -o -name '*.sh' \) \ -exec grep -aPrl "$PATTERNS" {} \; > /tmp/empty-lint-results.txt 2>/dev/null @@ -282,7 +282,7 @@ jobs: fi # VeriSimDB integration? - if grep -rl 'verisimdb\|VeriSimDB' --include='*.toml' --include='*.yaml' --include='*.yml' --include='*.json' --include='*.rs' --include='*.ex' . 2>/dev/null | head -1 | grep -q .; then + if grep -rl 'verisimdb\|VeriSimDB' --include='*.toml' --include='*.yaml' --include='*.yml' --include='*.kyaml' --include='*.json' --include='*.rs' --include='*.ex' . 2>/dev/null | head -1 | grep -q .; then SCORE=$((SCORE + 1)) VSDB_STATUS=":white_check_mark:" else