Repository navigation
feat: Go hook binaries, event coordination, and rlm-core default enablement - #9
Merged
Merged
Conversation
- Add Go hook infrastructure (hookio, events packages) for ~5ms startup vs ~500ms Python cold start - Implement session-init (CLAUDE_ENV_FILE venv bootstrap), complexity-check (DP phase-aware), and trajectory-save Go binaries - Convert UserPromptSubmit, PostToolUse, PreCompact to prompt-based hooks - Add hook-dispatch.sh with platform detection and Python fallback - Move Python scripts to scripts/legacy/ (RLM_USE_LEGACY_HOOKS=1 to restore) - Add GitHub Actions CI for cross-platform binary builds and releases - Add Makefile with dev/all/test/clean targets for 5 platforms Co-Authored-By: Claude Opus 4.5 <[email protected]>
- 9 tests for hookio (input parsing, output format, session context, env helpers, malformed input handling) - 7 tests for events (emit/read, JSONL append, DP phase mapping, RLM mode detection, suggested mode mapping) - All tests pass with -race detector Co-Authored-By: Claude Opus 4.5 <[email protected]>
When multiple Bash calls run in parallel and one returns non-zero (e.g., grep/ls with no matches), Claude Code cancels all sibling calls. Added platform guidance so the orchestrator can make informed decisions about when to parallelize vs sequence exploratory commands. Co-Authored-By: Claude Opus 4.5 <[email protected]>
- Add internal/config package with V1→V2 config migration (preserves user customizations, creates .v1.bak backup) - Add JSON Schema files for RLM events (trajectory, mode-change, memory-evolution) and shared coordination schemas (request/response) - Add Python event emission/consumption helpers (src/events/) matching Go API - Integrate config.Load() into session-init for both fast and first-run paths Co-Authored-By: Claude Opus 4.5 <[email protected]>
- Replace hardcoded spec/review check with events.SuggestedRLMMode() - Update PostToolUse prompt with DP phase-to-RLM mode alignment guidance Co-Authored-By: Claude Opus 4.5 <[email protected]>
Co-Authored-By: Claude Opus 4.5 <[email protected]>
- Flip USE_RLM_CORE default to True in config.py - Add rlm_core delegation helpers to MemoryStore (create, get, delete, query, search) with separate -core.db to avoid schema conflicts - Fix pre-existing bug: hyperedge queries used row["type"] instead of row["edge_type"] matching the actual SQLite column name - Remove requires_python_backend skip markers from integration tests (metadata/confidence/session isolation all work with rlm_core now) - Add rlm_core import verification to session-init Go binary - Keep Python SQLite as primary store for full API compatibility (FTS5, confidence logging, evolution log, access tracking, hyperedges) Co-Authored-By: Claude Opus 4.5 <[email protected]>
- Document rlm-core enabled by default in CHANGELOG - Document hyperedge bug fix in CHANGELOG - Update README to reflect new default (USE_RLM_CORE=true) - Update performance comparison table - Update config reference table Co-Authored-By: Claude Opus 4.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Test plan
go test ./...— all Go tests passRLM_USE_CORE=true pytest tests/— all tests pass (229 key tests verified)RLM_USE_CORE=false pytest tests/— fallback path works🤖 Generated with Claude Code