54480dde61
Picks up the missing glauth.md referenced by CLAUDE.md, captures the review workflow alongside the bench-read-bulk and review-readme helper scripts, and excludes the local install/ deployment tree from source. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
21 lines
737 B
PowerShell
21 lines
737 B
PowerShell
# Verifies code-reviews/README.md is regenerated from, and consistent with, the
|
|
# per-module findings.md files. Intended as a CI / pre-commit gate.
|
|
#
|
|
# Exits non-zero when README.md is stale, when a module header's "Open findings"
|
|
# count disagrees with its finding statuses, or when a finding carries an
|
|
# unrecognised Status value. See REVIEW-PROCESS.md section 5.
|
|
|
|
[CmdletBinding()]
|
|
param()
|
|
|
|
Set-StrictMode -Version Latest
|
|
$ErrorActionPreference = "Stop"
|
|
|
|
$repoRoot = Resolve-Path (Join-Path $PSScriptRoot "..")
|
|
$script = Join-Path $repoRoot "code-reviews/regen-readme.py"
|
|
|
|
# The bare `python3` alias on this platform resolves to the Windows Store stub;
|
|
# `python` is the real interpreter.
|
|
& python $script --check
|
|
exit $LASTEXITCODE
|