SessionStart
01Hook Claude Code
One of 4 in settings.json
Runs when a session starts, executing gsd-check-update.js and gsd-session-state.sh via node (2 commands). From mrboups/xbrain.
Self-hostable, MCP-native memory backend for teams of humans and AI agents. A FastAPI service enforces a tagging contract (team/project scope, visibility, confidence, truth level, source, validation) over PostgreSQL, Qdrant, and Neo4j, with team-scoped, truth-filtered retrieval across multiple chat frontends.
Hook Claude Code
One of 4 in settings.json
Runs when a session starts, executing gsd-check-update.js and gsd-session-state.sh via node (2 commands). From mrboups/xbrain.
Hook Claude Code
One of 4 in settings.json
Runs after a tool call finishes for Bash, Edit, Write, MultiEdit, Agent, Task, Read, Write and Edit tool calls, executing gsd-context-monitor.js, gsd-read-injection-scanner.js and gsd-phase-boundary.sh via node (3 commands). From mrboups/xbrain.
Hook Claude Code
One of 4 in settings.json
Runs before the agent uses a tool for Write, Edit, Write, Edit, Write, Edit and Bash tool calls, executing gsd-prompt-guard.js, gsd-read-guard.js, gsd-workflow-guard.js and gsd-validate-commit.sh via node (4 commands). From mrboups/xbrain.