claw-code/rust/crates
TheArchitectit 5bb811aa5e feat: project rules with .claw/rules/ and multi-framework auto-import
Adds a project rules system for loading instruction files into the
system prompt, plus auto-import from other AI coding frameworks.

- `.claw/rules/*.md` / `.claw/rules/*.txt` / `.claw/rules/*.mdc`
- `.claw/rules.local/*.md` — personal/local rules (gitignored)
- Existing: `CLAUDE.md`, `CLAUDE.local.md`, `.claw/CLAUDE.md`,
  `.claw/instructions.md`

When users switch to claw-code from another tool, their existing
rules are automatically detected and loaded:
- Cursor: `.cursorrules`, `.cursor/rules/`
- GitHub Copilot: `.github/copilot-instructions.md`
- Windsurf: `.windsurfrules`, `.windsurfrules/`
- Aider: `.aider.conf.yml` instructions block
- Pi (Plandex): `.plandex/instructions.md`, `.plandex/plan.md`
- OpenCode: `opencode.json` instructions field
- Crush: `.crush/CLAUDE.md`, `.crush/rules/`

`rulesImport` in settings.json controls framework auto-import:
- `"auto"` (default) — import from all detected frameworks
- `"none"` — only load .claw/rules/ and CLAUDE.md files
- `["cursor", "copilot"]` — import only from listed frameworks

```json
{
  "rulesImport": "auto"
}
```

💘 Generated with Crush

Assisted-by: GLM 5.1 FP8 via Crush <crush@charm.land>
2026-06-10 16:49:33 -05:00
..
api fix: sync all bug fixes to combined branch 2026-06-10 16:49:31 -05:00
claw-analog
…
claw-rag-service
…
commands feat(lsp): install prompts, new servers, and advanced LSP features 2026-06-10 16:49:33 -05:00
compat-harness
…
mock-anthropic-service
…
plugins
…
runtime feat: project rules with .claw/rules/ and multi-framework auto-import 2026-06-10 16:49:33 -05:00
rusty-claude-cli feat(lsp): show "Loading LSP servers..." with start/stop hints 2026-06-10 16:49:33 -05:00
telemetry
…
tools feat(lsp): install prompts, new servers, and advanced LSP features 2026-06-10 16:49:33 -05:00