Files
simplex-chat/docs
spacedandy-agents-simplex 732db2dfb0 badge-service: renew a subscription once its paid coverage ends
While a subscription purchase's coverage runs, issueBadge is unchanged
and makes no store call. Once it has ended, the service asks the store at
most once an hour per subscription, stamping every attempt, and answers
from the stored state in between; a failed check is retried after the
whole interval. A grantable charge is planned from the tip at the store's
period start, signed, and written with its issuance and state in one
transaction that re-reads the tip, answering internal if it moved. Any
other charge and the state are recorded without a ledger row. Every answer
for a subscription purchase carries its state.

Run: 001-badge-subscriptions, slice 4
2026-10-14 05:20:00 +00:00
..
2026-07-22 18:37:53 +01:00
2023-09-21 09:28:58 +01:00
2026-08-16 13:14:07 +01:00
2023-05-11 10:11:38 +01:00
2026-05-07 21:04:46 +01:00
2026-03-30 18:14:17 +01:00
2026-07-22 08:22:48 +01:00
2025-11-29 22:59:58 +00:00
2026-08-16 13:14:07 +01:00
2022-11-28 17:34:43 +00:00
2022-11-28 17:34:43 +00:00
2022-11-28 17:34:43 +00:00