Skip to content

chore: symlink CLAUDE.md to AGENTS.md for compatibility - #1420

Merged
RealKai42 merged 1 commit into
mainfrom
kaiyi/manama
Jul 6, 2026
Merged

chore: symlink CLAUDE.md to AGENTS.md for compatibility#1420
RealKai42 merged 1 commit into
mainfrom
kaiyi/manama

Conversation

@RealKai42

@RealKai42 RealKai42 commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator

What

Add a CLAUDE.md symlink at the repo root pointing to the canonical AGENTS.md.

Why

For compatibility: some agent tooling looks for a CLAUDE.md at the repo root, while this repo keeps its instructions in AGENTS.md. The symlink makes both filename conventions resolve to the same content — single source of truth, nothing duplicated to keep in sync.

Notes

  • AGENTS.md remains the only real file; CLAUDE.md is just a link (git stores it as mode 120000).
  • No change to .gitignore; the local .claude convenience link stays ignored as before.

Some agent tooling looks for a CLAUDE.md at the repo root. Add a
symlink to the canonical AGENTS.md so both filename conventions
resolve to the same instructions, avoiding any duplicated content.
@changeset-bot

changeset-bot Bot commented Jul 6, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 5164c08

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@pkg-pr-new

pkg-pr-new Bot commented Jul 6, 2026

Copy link
Copy Markdown
pnpm dlx https://pkg.pr.new/@moonshot-ai/kimi-code@5164c08
npx https://pkg.pr.new/@moonshot-ai/kimi-code@5164c08

commit: 5164c08

@RealKai42
RealKai42 merged commit f7b5577 into main Jul 6, 2026
12 checks passed
@RealKai42
RealKai42 deleted the kaiyi/manama branch July 6, 2026 08:21

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5164c08fe4

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread CLAUDE.md
@@ -0,0 +1 @@
AGENTS.md No newline at end of file

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep CLAUDE.md readable without symlink support

For Windows or FAT checkouts where Git sets core.symlinks=false, this mode-120000 entry is materialized as a regular file containing only AGENTS.md instead of following the link; Git's core.symlinks docs describe these as "small plain files that contain the link text". In that environment, Claude-style tooling that opens CLAUDE.md will see just the target filename and not the repository instructions, so this compatibility shim fails for those users; use a regular file with a supported include/redirect or another non-symlink mechanism.

Useful? React with 👍 / 👎.

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