Skip to content

Commit b123c36

Browse files
committed
fix: Implement secure licensing with grace periods
- Add 90-day offline grace period for licensed users - Add 1-day offline grace period for trial users - Conservative license deletion (only on explicit invalid/revoked) - Unified 8-hour cache TTL for all users - Optimize trial validation (check expiry before grace) - Never delete licenses on network errors or grace expiry - Protect user data with recovery paths for all blocked states This ensures legitimate users can work offline for extended periods while preventing license abuse. Licensed users won't lose access due to temporary network issues or extended travel.
1 parent e427cae commit b123c36

File tree

2 files changed

+217
-118
lines changed

2 files changed

+217
-118
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,6 @@ agent-reports
4141

4242
notarized-build-*
4343

44-
.claudedocs/
44+
claudedocs/
4545

4646
agent-docs/

0 commit comments

Comments
 (0)