flightline.yaml
The flightline.yaml file sits at the root of your repository and defines how Flightline interacts with your codebase. It is used to configure scanning paths, risk thresholds, and custom evaluation rubrics.
Initializing Configuration
You can automatically generate a starting configuration by running thescaffold command:
Configuration Structure
A typicalflightline.yaml includes the following sections:
Section Details
monitoring
This section controls how Flightline behaves in your CI/CD pipeline.
fail_on: Can be set tocritical,high,medium, orlow. Any failure at or above this tier will causeflightline checkto return a non-zero exit code.scan_paths: A list of directories thatflightline discoverwill look into.ignore: Standard glob patterns for files or directories that should be skipped.
operations
This section maps specific AI call sites in your code to their metadata. These are usually populated automatically by the scaffold or discover commands.
id: A unique identifier for the AI operation.risk_tier: The assigned risk level for this operation.custom_rubric: Path to a Markdown file defining specific qualitative standards for this operation.
Custom Rubrics
For qualitative Tier 2 checks, you can provide a Markdown file that defines the grading criteria. This allows you to tailor the Intelligence Layer’s reasoning to your specific brand voice or business logic.Ship-Readiness
See how these settings impact your ship-readiness scores.
