feat(autofix-hooks): adopt content-mutation disclosure across remaining autofix hooks - #2555
Conversation
Add contract tests and #1596 rationale comments across the remaining autofix hooks. Disclosure behavior was already landed per-plugin; this PR locks it with tests where missing and documents the structural-layout rationale in hook comments. Bump versions and CHANGELOG entries for touched plugins. Co-authored-by: Kyle Sexton <kyle-sexton@users.noreply.github.com>
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
|
Claude encountered an error after 1s —— View job I'll analyze this and get back to you. |
|
Warning Automated review did not complete — this is an infrastructure failure, not a review verdict. Treat any Claude comment on this PR (including a placeholder like "I'll analyze this and get back to you") as incomplete, not "no findings."
Re-run the job, or workflow_dispatch this workflow with the PR number, to retry the review. A new push re-triggers this lane only if the caller's |
|
Claude encountered an error after 0s —— View job I'll analyze this and get back to you. |
|
Warning Automated security review did not complete — this is an infrastructure failure, not a review verdict. Treat any Claude comment on this PR (including a placeholder like "I'll analyze this and get back to you") as incomplete, not "no findings."
The check is green on purpose, and it is not evidence. It certifies that a security pass ran, and this one did not complete — but the cause is outside this PR's control, so merging is deliberately left unblocked rather than locking every merge for the length of the outage. Nothing was reviewed at this head. Where this check is required, it is satisfied without that evidence; a human should review security-sensitive changes here before merging. Re-run the job, or workflow_dispatch this workflow with the PR number, to retry the review (ci-workflows#227). A new push also retries it only if the caller's Re-running does NOT help for every class:
|
Fixes #1596
Summary
Closes the fleet-wide content-mutation disclosure tracker (#1596). Each remaining autofix hook that rewrites file content on
Write/Editnow conforms to the hook-observability clause: when a rewrite occurs, the hook names what changed on the user channel (systemMessage) and stays silent on no-op paths.Per-plugin disclosure behavior was already merged in the earlier wave (#2458, #2471–#2477). This PR completes the tracker by:
ruff-format,go-format, andbash-format(matching the pattern already used bybiome-formatandeol-normalizer)structural layout only/imports and layout onlywhere applicable)Hook coverage
eol-normalizerruff-formatbash-formatgo-formatpowershell-formatbiome-formatRelated
typos-formatreference implementation (names each rewritten token)markdown-formatreference implementation (reports fix count)eol-normalizerdisclosurebash-formatdisclosureruff-formatdisclosurego-formatdisclosurebiome-formatdisclosurepowershell-formatdisclosuredocs/conventions/hook-observability/README.md— content-mutation conformance clause