Parent
#68
What to build
Write docs/adr/0006-txhash-retention-on-delete.md documenting the invariant that deleteTrade must never remove a deleted trade's txHash from hw_synced_v1.
Cover:
- The invariant: txHash stays in the synced set after a trade is deleted
- The reason: the synced set is the sole guard against chain sync re-importing a trade the user intentionally removed
- The edge case: if ALL chain-imported trades are deleted, the boot migration clears the synced set and re-import will occur on next boot — this is a known, accepted limitation
- No code changes — documentation only
Acceptance criteria
Blocked by
None — can start immediately
Parent
#68
What to build
Write
docs/adr/0006-txhash-retention-on-delete.mddocumenting the invariant thatdeleteTrademust never remove a deleted trade's txHash fromhw_synced_v1.Cover:
Acceptance criteria
docs/adr/0006-txhash-retention-on-delete.mdexists and follows the ADR format used by 0003–0005hw_synced_v1Blocked by
None — can start immediately