Skip to content
This repository was archived by the owner on Nov 25, 2026. It is now read-only.
This repository was archived by the owner on Nov 25, 2026. It is now read-only.

validate-module --fix: one-command repairs for mechanical findings #145

Open

Description

@CloneOfAlex

Describe your idea

Add --fix to validate-module.py to repair the mechanical findings it already detects.

Why is this needed?

Most findings are deterministic to fix: a missing CSV row for a skill folder, header normalisation (including the after/before → preceded-by/followed-by rename from #102), a BOM or CRLF in the CSV, column-count padding. An LLM round-trip for each is slow and error-prone.

How should it work?

  • Missing row: stub from the skill's frontmatter (name → skill, description → description), with the menu code auto-assigned and marked TODO for review.
  • Writes atomically and prints a diff. --fix --dry-run shows the diff only.
  • Never deletes rows; orphans are reported, not removed.

PR

Happy to help implement this if the direction is agreed.

Activity

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