mirror of
https://github.com/prosolis/gogobee.git
synced 2026-07-16 17:02:42 +00:00
Add multi-tag personality archetype system
Replace single first-match archetype with comprehensive multi-tag system spanning 25 archetypes across 8 categories (Communication, Temporal, Emotional, Economy, Games, Adventure, Social). Archetypes are computed nightly via cron job querying 15+ tables and cached in user_archetypes. Thresholds calibrated against real community data. Integrates with !personality, !superstatsexplusalpha, !whois, and milk carton flavor text. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
9
main.go
9
main.go
@@ -309,6 +309,9 @@ func main() {
|
||||
setupScheduledJobs(scheduler, client, wotdPlugin, holidaysPlugin, gamingPlugin, birthdayPlugin, animePlugin, moviesPlugin, concertsPlugin, esteemedPlugin, forexPlugin, minifluxPlugin, marketPlugin)
|
||||
scheduler.Start()
|
||||
|
||||
// ---- Initial archetype calculation ----
|
||||
go plugin.RefreshAllArchetypes()
|
||||
|
||||
// ---- Start syncing ----
|
||||
slog.Info("GogoBee starting sync...")
|
||||
|
||||
@@ -461,6 +464,12 @@ func setupScheduledJobs(
|
||||
plugin.MarkovPurgeExpired()
|
||||
})
|
||||
|
||||
// Archetype refresh at 04:30 daily
|
||||
c.AddFunc("30 4 * * *", func() {
|
||||
slog.Info("scheduler: refreshing archetypes")
|
||||
plugin.RefreshAllArchetypes()
|
||||
})
|
||||
|
||||
// Miniflux RSS polling
|
||||
if miniflux != nil {
|
||||
interval := fmt.Sprintf("@every %dm", miniflux.PollInterval())
|
||||
|
||||
Reference in New Issue
Block a user