docs: expand CLAUDE.md with full build, architecture, and skills reference#1441
docs: expand CLAUDE.md with full build, architecture, and skills reference#1441douenergy merged 3 commits intoCanner:mainfrom
Conversation
…rence Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
📝 WalkthroughWalkthroughDocumentation expansion of Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In @.claude/CLAUDE.md:
- Around line 11-18: Update the heading text that currently reads "Four main
modules:" to accurately reflect the list length (change it to "Five main
modules:") in the .claude/CLAUDE.md section that lists wren-core,
wren-core-base, wren-core-py, ibis-server, and mcp-server so the heading and the
bullet list agree.
- Around line 80-85: The prerequisites under the "Prerequisites for local
strategy (one-time setup):" section currently list a macOS-specific command
("brew install zig") as if universal; update this section to either scope the
macOS command (e.g., prefix "macOS:" before "brew install zig") or add
equivalent Linux package instructions (e.g., "Linux:" with appropriate
package-manager commands for Zig such as apt/yum/pacman or a link to Zig install
instructions) and keep the rustup target lines as a cross-platform note (or
label them "macOS / Linux"). Ensure the edit references the same heading
"Prerequisites for local strategy (one-time setup):" so readers on non-macOS
platforms see the correct install steps.
| Four main modules: | ||
|
|
||
| - **wren-core/** — Rust semantic engine (Cargo workspace: `core/`, `sqllogictest/`, `benchmarks/`, `wren-example/`). Handles MDL analysis, query planning, logical plan optimization, and SQL generation via DataFusion. | ||
| - **wren-core-base/** — Shared Rust crate with manifest types (`Model`, `Column`, `Metric`, `Relationship`, `View`). Has optional `python-binding` feature for PyO3 compatibility. | ||
| - **wren-core-py/** — PyO3 bindings exposing wren-core to Python. Built with Maturin. | ||
| - **ibis-server/** — FastAPI web server (Python 3.11). Provides REST API for query execution, validation, and metadata. Uses Ibis framework for data source connectivity. | ||
| - **mcp-server/** — MCP server exposing Wren Engine to AI agents (Claude, Cline, Cursor). | ||
|
|
There was a problem hiding this comment.
Fix the module count in this section.
Line 11 says “Four main modules,” but the list contains five entries (wren-core, wren-core-base, wren-core-py, ibis-server, mcp-server). Please make the heading and bullets agree.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.
In @.claude/CLAUDE.md around lines 11 - 18, Update the heading text that
currently reads "Four main modules:" to accurately reflect the list length
(change it to "Five main modules:") in the .claude/CLAUDE.md section that lists
wren-core, wren-core-base, wren-core-py, ibis-server, and mcp-server so the
heading and the bullet list agree.
| **Prerequisites for local strategy (one-time setup):** | ||
| ```bash | ||
| brew install zig | ||
| rustup target add aarch64-unknown-linux-gnu # Apple Silicon | ||
| rustup target add x86_64-unknown-linux-gnu # Intel Mac | ||
| ``` |
There was a problem hiding this comment.
Scope these prerequisites to macOS or add a Linux variant.
brew install zig is macOS-specific, but the heading reads like universal setup for the local build strategy. That will mislead non-macOS contributors unless this is labeled explicitly or paired with Linux instructions.
📝 Suggested wording
-**Prerequisites for local strategy (one-time setup):**
+**Prerequisites for local strategy on macOS (one-time setup):**+If Linux is also supported for the local strategy, add the equivalent package-manager command there as well.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.
In @.claude/CLAUDE.md around lines 80 - 85, The prerequisites under the
"Prerequisites for local strategy (one-time setup):" section currently list a
macOS-specific command ("brew install zig") as if universal; update this section
to either scope the macOS command (e.g., prefix "macOS:" before "brew install
zig") or add equivalent Linux package instructions (e.g., "Linux:" with
appropriate package-manager commands for Zig such as apt/yum/pacman or a link to
Zig install instructions) and keep the rustup target lines as a cross-platform
note (or label them "macOS / Linux"). Ensure the edit references the same
heading "Prerequisites for local strategy (one-time setup):" so readers on
non-macOS platforms see the correct install steps.
…rence (Canner#1441) Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Summary
.claude/CLAUDE.mdwith comprehensive build & development commands for all modules (wren-core, wren-core-py, ibis-server, mcp-server, Docker)Test plan
🤖 Generated with Claude Code
Summary by CodeRabbit