feat: modular hook pipeline, obsidian management, alpha banner#12
Merged
Conversation
- Add prominent alpha release warning to README header - Add FUNDING.yml for Buy Me A Coffee + Solana donations - Add Support the Project section to README TOC and body - Document Obsidian Configuration Management (lacp-obsidian CLI) - Document Mycelium Network Memory mechanisms - Add test-obsidian-cli.sh and test-brain-memory.sh to Testing section - Update lacp-claude-hooks profile list in command reference - Update brain-doctor and brain-expand descriptions
- lacp-obsidian CLI: status, audit, apply, backup, restore, plugins, graph-config, optimize (8 commands, 452 lines) - Obsidian manifest.json for declarative vault config - Optimization engine with size-based profiles (small/medium/large) - brain-doctor: add obsidian config drift detection (section 11) - brain-expand: add step 0.5 obsidian config guard, --activate and --consolidate flags, enhanced memory consolidation support - doctor: add ollama daemon/model checks, docker/OrbStack detection - consolidation.json config for memory consolidation parameters - test-obsidian-cli.sh (10 tests), test-brain-memory.sh (24 tests) - gitignore obsidian config snapshots
Replace 368-line bash stop hook with modular Python (9-checker pipeline): - Loop guard, circuit breaker, trivial message filter - 8 heuristic rationalization patterns (ported from bash) - Work detector via direct import of detect_session_changes - NEW: test verification — catches false "tests pass" claims - Ollama LLM evaluation (urllib.request, no curl dependency) - Ralph-wiggum cooperation (block → allow+systemMessage) New hooks: - stop_quality_gate.py: modular stop hook with test verification - session_start.py: unified SessionStart with git context + test cmd cache - pretool_guard.py: co-author guard, scp/root block (ported from exec_guard) - detect_session_changes.py: transcript scanner (library, imported directly) - hook_telemetry.py: JSONL telemetry with rotation (library, imported directly) New apply-profile profiles in lacp-claude-hooks: - quality-gate-v2: Python stop hook + deps - session-start: replaces 3 SessionStart entries with unified hook - pretool-guard: cleans 4 redundant PreToolUse + PermissionRequest entries 21 unit tests for all checkers (test_stop_hook.py). Legacy bash hooks preserved for backwards compatibility.
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
lacp-obsidianCLI (8 commands: status, audit, apply, backup, restore, plugins, graph-config, optimize)--activate/--consolidateflagsapply-profileprofiles:quality-gate-v2,session-start,pretool-guardNew Hook Files
stop_quality_gate.pysession_start.pypretool_guard.pydetect_session_changes.pyhook_telemetry.pyTest plan
lacp test --quick— passespython3 hooks/test_stop_hook.py— 21/21 passscripts/ci/test-obsidian-cli.sh— 10/10 passbash -nsyntax checkapply-profile --dry-runfor quality-gate-v2, session-start, pretool-guard — all OK