- All playbooks
- Agent PR volume
- Gate scheduled security scans on relevant input changes
Gate scheduled security scans on relevant input changes
Input gating avoids redundant scheduled analysis jobs without weakening relevant scans.
Company examples
How OpenClaw used this technique
Read what OpenClaw changed and follow the original sources.
Gate scheduled security scans on relevant input changes
Input gating avoids redundant scheduled analysis jobs without weakening relevant scans.
With seven categories sharing unchanged inputs and a valid baseline, run, job, and comparison requests each fall from seven to one, so 21 requests become three with identical decisions. Source
- Use it when
- Hourly security scans rerun on commits that changed only excluded tests, comments, or whitespace attribute rules.
- Before applying it
- Each category keeps its own last successful baseline, and unknown syntax, incomplete comparisons, or unavailable blobs all keep the scan. The exclusion logic has to track what CodeQL itself excludes.
Company Playbooks
- Read Anthropic’s playbookRun only affected tests
- Read DoorDash’s playbookRun build and test in parallel, sharded across CI agents
- Read Linear’s playbookBenchmark the same job on faster hardware
- Read Mastra’s playbookStarSling runners for the slowest test workflow
- Read OpenAI’s playbookRank CI fixes by the minutes they save
- Read Ramp’s playbookType-check with a native checker
- Read Shopify’s playbookLet an agent iterate against one CI metric
- Read Spotify’s playbookBuild arm64 on native arm64 runners
- Read Stripe’s playbookRun only the tests a change can reach
- Read Uber’s playbookBuild the merge-queue speculations most likely to be needed
- Read OpenClaw’s playbookSelect only the tests and proofs a change can affect