Skip to content

JS-1516 chore: add canonical paths for automated tools#6703

Open
francois-mora-sonarsource wants to merge 1 commit intomasterfrom
chore/add-canonical-paths
Open

JS-1516 chore: add canonical paths for automated tools#6703
francois-mora-sonarsource wants to merge 1 commit intomasterfrom
chore/add-canonical-paths

Conversation

@francois-mora-sonarsource
Copy link
Copy Markdown
Contributor

Adds a machine-readable ## Canonical Paths section to .claude/rules.md so automated tools (like sonar-nigel) can read rule and ruling locations without hardcoding them. When the repository is reorganized, updating this section is sufficient.

@hashicorp-vault-sonar-prod hashicorp-vault-sonar-prod bot changed the title chore: add canonical paths for automated tools JS-1516 chore: add canonical paths for automated tools Mar 27, 2026
@hashicorp-vault-sonar-prod
Copy link
Copy Markdown

hashicorp-vault-sonar-prod bot commented Mar 27, 2026

JS-1516

@sonar-review-alpha
Copy link
Copy Markdown

sonar-review-alpha bot commented Mar 27, 2026

Summary

Adds a machine-readable Canonical Paths section to .claude/rules.md documenting the directories for rules and ruling expectations. This allows automated tools (like sonar-nigel) to discover these paths without hardcoding them, making the repository more maintainable when reorganization occurs.

What reviewers should know

This is a documentation-only change with no code modifications. The two paths documented (RULES_DIR and RULING_EXPECTED_DIR) are already established conventions in the codebase—verify they match the actual directory structure if you're unfamiliar with the repo layout. The section is placed logically before the existing Rule Implementation section. No tooling or build changes are required.


  • Generate Walkthrough
  • Generate Diagram

🗣️ Give feedback

@github-actions
Copy link
Copy Markdown
Contributor

Ruling Report

No changes to ruling expected issues in this PR

@sonarqube-next
Copy link
Copy Markdown

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
0 Dependency risks
No data about Coverage
No data about Duplication

See analysis details on SonarQube

Copy link
Copy Markdown

@sonar-review-alpha sonar-review-alpha bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! ✅

🗣️ Give feedback

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant