Skip to content
quarry Artifact [ef392f70b2]
Login

Artifact [ef392f70b2]

Artifact ef392f70b248dee87d419f962752dae6e6b8ef89459b74eef5c2792cb43e3740:

Ticket change [ef392f70b2] - New ticket [640554b3e6] AI moderation hooks: pluggable verdicts into the staging queue. by tmp-ops on 2026-08-21 18:39:58.
D 2026-08-21T18:39:58.128
J cmimetype text/x-markdown
J comment AI\smoderation\shooks.\sA\spluggable\shook\s—\sconfigured\scommand\s(stdin/stdout\sJSON)\sor\swebhook\s—\sinvoked\swhen\sa\spost\senters\sstaging:\sinput\sis\spost\sbody,\stitle,\sauthor,\sthread\scontext;\soutput\s{action:\sapprove|hold|reject,\sscore\s0-1,\sreason}.\sWired\sinto\sthe\smoderation\sstaging\spipeline\s(depends\son\smoderation\sticket):\sapprove\sreleases\sto\szit,\shold\sleaves\sfor\sa\shuman\swith\sthe\sverdict\sattached,\sreject\srequires\shuman\sconfirmation\sby\sdefault\s(configurable\sper\srepo\sto\sauto-reject\sabove\sa\sthreshold).\n\nRules:\sthe\shuman\salways\soutranks\sthe\shook;\shook\sfailures/timeouts\sfail\sOPEN\sinto\shold-for-human,\snever\sauto-approve\sand\snever\slose\sthe\spost;\sautomated\sverdicts\sappear\sin\sthe\spublic\smoderation\slog\smarked\sas\sautomated\swith\sscore\s+\sreason.\sPost\scontent\spassed\sto\sthe\shook\sis\sdata\s—\sthe\shook\scontract\smust\sstate\sthat\sembedded\sinstructions\sin\sposts\sare\snever\sto\sbe\sfollowed.\n\nAcceptance:\shook\sverdict\svisible\sin\squeue;\stimeout\slands\spost\sin\shold;\sauto-reject\sonly\sfires\swhen\sexplicitly\sconfigured;\slog\sentries\smarked\sautomated.\n
J status Open
J title AI\smoderation\shooks:\spluggable\sverdicts\sinto\sthe\sstaging\squeue
K 640554b3e6ec2bae7b677740fb8b0623bcaf9abc
U tmp-ops
Z ce051e9c2d3a20ceca90af0c6f1ae8f4