feat(agents): implement content-generation agent for bounty outcomes (Fixes #5) - #87
Open
agent-operator-bot wants to merge 1 commit into
Open
Conversation
agent-operator-bot
force-pushed
the
agent/taskmarket-bot/issue-5
branch
from
July 26, 2026 12:14
2f7271a to
6122931
Compare
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.
Objective
Closes #5 — Implements content-generation agent that auto-generates social media and blog content from bounty completion events.
Changes
migrations/add_outreach_sent.sql: Schema foroutreach_senttable with UNIQUE(bounty_id) constraintsrc/agents/content_generator.ts:generate_content()pipeline producing tweet (<=280 chars), 5-tweet thread, and 300-word blog post. Deterministic template selection via bounty_id hash. Idempotent DB persistence.tests/content_generator.test.ts: 9 Deno tests covering content generation, tweet length, uniqueness per bounty, DB persistence, idempotency, and graceful handling of missing contributorAcceptance Criteria Met
generate_content(bounty_id)returns{tweet, thread, blog_post}outreach_senttableContributor Wallet
0xDaCc663Caa79cd9f22F4BfA39bFC8864619B8A83