Skip to content

v0.14.2

Latest

Choose a tag to compare

@brentvatne brentvatne released this 21 Aug 20:18
· 3 commits to main since this release

Inline PR comments for in-diff findings

Findings anchored to a line in the PR diff are posted as inline review comments on that line, carrying the full rationale, sources, and suggestion. The main review comment still lists every finding, but an inlined one renders short — title, links, category, id, and a one-line rationale — with a link to its thread. The main comment stays the single durable state store: /dismiss, embedded state, and reply adjudication are unchanged.

Enable via the new root-only config block:

"inline": {
  "enabled": true,   // off by default
  "maxComments": 20  // per PR (single mode) / per scope (per-scope mode)
}

Details:

  • Threads converge in place across re-reviews (per-finding marker + author identity); the cap is sticky, so a live thread is never evicted to create a new one.
  • A retired thread with human replies is stubbed with neutral text, never deleted; bare ones are removed.
  • Teardown only runs when the target set is provably complete — failed runs, --scopes partial runs, and truncated aggregate state are additive-only.
  • Replies on inline threads count as author feedback for their finding; clearing still requires the unquoted id: token.
  • Creates verify the live PR head, mutations run sequentially, secondary rate limits abort the sync, and every sync writes a step-summary audit line.

Full design + adversarial review record: PLAN-inline-comments.md.