Skip to main content

Module event_log

Module event_log 

Source

Structs§

ActorStats
Actor statistics: event count and unique item count.
Event
LogEntry
A parsed log entry for display.

Enums§

EventType

Functions§

actors_for_items
Collect actor stats for a specific set of item IDs. Only counts events whose target matches one of the given item IDs.
append_event
Append an event to .joy/log/YYYY-MM-DD.log.
closed_item_ids_since
Collect unique item IDs that were closed after a given timestamp. If cutoff is None, returns all items ever closed. Returns deduplicated item IDs (an item closed multiple times appears once).
get_git_email
Get git user.email for the current user.
last_release_timestamp
Find the timestamp of the last release.created event, if any.
log_event
Convenience: append an event, loading git email automatically. Errors are silently ignored to avoid breaking the main command flow.
log_event_as
Like log_event, but uses a pre-resolved identity string. This allows the caller to pass the Identity::log_user() value which may include delegated-by: for AI members.
read_all_events
Read all events (oldest first, no limit). Used for release computation.
read_events
Read events from .joy/log/ files, newest first.