Skip to content

chore: docs/ prose-only gate (Makefile target + CI step)#11

Merged
rafael5 merged 1 commit into
mainfrom
chore/docs-prose-gate
May 11, 2026
Merged

chore: docs/ prose-only gate (Makefile target + CI step)#11
rafael5 merged 1 commit into
mainfrom
chore/docs-prose-gate

Conversation

@rafael5
Copy link
Copy Markdown
Collaborator

@rafael5 rafael5 commented May 11, 2026

Summary

Adds `make check-docs-prose` as a cross-repo guardrail: `docs/` holds only human-readable prose (`.md`, `.markdown`, images, `.gitkeep`). Non-prose artifacts — generated data, JSON/TSV output, copy-paste examples, scaffolding templates — belong under `dist/`, `examples/`, `templates/`, or a top-level domain-specific directory.

Same target ships in all four m-dev-tools repos so any future contributor (or future automation) gets a consistent fail-fast signal — preventive, not corrective. m-cli's `docs/` is already prose-only after PR #9 moved `vista-lint-presets` to `examples/`.

Wiring

  • Makefile: new `check-docs-prose` target.
  • CI: new step in the existing `test` job, sitting after the manifest drift gate.

Test plan

  • `make check-docs-prose` green locally
  • CI green on this PR

Adds make check-docs-prose as a cross-repo guardrail: docs/ holds only
human-readable prose (.md, .markdown, images, .gitkeep). Non-prose
artifacts — generated data, JSON/TSV output, copy-paste examples,
scaffolding templates — belong under dist/, examples/, templates/, or
a top-level domain-specific directory.

Wires into CI alongside the existing manifest drift gate. Engine-free,
fast, find-based. Currently green (docs/ is already prose-only after
PR #9 moved vista-lint-presets to examples/) — this is preventive, not
corrective.
@rafael5 rafael5 merged commit 77548fc into main May 11, 2026
1 check passed
@rafael5 rafael5 deleted the chore/docs-prose-gate branch May 11, 2026 00:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant