diff --git a/.ai-sessions/session-20261111-1214-december-wrapup.md b/.ai-sessions/session-20261111-1214-december-wrapup.md new file mode 100644 index 0000000..19ea02a --- /dev/null +++ b/.ai-sessions/session-20261111-1214-december-wrapup.md @@ -0,0 +1,48 @@ +# Session Summary: December 2026 Wrap-Up + +**Date**: 2026-11-11 +**Duration**: ~30 minutes (same conversation as the December setup) +**Conversation Turns**: 4 (employer rule, Buffer go-ahead with the 72-hour rule, reviewer ping, Discord yes) +**Estimated Cost**: moderate (10 Buffer creates, 5 edits, Canva edit and exports, two webhook sends) +**Model**: Claude Fable 5.1 + +## Key Actions + +- Employer rule: promo copy names the speaker and job title only. Fixed the December card's role line, swapped the Discord event cover in place (PATCH keeps the event URL), rewrote the Buffer copy, and sent Mason the corrected card for the meetup.com photo. +- Scheduled all ten December Buffer posts (five channels, Nov 24 announcement round and Dec 1 day-of round) under Mason's 72-hour rule. Buffer keeps an API-supplied image URL until publish, so the card was committed as `docs/assets/images/cards/2026-12.png` and every post repointed at its commit-pinned raw URL. +- Marketing template now opens by pinging Kassandra and ends with a `social_posts` line asking her to review the Buffer posts; `social_posts` is a required TOML field. +- Sent both Discord announcements on Mason's explicit yes (marketing 1570139440561655860, organizers 1570139447469543595) with the card attached. +- Checked off five Todoist subtasks; MKE and the parent stay open until the network fan-out reaches MKE. +- Stopped the tailnet dev server after PR #60 merged; PR #61 merged with the skill updates. + +## Prompt Inventory + +| Prompt/Command | Action Taken | Outcome | +|---|---|---| +| "Don't say the person's company... Make that a rule." | Skill rule, card fix, event cover swap, copy rewrite | Committed to #61 | +| "make the buffer posts first... >72 hours... scheduled" | Ten posts scheduled, image hosting fixed, skill updated | Done | +| "tag prosperousheart... say they need to be reviewed" | Template change, drafts shown | Approved | +| "You have my permission to post on Discord" | Verified card link, sent both | Done | + +## Efficiency Insights + +**What went well:** +- The consent gate held: both sends happened once, after Mason saw the exact payloads, with no follow-ups needed. + +**What could improve:** +- A `pkill -f` whose pattern matched the running shell's own command line killed the shell mid-script; use `pgrep` with an exclusion or the pid instead. + +**Course corrections:** +- Caught the expiring Canva URL in the first five Buffer posts by reading one back; fixed with `edit_post` before anything fired. + +## Process Improvements + +- Read back one created Buffer post before creating the rest; the asset `source` field tells you whether the image is durable. + +## Observations + +- Discord `PATCH /scheduled-events/{id}` with a base64 `image` replaces the cover without changing the event URL. + +## Suggested Skills for Next Session + +- `meetup-update`: January 2027 run; Mason has the Jan 5 speaker. diff --git a/.claude/skills/meetup-update/references/announcements.md b/.claude/skills/meetup-update/references/announcements.md index ab9d03f..bfa53f2 100644 --- a/.claude/skills/meetup-update/references/announcements.md +++ b/.claude/skills/meetup-update/references/announcements.md @@ -30,7 +30,8 @@ Always state the link's expiry time next to it and note that re-export happens f ## Message Content Both messages are rendered by `build_announcements.py`; edit the templates there, not here. -Marketing gets the full asset rundown (date, talk, blurb, card, run of show, forms, event links, RSVP); organizers gets the logistics-only subset plus the website PR status. +Marketing gets the full asset rundown (date, talk, blurb, card, run of show, forms, event links, RSVP, social posts); organizers gets the logistics-only subset plus the website PR status. +The marketing message opens by pinging Kassandra (`prosperousheart`, Discord user id in `MARKETING_REVIEWER_MENTION`; only the `<@id>` form pings from a webhook) and closes with the `social_posts` line, which says what is scheduled in Buffer and asks her to review it rather than schedule it (Mason, 2026-11-11). Populate `still_manual` in the data file with any incomplete steps and the organizers message ends with a `Still manual:` line; leave it empty (or omit it) once everything is done. ## Gotchas Learned the Hard Way diff --git a/.claude/skills/meetup-update/scripts/build_announcements.py b/.claude/skills/meetup-update/scripts/build_announcements.py index 136f269..ca7fe55 100755 --- a/.claude/skills/meetup-update/scripts/build_announcements.py +++ b/.claude/skills/meetup-update/scripts/build_announcements.py @@ -28,6 +28,7 @@ discord_event_url = "https://discord.com/events/.../..." website_pr_url = "https://github.com/pytexas/meetup/pull/47" website_pr_status = "merged" + social_posts = "10 scheduled in Buffer: announcement round Nov 24, day-of round Dec 1" still_manual = [] # optional; organizers message gets a Still manual line if non-empty """ @@ -41,6 +42,9 @@ DECK_NAME = "2027 Meetup Banners" RSVP_URL = "https://pytexas.org/meetup/join" DISCORD_CONTENT_LIMIT = 2000 +# Kassandra (prosperousheart), who reviews the social posts; a webhook message +# only pings when the mention uses the user id form. +MARKETING_REVIEWER_MENTION = "<@443784767972966401>" REQUIRED_FIELDS = ( "month", @@ -60,10 +64,11 @@ "website_pr_url", "website_pr_status", "meetup_event_url", + "social_posts", ) MARKETING_TEMPLATE = """\ -{month} {year} meetup: everything is live! +{reviewer_mention} {month} {year} meetup: everything is live! * Date: {weekday}, {month} {day} at 8:00 PM Central * Talk: {talk_title} - {speaker} * Promo blurb: {blurb} @@ -73,7 +78,8 @@ * [Questions form]({questions_url}) * [Discord event]({discord_event_url}) * [Meetup.com event]({meetup_event_url}) -* [RSVP]({rsvp_url})""" +* [RSVP]({rsvp_url}) +* Social posts: {social_posts}; please review them in Buffer""" ORGANIZERS_TEMPLATE = """\ {month} {year} meetup setup is done. @@ -98,7 +104,8 @@ def main() -> None: if missing_fields: sys.exit(f"missing fields in {args.data_file}: {', '.join(missing_fields)}") - context = dict(data, deck_url=DECK_URL, deck_name=DECK_NAME, rsvp_url=RSVP_URL) + context = dict(data, deck_url=DECK_URL, deck_name=DECK_NAME, rsvp_url=RSVP_URL, + reviewer_mention=MARKETING_REVIEWER_MENTION) organizers_text = ORGANIZERS_TEMPLATE.format(**context) still_manual = data.get("still_manual", [])