Skip to content

docs: add CLAUDE.md and AGENTS.md repository guide#407

Open
zc277584121 wants to merge 1 commit into
zilliztech:masterfrom
zc277584121:add-agent-instructions
Open

docs: add CLAUDE.md and AGENTS.md repository guide#407
zc277584121 wants to merge 1 commit into
zilliztech:masterfrom
zc277584121:add-agent-instructions

Conversation

@zc277584121

Copy link
Copy Markdown
Collaborator

What

Adds a CLAUDE.md repository guide (with AGENTS.md as a symlink to it), and removes the CLAUDE.md line from .gitignore so the shared guide can be tracked.

CLAUDE.md documents:

  • Monorepo layout — the pnpm workspace (core / mcp / vscode-extension / chrome-extension) and how the frontends consume core/dist via workspace:*.
  • Commands — build / lint / typecheck, and the two different test runners (Jest for core, the Node built-in runner via tsx for mcp).
  • Architecture — the Context orchestrator and its pluggable embedding / vector-db / splitter interfaces, the two control-flow error types, incremental Merkle-DAG sync, layered ignore-pattern resolution, and the MCP server's "stdout is reserved for the protocol" constraint.
  • Conventions — the Conventional Commits scopes used in this repo.

Why

Gives contributors a single, accurate description of the architecture and workflow instead of reverse-engineering it from the source, and lets the coding tools many of us use pick up the same context.

AGENTS.md is a symlink to CLAUDE.md, so tools following either convention read the same content.

Note on .gitignore

.gitignore previously listed CLAUDE.md (treating it as a personal/local file). This PR drops that one line so the shared guide is committed; .claude/* stays ignored. Happy to revert that part if you'd rather keep CLAUDE.md local and ship only AGENTS.md.

Document the monorepo layout, the pnpm build/test workflow, the Context orchestrator and its pluggable embedding/vectordb/splitter interfaces, incremental Merkle-DAG sync, and commit conventions. AGENTS.md is a symlink to CLAUDE.md; the CLAUDE.md ignore entry is dropped so the guide is tracked.
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