W9Workabilityscope: coreweight: 2fix: manual

    W9: Release workflow validates version consistency

    Why this rule exists (Empirical Evidence)

    Production multi-repo release audits show that workflows validating the git release tag against package manifests (pyproject.toml, package.json) catch version drift before publish. Workflows that only check tag regex (vX.Y.Z) silently ship mismatched packages. Triple-check: extract tag, compare against source manifest, fail with ::error:: on mismatch.

    Claude Code Repository Corpus Analysis (2026)
    Multi-Project Dev Discipline Audit (2026)
    Anti-pattern (Triggers W9)
    # Anti-pattern triggering W9 (Release workflow validates version consistency)
    # Release workflow only validates tag format without checking package.json or pyproject.toml.
    Compliant pattern (Passes W9)
    # Compliant harness passing W9 (Release workflow validates version consistency)
    # Release CI compares git tag version against manifest version and exits 1 on mismatch.
    Verify locally or online
    npm install -g agentlint-ai && agentlint check --check W9

    More Workability checks