Conversation
…n-reporting import - Set GH_AW_MODEL_DETECTION_CLAUDE default to claude-haiku-4-5-20251001 in lock file (was empty string, causing fallback to Sonnet when repo var unset — ~73% cost savings) - Remove shared/version-reporting.md import from secret-digger-claude.md (~120 token savings) - Recompile all lock files via gh aw compile + postprocess script Agent-Logs-Url: https://github.com/github/gh-aw-firewall/sessions/e49af1c2-1b78-4f62-b8cf-8b4da06508e8 Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
This PR reduces secret-digger-claude threat-detection cost and prompt size by defaulting the detection model to Haiku when the repo variable is unset, and by removing version-reporting prompt content. It also includes a repo-wide refresh of generated workflow lock files (including scattered cron schedule updates) from recompilation.
Changes:
- Default
GH_AW_MODEL_DETECTION_CLAUDEtoclaude-haiku-4-5-20251001in the compiledsecret-digger-claudeworkflow to avoid the implicit expensive-model fallback when the repo variable is unset. - Remove the
shared/version-reporting.mdimport fromsecret-digger-claude.md(and corresponding compiled prompt assembly). - Recompile/update generated workflow artifacts (
*.lock.yml) and the generated maintenance workflow content.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/test-coverage-improver.lock.yml | Recompiled lock file; updates scattered weekly cron time. |
| .github/workflows/smoke-services.lock.yml | Recompiled lock file; updates scattered cron minute for 12-hour schedule. |
| .github/workflows/smoke-copilot.lock.yml | Recompiled lock file; updates scattered cron minute for 12-hour schedule. |
| .github/workflows/smoke-codex.lock.yml | Recompiled lock file; updates scattered cron minute for 12-hour schedule. |
| .github/workflows/smoke-claude.lock.yml | Recompiled lock file; updates scattered cron minute for 12-hour schedule. |
| .github/workflows/security-review.lock.yml | Recompiled lock file; updates scattered daily cron minute. |
| .github/workflows/secret-digger-claude.md | Removes shared/version-reporting.md import to reduce prompt tokens. |
| .github/workflows/secret-digger-claude.lock.yml | Removes version-reporting runtime import and defaults detection model to Haiku in env fallback. |
| .github/workflows/pelis-agent-factory-advisor.lock.yml | Recompiled lock file; updates scattered daily cron time. |
| .github/workflows/issue-monster.lock.yml | Recompiled lock file; updates scattered hourly cron minute. |
| .github/workflows/firewall-issue-dispatcher.lock.yml | Recompiled lock file; updates scattered 6-hour cron minute. |
| .github/workflows/doc-maintainer.lock.yml | Recompiled lock file; updates scattered daily cron time. |
| .github/workflows/dependency-security-monitor.lock.yml | Recompiled lock file; updates scattered daily cron time. |
| .github/workflows/copilot-token-usage-analyzer.lock.yml | Recompiled lock file; updates scattered daily cron time. |
| .github/workflows/cli-flag-consistency-checker.lock.yml | Recompiled lock file; updates scattered weekly cron time. |
| .github/workflows/claude-token-usage-analyzer.lock.yml | Recompiled lock file; updates scattered daily cron time. |
| .github/workflows/ci-cd-gaps-assessment.lock.yml | Recompiled lock file; updates scattered daily cron time. |
| .github/workflows/agentics-maintenance.yml | Generated maintenance workflow updated (tooling/action versions + workflow_dispatch input now a choice list). |
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 18/18 changed files
- Comments generated: 1
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
✅ Coverage Check PassedOverall Coverage
📁 Per-file Coverage Changes (1 files)
Coverage comparison generated by |
Smoke Test Results
Overall: PASS
|
🔥 Smoke Test Results — PASS
Overall: PASS · PR: "optimize(secret-digger-claude): default threat detection to Haiku, drop version-reporting import" · Author:
|
This comment has been minimized.
This comment has been minimized.
|
🔮 The ancient spirits stir: this smoke-test agent has passed through these halls, and where tools were veiled, it marked the omens plainly.
|
Smoke Test: GitHub Actions Services Connectivity
All checks passed. (
|
🏗️ Build Test Suite Results
Overall: 8/8 ecosystems passed — ✅ PASS
|
The
secret-digger-claudethreat detection step was defaulting to Sonnet (claude-sonnet-4-6) becausevars.GH_AW_MODEL_DETECTION_CLAUDEwas unset, making 2 of 3 API calls use the expensive model. Projected cost: ~$0.51/run → ~$0.14/run (−73%).Changes
secret-digger-claude.lock.yml— change detection model fallback from''to'claude-haiku-4-5-20251001':The repo variable still takes precedence when set; this just eliminates the silent Sonnet fallback.
secret-digger-claude.md— removeshared/version-reporting.mdimport; version metadata adds no investigative value in a security scan (~120 token savings per run).All
*.lock.yml— recompiled viagh aw compile+ post-processing script after the.mdchange.