Security rules for DreamcoderDots.
Never commit secrets to this repo.
Do not commit:
- GitHub PATs
- OpenAI keys
auth.json.envfiles~/.codex/runtime data- session logs
- MCP tokens
GitHub MCP uses a private token file:
~/.config/github/patExpected permissions:
0600The private wrapper is:
~/.local/bin/github-mcp-dreamcoderIt reads the token and launches the official GitHub MCP server. This keeps the token out of the repo and avoids depending on Codex inheriting environment variables.
If a token is pasted into chat, rotate it in GitHub and replace the private file.
- Use symlinks/stow for configs.
- Keep runtime data out of the repo.
- Keep scripts small and auditable.
- Prefer private files under
~/.config/...for credentials.
Follow AGENTS.md:
- scripts should use
set -euo pipefail - quote variables
- use safe sourcing
- keep scripts focused and short
- avoid hardcoded secrets
Useful checks:
bash -n scripts/update-colors.sh
python3 -m py_compile scripts/sync-dreamcoder-theme.py
ghostty +validate-config
STARSHIP_CONFIG=Shell/.config/starship.toml starship explain
fish -n Shell/.config/fish/config.fish