Repository navigation
fix(adgate): remove 7-day grace period — banner always shows from first launch - #256
Merged
Merged
Conversation
…rst launch (#212) User spec change 2026-06-02: drop the original "first-7-days no ads" onboarding rule entirely. Banner appears from first launch, capped at 1/day with dismissed-that-day skip and Remove-Ads-IAP override unchanged. Code: - AdGate.gracePeriodDays stays at 0 (was being restored to 7 per pre-change #212 spec — that ask is now withdrawn) - shouldShowBanner() arithmetic branch retained as 0-valued knob so re-introducing a grace is one constant flip - 4 disabled grace-boundary tests removed (no longer policy); bannerAlwaysVisibleAfterFirstLaunch smoke test added Docs (user-facing): - docs/privacy-policy.md — short notice + en + zh-Hant body updated to "Ads appear from first launch" (release-critical legal claim — was promising "first 7 days no ads"; would mismatch shipped behaviour) Docs (internal): - docs/v2/design.md — rule #6/#7, AdGateOutcome enum comment, the inline pseudo-code grace branch, wall-clock-bypass rationale, and the §決策 origin table all updated to reflect 0-grace policy - docs/v2/plan.md — v2.5.2 phase description updated - docs/v2/v2.5-readiness.md — manual-test checklist trimmed (T+0 should show banner; +8-days step removed) - AdGate.swift inline comments Tests: 16/16 AdGateLogicTests pass on this branch. Closes #212 (with the policy spec inverted from the original ask). Co-Authored-By: Claude Opus 4.7 <[email protected]>
… manifest URL Pre-existing broken links surfaced by lychee on this PR because the two files were modified for the gracePeriodDays spec change. None of these breakages were introduced here; just cleaned up while in the same diff. Co-Authored-By: Claude Opus 4.7 <[email protected]>
wei18
added a commit
that referenced
this pull request
Jun 3, 2026
…et injection Captures 5 PRs merged today (#256 grace inversion / #257 .minesweeper CK config / #258 multi-app IAP / #259 MS AppComposition wire / #263 U15 LiveAdMobAdProvider + banner + toast / #264 prod-ID comment scrub / #265 AdMob secret injection PR1) plus 5 issues filed for follow-up (#260 #261 #262 #266 #267). Records decisions, rejected alternatives, Architect review hand-off, and the spec inversion (7-day grace removed). Notes Iron Law violation on skill writing + remediation via post-hoc CR. Co-Authored-By: Claude Opus 4.7 <[email protected]>
wei18
added a commit
that referenced
this pull request
Jun 3, 2026
…ncy (#272) * docs(v2): refresh v2.5-readiness for xcconfig injection + grace removal Surfaced by docs-currency CR (2026-06-03). v2.5-readiness.md lagged two shipped changes: #265 (AdMob build-time xcconfig injection — replaced the LiveAdMobBridge fatalError Release branch that no longer exists) and #256 (gracePeriodDays = 0 — banner shows from first launch, no 7-day window, including the App-Review-facing test path). Also notes the xcconfig + Info.plist $() pattern in foundations.md §7. Co-Authored-By: Claude Opus 4.8 <[email protected]> * chore(telemetry): add swiftLanguageModes: [.v6] for manifest consistency Surfaced by config CR: TelemetryKit was the only one of 9 package manifests omitting `swiftLanguageModes: [.v6]`. Functionally near-equivalent under swift-tools-version 6.2 (defaults to v6), but aligns with the other 8 so the language mode is explicit everywhere. Build verified. Co-Authored-By: Claude Opus 4.8 <[email protected]> --------- Co-authored-by: Claude Opus 4.8 <[email protected]>
wei18
added a commit
that referenced
this pull request
Jun 3, 2026
…al (#273) Surfaced by docs-currency CR (2026-06-03). v2.5-readiness.md lagged two shipped changes: #265 (AdMob build-time xcconfig injection — replaced the LiveAdMobBridge fatalError Release branch that no longer exists) and #256 (gracePeriodDays = 0 — banner shows from first launch, no 7-day window, including the App-Review-facing test path). Also notes the xcconfig + Info.plist $() pattern in foundations.md §7. Co-authored-by: Claude Opus 4.8 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
User spec change 2026-06-02: drop the original "first-7-days no ads" onboarding rule entirely. Banner shows from first launch; 1/day cap + dismissed-that-day skip + Remove Ads IAP override all unchanged.
What changed
Test plan
Closes #212 with policy inverted from the original ask.
🤖 Generated with Claude Code