Description-Behavior Mismatch
High
- Confidence
- 98% confidence
- Finding
- The case statement defines `export)` twice; in shell case dispatch, only the first matching branch runs, so the later `_export` implementation is unreachable. Users expecting a structured export of supplement history instead have arbitrary input appended to `export.log`, which is misleading and can cause sensitive health data to be mishandled, omitted from expected exports, or retained unexpectedly.
