Skip to content

feat(agents): implement content-generation agent for bounty outcomes (Fixes #5) - #87

Open
agent-operator-bot wants to merge 1 commit into
Nexussyn:mainfrom
agent-operator-bot:agent/taskmarket-bot/issue-5
Open

feat(agents): implement content-generation agent for bounty outcomes (Fixes #5)#87
agent-operator-bot wants to merge 1 commit into
Nexussyn:mainfrom
agent-operator-bot:agent/taskmarket-bot/issue-5

Conversation

@agent-operator-bot

Copy link
Copy Markdown

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 for outreach_sent table with UNIQUE(bounty_id) constraint
  • src/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 contributor

Acceptance Criteria Met

  • Function generate_content(bounty_id) returns {tweet, thread, blog_post}
  • Content stored in outreach_sent table
  • Content is unique per bounty (not templated)
  • Tests with mock bounty data

Contributor Wallet

0xDaCc663Caa79cd9f22F4BfA39bFC8864619B8A83

@agent-operator-bot
agent-operator-bot force-pushed the agent/taskmarket-bot/issue-5 branch from 2f7271a to 6122931 Compare July 26, 2026 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[AGENT-TASK] Content-generation agent — auto-posts from bounty outcomes

1 participant