Skip to content

docs(benchmarks): corpus-growth runbook + eval README pin corrections #435

docs(benchmarks): corpus-growth runbook + eval README pin corrections

docs(benchmarks): corpus-growth runbook + eval README pin corrections #435

Workflow file for this run

# Server-side mirror of the pre-commit gate. Husky's `--no-verify` is bypassable
# (research-auto-foldering.md §2), so every load-bearing gate runs here too — structure governance
# included. A push that skipped the local hook still fails on the server.
name: gate
on:
push:
branches: [main]
pull_request:
jobs:
gate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install
run: bun install --frozen-lockfile
- name: Lint (Biome)
run: bun run lint
- name: Structure governance (folder-structure)
run: bun run lint:structure
- name: Ratchet — folder fan-out
run: node gate-engine/ratchets/folder-fanout.mts gate
- name: Ratchet — size-disable
run: node gate-engine/ratchets/size-disable.mts gate
- name: Typecheck
run: bun run typecheck
- name: Benchmark tracker typecheck
run: bun run benchmarks:typecheck
- name: Benchmark evidence (committed tree + append-only base)
env:
BENCHMARK_BASE: ${{ github.event.pull_request.base.sha || github.event.before }}
run: bun run benchmarks:check -- --mode tree --tree HEAD --base "$BENCHMARK_BASE"
- name: Tests
run: bun run test:run