docs: add Integration Standards guide#3
Merged
Conversation
Introduce INTEGRATION_STANDARDS.md as the authoritative guide for public integrations hosted by TicketsBot. The document defines mandatory requirements (Authorization guard, POST-only method enforcement, Sentry setup, per-guild secret headers, /validate endpoint, and caching via INTEGRATION_CACHE), response and error formats, wrangler.toml conventions, and recommended practices (jsonResponse helper, input validation, secret format checks). Intended to ensure consistency and security across all integrations in the repository.
Replace the shared KV namespace id for INTEGRATION_CACHE in INTEGRATION_STANDARDS.md (from 7901ae2b471145d4ab7b8535c158d892 to fbdf23642f6a40d0b5876abf3265910d). Keeps the documented wrangler.toml binding in sync with the current KV namespace.
Clean up markdown formatting by removing extraneous blank lines inside tables in INTEGRATION_STANDARDS.md and README.md. This preserves table rendering and keeps documentation consistent; no substantive content changes were made.
BenHall-1
approved these changes
Apr 26, 2026
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.
Adds
INTEGRATION_STANDARDS.md— a prescriptive reference covering everything a public integration in this repo must implement: auth guard, method enforcement, Sentry setup, secrets via request headers,/validateendpoint,INTEGRATION_CACHEKV caching, response format, andwrangler.tomlconventions.