feat(workflow): implement target channel personalities, raw review cards, on-demand AI rewrites and multi-target dispatch

This commit is contained in:
mamad
2026-08-27 22:11:33 +03:30
parent 4f5570850e
commit 26cd91a48f
10 changed files with 695 additions and 699 deletions
+14 -2
View File
@@ -10,6 +10,18 @@ COLLECTED_POSTS_TOTAL = Counter(
["source_channel_id"]
)
SOURCE_ACTIVITY_TOTAL = Counter(
"copykar_source_activity_total",
"Total posts ingested per source channel",
["channel_id", "title"]
)
TARGET_ACTIVITY_TOTAL = Counter(
"copykar_target_activity_total",
"Total posts published per target channel",
["channel_id", "title"]
)
AI_REQUESTS_TOTAL = Counter(
"copykar_ai_requests_total",
"Total AI API calls made",
@@ -19,13 +31,13 @@ AI_REQUESTS_TOTAL = Counter(
DUPLICATES_DETECTED_TOTAL = Counter(
"copykar_duplicates_detected_total",
"Total duplicate posts detected",
["method"] # "hash" or "ai_semantic"
["method"]
)
ADMIN_ACTIONS_TOTAL = Counter(
"copykar_admin_actions_total",
"Total review decisions by admins",
["action"] # "approved", "rejected", "routed"
["action"]
)
POSTS_PUBLISHED_TOTAL = Counter(