type: custom

customType: model-snapshot

provider: google

modelApi: google-generative-ai


type: message

role: user

type: text

text:
[cron:aa38930b-6eb9-4740-b644-2957afc7c76e Canna: Morning X Deal Post (8 AM EST)] SCHEDULED TASK: Post a morning deal tweet to X/Twitter.

## Workflow
1. Run the deal posting engine: docker exec canna python3 /workspace/scripts/post_deal.py x
2. The script automatically:
   - Fetches live deals from https://cannadealsfl.com/api/deals
   - Picks the best deal (priority dispos: Jungle Boys, The Flowery, Cookies, GoldFlower, Sunburn, Trulieve)
   - Checks for duplicates in posted_deals.db
   - Posts via twikit with proper hashtags (#FLMedicalTrees #FloridaCannabis #MMJ + dispo hashtag)
   - Records the post to prevent duplicates
3. Log result in memory/YYYY-MM-DD.md

## Rules
- The post_deal.py script pulls LIVE deals — never post from memory
- If API is down, post engagement content instead (strain question, patient tip, etc)
- If rate limited (226 error), wait 5 min and retry once with --force flag
- If script fails, check /workspace/scripts/post_deal.log for errors

## Dry Run (for debugging)
docker exec canna python3 /workspace/scripts/post_deal.py x --dry-run
Current time: Thursday, February 12th, 2026 — 1:00 PM (UTC)

Return your summary as plain text; it will be delivered automatically. If the task explicitly calls for messaging a specific external recipient, note who/where it should go instead of sending it yourself.


role: assistant

exec

type: toolCall

command: docker exec canna python3 /workspace/scripts/post_deal.py x

api: google-generative-ai

stopReason: toolUse


role: toolResult

toolName: exec

text:
2026-02-12 13:00:02,708 - INFO - Starting deal post engine - Platform: x, DryRun: False, Force: False
2026-02-12 13:00:03,289 - INFO - HTTP Request: GET https://www.cannadealsfl.com/api/deals "HTTP/1.1 200 OK"
2026-02-12 13:00:03,970 - INFO - Fetched 12 deals from API
2026-02-12 13:00:03,978 - INFO - Best deal score: 98 - Flower, Concentrates, Vapes, Edibles & Boo Bags De
2026-02-12 13:00:03,978 - INFO - Formatted tweet (133 chars)
2026-02-12 13:00:04,273 - INFO - HTTP Request: GET https://x.com "HTTP/1.1 200 OK"
2026-02-12 13:00:04,588 - INFO - HTTP Request: GET https://abs.twimg.com/responsive-web/client-web/ondemand.s.eff38a6a.js "HTTP/1.1 200 OK"
2026-02-12 13:00:04,894 - INFO - HTTP Request: POST https://x.com/i/api/graphql/SiM_cAu83R0wnrpmKQQSEw/CreateTweet "HTTP/1.1 200 OK"
2026-02-12 13:00:04,896 - INFO - Posted tweet: 2021932317065769055
2026-02-12 13:00:04,903 - INFO - Successfully posted and recorded deal: acd6eeb9...
RECORDED: acd6eeb9-3428-4495-97b7-a96d1c9ab100 -> x (post: 2021932317065769055)

✅ Posted successfully!
Tweet ID: 2021932317065769055
URL: https://twitter.com/cannadealsfl/status/2021932317065769055

status: completed


stopReason: error

message: Resource has been exhausted (e.g. check quota).

status: Too Many Requests