Refine local AI hint fallbacks
CI / Validate manifests (push) Has been cancelled
CI / SwiftLint (push) Has been cancelled
CI / iOS / Extension (push) Has been cancelled
CI / macOS (push) Has been cancelled

Keep clipboard actions in Skills and focus offline hints on distinct daily market briefings while preventing retired cached cards from resurfacing.
This commit is contained in:
Rocky
2026-08-23 20:26:34 +08:00
parent 2cc81c4628
commit 03837b0e48
5 changed files with 163 additions and 157 deletions
+4 -1
View File
@@ -10,7 +10,10 @@ public enum AIHintPool: Sendable {
public static func activeCards(
pack: AIHintPack
) -> [AIHintCard] {
let regularCards = pack.cards.filter { !$0.requiresClipboard30s }
let regularCards = pack.cards
.filter { !AIHintLocalCatalog.isRetired(cardID: $0.id) }
.filter { !$0.requiresClipboard30s }
.filter { $0.metadata?.soul == nil }
.filter { !isHistoricalToday($0) }
// Clipboard-conditioned sentences no longer rotate in the carousel;