add trigger audit stats and expose background trigger visibility

This commit is contained in:
DBT
2026-02-23 12:41:43 +00:00
parent 6410933877
commit 73531d36f6
3 changed files with 123 additions and 6 deletions

View File

@@ -85,5 +85,10 @@ func statusCmd() {
fmt.Printf("Heartbeat Last Log: %s\n", lines[len(lines)-1])
}
}
triggerStats := filepath.Join(workspace, "memory", "trigger-stats.json")
if data, err := os.ReadFile(triggerStats); err == nil {
fmt.Printf("Trigger Stats: %s\n", strings.TrimSpace(string(data)))
}
}
}