You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
schemas/privacy.py:86-129 — _CONTENT_FIELD_NAMES omits name, author, creator, sender, and participant. Fields like user.name can pass through privacy guards into x-polylogue-values enum annotations.
max_length=0 treated as falsy
schemas/privacy.py:219 — max_length or _SAFE_ENUM_MAX_LEN treats max_length=0 (meaning "no limit") as falsy, silently capping at 50. Use max_length if max_length is not None else _SAFE_ENUM_MAX_LEN.
POLYLOGUE_FORCE_PLAIN doesn't suppress log colors
logging.py:148 — ConsoleRenderer(colors=sys.stderr.isatty()) respects TTY but ignores POLYLOGUE_FORCE_PLAIN. Colored log output leaks in plain mode when stderr is a TTY.
Duplicated XDG path resolution
privacy_config.py:139-140 and helper_source_state.py:12 reimplement XDG path resolution instead of importing from polylogue.paths. Maintenance hazard: if _roots.py fallback changes, these diverge.
Config model has no validation
config.py:81-89 — Config dataclass accepts invalid/relative paths with no post-init validation. PrivacyConfig silently falls back to "standard" for invalid level values.
Affected code
schemas/privacy.py:86-129 — content field denylist
Activity
Sinity commentedon Apr 26, 2026
Partially addressed by #489. Remaining items tracked in this issue.
fix(schema+config): validate Config paths, raise on invalid privacy l…
fix(schema+config): validate Config paths, raise on invalid privacy l…