Skip to content

CLAUDE.md: require untracked files to be tracked, ignored, or export-ignore'd - #24

Open
jnasbyupgrade wants to merge 1 commit into
Postgres-Extensions:mainfrom
jnasbyupgrade:untracked-file-hygiene
Open

CLAUDE.md: require untracked files to be tracked, ignored, or export-ignore'd#24
jnasbyupgrade wants to merge 1 commit into
Postgres-Extensions:mainfrom
jnasbyupgrade:untracked-file-hygiene

Conversation

@jnasbyupgrade

Copy link
Copy Markdown
Contributor

An untracked file left in git status is invisible to a fresh clone or CI (pass-locally-fail-elsewhere) and one git add -A away from an accidental commit. make tag already hard-fails on this at release time; this states the rule as a general working-tree hygiene practice, not just a release-time gate, and points at the existing .gitignore vs. export-ignore distinction (both already documented separately in this repo) as the two ways to deliberately resolve one.

Summary

  • Adds a new "Untracked files must be resolved, not left alone" section to CLAUDE.md, between "Executable bit safety" and "Scripts"
  • States the rule: every untracked file must end up committed, .gitignored, or export-ignore'd — never left alone
  • Cross-references the existing make dist/export-ignore and stable-pseudo-version/.gitignore conventions rather than restating them

🤖 Generated with Claude Code

…ignore'd

An untracked file left in git status is invisible to a fresh clone or CI
(pass-locally-fail-elsewhere) and one `git add -A` away from an accidental
commit. `make tag` already hard-fails on this at release time; state the
rule as a general working-tree hygiene practice, not just a release gate,
and point at the existing .gitignore vs. export-ignore distinction.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Sep 9, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Advanced

Run ID: 0c788ba0-bc3e-4a2a-959a-3e70cd94d271

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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