Files
ukmesh/verify.toml
hermes-gadgetandhermes 9e0b01b5f4 chore(quality): land the fleet quality floor (hcheck + verify.toml + quality.sh) (#252)
* chore(quality): add fleet pattern checks (hcheck)

Commit-time check for failure modes the existing CI lint/type/test jobs do
not cover. Legacy violations, where present, are recorded in
.hcheck-baseline.json; new ones fail.

* chore(quality): refresh hcheck baseline after rule refinements

Rules now exempt bounded retries, steady-state pollers and loops with an exit
path, and report a joined shell command at the line it starts.

* chore(quality): staged floor with a real test check (F7)

No verify.toml meant no completion evidence at all. Required: the
no-infrastructure test subset (Mosquitto reloader + CI retry helper, 12 tests).
lint and hcheck run advisory: this repo has no ruff config (364 findings on
defaults) and no hcheck baseline, so requiring them would certify nothing.
The excluded GDAL/Postgres/Redis suites are named in scripts/test.sh.

* chore(quality): declare the default task and refresh the floor script

* chore(quality): refresh the floor script (quoting, vacuous-scope, hcheck)

* chore(quality): incremental lint says when it has nothing to check

---------

Co-authored-by: hermes <hermes@local>
2026-11-18 01:26:50 +00:00

36 lines
1.1 KiB
TOML

# verify.toml — evidence-backed completion for this repository.
#
# Only `test` is required, and that is a deliberate, documented decision:
#
# * lint: this repository has no ruff configuration and 364 findings under
# ruff's defaults, so requiring it would fail on day one for reasons that
# have nothing to do with the change being verified. It runs as an advisory
# check (required = false) and is reported either way.
# * patterns (hcheck): not baselined here yet; also advisory.
# * test: the no-infrastructure subset (Mosquitto reloader + CI retry helper).
# The GDAL/Postgres/Redis suites need the compose environment and are named
# in scripts/test.sh rather than silently skipped.
#
# Tightening this file is the next step once lint/patterns are baselined.
[verify]
default_task = "quality-floor"
required = ["test"]
[[check]]
name = "test"
cmd = ["bash", "scripts/quality.sh", "--test-only"]
timeout = 600
[[check]]
name = "lint"
cmd = ["bash", "scripts/quality.sh", "--lint-only"]
timeout = 180
required = false
[[check]]
name = "patterns"
cmd = ["bash", "scripts/quality.sh", "--patterns-only"]
timeout = 300
required = false