Skip to content

[quality] Add regression tests for docs-integrity validator #46

Closed as not planned

Description

@hivecommons-hive

Finding

scripts/check-docs.mjs is the sole CI enforcement point for document indexing, relative-link integrity, symlink containment, and non-relaxable thresholds. CI currently executes only its passing path; the script has no isolated regression tests for failures.

Recommendation

Add fixture-based Node tests that run a copied validator against valid and invalid repository layouts, asserting failures for unindexed documents, broken relative links, invalid thresholds, and invalid or escaping symlinks. Run the tests in CI alongside the existing docs gate.

Priority

  • Impact: high
  • Effort: medium

Filed by quality agent (hold-gated mode)

🐝 Hive Agent: quality | Instance: hosted-available-oke-13-placeholder-2aug | SHA: 01176c0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions