Skip to content

[PR #1] .gitignore missing *.md / !README.md — markdown policy has no mechanical enforcement #58

@obchain

Description

@obchain

PR: #1 (chore/bootstrap)
Commit: c104b60
File: .gitignore

Problem: Project has a hard rule: no .md files other than README.md may be committed. .gitignore in this PR lists specific files (docs/context.md, NOTES.md) but uses no glob to catch future .md additions.

Without a glob pattern, the policy relies on human memory alone. Any new markdown file (CONTRIBUTING.md, SECURITY.md, ARCHITECTURE.md, etc.) slips through undetected. This is also why CLAUDE.md was able to be committed in this same PR.

Fix: Add to .gitignore:

# Markdown policy: only README.md ships; all other .md files are local-only
*.md
!README.md

Severity: High — absence of this pattern enabled the CLAUDE.md violation in the same commit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    pr-reviewFindings from PR review processpriority:p1-coreCore MVP scopetype:choreMaintenance, config, tooling

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions