Skip to content

v0.3.11

Know the policy, guard the agent

Concentric rings around a bright centre, like a guard around the agent

Every report now names the exact policy it ran under with a short code, so two scans can be compared at a glance. Seven new checks look at what coding agents are told and allowed to do, at env files, at sign-in routes and at AI agent loops. Findings in JavaScript and TypeScript now say which route reaches them, Partial findings say what Lintsure couldn't see, and new commands set Lintsure up in your coding agents and check that it's ready.

New checks

Clearer findings

  • A policy code in every report (Markdown, JSON, SARIF and the terminal): same rules and settings, same code on any machine
  • Findings in JavaScript and TypeScript say which route, handler or function reaches the file, with the chain of imports
  • Every Partial finding says what Lintsure couldn't see, so you know what to check
  • Where the fix is unambiguous, the finding carries the exact change, shown as a diff and offered to editors through SARIF. You approve it; Lintsure never writes it
  • Three checks link to a real public incident of the same kind of problem
  • AI checks now recognise the Vercel AI SDK (images, speech, video, agents), and the analytics and public-key checks know Vercel's own libraries

Setup and tools

  • lintsure setup adds Lintsure to the coding agents a project uses, showing the change first; --undo takes it out again
  • lintsure status checks Node, your settings and agents, and talks to the MCP server to confirm it answers
  • plan_checks: describe a feature to your agent before building it, and see which checks it is likely to meet
  • lintsure export --otlp-json writes guard catches and scans as an OpenTelemetry file for your own tools. Nothing is sent
  • The npm package now includes the rules and framework docs, so agents can read them offline

Fewer false alarms

  • A formatter splitting a line over several lines no longer causes false alarms in the code-from-a-string check
  • An error message inside an AI prompt no longer counts as user text, and saving a chat in onFinish counts as keeping a record

Full technical notes on GitHub ↗

All releases