Initial curated projectbrain source from 8a7b1e0651dbdab97d744cbd2e653ab3970ac6c5
This commit is contained in:
commit
5aa3e8d685
700 files changed
+132801
No files matched your search
@@ -0,0 +1,19 @@
|
||||
-- Historical fixture and smoke records are useful evidence, but were never
|
||||
-- real owner decisions. Close only those narrowly identified pending items.
|
||||
UPDATE "ReviewQueueItem"
|
||||
SET
|
||||
"status" = 'rejected',
|
||||
"approvalState" = 'rejected',
|
||||
"notes" = CASE
|
||||
WHEN "notes" IS NULL OR "notes" = '' THEN 'Automatically closed: synthetic seed or smoke evidence is not a human attention item.'
|
||||
ELSE "notes" || E'\nAutomatically closed: synthetic seed or smoke evidence is not a human attention item.'
|
||||
END,
|
||||
"updatedBy" = 'attention_policy_migration',
|
||||
"updatedAt" = CURRENT_TIMESTAMP
|
||||
WHERE
|
||||
"status" = 'pending'
|
||||
AND (
|
||||
"createdBy" = 'seed'
|
||||
OR LOWER("source") LIKE '%smoke%'
|
||||
OR LOWER("sourceType") LIKE '%smoke%'
|
||||
);
|
||||
Reference in new issue
Block a user