Releases
v0.2.0
Compare
Sorry, something went wrong.
No results found
Added
Session PID Tracking : Tracks processes spawned by Bash tool calls via PostToolUse hook
Automatically cleans up orphan processes from crashed sessions on next SessionStart
SessionEnd hook marks clean exits to distinguish from crashes
Triple verification before killing tracked processes (PID + start time + command)
/check command now shows tracked session processes alongside allowlist matches
Stale tracking file cleanup (>24h) on session start
Test suite for session tracking (tests/test-tracking.sh)
/check command now shows tracked session processes alongside allowlist matches
Changed
get_filter_pattern() now auto-generated from pattern arrays (no manual dual-maintenance)
How It Works
PostToolUse(Bash) hook snapshots new PPID=1 processes after each Bash tool call (~50ms overhead)
Processes are stored in per-session tracking files with full identification (PID, lstart, command)
On next SessionStart: crash exit → auto-kill tracked orphans; clean exit → silently skip
Complements existing allowlist scanning (allowlist handles known patterns, tracking handles arbitrary scripts)
You can’t perform that action at this time.