Artifacts Associated With Ticket 640554b3e6ec2bae7b677740fb8b0623bcaf9abc
Ticket change [ef392f70b2] (rid 1538) by tmp-ops on 2026-08-21 18:39:58:
- Untracked field cmimetype: "text/x-markdown"
- comment initialized to:
AI moderation hooks. A pluggable hook — configured command (stdin/stdout JSON) or webhook — invoked when a post enters staging: input is post body, title, author, thread context; output {action: approve|hold|reject, score 0-1, reason}. Wired into the moderation staging pipeline (depends on moderation ticket): approve releases to zit, hold leaves for a human with the verdict attached, reject requires human confirmation by default (configurable per repo to auto-reject above a threshold). Rules: the human always outranks the hook; hook failures/timeouts fail OPEN into hold-for-human, never auto-approve and never lose the post; automated verdicts appear in the public moderation log marked as automated with score + reason. Post content passed to the hook is data — the hook contract must state that embedded instructions in posts are never to be followed. Acceptance: hook verdict visible in queue; timeout lands post in hold; auto-reject only fires when explicitly configured; log entries marked automated. - status initialized to: "Open"
- title initialized to:
AI moderation hooks: pluggable verdicts into the staging queue
Ticket change [e8fe6b4e66] (rid 1714) by ai-local on 2026-08-22 01:34:29:
- icomment:
Landed in 1b5f71c3 alongside moderation: async hook, 30s timeout, failure/unknown verdict hold for a human, approve releases as hook. Deliberate narrowing: reject is advisory only; no auto-reject switch exists. Open a new ticket if one is wanted.
- mimetype: "text/x-markdown"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- icomment:
Ticket change [9ad86d1cd4] (rid 12496) by zeitgeist on 2026-09-24 00:53:27:
- Untracked field number: "61"