chore(repo): add commit-hygiene guard, keep internal notes out of git#44
Open
ozpool wants to merge 1 commit into
Open
chore(repo): add commit-hygiene guard, keep internal notes out of git#44ozpool wants to merge 1 commit into
ozpool wants to merge 1 commit into
Conversation
Add scripts/check-repo-hygiene.sh (run from the pre-commit hook) that blocks staging internal-only files: planning notes, review findings, drafts, scratch, and local files. Remove the internal planning and findings docs that should not live in the repo, and trim planning-iteration voice from the architecture and engineering docs. Refs #43
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
Keeps the repo professional: internal planning/review notes can no longer be committed, enforced automatically by a pre-commit gate. Also removes the internal planning docs that were committed in the genesis foundation and trims planning-iteration voice from the design docs.
Refs #43
Changes
scripts/check-repo-hygiene.sh— pre-commit gate that blocks staging internal-only files (planning notes, review findings, drafts, scratch, local files, dotenv files); warns on large blobs.husky/pre-commitdocs/planning/*(originals kept outside the repo; issues already live in GitHub Issues)docs/ARCHITECTURE.md+docs/ENGINEERING.mdTest plan
docs/planning/**,*FINDINGS*.md,*.draft.md,scratch/**,*.local.*.env.example)Risk
Low — tooling + doc removal only, no code paths touched. Reverts cleanly in one PR.
Checklist