df288c6734
* fix: save config with restrictive permissions and improve secret redaction - Config files containing API keys were written with default permissions (typically 0644), making them world-readable on multi-user systems. Use OpenOptions with mode 0o600 on Unix to restrict access to the file owner. - `redact_secret` threshold raised from 8 to 16 characters — previously a 9-character secret would leak 8 of its 9 characters (4 prefix + 4 suffix). Now secrets up to 16 chars are fully masked with "********". * fix(config): keep secret saves warning-free on windows --------- Co-authored-by: Hunter Bown <hmbown@gmail.com>