fix: block duplicate env/header keys at entry instead of silently dropping one (#38) #49
Reference in New Issue
Block a user
Delete Branch "fix/38-duplicate-kv-keys"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #38.
KeyValueTable.dump()builds a dict, so two rows with the same key silently lost one value on save. Duplicates are now blocked at the only writer:dump()unchanged.Verified with an offscreen widget smoke test: renaming a key into a collision reverts with no data loss; legitimate renames pass. Tests + ruff clean. (Implemented by a delegated agent; reviewed.)
🤖 Generated with Claude Code