Discord: scoped expiring moderation tool surface #483

Open
nsaspy wants to merge 0 commits from rage/32-discord-scoped-moderation into main
Owner

Advances #32.

Current Zara master now provides the canonical ServicePlugin.tools() contract for LangChain BaseTool instances, so the prior Core blocker is resolved.

This starts with a deterministic RED contract for a bounded, opaque, expiring Discord message context token. The token binds guild/channel/message/current-author numeric IDs only, expires fail-closed, is consumable once for mutating operations, and keeps a bounded in-memory context set. Next commits wire typed moderation tools through Zara's canonical service tool surface, protected-member refusals, Discord-loop execution, and metadata-only auditing.

Advances #32. Current Zara `master` now provides the canonical `ServicePlugin.tools()` contract for LangChain `BaseTool` instances, so the prior Core blocker is resolved. This starts with a deterministic RED contract for a bounded, opaque, expiring Discord message context token. The token binds guild/channel/message/current-author numeric IDs only, expires fail-closed, is consumable once for mutating operations, and keeps a bounded in-memory context set. Next commits wire typed moderation tools through Zara's canonical service tool surface, protected-member refusals, Discord-loop execution, and metadata-only auditing.
Some checks failed
CI / test (pull_request) Failing after 20s
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/32-discord-scoped-moderation:rage/32-discord-scoped-moderation
git switch rage/32-discord-scoped-moderation

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/32-discord-scoped-moderation
git switch rage/32-discord-scoped-moderation
git rebase main
git switch main
git merge --ff-only rage/32-discord-scoped-moderation
git switch rage/32-discord-scoped-moderation
git rebase main
git switch main
git merge --no-ff rage/32-discord-scoped-moderation
git switch main
git merge --squash rage/32-discord-scoped-moderation
git switch main
git merge --ff-only rage/32-discord-scoped-moderation
git switch main
git merge rage/32-discord-scoped-moderation
git push origin main
Sign in to join this conversation.
No description provided.