Code Hawk documentation
Code Hawk is a GitHub App and a set of reusable workflows and actions. You choose the jobs to enable in your repositories and provide their runner, model credentials, and test environment.
The five jobs
Section titled “The five jobs”| Job | Runs on | Result |
|---|---|---|
| PR scan | pull_request |
Static analysis, secret detection, workflow checks, and newly introduced dependency vulnerabilities. No model calls. |
| PR review | pull_request |
Line comments for concrete issues and one current summary, using bounded immutable-base context, optional same-owner related context and current trusted review decisions. Replies have their own caller events. |
| Weekly review | A schedule or manual dispatch | One repository area reviewed for security faults and bugs. A different model confirms findings before issues are filed. |
| Verified fixes | Labelled issues, manual dispatch or a trusted request on a pull request | Draft changes with a test that fails before the change and passes after it. Requested fixes never update or merge contributor code. |
| Browser flows | A PR with the caller's opt-in label | A report for flows run against a seeded app, with private links to the video and final screenshot. |
Models and isolation
Section titled “Models and isolation”Model jobs read provider, model, endpoint, credential selection and optional caps from settings on the default branch. They connect directly to OpenAI, Anthropic, or Google, to an approved OpenAI-compatible endpoint, or through an optional Cloudflare AI Gateway. The legacy caller inference document overrides file routes for one release. Retries and fallbacks share one spend ledger. Every model job is uncapped unless a cap is set. Protect caller workflows as described in the trust model.
Repository-controlled installation, application startup, setup, tests, and module loading run in secret-free containers with private PID namespaces. Browser flows need a trusted digest-pinned application image, and verified fixes need a trusted digest-pinned test image.
Where to start
Section titled “Where to start”Follow the three-step quick start to install the App, merge the setup pull request and add one key. Check the trust model before running an app or model-written test, and see cost controls to set your model budget.