Remove downloaded visit attachments without deleting notes
Attachment cache consumes emulator storage. Add per-visit cleanup that preserves authored drafts.
- Focused work estimate
- 2h + prerequisites
- Priority in the scenario
- Medium
- Engineering practice
- Storage · Resource management
Estimated field mix
- Storage systems60%
- Mobile40%
Field percentages are editorial estimates of the ticket's engineering focus. They total 100%; they are not measured time, proficiency scores, or ownership evidence.
Review it, then add it to your workspace.
The board opens an editable draft; nothing is saved until you confirm it. Sign-in and workspace permissions apply, and Demo boards remain ephemeral.
Project context
Fictional maintenance coordinator Elm dispatches non-safety-critical inspection visits. Implement a mobile application in an emulator with local API stubs; physical devices and credentials are unnecessary.
Setup prerequisites
- Create synthetic visits and a local sync adapter.
- Provide controllable connectivity and process-restart simulation.
Preceding work
Complete these dependencies, or supply their agreed outputs before taking this ticket.
Acceptance criteria
- Cleanup targets downloaded blobs
- Notes and queue remain intact
- Failed deletion reports reclaim uncertainty
Implementation constraints
- Separate cache paths from draft storage.
Verification to include
- Clean one visit
- Fail blob removal and inspect notes
Deliverables
- Cache cleanup and isolation cases
Rollout and recovery
Disable cleanup if protected paths overlap.
Value of the work
For the engineer: Practice durable mobile state and explicit sync conflicts.
For the team: Inspect how an engineer protects field work during disconnection.
Evidence boundaries
Outcome Evidence: Tests, patches, and runbooks are requested deliverables. They become Outcome Evidence only through a qualified Mission and immutable Evidence IDs.
Ownership Evidence: Independent adaptation must be observed under a declared verification policy and cite immutable Evidence IDs. Completing a planning ticket establishes no Ownership Evidence.