Skip to content

build_manifest.py: auto-discover TARGETS + CI guard against drift #19

Description

@codex-devlab

Severity: Minor (release process)
Source: PR #16 review (M4)

scripts/build_manifest.py:18-28 hardcodes the TARGETS list. New modules added to rune/review/ or rune/patches/ are silently skipped — the script only warns when a listed file is missing, not when an unlisted file exists.

Fix options

  • Auto-discover via git ls-files rune/review rune/cli rune/patches minus an excludes list.
  • Or add a CI check: python scripts/check_manifest_targets.py that fails if any tracked file matching rune/(review|patches)/*.py is not in TARGETS.

Also: declare tomli_w, jsonschema, pytest-asyncio in pyproject.toml dev extras (currently undeclared — fresh checkouts will ImportError).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions