You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Cerebellum voice subsystem hardcodes ~/.claude/projects/ to read recent conversation context for generating voice commentary. This blocks voice for any non-Claude agent.
Hardcoded location
File
Line
Usage
lib/cerebellum/voice-subsystem.ts
~256
readRecentConversation() reads raw JSONL from ~/.claude/projects/
Current behavior
readRecentConversation() directly reads Claude Code .jsonl files from disk to build context for the LLM-powered voice commentary. This means:
OpenClaw agents get no voice commentary (no Claude files to read)
Voice subsystem duplicates work already done by the memory subsystem
Tight coupling between voice and Claude Code's internal file format
Proposal
Replace direct JSONL reading with one of:
CozoDB indexed data — already available via MemorySubsystem. The conversation entries are already indexed and searchable. Voice subsystem should query the existing database instead of re-reading raw files.
Problem
The Cerebellum voice subsystem hardcodes
~/.claude/projects/to read recent conversation context for generating voice commentary. This blocks voice for any non-Claude agent.Hardcoded location
lib/cerebellum/voice-subsystem.tsreadRecentConversation()reads raw JSONL from~/.claude/projects/Current behavior
readRecentConversation()directly reads Claude Code.jsonlfiles from disk to build context for the LLM-powered voice commentary. This means:Proposal
Replace direct JSONL reading with one of:
CozoDB indexed data — already available via
MemorySubsystem. The conversation entries are already indexed and searchable. Voice subsystem should query the existing database instead of re-reading raw files.ConversationSource interface — from Decouple conversation indexing from Claude Code file format #236. Once conversation indexing is abstracted, voice can use the same interface.
Option 1 is simpler and doesn't depend on #236.
Impact
Related
Labels
enhancement, cerebellum, voice