Skip to main content

Module hooks

Module hooks 

Source
Expand description

Hooks — auto-embed task summaries and commit messages.

  • on_task_completed: fires on TaskCompleted domain event, reads the task summary from DB and embeds it.
  • sync_recent_commits: scheduled task that scans recent git commits and embeds their messages.

Functions§

on_task_completed
Called when a TaskCompleted event fires. Reads the task summary and writes it to the knowledge store.
sync_recent_commits
Sync recent git commits — called on schedule (every 15 min). Reads the repo’s recent commits and embeds their messages.