Skip to content

0.2.0 · Reports you can act on, rules you can measure

Choose a tag to compare

@lintsure lintsure released this 08 Nov 00:02
· 147 commits to main since this release

Readiness check record

  • Every run produces a dated record: record id, date and time (UTC), tool and rules version, the branch and commit checked, and where it ran (CLI, MCP or CI).
  • It lists what applies and why (chosen on the command line, listed in lintsure.config.yaml, chosen in the agent, or checked by default).
  • It counts check points (one rule applied to one file), findings (Gaps), observations (Partials), accepted and fixed items, outside-code items, and open items by risk level.
  • A results-by-control table shows, for every control the rules cover, which rules ran, how many check points, the result and the items behind it.
  • Findings are numbered (F-001, F-002) and show their risk level. The record appears in the Markdown, JSON and HTML reports, and --save-record keeps a copy in .lintsure/records/ to build a dated history.
  • It is called a readiness record, not an audit, and it is a draft until a person reviews it. A test checks that audit-only terms never appear.

Reports

  • lintsure baseline saves today's findings to .lintsure/baseline.json. Every later report says what is new, fixed or unchanged.
  • Accept a finding after review in .lintsure/accepted.yaml, with a reason, a name, a date and an optional review date. Accepted findings stay in the report but don't fail CI; past the review date they count as open again.
  • Each finding has a fingerprint (a one-way hash of rule, file and line content), so moving code doesn't make old findings look new.
  • --sarif writes lintsure.sarif for GitHub code scanning; --github prints line annotations; --new-only fails only on new findings.
  • None of these files contain source code.

GitHub Action

  • Findings show on their lines in the pull request.
  • With a baseline, only new findings fail the job (new-only, on by default).
  • Optional SARIF output and an opt-in pull request comment that lists new findings, never code.

Rules and accuracy

  • New benchmark: labelled lines every rule must catch or must not flag. The build fails if any rule scores lower than before. Scores are on the docs Rules page.
  • Personal data in logs: only the log call's own arguments are checked, so other code on the same line no longer causes false alarms.
  • SQL built from strings: Gap when the inserted value looks like user input, Partial when it may be fixed text from your own code. Sentences such as "Select a plan from..." are no longer read as SQL.