class

Chronicle::Engine::Attribution

Inherits Reference < Object

Correlates raw windows, shell executions, and Git commits into unified project domains.

Class methods

correlate(windows : Array(Models::WindowEvent), commands : Array(Models::ShellEvent), commits : Array(Models::GitCommit), journals : Array(Models::JournalEntry), project_filter : String | Nil = nil) : Array(Models::ProjectActivity)
Source
infer_project_from_path(path : String) : String
Source
infer_project_from_window(window : Models::WindowEvent) : String
Source
normalize_project_name(raw_name : String) : String
Source
scope_to_project(project_query : String, projects : Array(Models::ProjectActivity), windows : Array(Models::WindowEvent), commands : Array(Models::ShellEvent), commits : Array(Models::GitCommit), journals : Array(Models::JournalEntry)) : Tuple(Array(Models::ProjectActivity), Array(Models::WindowEvent), Array(Models::ShellEvent), Array(Models::GitCommit), Array(Models::JournalEntry))
Source