Overview of Fast Track
mainFast Track is a TypeScript package designed for the Fast Track Bot. It consists of two main components:
- Guardrails: Logic that judges a Pull Request (PR) and produces a machine-readable
verdict.json. - Bot: An automated agent that acts on the guardrail verdict.
In a GitHub environment, the Fast Track Guardrails workflow judges non-draft PRs using a read-only token and uploads the verdict. The Fast Track Bot workflow then uses a short-lived App token to validate the artifact, maintain approval/status comments, and manage PR states.
Key behaviors:
- Opt-out: Add the
no-fast-tracklabel to a PR to defer to a human. - Security: The bot refuses fork PRs and revokes approval if a verdict is missing, invalid, or stale.
- Execution: The package runs via
tsx, meaning there is no build step or compiled artifact required.