Skip to content

New rule: flag commits with gitlinks but no .gitmodules #79

Closed

Description

@hyperpolymath

Add Hypatia rule to detect commits containing gitlinks (submodule entries) but missing .gitmodules file — prevents bot stray repos.

Activity

  1. hyperpolymath commented on Mar 20, 2026

    @hyperpolymath
    OwnerAuthor

    Already implemented as SD005 in lib/rules/structural_drift.ex (lines 152-205). Detects mode 160000 gitlinks, checks .gitmodules for corresponding entries, flags orphans as critical severity with investigate action. Confirmed working — this exact bug was caught and fixed in reposystem/bitfuckit today.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions