Skip to content

fix: allow hierarchical slugs for industry gatherings and auto-create Slack channels#675

Merged
bokelley merged 1 commit into
mainfrom
bokelley/gathering-slug-fix
Jan 8, 2026
Merged

fix: allow hierarchical slugs for industry gatherings and auto-create Slack channels#675
bokelley merged 1 commit into
mainfrom
bokelley/gathering-slug-fix

Conversation

@bokelley

@bokelley bokelley commented Jan 8, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Allow slashes in slugs for industry gatherings (e.g., industry-gatherings/2026/ces)
  • Auto-create Slack channel when creating an industry gathering without one
  • Add industry gathering tools to Addie's system prompt so she can help create them

Changes

  • server/src/routes/committees.ts: Added isValidCommitteeSlug() function with different validation rules for industry gatherings vs standard committees. Auto-creates Slack channel for industry gatherings when not provided.
  • server/src/addie/prompts.ts: Added documentation about create_industry_gathering and list_industry_gatherings tools to Addie's system prompt
  • server/public/admin-working-groups.html: Updated slug input pattern to allow slashes

Test plan

  • Typecheck passes
  • All 187 unit tests pass
  • Verify creating an industry gathering with a hierarchical slug like industry-gatherings/2026/iab-alm-2026 succeeds
  • Verify Slack channel is auto-created for new industry gatherings
  • Verify Addie responds correctly when asked to create an industry gathering

🤖 Generated with Claude Code

… Slack channels

- Add isValidCommitteeSlug() function that allows slashes in slugs for
  industry_gathering committee types (e.g., industry-gatherings/2026/ces)
- Prevent confusing patterns like consecutive slashes/hyphens
- Auto-create Slack channel when creating industry gatherings without one
- Include warning in response if channel auto-creation fails
- Update HTML pattern to allow slashes in slug input
- Add industry gathering tools to Addie's system prompt

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@bokelley bokelley merged commit fc2413c into main Jan 8, 2026
6 checks passed
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.

1 participant