Skip to content

feat: v0.18.0 ClaudeCode workflow integration - #31

Merged
juice094 merged 4 commits into
mainfrom
feat/claudecode-integration
May 13, 2026
Merged

feat: v0.18.0 ClaudeCode workflow integration#31
juice094 merged 4 commits into
mainfrom
feat/claudecode-integration

Conversation

@juice094

Copy link
Copy Markdown
Owner

Summary

v0.18.0 以 ClaudeCode 为核心用例,实现 devbase 与 AI 编程助手工作流的深度集成。

New MCP Tools (+4, 64 total)

  • devkit_project_brief — Markdown 项目简报生成(LLM 注入优化,软 token 截断)
  • devkit_impact_analysis — 修改前影响范围分析(callers/callees/related/tests/history)
  • devkit_session_export — Markdown/JSON 导出 session(便于与 ClaudeCode 共享)
  • devkit_session_import — 批量导入 [type] 前缀记忆文本

ClaudeCode Wrapper

  • scripts/devbase-claude.ps1 — Windows 启动器
    • 自动检测当前目录对应的 repo
    • 生成 project brief 并注入 .claude/CLAUDE.md
    • 可选退出后基于 git diff 自动捕获 session

RFC

  • docs/RFC/claudecode-workflow-integration.md

Testing

  • cargo test --lib: 446 passed / 0 failed / 3 ignored

juice094 added 4 commits May 13, 2026 13:16
- devkit_project_brief: Markdown-formatted project overview for LLM injection
  - Aggregates repo metadata, architecture, recent commits, hot files,
    known limits, and active contexts with memories
  - Soft token truncation (~max_tokens * 4 chars)
- devkit_impact_analysis: pre-refactoring blast radius analysis
  - Callers/callees with configurable depth (1-3 levels)
  - Related symbols (conceptual links)
  - Test heuristic detection (test_* callers/callees)
  - Oplog history mentioning the symbol
- Tools count: 60 → 62
- RFC: docs/RFC/claudecode-workflow-integration.md
…pper

- devkit_session_export: Markdown/JSON export of context + memories + links
- devkit_session_import: bulk memory import from [type] prefixed text
- scripts/devbase-claude.ps1: Windows launcher that auto-injects project brief
  into .claude/CLAUDE.md before starting ClaudeCode
  - Auto-detects repo_id from current directory
  - Optional post-session git-diff capture
- Tools count: 62 → 64
- RFC P2/P3 sections updated
@juice094
juice094 merged commit 1184073 into main May 13, 2026
6 checks passed
@juice094
juice094 deleted the feat/claudecode-integration branch May 13, 2026 14:09
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