Fix/remove boilerplate crossref rule - #1365
Conversation
BoilerplateCrossRef flagged the literal phrase "for more information," contradicting the style guide's own cross-reference example and firing on 1,136 pre-existing, unaddressed instances. Its Phase 2 auto-fix path is also what introduced a broken anchor into docs/accessanalyzer/2601/install/install-commands.md: the AI rewriter pattern-matched heading-like text inside a fenced code block (simulated installer output) and linked to it as if it were a real heading. Also have the Phase 2/3 auto-fix prompts verify any anchor they add or change against scripts/check-anchors.sh before finishing, so a similar mistake by a different rule can't slip through the same way. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
The anchor pointed at a fake heading (`## Required Actions`) inside a fenced code block simulating installer summary output — never a real heading, so it never resolved. Point at the interactive Bind Password prompt in quickinstall.md's Step 4 instead, the only place password entry is actually documented; the note's "piped stdin" claim isn't documented anywhere currently, so the link no longer overpromises. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Auto-Fix Summary3 issues fixed, 5 skipped across 1 files
| Ask |
The Phase 2/3 auto-fix prompts instruct Claude to run `bash scripts/check-anchors.sh <file>` before finishing, but both steps' claude_args only allowlist Bash(git:*) — the check would be silently denied in headless CI, exactly the failure mode this branch is meant to close. Add Bash(bash scripts/check-anchors.sh:*) to both. Also correct docs/CLAUDE.md's stale "30 Netwrix-specific rules" count to 43, the current number of files in .vale/styles/Netwrix/. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Auto-Fix Summary2 issues fixed, 4 skipped across 1 files
| Ask |
- Remove BoilerplateCrossRef from vale-rule-writer's existing-rules list (was risking false-duplicate rejection of a future rule) and from kb-pr-review's fix guidance (the rule never even existed in the NetwrixKB style set this skill covers). - Fix CONTRIBUTING.md's rule count, stale at 30, to match the actual 43 files in .vale/styles/Netwrix/. - Broaden the check-anchors.sh allowlist to cover ./scripts/... and bare scripts/... invocations, and tell the agent explicitly to use the one literal, unchained form — the exact-prefix Bash(cmd:*) matching means any other invocation shape is silently denied. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Auto-Fix Summary1 issues fixed, 5 skipped across 1 files
| Ask |
…-crossref-rule # Conflicts: # docs/accessanalyzer/2601/install/install-commands.md
Auto-Fix Summary1 issues fixed, 3 skipped across 1 files
| Ask |
Documentation PR ReviewEditorial Reviewdocs/accessanalyzer/2601/install/install-commands.md
Summary5 editorial suggestions across 1 file. The other files in this PR ( What to do next: Comment
You can ask Claude anything about the review or about Netwrix writing standards.
|
Auto-Fix Summary1 issues fixed, 5 skipped across 1 files
| Ask |
Code ReviewScope: correctness only (bugs, side effects, security, build/routing, scripts, workflows). Content and style are left to the editorial workflow. The Vale rule removal is clean, and the workflow change is directionally right. Two issues in the new Phase 2/Phase 3 prompt text, plus two stale-reference nits. 1. The new anchor instruction contradicts the line directly above it (
|
No description provided.