GrapheneOS doesn’t persistently store notifications unless users explicitly enable notification history. For users enabling notification history, it’s a 24 hour log that’s cleared as soon as the feature is disabled again. This is the standard Android Open Source Project approach.