mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-09-30 22:26:38 +08:00
5971e2a9ed
The committed golangci gate now reports 0 issues, so the previous lint_issues metric was saturated and could no longer measure progress. Measure debt against an immutable .auto/lint.ref.yaml snapshot that adds analyzers for genuine defects (panics, error unwrapping, dead stores, missing enum cases, method ordering, suppression hygiene) while excluding cosmetic churn (tagliatelle, wrapcheck). Guard enforces build, vet, tests, the Cordis architecture gate, and anti-cheat floors: the yardstick cannot be edited, the project gate may only be strengthened, nolint directives may only shrink, and no test may disappear.
13 lines
420 B
Bash
13 lines
420 B
Bash
# Autoresearch baseline — captured at iteration #0 (2026-08-29).
|
|
# The Guard compares live values against these floors; the PRIMARY metric is debt.
|
|
BASE_DEBT=102
|
|
BASE_NOLINT=96
|
|
BASE_TESTS_PASSED=46
|
|
BASE_TEST_FUNCS=232
|
|
BASE_TEST_FILES=76
|
|
BASE_ARCH_VIOL=0
|
|
BASE_COVERAGE=34.09
|
|
|
|
# SHA-256 of the pinned yardstick config. Guard aborts if it changes.
|
|
REF_SHA=e881bda167bd688489f1356b7cd4056b8a6960f48b6778b095bdd2e44f627b82
|