Import Postgres-Extensions/ai's shared CLAUDE.md into dev-facing docs - #117
Open
jnasbyupgrade wants to merge 1 commit into
Open
Import Postgres-Extensions/ai's shared CLAUDE.md into dev-facing docs#117jnasbyupgrade wants to merge 1 commit into
jnasbyupgrade wants to merge 1 commit into
Conversation
…docs pgxntool-test already points its own CLAUDE.md at ../ai/CLAUDE.md (Postgres-Extensions#77) for org-wide agent conventions (CI monitoring, multi-session hygiene, executable-bit safety, etc.) instead of duplicating them locally. pgxntool's own developer-facing .claude/CLAUDE.md had the same duplicated content and no reference to ../ai/ at all. The import goes in .claude/CLAUDE.md, not the top-level CLAUDE.md: the top-level file is explicitly for extension developers consuming pgxntool via git subtree, most of whom have no ../ai/ sibling checkout (or any relationship to the Postgres-Extensions org) and for whom the clone-if-missing fallback would be actively wrong advice. .claude/CLAUDE.md is pgxntool-developer-only and already excluded from distributions, so it's the file actually read by an audience with an ../ai/ sibling checkout available -- the pgxntool-test/pgxntool/ai worktree layout this org uses. The import path is ../../ai/CLAUDE.md rather than ../ai/CLAUDE.md since this file lives one directory deeper than pgxntool-test's own. The now-redundant "Multiple Concurrent Sessions" section is dropped in favor of ../ai/PR.md's equivalent "Multi-session / state-drift hygiene" section, and the CI Monitoring section is trimmed to just this repo pairing's own addition (dual-repo background monitoring) on top of ../ai/CLAUDE.md's general convention. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
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. Comment |
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.
pgxntool-test already points its own CLAUDE.md at
../ai/CLAUDE.md(Postgres-Extensions/pgxntool-test#77) for org-wide agent conventions — CI monitoring, multi-session hygiene, executable-bit safety, shell script standards, etc. — instead of duplicating them locally. pgxntool's own developer-facing.claude/CLAUDE.mdhad the same duplicated content and no reference to../ai/at all.Placement:
.claude/CLAUDE.md, not the top-levelCLAUDE.md. The top-level file is explicitly written for extension developers consuming pgxntool viagit subtree— most have no../ai/sibling checkout (or any relationship to the Postgres-Extensions org at all), so the clone-if-missing fallback would be actively wrong advice for them..claude/CLAUDE.mdis pgxntool-developer-only, alreadyexport-ignored from distributions, and is read by exactly the audience that does have../ai/as a sibling in thepgxntool/pgxntool-test/aiworktree layout this org uses. The import path is../../ai/CLAUDE.mdrather than../ai/CLAUDE.mdsince.claude/CLAUDE.mdlives one directory deeper than pgxntool-test's own repo-rootCLAUDE.md.Also drops the now-redundant "Multiple Concurrent Sessions" section (covered by
../ai/PR.md's "Multi-session / state-drift hygiene") and trims the CI Monitoring section to just this repo pairing's own addition (dual-repo background monitoring), on top of../ai/CLAUDE.md's general convention — mirroring the dedup #77 did on the pgxntool-test side.