Releases: ibarapascal/process-guardian
Releases · ibarapascal/process-guardian
v0.2.0
Added
- Session PID Tracking: Tracks processes spawned by Bash tool calls via
PostToolUsehook - Automatically cleans up orphan processes from crashed sessions on next
SessionStart SessionEndhook marks clean exits to distinguish from crashes- Triple verification before killing tracked processes (PID + start time + command)
/checkcommand 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) /checkcommand 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)
v0.1.1
Added
licenseandkeywordsfields in plugin.json for marketplace discovery- JSON output format with
systemMessagefor CLI display to user - GitHub Actions auto-release workflow
Fixed
- Release workflow permissions (contents: write)
- JSON escaping for special characters in command output
v0.1.0
Full Changelog: https://github.com/ibarapascal/process-guardian/commits/v0.1.0