fix(markdown-format): correct skip-notice latch wording; add PATH diagnostic - #2770
Conversation
…gnostic The missing-markdownlint notice implied a session-long skip latch; only the notice latches. Say "skipped for this edit", name that there is no skip latch, and append PATH probed so PATH-layer misses are diagnosable (#2740). 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 finished @kyle-sexton's task in 1m 28s —— View job Security Review
No security issues found. This PR is a wording/diagnostic-only change with no new attack surface:
No workflow files, permissions, or dependency pins were touched. Nothing to flag. Branch: |
|
Last security-reviewed head: |
|
Claude finished @kyle-sexton's task in 2m 5s —— View job Claude finished @kyle-sexton's taskTasks
Review summaryThis is the CODE-REVIEW lane. This repo carries Scope reviewed: I traced the actual latch semantics to confirm the new wording is accurate, not just plausible-sounding:
So the new copy ("skipped for this edit... there is no skip latch") correctly describes the code, and the old copy ("skipped for this session") was the actual bug. Good fix.
Verification: I was not able to execute No findings. This is a small, well-scoped, accurately-described fix with matching test coverage; I found no correctness, maintainability, or convention issues to flag. |
|
Claude has reviewed this PR 1 time. The lane skips further automatic reviews after 5; deleting this comment resets the count. |
Summary
markdownlint-cli2notice so it no longer implies a session-long skip latch: only the notice latches (skip-notices/); the binary probe re-runs on every Markdown edit.PATH probed:diagnostic so PATH-layer misses (cloud harness / nvm prefix) are diagnosable without widening the probe into nvm layout guesses.markdown-formatto 0.11.18 and updates CHANGELOG/README/tests.Closes #2740
Test plan
bash plugins/markdown-format/hooks/markdown-format.test.sh— PASS=148 FAIL=0there is no skip latch,PATH probed:, and does not containskipped for this sessionRelated
Refs #2740 (closed by keyword above).