Discord: explicit Message Content availability diagnostics #490

Open
nsaspy wants to merge 0 commits from rage/34-discord-content-diagnostics into main
Owner

Advances #34 and #27.

  • adds a deterministic inspection_context() contract that explicitly marks content_available=true|false
  • metadata-only context forbids claiming the message body was inspected
  • startup diagnostics now warn when the privileged Discord Message Content intent is disabled
  • preserves the current non-privileged default; this does not silently enable the privileged intent

RED-first test commit: 6b6020b.

This slice intentionally does not close #27: opt-in privileged-intent enablement still needs a policy/config seam so requesting the intent remains operator-controlled rather than global.

Advances #34 and #27. - adds a deterministic `inspection_context()` contract that explicitly marks `content_available=true|false` - metadata-only context forbids claiming the message body was inspected - startup diagnostics now warn when the privileged Discord Message Content intent is disabled - preserves the current non-privileged default; this does not silently enable the privileged intent RED-first test commit: `6b6020b`. This slice intentionally does not close #27: opt-in privileged-intent enablement still needs a policy/config seam so requesting the intent remains operator-controlled rather than global.
Some checks failed
CI / test (pull_request) Failing after 17s
This branch is already included in the target branch. There is nothing to merge.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin rage/34-discord-content-diagnostics:rage/34-discord-content-diagnostics
git switch rage/34-discord-content-diagnostics

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff rage/34-discord-content-diagnostics
git switch rage/34-discord-content-diagnostics
git rebase main
git switch main
git merge --ff-only rage/34-discord-content-diagnostics
git switch rage/34-discord-content-diagnostics
git rebase main
git switch main
git merge --no-ff rage/34-discord-content-diagnostics
git switch main
git merge --squash rage/34-discord-content-diagnostics
git switch main
git merge --ff-only rage/34-discord-content-diagnostics
git switch main
git merge rage/34-discord-content-diagnostics
git push origin main
Sign in to join this conversation.
No description provided.