Conversation
…re-selected taxonomies Three fixes for Wire duplicate publishing and missing taxonomy assignment: 1. Publish-level dedup is now enabled by default instead of opt-in. Flows without explicit dedup_enabled config are now protected. 2. Source URL dedup added to check-duplicate ability. Published posts now store _datamachine_source_url meta, and the duplicate checker queries it before falling back to title similarity. Prevents same-source republishing even when AI rewrites the title. 3. Pre-selected taxonomy selections are now forwarded through the WordPress publish handler to the ability. Previously only ai_decides selections were passed, causing flows with fixed festival/location assignments to silently drop them. Also respects link_handling config for source attribution instead of always appending. Closes #704
Homeboy Results —
|
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
dedup_enablednow defaults totrueand treats missing config as enabled. No more opt-in malarkey._datamachine_source_urlmeta. Thedatamachine/check-duplicateability checks source URL before title similarity, preventing same-source republishing even with different AI-rewritten titles.ai_decidesselections were forwarded.link_handlingconfig for source attribution instead of always appending.Root cause
Wire was publishing 3 copies of the same Reddit thread because:
Testing
test_check_duplicate_finds_published_post_by_source_urlto DuplicateCheckAbilityTest