Open
Conversation
Add support for the Mom (Master Of Mischief) Slack bot from pi-mono, enabling users to interact with sandbox agents via Slack channels. Mom runs in --sandbox=host mode inside the existing container. Changes: - setup.sh: add @mariozechner/pi-mom as optional install with Slack token config - docker-compose.yml: pass MOM_SLACK_APP_TOKEN and MOM_SLACK_BOT_TOKEN env vars - Dockerfile: add mom alias with default --sandbox=host flags - entrypoint.sh: auto-start mom on container boot when tokens are present - heartbeat.sh: capture MOM_ env vars for cron jobs - Makefile: add mom-start, mom-stop, mom-status targets - AGENTS.md: document Mom in sandbox agent instructions - README.md: add Slack Integration section with setup guide - provision skill: add Mom/Slack awareness to interactive provisioning Closes #2 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…ck manifest - config/ directory: bind-mounted at /home/sandbox/config for persistent env config (.env for tokens, API keys). Sourced at runtime by entrypoint.sh, heartbeat.sh, Makefile mom-start, and .bashrc — no container restart needed to pick up changes. - /setup:slack skill: interactive orchestrator skill that configures Mom Slack bot on any sandbox (tokens, OAuth/API key auth, verification). Includes bundled slack-manifest.json for one-click Slack app creation. - setup.sh: tokens written to config/.env instead of ephemeral .bashrc. - README/AGENTS.md: updated project structure, Slack setup docs with manifest-based app creation, OAuth auth instructions, config/.env usage. - Provision skill: updated to reference /setup:slack for post-provision Slack configuration. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.
Summary
--sandbox=hostmode inside the existing container — no Docker-in-Docker neededMOM_SLACK_APP_TOKENandMOM_SLACK_BOT_TOKENenv vars are setmom-start,mom-stop,mom-statusfor lifecycle management@mariozechner/pi-mominstall + interactive Slack token promptsCloses #2
Test plan
make NAME=test-mom BASE_BRANCH=main build— image builds without errorsdocker exec --user root test-mom bash -c '/home/sandbox/install/setup.sh --non-interactive'— mom installs, shows in summarydocker exec --user sandbox test-mom bash -lc 'type mom'— alias resolves tomom --sandbox=host ~/workspace/mom-dataMOM_SLACK_APP_TOKEN=test MOM_SLACK_BOT_TOKEN=test— mom process auto-startsmake NAME=test-mom mom-status— reports running state and log tailmake NAME=test-mom mom-stop— stops mom processmake NAME=test-mom clean— full cleanup🤖 Generated with Claude Code