feat: wire demo concierge to Discord for end-to-end onboarding testing #3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/concierge-discord-integration"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Wires the demo concierge agent (kubeclaw-agent-demo-concierge in cust-demo) to Discord for end-to-end onboarding testing.
Changes
Config files added
DISCORD_BOT_TOKENfrom secret andGATEWAY_ALLOW_ALL_USERS=trueApplied to cluster
channel-tokenscreated incust-demo(with placeholder token)discord-demoCR appliedDISCORD_BOT_TOKENenv varKnown Issue: Missing discord.py in container image
The Hermes Discord adapter (
gateway/platforms/discord.py) exists in the image but fails at runtime becausediscord.pyis not installed. Thehermes-speckl/sme:latestimage needsdiscord.pyadded to its Python dependencies.Verification
The old "No messaging platforms enabled" warning is gone.
What is needed next
Closes #2
I've completed the Discord integration wiring for the demo concierge agent. Here's the full status:
What was done
Configuration applied to cluster (cust-demo namespace)
channel-tokenscreated with placeholder Discord bot tokendiscord-demo— references the token secret, guild and channel IDs match the main agent's Discord configdemo-conciergeupdated withchannelRefs,env(DISCORD_BOT_TOKEN, GATEWAY_ALLOW_ALL_USERS=true, HERMES_LOG_LEVEL=debug), andallowedDestinations: [stdout, discord]config/samples/agent-pod-demo-concierge.yaml(the controller doesn't pass through spec.env yet)Log verification
Before:
WARNING gateway.run: No messaging platforms enabled.After:
WARNING gateway.run: Discord: discord.py not installedThe pod now:
Known limitation: missing
discord.pyin container imageThe Hermes Discord adapter (
gateway/platforms/discord.py) is part of the Hermes codebase and exists in the image. But at runtime,import discordfails because thediscord.pyPython package isn't installed. The image needs to be rebuilt with this dependency.Other issues found
buildEnv()doesn't pass through user env vars —agent.Spec.Env,Volumes, andVolumeMountsare defined in the kubectl annotations but not consumed by the Go controller's reconcile loop. This means even with an Agent CR, user-defined env vars are ignored during pod creation.Next steps
hermes-speckl/smeimage withdiscord.pyPython packagechannel-tokensSecret with the real Discord bot tokenagent_controller.goto pass through user-specified env vars from the Agent spec