Skip to content

The vocabulary-drift gate skips .github/ #60

Open

Description

@duizendstra

check.py's drift_files() collects YAML with glob.glob('**/*.y*ml', recursive=True). Python's glob skips dot-directories, so nothing under .github/ is read. Today the gate's YAML coverage is examples/diffract.yaml alone, and the issue forms in .github/ISSUE_TEMPLATE/ (PR #59) and .github/workflows/ are not held to PROMPT.md's vocabulary.

The forms are clean today. That was checked by hand, by feeding them to check_vocabulary_drift. Nothing keeps them clean.

A fix is include_hidden=True (Python 3.11+), with .git excluded the way SKIP_DIRS already does, plus a regression fixture in test_scripts.py that plants an illegal verdict under .github/.

Found by the Opus review of #59.

Activity

  1. added theissue type on Nov 8, 2026
  2. moved this to Backlog in diffracton Nov 8, 2026
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

    Projects

    • Status
      Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions