Watch
0
0
Fork
You've already forked hyperhive
0
Commit graph hyperhive/.hyperhive/review-classifier.yml
Author SHA1 Message Date
argus
daea7a56be add classifier rule: no binary blobs
Fixes #5708. A negative rule on the repo's own review-classifier rules: binary
files and text that encodes them (base64, hex, PEM, byte arrays, data URIs)
are refused, test fixtures included. Hashes, lockfile pins, commit ids, short
tokens and text assets are not blobs.
2026-10-25 18:43:39 +01:00
atlas
bff13c8c68 review-classifier: docs-updated is not applicable when nothing operator-visible changes 2026-10-18 12:37:46 +02:00
atlas
111cd41c4c review classifier: tests-with-behaviour asks for tests of the logic, not of every line of glue 2026-10-14 18:51:45 +02:00
damocles
503c8c8b3c review-classifier: drop point-in-time justification tail per argus 2026-10-13 16:58:11 +02:00
damocles
f6d8dc9d66 review-classifier: narrow tests-with-behaviour to code behaviour, not nix/grafana/log-text 2026-10-13 16:58:11 +02:00
atlas
683b942f34 review classifier: docs-updated counts option descriptions, skips internal options
An option declared internal = true or visible = false is not shown to an
operator, so adding or changing one needs no documentation. A nix
option's own description renders into the generated options reference,
so for a change to that option's default, type or meaning an updated
description is its documentation, alongside docs/ and crate READMEs.

A change in what a service does for operators across hosts (what it
scrapes, serves or publishes) still needs a docs/ page or README, so a
description edit does not excuse it.
2026-10-13 12:58:59 +02:00
atlas
05ae9637cf review classifier: a test-only diff satisfies tests-with-behaviour
The rule asked for a test beside every behaviour change and had no
answer for a diff that is itself a test. On #5207, whose only file is the
module-eval fixture nix/module-eval/agent-queue-bao.nix, it answered
"no match" at certainty 78 and requested changes.

Name the test locations of this repo and make the question not
applicable when every changed file is one of them. A PR that changes
behaviour and tests together still matches, and a behaviour change with
no test still fails.
2026-10-13 12:50:39 +02:00
atlas
3b1de422c6 add review classifier rules for this repo
Eight classifications in .hyperhive/review-classifier.yml: no AI
advertising in commit messages, no committed secrets, no clippy
allow attributes, no debug leftovers, no dead code, tests with
behaviour changes, docs with operator-facing changes, one purpose per PR.

A swarm-controller test parses the real file so it can't rot, and the
rust source fileset in nix/rust.nix includes it so the test finds it
in the build sandbox.
2026-10-12 21:05:38 +02:00