Expand description
SQLite-based decision tracking for auditing and analysis.
Structs§
- Command
Breakdown - Per-command decision breakdown for suggestion analysis.
- Decision
Counts - Aggregate decision counts.
- Tracking
Entry - A decision entry to record in the tracking database.
Functions§
- open_db
- Open (or create) the tracking database and ensure the schema exists.
- parse_
duration - Parse a duration string like
7d,30d,1h,30minto aSQLitemodifier format. - query_
command_ breakdown - Query per-command decision breakdowns from the tracking database.
- query_
counts - Query aggregate decision counts from the tracking database.
- query_
top_ commands - Query top commands by decision type.
- record
- Record a decision, logging errors to stderr instead of propagating.
- record_
decision - Record a single decision in the tracking database.
- resolve_
db_ path - Resolve the tracking database path from an explicit override or config.