mirror of
https://github.com/gadgethd/ukmesh.git
synced 2026-12-06 03:14:09 +00:00
* 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>
14 lines
557 B
YAML
14 lines
557 B
YAML
# Fleet pattern checks (hcheck). See docs/quality.md.
|
|
#
|
|
# Covers failure modes the repo's own lint/test CI does not: swallowed
|
|
# exceptions, unbounded sleep polling, shell interpolation, os.system/pkill,
|
|
# untracked TODOs, missing network timeouts, unsafe shell patterns.
|
|
repos:
|
|
- repo: local
|
|
hooks:
|
|
- id: hcheck
|
|
name: hcheck fleet rules
|
|
entry: bash -c 'H="${HCHECK:-$HOME/harness/.venv/bin/hcheck}"; if [ ! -x "$H" ]; then echo "hcheck missing"; exit 1; fi; exec "$H" run'
|
|
language: system
|
|
pass_filenames: false
|