topfans/backend/pkg
zerosaturation ecdd96da5b feat(mq): task:event task type + business event constants
- pkg/mq/tasks/task_events.go (new): business event constants
  - EventDailyLogin, EventDailyBrowseAsset, EventDailyMint, EventDailyPlaceAsset
  - TaskEventPayload{UserID, StarID, EventType}
- pkg/mq/tasks/registry.go: +TypeTaskEvent = 'task:event'

Spec §3 F3 separation: business event constants live in task_events.go;
MQ task type strings live in registry.go (revenue:/gallery:/* style).

Consumed by:
- assetService/mq/producer.go (Phase F.1 emitter for daily_mint)
- frontend pages (Phase F.2 callers via task-api.js reportEvent -> gateway -> task:event)
- taskService/mq/consumer.go (Phase E consumer -> ProcessTaskEvent)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-27 15:41:49 +08:00
..
authctx fix(backend): auth boundary — trusted identity from ctx (batch 2) 2026-07-23 01:12:35 +08:00
database
errors fix(backend): service stability — batch 3 accumulated (bcrypt off-txn / login anti-enum / MQ stub / aiChat / event reliability / gateway aggregate) 2026-07-24 14:03:21 +08:00
filter
health fix(backend): service stability — batch 3 accumulated (bcrypt off-txn / login anti-enum / MQ stub / aiChat / event reliability / gateway aggregate) 2026-07-24 14:03:21 +08:00
jwt fix(security): JWT key governance — MustInit fail-fast + atomic.Value 2026-07-23 18:50:12 +08:00
logger
models fix(backend): financial correctness — settlement/hours/mint idempotency (batch 1) 2026-07-23 01:11:54 +08:00
mq feat(mq): task:event task type + business event constants 2026-07-27 15:41:49 +08:00
peripheral fix(backend): service stability — batch 3 accumulated (bcrypt off-txn / login anti-enum / MQ stub / aiChat / event reliability / gateway aggregate) 2026-07-24 14:03:21 +08:00
proto feat(asset): restore starbook home More button by Asset.LikeCount ordering 2026-07-24 19:20:16 +08:00
push
queue/consts fix(backend): service stability — bcrypt off-txn / login anti-enum / MQ stub / aiChat / event reliability / gateway aggregate (batch 3) 2026-07-23 18:50:40 +08:00
statistic fix(backend): service stability — bcrypt off-txn / login anti-enum / MQ stub / aiChat / event reliability / gateway aggregate (batch 3) 2026-07-23 18:50:40 +08:00
validator