pub const GENERATION_RECORD: &str = ".ai/local/state/generation/check.json";
Where scripts/pages current — the generation check the pre-commit hook runs — records its last verdict, relative to the repository root.
scripts/pages current