Repository navigation
Harness Score v1.12.2
Improve detection of lockfiles, Git hooks, formatter configs, and agent instructions.
What changed
Fixes and improvements
-
CI-04 now recognizes every main config name lefthook reads:
lefthookor.lefthookwith a.yml,.yaml,.toml,.jsonor.jsoncextension at the root, and the undottedlefthook.<ext>names in.config/. Before, onlylefthook.ymland.lefthook.ymlcounted. The evidence now names the file that was found. -
CTX-02 no longer counts
#comment lines inside code blocks as headings. An AGENTS.md with no real headings but a fenced shell snippet such as# installused to pass the "≥2 headings" bar. Headings are now read with the same Markdown scanner the reference check uses, so code blocks, HTML comments and frontmatter are skipped, and setext headings (a line underlined with===or---) also count. -
HYG-07 now accepts
pdm.lockandpylock.toml(the PEP 751 standard lockfile) for Python projects, andnpm-shrinkwrap.jsonfor Node projects. Before, a project locked with one of these failed with "Manifest present but no lockfile". npm v12 no longer readsnpm-shrinkwrap.json, so it only locks installs on npm 11 and earlier; the check catalog notes this. -
SNS-04 now recognizes every config file name Prettier documents, including
.prettierrc.json5,.prettierrc.mjsand the TypeScript forms (.prettierrc.ts,prettier.config.mts, and so on). Before, these only passed whenprettierwas also listed in the rootpackage.json, which misses monorepo packages and non-Node repos.
Install or upgrade
npx --yes harness-scoreFor GitHub Actions:
- uses: paladini/harness-score@v1Published artifacts
- npm:
harness-score@1.12.2 - JSR:
@paladini/harness-score@1.12.2 - GitHub Action:
paladini/harness-score@v1 - GitHub Packages:
@paladini/harness-score@1.12.2
Contributors
- Thanks to @JYunth for helping improve Harness Score.