Skip to content

v0.2.0 Release Notes

Release Date: 2026-03-28

Highlights

  • Testable architecture with dependency injection via interfaces
  • Comprehensive MkDocs documentation site with Material theme
  • Context-based colored logging with configurable log levels

What's New

Added

  • detector.IsKiroPrompt() exported helper function for checking Kiro CLI prompt format
  • --level flag for log level control (debug, info, warn, error)
  • Colored log output via github.com/lmittmann/tint
  • Context-based logging via github.com/grokify/mogo/log/slogutil
  • MkDocs documentation site with Material theme, dark/light mode, and search

Changed

  • Extracted watcher logic from cmd/watch.go to internal/watcher package with dependency injection
  • Added TmuxClient, Notifier, and StatsRecorder interfaces for testability
  • Configurable RecentWindow and CleanupWindow for duplicate prevention

Documentation

  • MkDocs site with Getting Started, Usage, Reference, and Troubleshooting sections
  • Architecture diagram (D2 source and SVG) showing package structure and data flow
  • Comprehensive pattern reference table (19 detection + 13 danger patterns)
  • CLAUDE.md project guidelines for AI agents
  • Godoc comments for all exported types and functions in internal packages

Tests

  • Unit tests for internal/watcher package (85.3% coverage)
  • Unit tests for internal/config package (73.9% coverage)
  • Unit tests for internal/stats package (88.7% coverage)
  • Unit tests for internal/notify package (50.0% coverage)
  • TestIsKiroPrompt test cases for detector

Upgrade Guide

v0.2.0 is fully backwards compatible with v0.1.0. No changes are required to upgrade.

New Features to Try

  1. Log levels - Use --level debug for more verbose output or --level warn for quieter operation:

    agentsentinel watch --level debug
    
  2. Documentation site - Build and view the docs locally:

    pip install mkdocs-material
    mkdocs serve
    
  3. Architecture diagram - View the system architecture at docs/architecture.svg

Installation

go install github.com/plexusone/agentsentinel@v0.2.0

Or download binaries from the GitHub Releases page.

Contributors

Full Changelog

See CHANGELOG.md for the complete changelog.