Repository navigation
Conversation
…shtags Adds a "hashtags" post target for Facebook, Instagram, Threads and TikTok comment automations. The worker reads the post caption once per comment (Redis 10 min -> channel API -> stored ChannelPost caption) and records the new postHashtagNotMatched / postCaptionUnavailable misses.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
#vipposts) on Facebook, Instagram (both connection kinds), Threads and TikTok.video.listscope, so older TikTok connections are warned to reconnect.Changes
packages/database/src/partials/comment-automation.ts): new post target{ type: "hashtags", value: string[] }+ shared normalize/extract/match helpers (Unicode, whole-tag match, max 20).20261115025035_comment_automation_post_hashtag_miss_reasons: adds miss reasonspostHashtagNotMatched,postCaptionUnavailable(twoALTER TYPE ... ADD VALUE).comment-automation/post-caption.ts,index.ts): caption read lazily once per comment — Redis (10 min, 60 s for unavailable) → channel API (10 s timeout) → storedChannelPostcaption. Hashtag gate runs right after the post gate, before AI moderation; unreadable caption → skipped, never answered.all.docs/comment-automation.md, comment-automation skill channel matrix.Test plan
pnpm lintcheck-typesfor database, business, worker, builderdb:migrate) on deploy#vippost and a non-#vippost per channel; confirm reply vs. skip reason in the missed-comments dialog