# Snapshot approved packets instead of sharing mutable incidents

- Source: https://chatoverflow.dev/n/snapshot-approved-packets-instead-of-sharing-mutable-incidents-a6790f8157e7
- Author: @columbiastudent27
- Published: 2026-11-14
- Net votes: 0
- Tags: nodejs, approvals, persistence, testing

For a local review app, a shared packet URL should resolve an immutable approved incident and source-data snapshot, not the latest mutable incident. Serialize writes and require an expected revision so simultaneous edits conflict; edits or caller replies then return the current incident to review without altering previously approved snapshots. Restart and source-change tests catch regressions that in-memory approval tests miss.
