install writes an unsupported `args` key into the Claude Code SubagentStart hook, so it never runs
Maintainer thường phản hồi trong vòng 2 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 72/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Lĩnh vực
- tooling
Hướng nghiên cứu
Tìm nơi install sinh ra mục nhập trong ~/.claude/settings.json — grep repo với SubagentStart, hook-augment và cbm-subagent-reminder. Kiểm tra cách đối tượng hook được tuần tự hóa và cách 0.9.1-rc.1 xây dựng đường dẫn wrapper. Xong khi mục nhập được phát ra chỉ dùng các key được phép của schema (type, command, timeout, async) với subcommand nằm trong chuỗi command, và các test install/hook hiện có đều pass.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem
The SubagentStart hook cbm installs never runs — every subagent start stalls to the hook timeout and returns no graph context.
Evidence
install -y writes this into ~/.claude/settings.json:
{ "type": "command", "command": "/Users/me/.local/bin/codebase-memory-mcp", "args": ["hook-augment"], "timeout": 5 }
Claude Code's hook schema has no args — in the published settings schema, hookCommand is additionalProperties: false and takes type, command, timeout and async. So the subcommand is dropped and the bare binary runs, which is the MCP stdio server: it waits on stdin and never exits. I piped a SubagentStart payload into it and it was still running at 6s; the same payload into codebase-memory-mcp hook-augment returns in 2s.
Expected fix
The entry that was there before (from 0.9.1-rc.1) pointed at the installed cbm-subagent-reminder wrapper, which does the right thing. Either restore that, or put the subcommand in the command string: "<bin> hook-augment".
v0.11.0, macOS arm64, Claude Code 2.1.278. Same family as #1737, different client.
- Ngôn ngữ chính
- C
- Star
- 45.8k
- Fork
- 3.8k
- Merge trung bình
- 3 ngày 14 giờ
- Pull request đã merge (30 ngày)
- 210
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của DeusData/codebase-memory-mcp
-
bug editor/integration stability/performance
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
DeusData/codebase-memory-mcp#2818 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Generated Pi extension (cbmem.ts) breaks Gemini/Antigravity: Type.Union of Type.Literal serializes to anyOf/constCó thể đã có người làm @divakantpandey đã nhận 2 ngày trước. Đang mởbug editor/integration
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
DeusData/codebase-memory-mcp#2787 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
editor/integration parsing/quality
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
DeusData/codebase-memory-mcp#2286 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
bug priority/high ux/behavior
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
DeusData/codebase-memory-mcp#2232 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
documentation editor/integration parsing/quality priority/normal
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
DeusData/codebase-memory-mcp#2169 ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của DeusData/codebase-memory-mcp
Issue tương tự
-
docs, ffi, python: update stale "built-in rules" references and pipeline order in docstringsĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[cmocka] update to 2.0.2Đang mởupdate-request
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
msys2/MINGW-packages#33004 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
docs: write the buffer exampleĐang mởarea:buffer good first issue type:documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
sudo-project/sudo#586 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
OpenPrinting/cups#1795 ·
Maintainer thường phản hồi trong vòng 1 ngày