Skip to content

[$6 BOUNTY] [Python] Enforce uppercase LEGACY comments #2

Description

Bounty: $6 (LT)

Area: tools/legacy_caps_audit.py - LEGACY uppercase enforcement audit

Current state: Files containing legacy references do not consistently include an uppercase LEGACY comment marker.

What's needed: Audit script that verifies every file containing legacy (case-insensitive) also contains LEGACY (uppercase) in a comment. Fix all violations.

Acceptance criteria:

  • Create tools/legacy_caps_audit.py that verifies the rule across the repo
  • All violations fixed with appropriate comment syntax per language
  • Script returns zero exit code when all files pass

Required validation:

  • Run python3 build.py
  • Include the generated diagnostic .logd artifact from diagnostic/build-XXX.logd in the PR; also include diagnostic/build-XXX.json if present
  • Use .github/pull_request_template.md for your submission

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions