Skip to content

ClAudit v2.12.0

Choose a tag to compare

@github-actions github-actions released this 27 Sep 02:44
· 232 commits to main since this release

Claude Code's own bug reports, sent for you and tied to ClAudit's. Claude Code 2.1.28x drafts a bug report itself when a safeguards block (or its own mistake) derails a session, stores it in ~/.claude/feedback/drafts/, and waits for "2 to send". Five sat queued on the reference machine, one of them about the classifier.

  • process_drafts() runs every 60 s in both watchers. For each queued draft: a safety-classifier draft becomes a ClAudit issue on GitHub first (or is appended to the issue already carrying one of its Request IDs), then the draft is POSTed to api.anthropic.com/api/claude_cli_feedback exactly as the send key does (same payload shape, the CLI's own OAuth login, no transcript) with every related ClAudit issue URL in its description, then the feedback id and draft id are written onto the GitHub issue. Model-behavior drafts go to Anthropic only. A sent draft is copied to ~/.claude/claudit/drafts-sent/ and the card clears.
  • gh_create() now mirrors every ClAudit report to the same feedback endpoint with its GitHub URL and edits the feedback id into the issue body, so each report exists in both channels with a pointer each way. feedback_mirror turns it off.
  • Mute terms stop a draft from going anywhere. Filing honors the live window; sending does not. CLAUDE_CODE_DISABLE_FEEDBACK=1 stops all sending.
  • CLI --drafts and --process-drafts; Settings group "Anthropic feedback channel" with send_drafts, file_drafts, feedback_mirror.
  • Tests: draft parsing and classification, the exact feedback payload and headers, the two-way tie (new issue, existing issue, model draft, idempotence), mute and stale handling, the mirror on create. 126 total.

Install: pip install "claudit-cc[gui] @ https://github.com/sworrl/ClAudit/archive/refs/tags/v2.12.0.tar.gz" or download the wheel below.