Skip to content

v3.17.0: one-window screen, --interactive reports, fix texts that resolve

Choose a tag to compare

@flamehaven01 flamehaven01 released this 19 Nov 12:03
· 16 commits to main since this release
pip install ai-slop-detector==3.17.0
npx ai-slop-detector@3.17.0 --project .

Summary

The default terminal screen is redrawn to fit one window, --interactive
lets you choose which report files to save, six fix texts now name only
changes that resolve their finding, and the AI work order shows both keys its
PROVE step compares. How scores are computed and the findings are unchanged.
Every change is listed in the Changelog.

What moves when you upgrade

  • The terminal summary is a panel: the score, its band and a meter,
    findings per severity and files per language, then Fix first (at most 5)
    and To review (not scored) (at most 3), one line per item, and one Next
    step. --details, --quiet, JSON and the report files are unchanged; a
    script that read the summary's text should read --quiet or JSON.
  • Progress is a box that names the phase and disappears when the scan
    ends; nothing is drawn when stderr is not a terminal. A console that cannot
    draw the box characters, or a Windows console without VT processing on an
    East Asian code page, gets it in ASCII.
  • --interactive asks, after the summary, which reports to save
    ([1] HTML [2] Markdown [3] AI work order [4] JSON); it never asks
    without the option or without a terminal, and refuses options that already
    decide the output, CI options and --read-only.
  • Six fix texts changed (empty_except, the optional import guard,
    return_none_placeholder, todo_comment, the two lint_escape
    suppressions, placeholder_variable_naming): each offered a change the
    detector does not accept (a comment, a docstring, a ticket number, a
    narrower # noqa, a setting that does not exist for the rule). Only the
    suggestion / fix text changes; findings, scores and the rest of the
    JSON are byte-identical. The analysis cache is analysis-cache-v54: the
    first scan after upgrading analyzes each file again.
  • The AI work order shows each item's cause_key next to its
    semantic_key.
  • review and --gate say what their verdict judged (per file: 0 failed, 2 warned of 129 files; a HALT recommends only the conditions that
    failed). The --gate JSON's recommendation changes the same way.
  • The MCP server is no longer recommended: it frames messages with a
    Content-Length header, while the MCP specification's stdio transport is
    newline-delimited JSON, so a client that follows the specification gets no
    reply. Use the CLI JSON or the Claude Code skill; a server on the official
    MCP SDK is planned for 3.19.0 (see the erratum below).
  • The VS Code extension is 3.17.0: it bundles the 3.17.0 npm wrapper and
    runs the Python package of its configured interpreter; its own behavior is
    unchanged.

Known limitations

  • Python dependency evidence. phantom_import (CRITICAL) and
    phantom_member (HIGH) can report imports that are correct. Some packages
    expose import names different from their distribution names (for example
    Pillow is imported as PIL); where dependencies are not installed, such
    imports may be classified as phantom_import although they are declared.
    phantom_member may inspect a different installed distribution that exposes
    the same import name. The verdict can also change with the environment the
    analyzer runs in. Do not declare or install a package on the strength of
    these findings alone
    : check the declared dependencies and which
    distribution provides the import first. The design of the correction is in
    docs/IMPORT_PROVIDER_RESOLUTION.md on main;
    it is planned for v3.18.0.

Documentation erratum

  • The README, guides and skill files of this release say that a server on the
    official MCP SDK is planned for 3.18. That plan changed: v3.18.0 is about
    import provider resolution (above), and the new MCP server is planned for
    v3.19.0. The documents on main are corrected separately; this tag is not
    changed.