docs(kilo-pass): document current implementation rules#3646
Conversation
| not derive store expiration. | ||
| 6. Store purchase completion MUST use its own active-row check: the first | ||
| user subscription row with a null ended marker. It does not reuse the | ||
| general effective-subscription selector or apply an explicit ordering. |
There was a problem hiding this comment.
WARNING: Rule 6 description is incomplete — the active-row check also requires a non-ended status
The spec says the active-row check is "the first user subscription row with a null ended marker", but store-subscription-completion.ts:472-478 also applies !isStripeSubscriptionEnded(activeSubscription.status) before throwing. A row with ended_at = null but a status of canceled, unpaid, or incomplete_expired is NOT treated as a blocking active subscription. The dual condition should be documented:
Store purchase completion MUST use its own active-row check: the first user subscription row with a null ended marker and a non-ended provider status.
This is advisory only as the code is authoritative during alignment.
Code Review SummaryStatus: 1 Issue Found | Recommendation: Address before merge Executive SummaryThe new commit is purely a line-wrap reformat of Overview
Issue Details (click to expand)WARNING
Other Observations (not in diff)All other key spec claims verified against source code with no discrepancies:
Files Reviewed (1 file)
Fix these issues in Kilo Cloud Reviewed by claude-4.6-sonnet-20260217 · 583,861 tokens Review guidance: REVIEW.md from base branch |
Summary
Document current Kilo Pass behavior and known implementation limits as a retrospective source-of-truth draft.
Why this change is needed
Kilo Pass behavior is spread across billing, issuance, mobile-store, projection, and UI paths. Future work needs one code-faithful reference that distinguishes current guarantees from stronger behavior that has not been implemented.
How this is addressed
Not Yet Implementedand record the adjacent Subscription Centerunpaidpresentation mismatch.Human Verification
Reviewer Notes
Human Reviewer Flags
Not Yet Implemented; they are intentionally not presented as current guarantees.unpaiddifferently. The mismatch remains documented for follow-up.