-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Summary
neurostack hooks install currently requires a separate manual step after neurostack init. Hooks should be set up automatically as part of the init flow.
Proposed Behavior
During neurostack init, after vault setup and config generation:
- Install systemd harvest timer (existing
hooks installlogic) — hourlyneurostack harvest --sessions 3 - Detect Claude Code and inject a
SessionEndhook into~/.claude/settings.jsonthat runsneurostack harvest --sessions 1on session exit - Support other agents (Codex, Gemini) if their hook config paths are detected
UX
- Prompt user during interactive init: "Install automation hooks? (harvest timer + session hooks) [Y/n]"
--no-hooksflag to skip in non-interactive mode- Print summary of what was installed
Why
New users don't know about neurostack hooks install and miss out on automatic session harvesting. This is the highest-value automation NeuroStack provides and should be on by default.
Acceptance Criteria
-
neurostack initinstalls harvest timer unless declined -
neurostack initdetects Claude Code and adds SessionEnd hook -
neurostack init --no-hooksskips hook setup - Idempotent — re-running init doesn't duplicate hooks
-
neurostack hooks statusreflects hooks installed via init
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels