chore: docs/ prose-only gate + drop validate.py legacy fallback#8
Merged
Conversation
Two cleanups bundled: 1. make check-docs-prose — cross-repo guardrail enforcing that docs/ holds only human-readable prose (.md, .markdown, images, .gitkeep). Non-prose artifacts belong under dist/, examples/, templates/, or a top-level domain dir. Wired into CI alongside the existing manifest drift gate. Engine-free, fast, find-based. 2. validate.py _integrated_dir — drop the docs/integrated/ legacy fallback. The relocation back to top-level integrated/ (PR #6) is committed; the fallback's job was to support stale checkouts during the migration window, which is now closed. Three-line simplification — single canonical path.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Two small cleanups bundled — the cross-repo
docs/guardrail (option #1 from the post-Phase-0 audit) and the legacy fallback removal (option #3).1.
make check-docs-proseCross-repo guardrail.
docs/holds only human-readable prose (.md,.markdown, images,.gitkeep); non-prose artifacts belong underdist/,examples/,templates/, or a top-level domain dir. Engine-free find-based check, wired into CI alongside the existing manifest drift gate.Same target ships in all four m-dev-tools repos so future contributors / agents get a consistent fail-fast signal — preventive, not corrective.
2. Drop
validate.pylegacydocs/integrated/fallbackThe relocation back to top-level
integrated/(PR #6) is committed and Phase 0 smoke is green against the new layout. The fallback was a migration-window affordance; with the window closed, keeping it perpetuates the idea thatdocs/integrated/is ever acceptable.Test plan
make check-docs-prosegreen locallymake check-manifestgreen locallymake test— 164 passed