Skip to content

fix(rules): update SD004 to accept canonical .machine_readable/ layout - #701

Merged
hyperpolymath merged 1 commit into
mainfrom
fix/sd004-false-positive-426
Aug 12, 2026
Merged

fix(rules): update SD004 to accept canonical .machine_readable/ layout#701
hyperpolymath merged 1 commit into
mainfrom
fix/sd004-false-positive-426

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Fixes for issue #426:

SD004 rule was enforcing the retired .machine_readable/6a2/ layout while the current standards specify .machine_readable/ as the canonical location.

Changes:

  1. Added ANCHOR.a2ml to @a2ml_state_files (completes the seven canonical files)
  2. Updated docstring to reflect new canonical location
  3. Changed wrong_locations: now flags .machine_readable/6a2/ as wrong (not .machine_readable/)
  4. Updated reason and target path to point to .machine_readable/ directly

This eliminates false positives for repos using the current canonical layout (gitbot-fleet#249, gitbot-fleet#254).

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe vibe@mistral.ai

Fixes for issue #426:

SD004 rule was enforcing the retired .machine_readable/6a2/ layout
while the current standards specify .machine_readable/ as the canonical
location.

Changes:
1. Added ANCHOR.a2ml to @a2ml_state_files (completes the seven canonical files)
2. Updated docstring to reflect new canonical location
3. Changed wrong_locations: now flags .machine_readable/6a2/ as wrong (not .machine_readable/)
4. Updated reason and target path to point to .machine_readable/ directly

This eliminates false positives for repos using the current canonical layout.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
@hyperpolymath
hyperpolymath merged commit 0bf8432 into main Aug 12, 2026
29 of 48 checks passed
@hyperpolymath
hyperpolymath deleted the fix/sd004-false-positive-426 branch August 12, 2026 00:21
@gitar-bot

gitar-bot Bot commented Aug 12, 2026

Copy link
Copy Markdown

Important

You are using the Gitar free plan. Upgrade to unlock code review, CI analysis, auto-apply, custom automations, and more.

Gitar

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