Skip to content

Import Postgres-Extensions/ai's shared CLAUDE.md into dev-facing docs - #117

Open
jnasbyupgrade wants to merge 1 commit into
Postgres-Extensions:masterfrom
jnasbyupgrade:docs/import-ai-claude-md
Open

Import Postgres-Extensions/ai's shared CLAUDE.md into dev-facing docs#117
jnasbyupgrade wants to merge 1 commit into
Postgres-Extensions:masterfrom
jnasbyupgrade:docs/import-ai-claude-md

Conversation

@jnasbyupgrade

Copy link
Copy Markdown
Contributor

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.md had the same duplicated content and no reference to ../ai/ at all.

Placement: .claude/CLAUDE.md, not the top-level CLAUDE.md. The top-level file is explicitly written for extension developers consuming pgxntool via git 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.md is pgxntool-developer-only, already export-ignored from distributions, and is read by exactly the audience that does have ../ai/ as a sibling in the pgxntool / pgxntool-test / ai worktree layout this org uses. The import path is ../../ai/CLAUDE.md rather than ../ai/CLAUDE.md since .claude/CLAUDE.md lives one directory deeper than pgxntool-test's own repo-root CLAUDE.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.

…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>
@coderabbitai

coderabbitai Bot commented Sep 8, 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: 4e9db87e-c961-4159-8e6c-0a9133cc2465

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