Enforce commenter gender targeting

This commit is contained in:
jjbrunton committed 2026-08-14 12:57:00 +01:00
1 parent 8523873831
commit 12e2dc56f1
5 files changed
+38 -6

No files matched your search

+1 -1
View File
@@ -30,7 +30,7 @@ Never document real values. `.env` is ignored and may contain production credent
### `reddit`
- `subreddits`: at least one item with `name`, `enabled`, `type`, optional `targetingMode`, optional `weight`, `tone`, optional scripted opener, and conversation policy. `targetingMode` defaults to `post-author`; `comment-author` is valid only for image subreddits and selects high-confidence comments expressing a desire to take the depicted role. The normal image screen separately enforces `reddit.targetGenders`; the comment classifier does not claim to identify the commenter's actual gender.
- `subreddits`: at least one item with `name`, `enabled`, `type`, optional `targetingMode`, optional `weight`, `tone`, optional scripted opener, and conversation policy. `targetingMode` defaults to `post-author`; `comment-author` is valid only for image subreddits and selects high-confidence comments expressing a desire to take the depicted role. When `reddit.targetGenders` is non-empty, the gender perspective expressed by the comment must be included; `unknown` fails closed unless explicitly targeted. The normal image screen separately enforces the same list against the depicted role. The comment classifier does not claim to identify the commenter's actual gender.
- `pollIntervalMs`: legacy/scheduled polling cadence.
- `userAgent`: Reddit JSON request identifier.
- `targetGenders`: allowed parsed values.