---
id: OV-C5-POS-001
title: "Queue items expire after 3-day retention and are not recoverable"
product: mobile
module: offline-visitation
type: functional
priority: P1
risk: high
status: draft
automationStatus: planned
sourceRefs:
  tsd: PK144
  tsdSection: C5
  tsdScenario: C5.1
  prd: PK144
  jira: null
automationRef: null
lifecycleStatus: active
lifecycleReason: "AI-generated draft from PK144 TSD C5.1; pending QA review."
lastReviewedAt: null
reviewedBy: null
supersededBy: null
duplicateOf: null
blockedBy: null
preconditionRefs:
  - PRE-OV-gagal-kirim-has-items
tags:
  - mobile
  - offline-visitation
  - perlu-dikirim
  - pk144
  - staging
---
## Objective
Verify queue retention expiry removes items permanently without moving them to Riwayat.

## Preconditions
- See [[PRE-OV-gagal-kirim-has-items]]

## Steps
1. When the 3-day retention period elapses without successful sync (or cache cleared / app uninstalled)

## Expected Result
- Then the item is permanently removed from local storage
- And it disappears from Gagal Kirim
- And it is NOT moved to Riwayat (not recoverable)
- And the homepage count updates

## Source Traceability
- TSD: PK144
- Section: C5 - Expiration & Manual Deletion
- Scenario: C5.1 - Queue retention rules (3 days)
- Acceptance Criteria: M.24 AC1–AC6

## Evidence Required
- Instrumented clock evidence of expiry; confirm not in Riwayat.

## Notes / Gaps
- Testing Concern #20 (Note): retention period upgradeable post-release. #21 (Critical): timezone for retention calc (device vs server).
