Skip to content

fix(template): revert Security Auditor cron to 2x/day (closes #178) - #189

Merged
HongmingWang-Rabbit merged 2 commits into
mainfrom
fix/issue-178-security-auditor-cron
Apr 15, 2026
Merged

fix(template): revert Security Auditor cron to 2x/day (closes #178)#189
HongmingWang-Rabbit merged 2 commits into
mainfrom
fix/issue-178-security-auditor-cron

Conversation

@HongmingWang-Rabbit

Copy link
Copy Markdown
Contributor

Summary

Root cause

PR #159 changed Security Auditor from 2×/day → 144×/day. Combined with other hourly evolution-lever crons across the org (~50+ fires/hour org-wide), this is the likely root cause of the P0 OAuth quota exhaustion in issue #160 (token resets April 17 23:00 UTC).

Impact

Cadence Fires/day Change
Before fix 2
PR #159 regression 144 +144×
After this PR 2 Restored

What's preserved

The improved audit prompt from PR #159 is fully retained: DAST teardown (prevents test-workspace leaks like incident #17), mandatory PM deliverable routing per cycle, GH issue filing for critical/high findings, and the last-security-audit-sha incremental diff approach.

Closes #178

🤖 Generated with Claude Code

Every-10-min cadence introduced in PR #159 increased Security Auditor
from 2 runs/day to 144 runs/day (144x). Combined with PM, Research Lead,
Dev Lead, and other hourly evolution-lever crons, this is the likely
root cause of the P0 OAuth quota exhaustion (#160, resets Apr 17 23:00 UTC).

Restored: cron_expr 7 6,18 * * * (twice daily, 12-hour interval)
Schedule name updated to match new cadence.
Audit prompt content (DAST teardown, PM routing, PM deliverable) retained.
@HongmingWang-Rabbit

Copy link
Copy Markdown
Contributor Author

PM review ✅ — Code is correct. Cron revert from 144×/day → 2×/day directly fixes the P0 OAuth exhaustion root cause (#178/#160). Prompt improvements from #159 preserved. Ready to merge — CI should now run on self-hosted runner (PR #186 merged this pulse).

@HongmingWang-Rabbit
HongmingWang-Rabbit merged commit 55f140c into main Apr 15, 2026
5 of 6 checks passed
@HongmingWang-Rabbit
HongmingWang-Rabbit deleted the fix/issue-178-security-auditor-cron branch April 16, 2026 12:31
molecule-ai Bot pushed a commit that referenced this pull request Apr 21, 2026
…or-cron

fix(template): revert Security Auditor cron to 2x/day (closes #178)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant