Skip to content

chore: reduce markdownlint noise from generated and tool-owned artifacts #295

Done

Description

@yvonnedevlinrh

Problem

MegaLinter reports 1,216 non-blocking markdownlint errors across 281 files, causing the Markdown check to display a warning despite CI succeeding.

Most findings come from generated or convention-driven content:

  • .uf/dewey/ learning records
  • OpenSpec changes, archives, schemas, and templates
  • Embedded/scaffolded agent prompts
  • Existing documentation debt

OpenSpec formats intentionally conflict with rules such as MD041, MD022, and MD032. These findings obscure actionable Markdown regressions in user-facing documentation.

Proposed Work

  • Classify Markdown paths as user-owned, generated, historical, or tool-owned.
  • Exclude generated and tool-owned paths from markdownlint where appropriate.
  • Ensure exclusions cover active and archived OpenSpec artifacts consistently.
  • Establish a baseline for remaining user-facing documentation violations.
  • Keep new or modified user-facing Markdown subject to markdownlint.
  • Document why each excluded path is exempt.

Acceptance Criteria

  • MegaLinter no longer reports violations from approved generated or tool-owned paths.
  • User-facing documentation remains linted.
  • OpenSpec active changes, archives, schemas, and templates have a consistent policy.
  • Remaining Markdown violations are actionable and tracked.
  • Markdownlint remains blocking for newly introduced violations in covered files.
  • CI output clearly distinguishes ignored paths from genuine failures.

Activity

  1. added
    enhancement
    on Nov 1, 2026
  2. jflowers commented on Nov 1, 2026

    @jflowers
    Collaborator

    Divisor Issue Triage

    Verdict: VALID — 5/5 reviewer personas (testing, entropy, gaze-testing scope-missed)
    Category: enhancement
    Objectivity: objective (verifiable in-repo evidence)
    Duplicate: none
    Split: none

    CI passes; the defect is lint-signal actionability — generated and tool-owned artifacts produce markdownlint noise that buries actionable findings. The exclusion core already landed as part of PR #308's bookkeeping, but at least three of the issue's six acceptance criteria remain unmet: openspec/schemas/unbound-force/templates/ is still linted, no violation baseline or tracking exists, and no exclusion policy is documented. Implementation requires an OpenSpec change per the spec-first mandate.

    Applied the enhancement label.

    This triage was performed by the Divisor review panel.

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

    enhancement

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions