Part of #71. The user-facing surface — what an engineer actually types.
Scope
New `smriti daemon` subcommands in `src/index.ts`
Hook template update
First-run UX
Acceptance
- `smriti daemon --help` shows all six subcommands with clear descriptions
- All commands work when daemon is running and when it isn't (where applicable)
- The hook template change is documented in `CLAUDE.md`'s quick reference
- The first-run nudge appears exactly once and respects the suppression env var
Out of scope
Part of #71. The user-facing surface — what an engineer actually types.
Scope
New `smriti daemon` subcommands in `src/index.ts`
Hook template update
```bash
#!/bin/bash
SOCK="$HOME/.cache/smriti/daemon.sock"
if [ -S "$SOCK" ]; then
: | nc -U "$SOCK" 2>/dev/null
else
/usr/bin/lockf -t 0 /tmp/smriti-ingest.lock smriti ingest claude 2>/dev/null
fi
exit 0
```
First-run UX
Acceptance
Out of scope